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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
909580b5ae6935aa93404b2a291738c5412ed46d | 21 | py | Python | xeofs/xarray/__init__.py | mschulzie/xeofs | a446135962c1a5a3f3588a08c2e572cf8d19ac2f | [
"MIT"
] | null | null | null | xeofs/xarray/__init__.py | mschulzie/xeofs | a446135962c1a5a3f3588a08c2e572cf8d19ac2f | [
"MIT"
] | null | null | null | xeofs/xarray/__init__.py | mschulzie/xeofs | a446135962c1a5a3f3588a08c2e572cf8d19ac2f | [
"MIT"
] | null | null | null | from .eof import EOF
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90a5decc6fc6cd78e99c76e5440caa983fbb2917 | 122 | py | Python | demo/deploy/django_example/hits/admin.py | hugochinchilla/docker-101 | 75cfffaa8ee7b1ba420cf689ca9690849aadd33d | [
"MIT"
] | 1 | 2016-04-07T21:39:16.000Z | 2016-04-07T21:39:16.000Z | demo/deploy/django_example/hits/admin.py | hugochinchilla/docker-101 | 75cfffaa8ee7b1ba420cf689ca9690849aadd33d | [
"MIT"
] | null | null | null | demo/deploy/django_example/hits/admin.py | hugochinchilla/docker-101 | 75cfffaa8ee7b1ba420cf689ca9690849aadd33d | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Hit
@admin.register(Hit)
class HitAdmin(admin.ModelAdmin):
pass
| 17.428571 | 33 | 0.778689 | 17 | 122 | 5.588235 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 122 | 6 | 34 | 20.333333 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 |
29834226b9d1a8067bc185a02dc4ba48f3f20b90 | 33 | py | Python | puppetdb/__init__.py | arcus-io/puppetdb-python | d772eb80a1dfb1154a1f421c7ecdc1ac951b5ea2 | [
"MIT"
] | 2 | 2015-12-04T14:34:00.000Z | 2016-10-27T07:02:17.000Z | puppetdb/__init__.py | arcus-io/puppetdb-python | d772eb80a1dfb1154a1f421c7ecdc1ac951b5ea2 | [
"MIT"
] | null | null | null | puppetdb/__init__.py | arcus-io/puppetdb-python | d772eb80a1dfb1154a1f421c7ecdc1ac951b5ea2 | [
"MIT"
] | 2 | 2016-10-14T09:39:28.000Z | 2018-03-29T13:38:01.000Z | from .core import PuppetDBClient
| 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 |
46219af4c3d4884afb027dd4f9b2d647040a6e0b | 33 | py | Python | colab_frp/__init__.py | argszero/colab-frp | f5513cfd4b8ea574f6b66183b322bb081231f49b | [
"Apache-2.0"
] | null | null | null | colab_frp/__init__.py | argszero/colab-frp | f5513cfd4b8ea574f6b66183b322bb081231f49b | [
"Apache-2.0"
] | null | null | null | colab_frp/__init__.py | argszero/colab-frp | f5513cfd4b8ea574f6b66183b322bb081231f49b | [
"Apache-2.0"
] | null | null | null | from colab_frp.frp import client | 33 | 33 | 0.848485 | 6 | 33 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
4622acb5dda6918b561380c1e4e0b5265086b5ac | 8,832 | py | Python | genomics_data_index/test/integration/storage/service/test_KmerService.py | apetkau/genomics-data-index | d0cc119fd57b8cbd701affb1c84450cf7832fa01 | [
"Apache-2.0"
] | 12 | 2021-05-03T20:56:05.000Z | 2022-01-04T14:52:19.000Z | genomics_data_index/test/integration/storage/service/test_KmerService.py | apetkau/thesis-index | 6c96e9ed75d8e661437effe62a939727a0b473fc | [
"Apache-2.0"
] | 30 | 2021-04-26T23:03:40.000Z | 2022-02-25T18:41:14.000Z | genomics_data_index/test/integration/storage/service/test_KmerService.py | apetkau/genomics-data-index | d0cc119fd57b8cbd701affb1c84450cf7832fa01 | [
"Apache-2.0"
] | null | null | null | import math
import pytest
from genomics_data_index.storage.SampleSet import SampleSet
from genomics_data_index.storage.model.db import Sample
from genomics_data_index.storage.service import DatabaseConnection
from genomics_data_index.storage.service.KmerService import KmerService
def test_find_matches_all(database:... | 52.571429 | 116 | 0.669158 | 1,096 | 8,832 | 5.118613 | 0.080292 | 0.05098 | 0.069519 | 0.088057 | 0.919964 | 0.900535 | 0.875045 | 0.865062 | 0.83975 | 0.832799 | 0 | 0.016988 | 0.200181 | 8,832 | 167 | 117 | 52.886228 | 0.77718 | 0 | 0 | 0.588785 | 0 | 0 | 0.056159 | 0 | 0 | 0 | 0 | 0 | 0.261682 | 1 | 0.121495 | false | 0 | 0.056075 | 0 | 0.17757 | 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 |
463697e1e897043a4ed8957218012bf681b8045a | 190 | py | Python | searches/__init__.py | kallyas/PythonAlgorithms | e9b4c8dddad101ef0ff4bd4786d506f34f6f4d80 | [
"MIT"
] | 1 | 2022-02-23T19:22:44.000Z | 2022-02-23T19:22:44.000Z | searches/__init__.py | kallyas/PythonAlgorithms | e9b4c8dddad101ef0ff4bd4786d506f34f6f4d80 | [
"MIT"
] | null | null | null | searches/__init__.py | kallyas/PythonAlgorithms | e9b4c8dddad101ef0ff4bd4786d506f34f6f4d80 | [
"MIT"
] | null | null | null | from .binary_search import binary_search, binary_search_recursive
from .fibonacci_search import fibonacci_search
from .linear_search import linear_search
from .jump_search import jump_search | 47.5 | 65 | 0.889474 | 27 | 190 | 5.888889 | 0.296296 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 190 | 4 | 66 | 47.5 | 0.913793 | 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 |
463861244bbe03cd4ffa9f9f9ef3a17fa646b183 | 32 | py | Python | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/gumtree/tree/data/import/in_5.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 8 | 2021-01-19T21:15:54.000Z | 2022-02-23T19:16:25.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/gumtree/tree/data/import/in_5.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 4 | 2020-11-17T14:28:25.000Z | 2022-02-24T07:54:28.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/gumtree/tree/data/import/in_5.py | nbirillo/ast-transformations | 717706765a2da29087a0de768fc851698886dd65 | [
"MIT"
] | 1 | 2022-02-23T19:16:30.000Z | 2022-02-23T19:16:30.000Z | from os.path import pathsep as a | 32 | 32 | 0.8125 | 7 | 32 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 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 |
463a7d3210fc9f6948e3b25ffc528b2de561badf | 126 | py | Python | pyLpov/machine_learning/base.py | okbalefthanded/ovPyScripts | 8828e9b9579734710cba9e61646c0fb517874611 | [
"Apache-2.0"
] | 1 | 2020-03-23T20:37:36.000Z | 2020-03-23T20:37:36.000Z | pyLpov/machine_learning/base.py | okbalefthanded/pyLpov | 8828e9b9579734710cba9e61646c0fb517874611 | [
"Apache-2.0"
] | 6 | 2020-11-21T12:47:17.000Z | 2022-01-25T12:21:30.000Z | pyLpov/machine_learning/base.py | okbalefthanded/ovPyScripts | 8828e9b9579734710cba9e61646c0fb517874611 | [
"Apache-2.0"
] | 1 | 2020-12-25T07:41:59.000Z | 2020-12-25T07:41:59.000Z | import pickle
# Save model after training
def save_model(filename, model):
pickle.dump(model, open(filename, 'wb'))
| 18 | 48 | 0.706349 | 17 | 126 | 5.176471 | 0.647059 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18254 | 126 | 6 | 49 | 21 | 0.854369 | 0.198413 | 0 | 0 | 0 | 0 | 0.020408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4640b76b2791b5e28b21ac09aae8559d48fc368f | 19 | py | Python | pygorich/__init__.py | HiDiHlabs/pygorich | 64b5a44b7c4040f3f5b91109494d0c8b290e89f8 | [
"BSD-3-Clause"
] | null | null | null | pygorich/__init__.py | HiDiHlabs/pygorich | 64b5a44b7c4040f3f5b91109494d0c8b290e89f8 | [
"BSD-3-Clause"
] | null | null | null | pygorich/__init__.py | HiDiHlabs/pygorich | 64b5a44b7c4040f3f5b91109494d0c8b290e89f8 | [
"BSD-3-Clause"
] | null | null | null | from . import gsea
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4671c49348a7191d1165bb8ad8202b1a9803b6ea | 43 | py | Python | fastagram/posts/admin/__init__.py | dobestan/fastagram | 8c57401512d7621890a4f160d4b27c6e0d3ab326 | [
"MIT"
] | 1 | 2016-03-27T10:36:01.000Z | 2016-03-27T10:36:01.000Z | fastagram/posts/admin/__init__.py | dobestan/django-101-fastagram | 8c57401512d7621890a4f160d4b27c6e0d3ab326 | [
"MIT"
] | 3 | 2016-03-25T05:32:39.000Z | 2016-03-28T04:59:17.000Z | fastagram/posts/admin/__init__.py | dobestan/django-101-fastagram | 8c57401512d7621890a4f160d4b27c6e0d3ab326 | [
"MIT"
] | 1 | 2016-03-28T16:35:36.000Z | 2016-03-28T16:35:36.000Z | from .post import *
from .comment import *
| 14.333333 | 22 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 23 | 21.5 | 0.885714 | 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 |
4682536e24e30546ff741f5c710e2a5135713126 | 27,073 | py | Python | test.py | HaritzPuerto/RCApi | 5616ffbc2b49f143ebe4111daa2763ed3472b36a | [
"CC0-1.0"
] | 8 | 2020-01-08T16:49:55.000Z | 2021-10-20T02:12:33.000Z | test.py | srand525/RCApi | c1f3cf96d1b176cd616830e6a4563585280c12e9 | [
"CC0-1.0"
] | 27 | 2020-01-09T19:58:59.000Z | 2021-01-11T18:35:28.000Z | test.py | NYU-CI/RCApi | c1f3cf96d1b176cd616830e6a4563585280c12e9 | [
"CC0-1.0"
] | 3 | 2020-01-08T20:37:23.000Z | 2021-09-04T10:57:37.000Z | #!/usr/bin/env python
# encoding: utf-8
from richcontext import scholapi as rc_scholapi
import pprint
import unittest
import warnings
def ignore_warnings (test_func):
"""see https://stackoverflow.com/questions/26563711/disabling-python-3-2-resourcewarning
"""
def do_test (self, *args, **kwargs):
... | 39.350291 | 366 | 0.630074 | 2,998 | 27,073 | 5.56938 | 0.143095 | 0.110679 | 0.135713 | 0.048751 | 0.804815 | 0.777205 | 0.758819 | 0.741211 | 0.720249 | 0.689465 | 0 | 0.037703 | 0.250545 | 27,073 | 687 | 367 | 39.407569 | 0.785214 | 0.038489 | 0 | 0.670124 | 0 | 0.016598 | 0.18014 | 0.023995 | 0 | 0 | 0 | 0.001456 | 0.273859 | 1 | 0.068465 | false | 0.002075 | 0.008299 | 0 | 0.082988 | 0.002075 | 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 |
d3b17562ca95c66eaca12a661e3164b3de4b85c3 | 166 | py | Python | models/detr_models/__init__.py | allenai/interactron | 2be41b34adf6917348cb2440cded9975ec4f5d0d | [
"Apache-2.0"
] | 4 | 2022-03-30T06:07:32.000Z | 2022-03-31T02:05:18.000Z | models/detr_models/__init__.py | allenai/interactron | 2be41b34adf6917348cb2440cded9975ec4f5d0d | [
"Apache-2.0"
] | null | null | null | models/detr_models/__init__.py | allenai/interactron | 2be41b34adf6917348cb2440cded9975ec4f5d0d | [
"Apache-2.0"
] | 2 | 2022-03-30T10:05:42.000Z | 2022-03-31T02:05:23.000Z | # This code was copied from https://github.com/facebookresearch/detr/blob/main/models/detr.py
from .detr import build
def build_model(args):
return build(args)
| 23.714286 | 93 | 0.76506 | 26 | 166 | 4.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126506 | 166 | 6 | 94 | 27.666667 | 0.868966 | 0.548193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 |
311012bdb61f39c9a2e5abfe37034dee72c00e5e | 55 | py | Python | build/lib/pyrdo/set.py | takewiki/pyrdo | ee4a9eb1527d03bc5847e42fb5cbcaab0bb160a8 | [
"Apache-2.0"
] | null | null | null | build/lib/pyrdo/set.py | takewiki/pyrdo | ee4a9eb1527d03bc5847e42fb5cbcaab0bb160a8 | [
"Apache-2.0"
] | null | null | null | build/lib/pyrdo/set.py | takewiki/pyrdo | ee4a9eb1527d03bc5847e42fb5cbcaab0bb160a8 | [
"Apache-2.0"
] | null | null | null | print('a' in ['e','b','c'])
print(len( ['e','b','c'])) | 18.333333 | 27 | 0.4 | 11 | 55 | 2 | 0.636364 | 0.181818 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 55 | 3 | 28 | 18.333333 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
313f7bcf04aaf21bf7a2515d1a1136f8e1123f2f | 48 | py | Python | __init__.py | brannondorsey/keras_weight_animator | 69187091563d0c90bea7af1fbeb1f8a7ab9efbaa | [
"MIT"
] | 114 | 2017-08-06T03:38:53.000Z | 2021-08-11T08:27:40.000Z | __init__.py | brannondorsey/keras_weights_animator | 69187091563d0c90bea7af1fbeb1f8a7ab9efbaa | [
"MIT"
] | 2 | 2017-08-08T15:07:17.000Z | 2020-03-20T02:45:21.000Z | __init__.py | brannondorsey/keras_weights_animator | 69187091563d0c90bea7af1fbeb1f8a7ab9efbaa | [
"MIT"
] | 15 | 2017-08-06T09:46:36.000Z | 2018-11-12T00:40:32.000Z | from src.image_saver import image_saver_callback | 48 | 48 | 0.916667 | 8 | 48 | 5.125 | 0.75 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
314dd85951811ebea120ed040071a11fd6d24c23 | 7,568 | py | Python | configs/event_config.py | ItGirls/event_extraction | b8b3bd9c5c34e7a1be086a7fcd608ef89335e4c1 | [
"MIT"
] | 203 | 2020-05-18T02:26:24.000Z | 2022-03-30T09:49:42.000Z | configs/event_config.py | ItGirls/event_extraction | b8b3bd9c5c34e7a1be086a7fcd608ef89335e4c1 | [
"MIT"
] | 14 | 2020-05-19T02:34:16.000Z | 2021-09-10T07:52:31.000Z | configs/event_config.py | djj-djj/event_extraction | dfecdbb7d0a905495065cc7a0a4afd10e6dd1130 | [
"MIT"
] | 34 | 2020-05-19T02:25:26.000Z | 2022-03-30T09:49:34.000Z | import os
from pathlib import Path
BASE_DIR = Path('slot_extraction')
event_config = {
'data_dir': 'data',
'vocab_file': "vocab.txt",
'slot_list_root_path': os.path.join('data', 'slot_pattern'),
'slot_file_name': "vocab_trigger_label_map.txt",
'bert_slot_file_name': "vocab_trigger_label_map.txt",
... | 73.475728 | 163 | 0.609012 | 826 | 7,568 | 4.96368 | 0.11138 | 0.072439 | 0.07561 | 0.097561 | 0.77561 | 0.738293 | 0.738293 | 0.730244 | 0.72122 | 0.63878 | 0 | 0.00373 | 0.29149 | 7,568 | 102 | 164 | 74.196078 | 0.76091 | 0.051401 | 0 | 0.395604 | 0 | 0 | 0.558762 | 0.403457 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021978 | 0 | 0.021978 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ed531cbd2118d553e87ac6bf3b4f89da9d9c423 | 196 | py | Python | request.py | zys5945/GithubAdvancedSearch | bd966ef3fe9adacc3d867cf7094bc80afc96814c | [
"MIT"
] | 1 | 2019-04-06T01:33:55.000Z | 2019-04-06T01:33:55.000Z | request.py | zys5945/GithubUtility | bd966ef3fe9adacc3d867cf7094bc80afc96814c | [
"MIT"
] | 1 | 2019-04-02T22:28:50.000Z | 2019-04-02T22:28:50.000Z | request.py | zys5945/GithubUtility | bd966ef3fe9adacc3d867cf7094bc80afc96814c | [
"MIT"
] | null | null | null | class GithubRequest():
def clone(self):
raise NotImplementedError()
def auth(self):
raise NotImplementedError()
def execute(self):
raise NotImplementedError() | 21.777778 | 35 | 0.647959 | 17 | 196 | 7.470588 | 0.529412 | 0.212598 | 0.661417 | 0.488189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260204 | 196 | 9 | 36 | 21.777778 | 0.875862 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ee7e6f43e9faced84b4791a6812e205e3ed66e9 | 136 | py | Python | pynito/helper.py | qdonohue/pynito | bcd7eeb3cdcdb63af2b43dca53b2e7899772e518 | [
"MIT"
] | null | null | null | pynito/helper.py | qdonohue/pynito | bcd7eeb3cdcdb63af2b43dca53b2e7899772e518 | [
"MIT"
] | null | null | null | pynito/helper.py | qdonohue/pynito | bcd7eeb3cdcdb63af2b43dca53b2e7899772e518 | [
"MIT"
] | 1 | 2020-11-21T12:32:27.000Z | 2020-11-21T12:32:27.000Z | import base64
def decode_base64urlUInt(val):
return int.from_bytes(base64.urlsafe_b64decode(val + '=' * (4 - len(val) % 4)), 'big') | 34 | 90 | 0.691176 | 19 | 136 | 4.789474 | 0.789474 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 0.139706 | 136 | 4 | 90 | 34 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 |
730fb6f78eb45e9b4fce376429f8764c215cea88 | 167 | py | Python | test/example/secondapp.py | minhtuan221/cython-npm | ea6e2c9910800ffc12f8d8cfc5d39ad8198ef87c | [
"MIT"
] | 6 | 2018-03-01T04:25:41.000Z | 2019-10-21T03:39:11.000Z | test/example/secondapp.py | minhtuan221/cython-npm | ea6e2c9910800ffc12f8d8cfc5d39ad8198ef87c | [
"MIT"
] | null | null | null | test/example/secondapp.py | minhtuan221/cython-npm | ea6e2c9910800ffc12f8d8cfc5d39ad8198ef87c | [
"MIT"
] | 1 | 2019-04-26T10:43:49.000Z | 2019-04-26T10:43:49.000Z | def goodbye():
print('goodbye')
from importlib import import_module
import_module(
'Users.minhtuannguyen.MyWorking.Privates.cython.cython-npm.test.testfile')
| 23.857143 | 78 | 0.778443 | 20 | 167 | 6.4 | 0.75 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107784 | 167 | 6 | 79 | 27.833333 | 0.85906 | 0 | 0 | 0 | 0 | 0 | 0.467066 | 0.42515 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73241c8f0bd092ec63d94ef626e36c252184b238 | 88,568 | py | Python | sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/models/_models_py3.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 1 | 2021-09-07T18:39:05.000Z | 2021-09-07T18:39:05.000Z | sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/models/_models_py3.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | null | null | null | sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/models/_models_py3.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 1 | 2022-03-04T06:21:56.000Z | 2022-03-04T06:21:56.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 43.93254 | 188 | 0.6704 | 10,690 | 88,568 | 5.392891 | 0.05014 | 0.015421 | 0.030252 | 0.039705 | 0.834293 | 0.805343 | 0.788534 | 0.774848 | 0.76477 | 0.753166 | 0 | 0.014815 | 0.22796 | 88,568 | 2,015 | 189 | 43.954342 | 0.828293 | 0.556115 | 0 | 0.666275 | 0 | 0 | 0.245098 | 0.076055 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041128 | false | 0 | 0.003525 | 0 | 0.153937 | 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 |
73309425fda03363bd2fdffed805f41b01c7d3f4 | 184 | py | Python | apics/views.py | clld/apics | d8253538e431b49f2ab817f11e05c1373e44df52 | [
"Apache-2.0"
] | 9 | 2015-05-06T00:34:13.000Z | 2021-03-22T01:30:13.000Z | apics/views.py | clld/apics | d8253538e431b49f2ab817f11e05c1373e44df52 | [
"Apache-2.0"
] | 110 | 2015-04-20T08:06:04.000Z | 2021-03-23T20:49:17.000Z | apics/views.py | clld/apics | d8253538e431b49f2ab817f11e05c1373e44df52 | [
"Apache-2.0"
] | 4 | 2016-04-03T21:27:45.000Z | 2019-01-31T15:10:46.000Z | from clld.db.meta import DBSession
from clld.db.models.common import Config
def about(ctx, req):
return {'html': DBSession.query(Config).filter(Config.key=='intro').one().value}
| 26.285714 | 84 | 0.733696 | 28 | 184 | 4.821429 | 0.75 | 0.118519 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 184 | 6 | 85 | 30.666667 | 0.823171 | 0 | 0 | 0 | 0 | 0 | 0.048913 | 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 |
734d3fe6371881cebb2180ebfa28c6bd83ae45c7 | 3,065 | py | Python | venv/Lib/site-packages/PyQt4/examples/network/ftp/ftp_rc.py | prateekfxtd/ns_Startup | 095a62b3a8c7bf0ff7b767355d57d993bbd2423d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/PyQt4/examples/network/ftp/ftp_rc.py | prateekfxtd/ns_Startup | 095a62b3a8c7bf0ff7b767355d57d993bbd2423d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/PyQt4/examples/network/ftp/ftp_rc.py | prateekfxtd/ns_Startup | 095a62b3a8c7bf0ff7b767355d57d993bbd2423d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: Sat 2. Mar 10:35:48 2013
# by: The Resource Compiler for PyQt (Qt v4.8.4)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = "\
\x00\x00\x00\x9b\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x... | 36.927711 | 105 | 0.721044 | 675 | 3,065 | 3.247407 | 0.315556 | 0.287409 | 0.24635 | 0.093066 | 0.446168 | 0.43385 | 0.431113 | 0.420164 | 0.376369 | 0.294252 | 0 | 0.351129 | 0.046656 | 3,065 | 82 | 106 | 37.378049 | 0.399042 | 0.059054 | 0 | 0.164179 | 0 | 0.537313 | 0 | 0 | 0 | 1 | 0.002782 | 0 | 0 | 1 | 0.029851 | false | 0 | 0.014925 | 0 | 0.044776 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7350b8c6c83b37053ce5838c70260a1371b21092 | 6,994 | py | Python | test/cnnl/op_test/test_indexselect.py | Cambricon/catch | 2625da389f25a67066d20fb6b0c38250ef98f8ab | [
"BSD-2-Clause"
] | 20 | 2022-03-01T11:40:51.000Z | 2022-03-30T08:17:47.000Z | test/cnnl/op_test/test_indexselect.py | Cambricon/catch | 2625da389f25a67066d20fb6b0c38250ef98f8ab | [
"BSD-2-Clause"
] | null | null | null | test/cnnl/op_test/test_indexselect.py | Cambricon/catch | 2625da389f25a67066d20fb6b0c38250ef98f8ab | [
"BSD-2-Clause"
] | null | null | null | from __future__ import print_function
import sys
import os
from itertools import product
os.environ['ENABLE_CNNL_TRYCATCH'] = 'OFF' # pylint: disable=C0413
import unittest
import logging
import torch
import torch_mlu.core.mlu_model as ct
cur_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(cur_dir + ... | 44.833333 | 99 | 0.551616 | 992 | 6,994 | 3.709677 | 0.116935 | 0.03587 | 0.078261 | 0.060054 | 0.834783 | 0.815489 | 0.800272 | 0.768478 | 0.738587 | 0.67663 | 0 | 0.05543 | 0.30612 | 6,994 | 155 | 100 | 45.122581 | 0.702864 | 0.036746 | 0 | 0.631579 | 0 | 0 | 0.007434 | 0 | 0 | 0 | 0 | 0 | 0.067669 | 1 | 0.045113 | false | 0 | 0.067669 | 0 | 0.12782 | 0.007519 | 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 |
b42fce516a99f23a5078b76aa9010946eb6a6e46 | 30 | py | Python | skforecast/model_selection/__init__.py | JoaquinAmatRodrigo/skforecaster | 3ab526d63bbb94ae4bd18ae964197042a675a34a | [
"MIT"
] | 86 | 2021-02-25T08:56:45.000Z | 2022-03-31T01:33:53.000Z | skforecast/model_selection/__init__.py | JoaquinAmatRodrigo/skforecaster | 3ab526d63bbb94ae4bd18ae964197042a675a34a | [
"MIT"
] | 5 | 2021-11-30T22:30:45.000Z | 2022-03-29T10:21:36.000Z | skforecast/model_selection/__init__.py | JoaquinAmatRodrigo/skforecaster | 3ab526d63bbb94ae4bd18ae964197042a675a34a | [
"MIT"
] | 24 | 2021-04-04T09:58:26.000Z | 2022-03-09T15:55:44.000Z | from .model_selection import * | 30 | 30 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 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 |
b47cd5dbc7a5c321c20ae318176ee727bbe244ab | 14,562 | py | Python | Beams/GUI/Temporary/GUI_Some_3_Options.py | vsriv90/mechanical_engineering | c922cdce1a595e9acb6a87cf415fb3685caf51a3 | [
"MIT"
] | 1 | 2021-11-03T06:37:44.000Z | 2021-11-03T06:37:44.000Z | Beams/GUI/Temporary/GUI_Some_3_Options.py | vsriv90/mechanical_engineering | c922cdce1a595e9acb6a87cf415fb3685caf51a3 | [
"MIT"
] | null | null | null | Beams/GUI/Temporary/GUI_Some_3_Options.py | vsriv90/mechanical_engineering | c922cdce1a595e9acb6a87cf415fb3685caf51a3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# https://www.code4example.com/python/tkinter/python-program-to-add-two-numbers-in-tkinter/
# In[1]:
import tkinter as tk # GUI library
from tkinter import *
from tkinter import filedialog, Text #Filedialog helps build the apps, Text helps show text on the GUI
import numpy as n... | 34.183099 | 129 | 0.600398 | 2,326 | 14,562 | 3.750215 | 0.11178 | 0.027284 | 0.021667 | 0.030265 | 0.801215 | 0.785166 | 0.767167 | 0.754901 | 0.73931 | 0.721885 | 0 | 0.02817 | 0.202857 | 14,562 | 425 | 130 | 34.263529 | 0.723294 | 0.366227 | 0 | 0.473913 | 0 | 0 | 0.106049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026087 | false | 0 | 0.026087 | 0 | 0.056522 | 0.008696 | 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 |
c32c305380b781f314c2ef98dec88fb53a5438c1 | 772 | py | Python | FuzzingTool_Dialog_InputChoose_Child.py | Ryu-Miyaki/Fuzz4B | 8546f165d4dbdd97eb6ab5a6f4c445ee81ec364b | [
"MIT"
] | 16 | 2020-06-25T11:56:59.000Z | 2022-02-05T14:00:12.000Z | FuzzingTool_Dialog_InputChoose_Child.py | Ryu-Miyaki/Fuzz4B | 8546f165d4dbdd97eb6ab5a6f4c445ee81ec364b | [
"MIT"
] | null | null | null | FuzzingTool_Dialog_InputChoose_Child.py | Ryu-Miyaki/Fuzz4B | 8546f165d4dbdd97eb6ab5a6f4c445ee81ec364b | [
"MIT"
] | null | null | null | """Subclass of Dialog_InputChoose, which is generated by wxFormBuilder."""
import wx
import FuzzingTool
from FuzzingTool_Dialog_InputChoose import FuzzingTool_Dialog_InputChoose
# Implementing Dialog_InputChoose
class FuzzingTool_Dialog_InputChoose_Child( FuzzingTool_Dialog_InputChoose ):
def __init__( self, parent ... | 33.565217 | 77 | 0.82513 | 81 | 772 | 7.518519 | 0.45679 | 0.223317 | 0.229885 | 0.07225 | 0.091954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108808 | 772 | 22 | 78 | 35.090909 | 0.885174 | 0.314767 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c37b8b5cd283f79305d80007195d211110e026b7 | 24 | py | Python | plotly/graph_objs/violin/hoverlabel/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 12 | 2020-04-18T18:10:22.000Z | 2021-12-06T10:11:15.000Z | plotly/graph_objs/violin/hoverlabel/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | plotly/graph_objs/violin/hoverlabel/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 6 | 2020-04-18T23:07:08.000Z | 2021-11-18T07:53:06.000Z | from ._font import Font
| 12 | 23 | 0.791667 | 4 | 24 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 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 |
48b6ad1d5d94c91fcb82b3da6eb93737684bdb63 | 173 | py | Python | src/qa/data/__init__.py | azadyasar/GenerativeQA | 5bd5e6fb844da5d85984c743995f712204dbb03a | [
"MIT"
] | null | null | null | src/qa/data/__init__.py | azadyasar/GenerativeQA | 5bd5e6fb844da5d85984c743995f712204dbb03a | [
"MIT"
] | null | null | null | src/qa/data/__init__.py | azadyasar/GenerativeQA | 5bd5e6fb844da5d85984c743995f712204dbb03a | [
"MIT"
] | null | null | null | from qa.data.vocabulary import Vocabulary
from qa.data.dataset import Dataset, Batch
from qa.data.boolq_dataset import BoolQDataset
from qa.data.glue import BoolQDataLoader | 34.6 | 46 | 0.849711 | 26 | 173 | 5.615385 | 0.423077 | 0.164384 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098266 | 173 | 5 | 47 | 34.6 | 0.935897 | 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 |
5b20c05d5a4bcc21a3b49eb9bb5b76e60b0a3c73 | 42,229 | py | Python | Structure_Solver_prof_return.py | youjiawu96/SIDM_dark_star_code | db1e1bc7c902bd29767244ae3e14b5dfb1d560cb | [
"MIT"
] | null | null | null | Structure_Solver_prof_return.py | youjiawu96/SIDM_dark_star_code | db1e1bc7c902bd29767244ae3e14b5dfb1d560cb | [
"MIT"
] | null | null | null | Structure_Solver_prof_return.py | youjiawu96/SIDM_dark_star_code | db1e1bc7c902bd29767244ae3e14b5dfb1d560cb | [
"MIT"
] | null | null | null | import numpy as np
import nucrat
import os
from scipy.integrate import odeint
from scipy.interpolate import interp1d
import matplotlib.pyplot as plt
from scipy.optimize import root
from scipy.optimize import fsolve
from scipy.interpolate import interp2d
import Opacity
# constants in SI units
kB = 1.3806*10**(-23.0) #... | 42.186813 | 219 | 0.407919 | 5,536 | 42,229 | 2.962608 | 0.080383 | 0.015609 | 0.010243 | 0.018779 | 0.816109 | 0.810255 | 0.800622 | 0.794281 | 0.789891 | 0.780623 | 0 | 0.05855 | 0.449951 | 42,229 | 1,001 | 220 | 42.186813 | 0.647537 | 0.587393 | 0 | 0.182099 | 0 | 0 | 0.021836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009259 | false | 0.015432 | 0.030864 | 0 | 0.049383 | 0.074074 | 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 |
5b23c78f5f4c3f20e9b1c9129dcdd7b8d9139b33 | 155 | py | Python | ultron8/exceptions/apivalidation.py | bossjones/ultron8 | 45db73d32542a844570d44bc83defa935e15803f | [
"Apache-2.0",
"MIT"
] | null | null | null | ultron8/exceptions/apivalidation.py | bossjones/ultron8 | 45db73d32542a844570d44bc83defa935e15803f | [
"Apache-2.0",
"MIT"
] | 43 | 2019-06-01T23:08:32.000Z | 2022-02-07T22:24:53.000Z | ultron8/exceptions/apivalidation.py | bossjones/ultron8 | 45db73d32542a844570d44bc83defa935e15803f | [
"Apache-2.0",
"MIT"
] | null | null | null | from __future__ import absolute_import
from ultron8.exceptions import UltronBaseException
class ValueValidationException(UltronBaseException):
pass
| 19.375 | 52 | 0.858065 | 14 | 155 | 9.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.116129 | 155 | 7 | 53 | 22.142857 | 0.927007 | 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 |
82968a0a9d667b33b91fce0e8afa1b301264e1dc | 96 | py | Python | software_module/efflux/__init__.py | tomroesch/efflux_pumps | 8e108497e4cd50165effdebb7d1ac45da0f4f0eb | [
"MIT"
] | null | null | null | software_module/efflux/__init__.py | tomroesch/efflux_pumps | 8e108497e4cd50165effdebb7d1ac45da0f4f0eb | [
"MIT"
] | null | null | null | software_module/efflux/__init__.py | tomroesch/efflux_pumps | 8e108497e4cd50165effdebb7d1ac45da0f4f0eb | [
"MIT"
] | null | null | null | from .viz import *
from .seq_utils import *
from .utils import *
from .quality_control import *
| 19.2 | 30 | 0.75 | 14 | 96 | 5 | 0.5 | 0.428571 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 4 | 31 | 24 | 0.875 | 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 |
82a182fb99e460f38b76431dc7942a8adb5cd38d | 27 | py | Python | maxiverse/base/__init__.py | BALAVIGNESHDOSTRIX/maxiverse | 17b5e611e48cf5ee585bc1941e168b5e9b8961d5 | [
"MIT"
] | 1 | 2021-08-29T23:59:30.000Z | 2021-08-29T23:59:30.000Z | maxiverse/base/__init__.py | BALAVIGNESHDOSTRIX/maxiverse | 17b5e611e48cf5ee585bc1941e168b5e9b8961d5 | [
"MIT"
] | null | null | null | maxiverse/base/__init__.py | BALAVIGNESHDOSTRIX/maxiverse | 17b5e611e48cf5ee585bc1941e168b5e9b8961d5 | [
"MIT"
] | null | null | null | from . import abstract_base | 27 | 27 | 0.851852 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 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 |
82af7601992feb42799db3e04a2ee17a07b13508 | 32 | py | Python | livemark/plugins/image/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 73 | 2021-06-07T13:28:36.000Z | 2022-03-26T05:37:59.000Z | livemark/plugins/image/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 120 | 2021-06-04T12:51:01.000Z | 2022-03-21T11:11:36.000Z | livemark/plugins/image/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 7 | 2021-09-22T11:38:26.000Z | 2022-03-26T05:35:58.000Z | from .plugin import ImagePlugin
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
82b19dbafa9939a326ecbfda7e3af53df2199527 | 446 | py | Python | generated-libraries/python/netapp/storage_array/arrayerrortype.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/storage_array/arrayerrortype.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/storage_array/arrayerrortype.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class Arrayerrortype(basestring):
"""
ARRAY_INCONSISTENT_ADDRESSING_METHOD|ARRAY_DEVTYPE_ERROR
Possible values:
<ul>
<li> "array_inconsistent_addressing_method" - Array is using
inconsistent LUN addressing schemes.,
<li> "array_devtype_error" - Array has
encountered ... | 26.235294 | 66 | 0.64574 | 44 | 446 | 6.272727 | 0.613636 | 0.123188 | 0.195652 | 0.23913 | 0.275362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275785 | 446 | 16 | 67 | 27.875 | 0.854489 | 0.621076 | 0 | 0 | 0 | 0 | 0.112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
82cd5b507c06895c8e1b5bc1733966e487ff43c5 | 241 | py | Python | deepbay/__init__.py | ElPapi42/DeepBay | 17ea46bccbcfc192ea5cd5ac8404f1ebf905b8e8 | [
"MIT"
] | 3 | 2019-11-12T18:21:05.000Z | 2020-06-23T21:56:23.000Z | deepbay/__init__.py | ElPapi42/deepbay | 17ea46bccbcfc192ea5cd5ac8404f1ebf905b8e8 | [
"MIT"
] | 1 | 2019-12-02T21:25:29.000Z | 2020-05-26T20:29:41.000Z | deepbay/__init__.py | ElPapi42/DeepBay | 17ea46bccbcfc192ea5cd5ac8404f1ebf905b8e8 | [
"MIT"
] | 1 | 2021-01-30T15:44:07.000Z | 2021-01-30T15:44:07.000Z | from deepbay.DenseBlock import DenseBlock
from deepbay.DeepFeedForward import DeepFeedForward
from deepbay.NeuralCollaborativeFilter import NeuralCollaborativeFilter
from deepbay.GeneralizedMatrixFactorizer import GeneralizedMatrixFactorizer | 60.25 | 75 | 0.921162 | 20 | 241 | 11.1 | 0.35 | 0.198198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062241 | 241 | 4 | 75 | 60.25 | 0.982301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
82e42397808be87c02bfe39fc2063cb98b73026a | 5,546 | py | Python | tests/test_aws_tags_resolver.py | stevemac007/config-butler | 7b507f4bc8e7ff3838420e148a058e9779904191 | [
"MIT"
] | 2 | 2018-05-28T22:52:51.000Z | 2018-06-07T01:46:22.000Z | tests/test_aws_tags_resolver.py | stevemac007/config-butler | 7b507f4bc8e7ff3838420e148a058e9779904191 | [
"MIT"
] | 6 | 2018-06-07T01:46:17.000Z | 2021-03-25T21:59:39.000Z | tests/test_aws_tags_resolver.py | stevemac007/config-butler | 7b507f4bc8e7ff3838420e148a058e9779904191 | [
"MIT"
] | null | null | null | import unittest
from ec2_metadata import EC2Metadata
from mock import call, Mock, MagicMock
import mock
import logging
from configbutler.resolvers import AWSTagResolver
logger = logging.getLogger("configbutler")
logging.basicConfig()
class TestAWSTagsResolver(unittest.TestCase):
@mock.patch("configbutler.res... | 37.472973 | 91 | 0.60476 | 594 | 5,546 | 5.498317 | 0.146465 | 0.078077 | 0.06338 | 0.074403 | 0.838334 | 0.83711 | 0.806491 | 0.777097 | 0.757502 | 0.740661 | 0 | 0.018227 | 0.267941 | 5,546 | 147 | 92 | 37.727891 | 0.786207 | 0.006671 | 0 | 0.650943 | 0 | 0 | 0.18304 | 0.02633 | 0 | 0 | 0 | 0 | 0.160377 | 1 | 0.056604 | false | 0 | 0.056604 | 0.009434 | 0.132075 | 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 |
7d595ee02142775061ed0a4421221827b0edd57f | 28 | py | Python | screen/__init__.py | gretchi/twim | 20a4bf459182a01d535cfb948d8b30de087585f1 | [
"MIT"
] | null | null | null | screen/__init__.py | gretchi/twim | 20a4bf459182a01d535cfb948d8b30de087585f1 | [
"MIT"
] | null | null | null | screen/__init__.py | gretchi/twim | 20a4bf459182a01d535cfb948d8b30de087585f1 | [
"MIT"
] | null | null | null |
from .screen import Screen
| 9.333333 | 26 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.956522 | 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 |
7d5c99e009fa66335781f5e1086096c1c9ba71af | 196 | py | Python | ubb/fop/lab02-04/Bank Account Management/exceptions.py | AlexanderChristian/private_courses | c80f3526af539e35f93b460f3909f669aaef573c | [
"MIT"
] | null | null | null | ubb/fop/lab02-04/Bank Account Management/exceptions.py | AlexanderChristian/private_courses | c80f3526af539e35f93b460f3909f669aaef573c | [
"MIT"
] | 6 | 2020-03-04T20:52:39.000Z | 2022-03-31T00:33:07.000Z | ubb/fop/lab02-04/Bank Account Management/exceptions.py | AlexanderChristian/private_courses | c80f3526af539e35f93b460f3909f669aaef573c | [
"MIT"
] | null | null | null | __author__ = 'cosmin'
class CommandError(Exception):
def __init__(self, arg):
self.msg = arg
class InvalidParameters(Exception):
def __init__(self, arg):
self.msg = arg | 17.818182 | 35 | 0.658163 | 22 | 196 | 5.318182 | 0.5 | 0.205128 | 0.273504 | 0.34188 | 0.564103 | 0.564103 | 0.564103 | 0.564103 | 0 | 0 | 0 | 0 | 0.234694 | 196 | 11 | 36 | 17.818182 | 0.78 | 0 | 0 | 0.571429 | 0 | 0 | 0.030457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7d6a514adcc2494ebed8ec36b7e50b0e1b35baf0 | 1,657 | py | Python | tests/test_pandas_integration.py | rwhitt2049/nimble | e50587d6d8e38449e496a870f460e723f0f595bd | [
"MIT"
] | null | null | null | tests/test_pandas_integration.py | rwhitt2049/nimble | e50587d6d8e38449e496a870f460e723f0f595bd | [
"MIT"
] | 24 | 2016-07-22T03:42:49.000Z | 2016-10-21T04:11:09.000Z | tests/test_pandas_integration.py | rwhitt2049/nimble | e50587d6d8e38449e496a870f460e723f0f595bd | [
"MIT"
] | null | null | null | from unittest import TestCase, main
import numpy as np
import pandas as pd
import numpy.testing as npt
from nimble import Events
class TestAsPandasCondition(TestCase):
def setUp(self):
conditional_series = pd.Series([0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1])
condition = (conditional_series > 0)
... | 34.520833 | 76 | 0.644538 | 250 | 1,657 | 4.096 | 0.156 | 0.046875 | 0.052734 | 0.023438 | 0.822266 | 0.761719 | 0.761719 | 0.761719 | 0.761719 | 0.761719 | 0 | 0.058778 | 0.219674 | 1,657 | 47 | 77 | 35.255319 | 0.733179 | 0 | 0 | 0.628571 | 0 | 0 | 0.004828 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 1 | 0.171429 | false | 0 | 0.142857 | 0 | 0.371429 | 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 |
7db36ed45d8709dbd82dde86eeba0a328e3114a4 | 18,298 | py | Python | tests/test_engine/test_update/test_update.py | jqueguiner/montydb | 55bb3099fe110dbcd1ee24a71479fb0861d993a4 | [
"BSD-3-Clause"
] | null | null | null | tests/test_engine/test_update/test_update.py | jqueguiner/montydb | 55bb3099fe110dbcd1ee24a71479fb0861d993a4 | [
"BSD-3-Clause"
] | null | null | null | tests/test_engine/test_update/test_update.py | jqueguiner/montydb | 55bb3099fe110dbcd1ee24a71479fb0861d993a4 | [
"BSD-3-Clause"
] | null | null | null |
import pytest
from pymongo.errors import WriteError as mongo_write_err
from montydb.errors import WriteError as monty_write_err
def test_update_err_1(monty_update, mongo_update):
# testing update path conflict
docs = [
{"a": {"b": 4}}
]
spec = {"$inc": {"a.b": 1}, "$min": {"a.b": 1}}
wi... | 30.194719 | 79 | 0.594218 | 2,599 | 18,298 | 3.933436 | 0.044633 | 0.100753 | 0.104079 | 0.072484 | 0.934266 | 0.919104 | 0.893573 | 0.860022 | 0.843979 | 0.836154 | 0 | 0.021357 | 0.229752 | 18,298 | 605 | 80 | 30.244628 | 0.703988 | 0.118538 | 0 | 0.608466 | 0 | 0 | 0.061364 | 0.001307 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.097884 | false | 0 | 0.007937 | 0 | 0.10582 | 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 |
7dbe495ed80df5ea895752ef24b5e8e231be75f2 | 9,334 | py | Python | obsolete/reports/pipeline_capseq/trackers/macs_replicated_unique_intervals.py | cdrakesmith/CGATPipelines | 3c94ae4f9d87d51108255dc405c4b95af7c8b694 | [
"MIT"
] | 49 | 2015-04-13T16:49:25.000Z | 2022-03-29T10:29:14.000Z | obsolete/reports/pipeline_capseq/trackers/macs_replicated_unique_intervals.py | cdrakesmith/CGATPipelines | 3c94ae4f9d87d51108255dc405c4b95af7c8b694 | [
"MIT"
] | 252 | 2015-04-08T13:23:34.000Z | 2019-03-18T21:51:29.000Z | obsolete/reports/pipeline_capseq/trackers/macs_replicated_unique_intervals.py | cdrakesmith/CGATPipelines | 3c94ae4f9d87d51108255dc405c4b95af7c8b694 | [
"MIT"
] | 22 | 2015-05-21T00:37:52.000Z | 2019-09-25T05:04:27.000Z | import os
import sys
import re
import types
import itertools
import matplotlib.pyplot as plt
import numpy
import scipy.stats
import numpy.ma
import Stats
import Histogram
from CGATReport.Tracker import *
from cpgReport import *
##########################################################################
class replicat... | 42.045045 | 130 | 0.523784 | 847 | 9,334 | 5.5183 | 0.153483 | 0.038511 | 0.102696 | 0.091784 | 0.730638 | 0.72807 | 0.72807 | 0.721866 | 0.701754 | 0.675653 | 0 | 0.003044 | 0.296015 | 9,334 | 221 | 131 | 42.235294 | 0.708264 | 0.047675 | 0 | 0.613636 | 0 | 0.007576 | 0.628789 | 0.223462 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098485 | false | 0 | 0.098485 | 0 | 0.492424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
815157ad8991d499e020fac55bd40adf0cae77ba | 17,013 | py | Python | tests/test_subscription.py | HiddenClever/dj-stripe | cc64c084f2f5c92d9aca60cf81c064bfa1fcde7f | [
"MIT"
] | null | null | null | tests/test_subscription.py | HiddenClever/dj-stripe | cc64c084f2f5c92d9aca60cf81c064bfa1fcde7f | [
"MIT"
] | null | null | null | tests/test_subscription.py | HiddenClever/dj-stripe | cc64c084f2f5c92d9aca60cf81c064bfa1fcde7f | [
"MIT"
] | null | null | null | """
.. module:: dj-stripe.tests.test_subscription
:synopsis: dj-stripe Subscription Model Tests.
.. moduleauthor:: Alex Kavanaugh (@kavdev)
"""
from copy import deepcopy
from decimal import Decimal
from django.contrib.auth import get_user_model
from django.test import TestCase
from django.utils import timezone
fr... | 53.332288 | 117 | 0.766002 | 1,902 | 17,013 | 6.512093 | 0.070452 | 0.071048 | 0.050622 | 0.071936 | 0.851687 | 0.835782 | 0.814387 | 0.80155 | 0.780962 | 0.747941 | 0 | 0.002534 | 0.141774 | 17,013 | 318 | 118 | 53.5 | 0.845764 | 0.011756 | 0 | 0.685714 | 0 | 0 | 0.074753 | 0.04309 | 0 | 0 | 0 | 0 | 0.297959 | 1 | 0.069388 | false | 0 | 0.040816 | 0 | 0.114286 | 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 |
8160a0bb87b493fc99f37d135eea1dd82a96318c | 6,686 | py | Python | tests/test_observable_collection.py | theodox/mGui | d2cd8c48ae1d51c9587b0aaab5b1d296a0561625 | [
"MIT"
] | 105 | 2015-01-13T10:52:55.000Z | 2022-03-23T12:49:01.000Z | tests/test_observable_collection.py | techartorg/mGui | d2cd8c48ae1d51c9587b0aaab5b1d296a0561625 | [
"MIT"
] | 84 | 2015-01-15T14:56:08.000Z | 2019-04-15T17:03:51.000Z | tests/test_observable_collection.py | techartorg/mGui | d2cd8c48ae1d51c9587b0aaab5b1d296a0561625 | [
"MIT"
] | 22 | 2015-01-11T11:25:37.000Z | 2021-12-24T06:34:46.000Z | '''
Created on Mar 14, 2014
@author: Stephen Theodore
'''
from mGui.bindings import BindableObject, bind
from mGui.observable import ObservableCollection, ViewCollection, ImmediateObservableCollection
from unittest import TestCase, main
class TestTarget(BindableObject):
_BIND_TGT = 'values'
def __init__(sel... | 31.838095 | 95 | 0.526174 | 1,001 | 6,686 | 3.412587 | 0.094905 | 0.021077 | 0.031616 | 0.042155 | 0.770785 | 0.752927 | 0.752927 | 0.741803 | 0.741803 | 0.713993 | 0 | 0.101587 | 0.321268 | 6,686 | 209 | 96 | 31.990431 | 0.651168 | 0.011666 | 0 | 0.777778 | 0 | 0 | 0.011515 | 0 | 0 | 0 | 0 | 0 | 0.181287 | 1 | 0.146199 | false | 0 | 0.017544 | 0 | 0.19883 | 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 |
81b75f4b04ddd63c53fc1d9e1772002ae1e90a83 | 153,890 | py | Python | sweep_plot.py | pan185/uSystolic-Sim | 6e8bad049d6625e13736f4504a54b26d5f3e99f8 | [
"MIT"
] | null | null | null | sweep_plot.py | pan185/uSystolic-Sim | 6e8bad049d6625e13736f4504a54b26d5f3e99f8 | [
"MIT"
] | null | null | null | sweep_plot.py | pan185/uSystolic-Sim | 6e8bad049d6625e13736f4504a54b26d5f3e99f8 | [
"MIT"
] | null | null | null | import os
import matplotlib.pyplot as plt
import numpy as np
import math
import matplotlib
from numpy import mean, median
def plot_fig(technode=""):
font = {'family':'Times New Roman', 'size': 6}
matplotlib.rc('font', **font)
print_power_onchip = False
print_power_total = False
print_energy_onchip... | 60.066354 | 196 | 0.622575 | 23,913 | 153,890 | 3.494459 | 0.014176 | 0.05062 | 0.024461 | 0.025274 | 0.962711 | 0.948626 | 0.912018 | 0.890466 | 0.85642 | 0.793713 | 0 | 0.041143 | 0.262584 | 153,890 | 2,561 | 197 | 60.089809 | 0.695218 | 0.01594 | 0 | 0.480019 | 0 | 0.000929 | 0.098187 | 0.009818 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001394 | false | 0.000465 | 0.002788 | 0 | 0.005112 | 0.197955 | 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 |
f206c27dfbe14886e2ccf545ff525b5fd5399767 | 46 | py | Python | owllook/recommend/__init__.py | cklx0719/owllook | 263cbc5fc40478da140ec0a54684205f92b5403a | [
"Apache-2.0"
] | 2,344 | 2017-05-05T00:16:05.000Z | 2022-03-31T15:46:06.000Z | owllook/recommend/__init__.py | cklx0719/owllook | 263cbc5fc40478da140ec0a54684205f92b5403a | [
"Apache-2.0"
] | 91 | 2017-05-27T12:43:14.000Z | 2022-03-20T04:51:35.000Z | owllook/recommend/__init__.py | cklx0719/owllook | 263cbc5fc40478da140ec0a54684205f92b5403a | [
"Apache-2.0"
] | 811 | 2017-05-05T03:01:25.000Z | 2022-03-22T02:09:37.000Z | from .cosinesimilarity import CosineSimilarity | 46 | 46 | 0.913043 | 4 | 46 | 10.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f220a4830b444e2d69d2f532b1448e7b1f330cc5 | 29 | py | Python | a_package/__init__.py | codernayeem/python-cheat-sheet | ec6fe9f33e9175251df65899cef89f65219b9cb4 | [
"MIT"
] | null | null | null | a_package/__init__.py | codernayeem/python-cheat-sheet | ec6fe9f33e9175251df65899cef89f65219b9cb4 | [
"MIT"
] | null | null | null | a_package/__init__.py | codernayeem/python-cheat-sheet | ec6fe9f33e9175251df65899cef89f65219b9cb4 | [
"MIT"
] | null | null | null | print("a_package Initiated")
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 29 | 1 | 29 | 29 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1ef7d62ea2c5eff69771124776b0402eaf582c19 | 11,448 | py | Python | books/test/test_models.py | rodbv/kamu | f390d91f7d7755b49176cf5d504648e3fe572237 | [
"MIT"
] | null | null | null | books/test/test_models.py | rodbv/kamu | f390d91f7d7755b49176cf5d504648e3fe572237 | [
"MIT"
] | null | null | null | books/test/test_models.py | rodbv/kamu | f390d91f7d7755b49176cf5d504648e3fe572237 | [
"MIT"
] | null | null | null | from unittest.mock import patch
from django.contrib.auth.models import User
from django.test import TestCase
from django.utils import timezone
from books.models import Book, BookCopy, Library
def add_to_waitlist(book, user, library, added_date):
book.waitlistitem_set.create(library=library, user=user, added_dat... | 50.654867 | 114 | 0.730433 | 1,550 | 11,448 | 5.136774 | 0.078065 | 0.074353 | 0.110776 | 0.116051 | 0.80947 | 0.77468 | 0.763376 | 0.725823 | 0.71791 | 0.71791 | 0 | 0.001757 | 0.154874 | 11,448 | 225 | 115 | 50.88 | 0.821189 | 0 | 0 | 0.536145 | 0 | 0 | 0.041754 | 0.004717 | 0 | 0 | 0 | 0 | 0.283133 | 1 | 0.192771 | false | 0 | 0.03012 | 0 | 0.240964 | 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 |
1effee626c19a6bbc3552f64257e4d51deb212d4 | 14,614 | py | Python | test/benchmarks/generate_benchmarks.py | DanielLenz/NaMaster | fb329b70e7a2f4cea5411abf80122746afed27f2 | [
"BSD-3-Clause"
] | null | null | null | test/benchmarks/generate_benchmarks.py | DanielLenz/NaMaster | fb329b70e7a2f4cea5411abf80122746afed27f2 | [
"BSD-3-Clause"
] | null | null | null | test/benchmarks/generate_benchmarks.py | DanielLenz/NaMaster | fb329b70e7a2f4cea5411abf80122746afed27f2 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function
import numpy as np
import healpy as hp
import matplotlib.pyplot as plt
from astropy.wcs import WCS
from astropy.io import fits
import pymaster as nmt
l,cltt,clee,clbb,clte,nltt,nlee,nlbb,nlte=np.loadtxt("cls_lss.txt",unpack=True)
##########################
# Flat-sky stuff
def w... | 47.294498 | 137 | 0.714247 | 2,605 | 14,614 | 3.830326 | 0.097889 | 0.048908 | 0.046001 | 0.054119 | 0.805171 | 0.78653 | 0.766286 | 0.762979 | 0.758068 | 0.756665 | 0 | 0.082123 | 0.076776 | 14,614 | 308 | 138 | 47.448052 | 0.657427 | 0.026276 | 0 | 0.6171 | 0 | 0 | 0.067458 | 0.010949 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011152 | false | 0 | 0.026022 | 0 | 0.04461 | 0.003717 | 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 |
4873537bcf42b6001c4a1527820089131b10e711 | 62 | py | Python | load.py | ChetaOk/ChetaCSC102 | 6227dd32e9a9468e3f6dc86555dfd1eddd18e9c0 | [
"MIT"
] | null | null | null | load.py | ChetaOk/ChetaCSC102 | 6227dd32e9a9468e3f6dc86555dfd1eddd18e9c0 | [
"MIT"
] | null | null | null | load.py | ChetaOk/ChetaCSC102 | 6227dd32e9a9468e3f6dc86555dfd1eddd18e9c0 | [
"MIT"
] | null | null | null | def calculate_area(len, height):
return len * height * 2
| 15.5 | 32 | 0.677419 | 9 | 62 | 4.555556 | 0.777778 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.225806 | 62 | 3 | 33 | 20.666667 | 0.833333 | 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 |
4876c880f8775aadeed257f49ec4f402e7d6a764 | 100 | py | Python | pyapacheatlas/auth/__init__.py | slyons/pyapacheatlas | 48b0239dfc8c5624cf5e86b5dfd29a6e58f70280 | [
"MIT"
] | 104 | 2020-12-07T14:18:20.000Z | 2022-03-16T12:11:21.000Z | pyapacheatlas/auth/__init__.py | slyons/pyapacheatlas | 48b0239dfc8c5624cf5e86b5dfd29a6e58f70280 | [
"MIT"
] | 98 | 2020-12-23T20:27:02.000Z | 2022-03-10T15:44:43.000Z | pyapacheatlas/auth/__init__.py | slyons/pyapacheatlas | 48b0239dfc8c5624cf5e86b5dfd29a6e58f70280 | [
"MIT"
] | 47 | 2020-12-17T16:28:31.000Z | 2022-02-22T03:12:19.000Z | from .serviceprincipal import ServicePrincipalAuthentication
from .basic import BasicAuthentication
| 33.333333 | 60 | 0.9 | 8 | 100 | 11.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 2 | 61 | 50 | 0.978261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
488051712378bfcc7626a7deb096eda936ed6632 | 24 | py | Python | torchtime/models/__init__.py | VincentSch4rf/torchtime | bebd006cd67b31c342e0658285c9771c27411df0 | [
"Apache-2.0"
] | 4 | 2022-02-21T21:23:16.000Z | 2022-03-28T09:06:14.000Z | torchtime/models/__init__.py | VincentSch4rf/torchtime | bebd006cd67b31c342e0658285c9771c27411df0 | [
"Apache-2.0"
] | null | null | null | torchtime/models/__init__.py | VincentSch4rf/torchtime | bebd006cd67b31c342e0658285c9771c27411df0 | [
"Apache-2.0"
] | null | null | null | from .inception import * | 24 | 24 | 0.791667 | 3 | 24 | 6.333333 | 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 |
6f7cfbf335722f6e54d4e8689ca3af89d395f905 | 49 | py | Python | sdk/__init__.py | Gussy/titanium_desktop | 37dbaab5664e595115e2fcdc348ed125cd50b48d | [
"Apache-2.0"
] | 3 | 2020-01-31T03:40:26.000Z | 2022-02-06T12:20:52.000Z | sdk/__init__.py | appcelerator-archive/titanium_desktop | 37dbaab5664e595115e2fcdc348ed125cd50b48d | [
"Apache-2.0"
] | null | null | null | sdk/__init__.py | appcelerator-archive/titanium_desktop | 37dbaab5664e595115e2fcdc348ed125cd50b48d | [
"Apache-2.0"
] | null | null | null | def get_titanium_version():
return '1.2.0.RC6e'
| 16.333333 | 27 | 0.734694 | 9 | 49 | 3.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.102041 | 49 | 2 | 28 | 24.5 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
6f9d1636c3ea9a3326cb60ef9da837a42ddf8c38 | 34 | py | Python | pax/utils/__init__.py | epfml/pax | 26844d438d6f86889bbaeebc517199951af065bb | [
"Apache-2.0"
] | 3 | 2022-02-28T14:41:02.000Z | 2022-03-02T12:19:02.000Z | pax/utils/__init__.py | epfml/pax | 26844d438d6f86889bbaeebc517199951af065bb | [
"Apache-2.0"
] | null | null | null | pax/utils/__init__.py | epfml/pax | 26844d438d6f86889bbaeebc517199951af065bb | [
"Apache-2.0"
] | null | null | null | from .call_stack import CallStack
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6fa77728dde21d4ade89551e8cb434bb0aef0f33 | 18,555 | py | Python | dlkit/json_/hierarchy/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/json_/hierarchy/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/json_/hierarchy/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """JSON implementations of hierarchy managers."""
# pylint: disable=no-init
# Numerous classes don't require __init__.
# pylint: disable=too-many-public-methods,too-few-public-methods
# Number of methods are defined in specification
# pylint: disable=protected-access
# Access to protected methods allowed i... | 43.454333 | 120 | 0.675559 | 1,888 | 18,555 | 6.461864 | 0.096398 | 0.061311 | 0.020656 | 0.023607 | 0.870738 | 0.840738 | 0.819016 | 0.771148 | 0.763934 | 0.741967 | 0 | 0 | 0.2346 | 18,555 | 426 | 121 | 43.556338 | 0.859034 | 0.589652 | 0 | 0.461538 | 0 | 0 | 0.025066 | 0.025066 | 0 | 0 | 0 | 0 | 0 | 1 | 0.192308 | false | 0 | 0.086538 | 0 | 0.538462 | 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 |
6fb5d38b11531583cb68ee6c201c40d49fb91114 | 166 | py | Python | TCCDjango/app/__init__.py | hkirschke/App-Web-TCC | 7cb8eecff6f5afe4c996c8a424358de099faefd0 | [
"MIT"
] | null | null | null | TCCDjango/app/__init__.py | hkirschke/App-Web-TCC | 7cb8eecff6f5afe4c996c8a424358de099faefd0 | [
"MIT"
] | null | null | null | TCCDjango/app/__init__.py | hkirschke/App-Web-TCC | 7cb8eecff6f5afe4c996c8a424358de099faefd0 | [
"MIT"
] | null | null | null | """
Package for the application.
"""
#from .graficoLinhaTempo import PlotGraphTimeLineBar
#from .DataFrameUtil import SumRows
#from .DataFrameUtil import RenameCols | 20.75 | 52 | 0.807229 | 16 | 166 | 8.375 | 0.6875 | 0.253731 | 0.343284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114458 | 166 | 8 | 53 | 20.75 | 0.911565 | 0.909639 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6fcc331729e43970ce6eded236eb3ab767e2b975 | 16,244 | py | Python | Chapter15/ABQ_Data_Entry/abq_data_entry/mainmenu.py | JTamarit/Tkinter_libro | 1d0672235d10ad9011d2f7526f9fef363197b8da | [
"MIT"
] | 173 | 2018-07-26T00:46:28.000Z | 2022-03-09T13:54:30.000Z | Chapter15/ABQ_Data_Entry/abq_data_entry/mainmenu.py | my01chap/Python-GUI-Programming-with-Tkinter | 1d0672235d10ad9011d2f7526f9fef363197b8da | [
"MIT"
] | 1 | 2021-03-06T12:29:33.000Z | 2021-03-06T15:08:24.000Z | Chapter15/ABQ_Data_Entry/abq_data_entry/mainmenu.py | my01chap/Python-GUI-Programming-with-Tkinter | 1d0672235d10ad9011d2f7526f9fef363197b8da | [
"MIT"
] | 105 | 2018-05-15T02:47:48.000Z | 2022-03-17T05:52:08.000Z | import tkinter as tk
from tkinter import ttk
from tkinter import messagebox
from functools import partial
class GenericMainMenu(tk.Menu):
"""The Application's main menu"""
def __init__(self, parent, settings, callbacks, **kwargs):
"""Constructor for MainMenu
arguments:
parent - The... | 33.083503 | 72 | 0.582923 | 1,816 | 16,244 | 5.029185 | 0.098568 | 0.052885 | 0.062411 | 0.074893 | 0.804664 | 0.781561 | 0.769298 | 0.753531 | 0.742034 | 0.737655 | 0 | 0.001519 | 0.310884 | 16,244 | 490 | 73 | 33.15102 | 0.812757 | 0.077259 | 0 | 0.661417 | 0 | 0 | 0.147673 | 0.0127 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034121 | false | 0 | 0.010499 | 0.010499 | 0.068241 | 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 |
6fd9cced79300c519e92ae68b18016057a2bac5f | 4,968 | py | Python | analysis/tests/test_connections.py | snspam/sn_spam | e0bb8e9c843e26e5f4be8a49a960ebf7a0d5bfd5 | [
"MIT"
] | null | null | null | analysis/tests/test_connections.py | snspam/sn_spam | e0bb8e9c843e26e5f4be8a49a960ebf7a0d5bfd5 | [
"MIT"
] | null | null | null | analysis/tests/test_connections.py | snspam/sn_spam | e0bb8e9c843e26e5f4be8a49a960ebf7a0d5bfd5 | [
"MIT"
] | null | null | null | """
Tests the connections module.
"""
import unittest
import mock
from .context import connections
from .context import test_utils as tu
class ConnectionsTestCase(unittest.TestCase):
def setUp(self):
self.test_obj = connections.Connections()
def tearDown(self):
self.test_obj = None
def t... | 35.234043 | 78 | 0.584944 | 709 | 4,968 | 3.891396 | 0.119887 | 0.07539 | 0.103661 | 0.080101 | 0.815875 | 0.780355 | 0.739761 | 0.730337 | 0.704966 | 0.704966 | 0 | 0.048922 | 0.234702 | 4,968 | 140 | 79 | 35.485714 | 0.676749 | 0.005837 | 0 | 0.623762 | 0 | 0 | 0.09998 | 0 | 0 | 0 | 0 | 0 | 0.19802 | 1 | 0.128713 | false | 0 | 0.039604 | 0 | 0.188119 | 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 |
82edd7c03bf62e0060cefc7359c9ad680ee3ad27 | 12,170 | py | Python | tests/test_routers.py | clearcare/django-horizon | 9b413570111a5d57f1ea1d125ca8a1768565eb88 | [
"MIT"
] | 81 | 2017-05-22T11:41:37.000Z | 2019-10-25T00:23:26.000Z | tests/test_routers.py | clearcare/django-horizon | 9b413570111a5d57f1ea1d125ca8a1768565eb88 | [
"MIT"
] | 537 | 2017-05-22T10:39:51.000Z | 2019-11-04T14:25:26.000Z | tests/test_routers.py | clearcare/django-horizon | 9b413570111a5d57f1ea1d125ca8a1768565eb88 | [
"MIT"
] | 3 | 2020-05-16T08:35:43.000Z | 2021-03-25T22:39:22.000Z | from unittest.mock import patch
from django.contrib.auth import get_user_model
from horizon.routers import HorizontalRouter
from .base import HorizontalBaseTestCase
from .models import (
ConcreteModel,
HorizontalMetadata,
ManyModel,
OneModel,
ProxiedModel,
ProxyBaseModel,
)
user_model = get_... | 44.254545 | 100 | 0.617009 | 1,366 | 12,170 | 5.233529 | 0.086384 | 0.039166 | 0.039166 | 0.061547 | 0.870751 | 0.803329 | 0.749895 | 0.741083 | 0.734368 | 0.728074 | 0 | 0.00873 | 0.275267 | 12,170 | 274 | 101 | 44.416058 | 0.801814 | 0 | 0 | 0.481328 | 0 | 0 | 0.098521 | 0 | 0 | 0 | 0 | 0 | 0.186722 | 1 | 0.074689 | false | 0 | 0.020747 | 0 | 0.107884 | 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 |
d202456c553e6a60d6656efcc5eec887ad6b8877 | 108 | py | Python | src/ctc/protocols/rari_utils/fuse_lens/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/protocols/rari_utils/fuse_lens/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/protocols/rari_utils/fuse_lens/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from .lens_abis import *
from .lens_spec import *
from .primary_lens import *
from .secondary_lens import *
| 21.6 | 29 | 0.777778 | 16 | 108 | 5 | 0.4375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 108 | 4 | 30 | 27 | 0.869565 | 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 |
d2122467c5d455c42f0996d48c7b1d4c25f0fd58 | 46 | py | Python | pts/model/lstnet/__init__.py | nitinthedreamer/pytorch-ts | 7f81b2fbab2e8913792d841b0d66deb489ee6185 | [
"Apache-2.0",
"MIT"
] | 647 | 2020-03-16T16:47:50.000Z | 2022-03-31T23:29:40.000Z | pts/model/lstnet/__init__.py | nitinthedreamer/pytorch-ts | 7f81b2fbab2e8913792d841b0d66deb489ee6185 | [
"Apache-2.0",
"MIT"
] | 71 | 2020-03-17T10:58:14.000Z | 2022-03-23T08:53:12.000Z | pts/model/lstnet/__init__.py | nitinthedreamer/pytorch-ts | 7f81b2fbab2e8913792d841b0d66deb489ee6185 | [
"Apache-2.0",
"MIT"
] | 110 | 2020-03-16T17:39:45.000Z | 2022-03-25T22:26:39.000Z | from .lstnet_estimator import LSTNetEstimator
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 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 |
d21852664f7a46c2801197b56c52754a47d3f099 | 29 | py | Python | run_py.py | shiishii/CORONA-Net-Diagnosing-COVID-19-from-X-ray-Images-Using-Re-Initialization-and-Classification-Network | f00eaf8f55aa56c4a1e125397a3f74ade6e0b1e6 | [
"MIT"
] | null | null | null | run_py.py | shiishii/CORONA-Net-Diagnosing-COVID-19-from-X-ray-Images-Using-Re-Initialization-and-Classification-Network | f00eaf8f55aa56c4a1e125397a3f74ade6e0b1e6 | [
"MIT"
] | null | null | null | run_py.py | shiishii/CORONA-Net-Diagnosing-COVID-19-from-X-ray-Images-Using-Re-Initialization-and-Classification-Network | f00eaf8f55aa56c4a1e125397a3f74ade6e0b1e6 | [
"MIT"
] | null | null | null | import os
print ( os.environ) | 14.5 | 19 | 0.758621 | 5 | 29 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 2 | 19 | 14.5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
96350c385d7282afbf4165f0262cf750b8f71e40 | 384 | py | Python | program/computer.py | techtuxbr/WatchDogs | 695011f63ecb5f5ef6142db79dfa5cc1c1599479 | [
"MIT"
] | 6 | 2018-01-01T03:20:33.000Z | 2021-04-14T15:33:17.000Z | program/computer.py | techtuxbr/WatchDogs | 695011f63ecb5f5ef6142db79dfa5cc1c1599479 | [
"MIT"
] | null | null | null | program/computer.py | techtuxbr/WatchDogs | 695011f63ecb5f5ef6142db79dfa5cc1c1599479 | [
"MIT"
] | 3 | 2018-04-04T04:48:36.000Z | 2021-04-14T15:33:18.000Z | import platform
def os():
return platform.uname().system
def osVersion():
return platform.uname().version
def name():
return platform.uname().node
def arc():
return platform.uname().machine
def cpu():
return platform.uname().processor
def distro():
if os() == "Linux":
retu... | 22.588235 | 45 | 0.625 | 44 | 384 | 5.431818 | 0.454545 | 0.351464 | 0.39749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242188 | 384 | 17 | 46 | 22.588235 | 0.821306 | 0 | 0 | 0 | 0 | 0 | 0.01355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | true | 0 | 0.0625 | 0.3125 | 0.875 | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9648ab74e90498317d21a98e4f5a8155fd7f76fd | 3,834 | py | Python | scale/job/migrations/0057_auto_20190603_1846.py | kaydoh/scale | 1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee | [
"Apache-2.0"
] | 121 | 2015-11-18T18:15:33.000Z | 2022-03-10T01:55:00.000Z | scale/job/migrations/0057_auto_20190603_1846.py | kaydoh/scale | 1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee | [
"Apache-2.0"
] | 1,415 | 2015-12-23T23:36:04.000Z | 2022-01-07T14:10:09.000Z | scale/job/migrations/0057_auto_20190603_1846.py | kaydoh/scale | 1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee | [
"Apache-2.0"
] | 66 | 2015-12-03T20:38:56.000Z | 2020-07-27T15:28:11.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.10 on 2019-06-03 18:46
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('job', '0056_convert_strike_jobs'),
]
operations = [
migrations.RemoveField(
... | 28.191176 | 54 | 0.527387 | 277 | 3,834 | 7.072202 | 0.252708 | 0.212353 | 0.31853 | 0.367534 | 0.76927 | 0.76927 | 0.519142 | 0.203165 | 0.060235 | 0 | 0 | 0.008983 | 0.361242 | 3,834 | 135 | 55 | 28.4 | 0.790935 | 0.017997 | 0 | 0.75 | 1 | 0 | 0.19059 | 0.00638 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015625 | 0 | 0.039063 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96a148d3cfa4b4e4bc74d8102265670fcbcd0b89 | 2,667 | py | Python | detectorcal/_tests/test_gpu.py | physlin/detector-calibration | 5bf1a3b5e2647c24df39b0d45e352a6b325182b4 | [
"BSD-3-Clause"
] | null | null | null | detectorcal/_tests/test_gpu.py | physlin/detector-calibration | 5bf1a3b5e2647c24df39b0d45e352a6b325182b4 | [
"BSD-3-Clause"
] | null | null | null | detectorcal/_tests/test_gpu.py | physlin/detector-calibration | 5bf1a3b5e2647c24df39b0d45e352a6b325182b4 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from skimage import io
import numpy as np
from detectorcal import fit_response, correct_image
import os
from shutil import rmtree
from pathlib import Path
cp = pytest.importorskip('cupy')
CURRENT_PATH = Path(__file__).parent.resolve()
SRC_PATH = CURRENT_PATH.parents[1]
SAVE_DIR = SRC_PATH / 'data'
de... | 30.655172 | 84 | 0.664417 | 436 | 2,667 | 3.84633 | 0.15367 | 0.104949 | 0.183661 | 0.131783 | 0.796661 | 0.757901 | 0.746571 | 0.746571 | 0.729875 | 0.729875 | 0 | 0.069617 | 0.186727 | 2,667 | 86 | 85 | 31.011628 | 0.70355 | 0.020622 | 0 | 0.619048 | 0 | 0 | 0.021497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.126984 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96beeb4b62e876265765d868fb9d90b4ad41e25a | 28,271 | py | Python | auth-api/migrations/versions/5cf63f567a62_adding_version.py | argush3/sbc-auth | 96a4de3a4358b3158540aea8c4d99e06909793f2 | [
"Apache-2.0"
] | null | null | null | auth-api/migrations/versions/5cf63f567a62_adding_version.py | argush3/sbc-auth | 96a4de3a4358b3158540aea8c4d99e06909793f2 | [
"Apache-2.0"
] | null | null | null | auth-api/migrations/versions/5cf63f567a62_adding_version.py | argush3/sbc-auth | 96a4de3a4358b3158540aea8c4d99e06909793f2 | [
"Apache-2.0"
] | 1 | 2019-07-25T18:20:41.000Z | 2019-07-25T18:20:41.000Z | """adding_version
Revision ID: 5cf63f567a62
Revises: 2e58cc00009b
Create Date: 2020-08-26 17:16:57.006971
"""
import sqlalchemy as sa
import sqlalchemy_utils
from alembic import op
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = '5cf63f567a62'
down_revision = '2e58cc000... | 75.389333 | 120 | 0.660925 | 3,333 | 28,271 | 5.293729 | 0.049505 | 0.062117 | 0.145885 | 0.107685 | 0.918046 | 0.891635 | 0.872648 | 0.841192 | 0.784063 | 0.715144 | 0 | 0.008156 | 0.206325 | 28,271 | 374 | 121 | 75.590909 | 0.778189 | 0.01047 | 0 | 0.4 | 0 | 0 | 0.296872 | 0.160105 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005634 | false | 0 | 0.011268 | 0 | 0.016901 | 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 |
737350beb3146bf6c40c97810936e4f458865362 | 135 | py | Python | udemy-curso-python-projetos-reais-django/helloworld/produto/views.py | herculeshssj/python | c1a0134c405cd7e68fd6d9103894c83d002daa7e | [
"MIT"
] | null | null | null | udemy-curso-python-projetos-reais-django/helloworld/produto/views.py | herculeshssj/python | c1a0134c405cd7e68fd6d9103894c83d002daa7e | [
"MIT"
] | null | null | null | udemy-curso-python-projetos-reais-django/helloworld/produto/views.py | herculeshssj/python | c1a0134c405cd7e68fd6d9103894c83d002daa7e | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def metodo(request):
return render(request, 'produto/index.html')
| 16.875 | 48 | 0.748148 | 18 | 135 | 5.611111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 135 | 7 | 49 | 19.285714 | 0.885965 | 0.17037 | 0 | 0 | 0 | 0 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 |
737edf01408a10da53154da9f1084be084c09b72 | 8,022 | py | Python | tests/messages/test_geometry_msgs.py | aliasrobotics/hypothesis-ros | 0499e2f60a86e68e9b2e09a71ebbf4c89a63c6fe | [
"Apache-2.0"
] | null | null | null | tests/messages/test_geometry_msgs.py | aliasrobotics/hypothesis-ros | 0499e2f60a86e68e9b2e09a71ebbf4c89a63c6fe | [
"Apache-2.0"
] | null | null | null | tests/messages/test_geometry_msgs.py | aliasrobotics/hypothesis-ros | 0499e2f60a86e68e9b2e09a71ebbf4c89a63c6fe | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Unit tests for the geometry_msgs strategies.
"""
from hypothesis import given
from hypothesis.strategies import just
from hypothesis_ros.messages.std_msgs import header
from hypothesis_ros.messages.geometry_msgs import (
point,
pose,
pose_with_covariance,
pose_with_covarianc... | 43.129032 | 111 | 0.462603 | 1,038 | 8,022 | 3.372832 | 0.067437 | 0.086832 | 0.123393 | 0.159954 | 0.859754 | 0.854613 | 0.854613 | 0.803199 | 0.782062 | 0.761497 | 0 | 0.119856 | 0.412366 | 8,022 | 185 | 112 | 43.362162 | 0.622826 | 0.043007 | 0 | 0.532051 | 0 | 0 | 0.014419 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 1 | 0.051282 | false | 0 | 0.032051 | 0 | 0.083333 | 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 |
7380348b8440111bf0fe161a901c58774ffc2af8 | 1,953 | py | Python | test/auto/test_pl_plugin.py | ikamensh/machin | af7b423c47bc1412530cf6c96c11bd3af9b3e239 | [
"MIT"
] | 1 | 2021-04-01T21:21:23.000Z | 2021-04-01T21:21:23.000Z | test/auto/test_pl_plugin.py | ikamensh/machin | af7b423c47bc1412530cf6c96c11bd3af9b3e239 | [
"MIT"
] | null | null | null | test/auto/test_pl_plugin.py | ikamensh/machin | af7b423c47bc1412530cf6c96c11bd3af9b3e239 | [
"MIT"
] | null | null | null | import os
import sys
import pytest
import pickle
import os.path as p
import subprocess as sp
class TestDDPPlugin:
def test_all(self, tmpdir):
test_save_path = str(p.join(tmpdir.make_numbered_dir(), "test.save"))
env = os.environ.copy()
env["TEST_SAVE_PATH"] = test_save_path
process... | 34.263158 | 87 | 0.563748 | 240 | 1,953 | 4.375 | 0.304167 | 0.091429 | 0.091429 | 0.026667 | 0.84 | 0.84 | 0.84 | 0.84 | 0.84 | 0.84 | 0 | 0.013636 | 0.324117 | 1,953 | 56 | 88 | 34.875 | 0.781818 | 0 | 0 | 0.653846 | 0 | 0 | 0.204813 | 0.023554 | 0 | 0 | 0 | 0 | 0.038462 | 1 | 0.038462 | false | 0 | 0.115385 | 0 | 0.192308 | 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 |
7384de3ce1595537c023f014b0282f048bb2a8c9 | 129 | py | Python | Code/YOLO/darkflow/darkflow/dark/convolution.py | kalvin-osoro/ml_project | bf0bdc5719f2712682dd070045a5f1edf933a0c4 | [
"Apache-2.0"
] | null | null | null | Code/YOLO/darkflow/darkflow/dark/convolution.py | kalvin-osoro/ml_project | bf0bdc5719f2712682dd070045a5f1edf933a0c4 | [
"Apache-2.0"
] | null | null | null | Code/YOLO/darkflow/darkflow/dark/convolution.py | kalvin-osoro/ml_project | bf0bdc5719f2712682dd070045a5f1edf933a0c4 | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:0785586ef525597ab10e75550dd890e9760c9491f9a70cf377a48eae4471a58f
size 4814
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.430894 | 0.046512 | 129 | 3 | 76 | 43 | 0.495935 | 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 |
739c41b4806f8ae3c18d440e5d3438f38bd3ebc3 | 29 | py | Python | meteocat_api_client/xarxes/xema/__init__.py | herrera-lu/meteocat-api-client | c5ff627c954123786543a0712c82181f76e87d7c | [
"MIT"
] | null | null | null | meteocat_api_client/xarxes/xema/__init__.py | herrera-lu/meteocat-api-client | c5ff627c954123786543a0712c82181f76e87d7c | [
"MIT"
] | null | null | null | meteocat_api_client/xarxes/xema/__init__.py | herrera-lu/meteocat-api-client | c5ff627c954123786543a0712c82181f76e87d7c | [
"MIT"
] | 1 | 2022-03-16T13:28:32.000Z | 2022-03-16T13:28:32.000Z | from ..xema.xema import XEMA
| 14.5 | 28 | 0.758621 | 5 | 29 | 4.4 | 0.6 | 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 |
73a3d284c11638ae6333efad3267fef9a5b879da | 25 | py | Python | contrib/tools/python/src/Lib/plat-mac/Carbon/Sndihooks.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | python/src/Lib/plat-mac/Carbon/Sndihooks.py | weiqiangzheng/sl4a | d3c17dca978cbeee545e12ea240a9dbf2a6999e9 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | python/src/Lib/plat-mac/Carbon/Sndihooks.py | weiqiangzheng/sl4a | d3c17dca978cbeee545e12ea240a9dbf2a6999e9 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | from _Sndihooks import *
| 12.5 | 24 | 0.8 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 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 |
73e79c0156b6cb21bfe7729797f969099a15c997 | 42,218 | py | Python | tests/unit/test_single_multi_day_stories.py | kritikagarg/storygraphbot | fea11ff63e2d62cb638a65d78af9e70009c77757 | [
"MIT"
] | 1 | 2021-06-18T15:56:45.000Z | 2021-06-18T15:56:45.000Z | tests/unit/test_single_multi_day_stories.py | kritikagarg/storygraphbot | fea11ff63e2d62cb638a65d78af9e70009c77757 | [
"MIT"
] | null | null | null | tests/unit/test_single_multi_day_stories.py | kritikagarg/storygraphbot | fea11ff63e2d62cb638a65d78af9e70009c77757 | [
"MIT"
] | null | null | null | import json
import unittest
from storygraph_bot.backbone import sgbot
from storygraph_bot.util import cleanup
class TestSGBot(unittest.TestCase):
sgbot_path = '/tmp/SGBOT_TEST_PATH'
activation_degree = 0
overlap_threshold = 0.9
top_stories_count = 1#5
def generic_tester(self, test_cases):
... | 50.439665 | 211 | 0.531527 | 5,245 | 42,218 | 4.054528 | 0.058723 | 0.05135 | 0.046553 | 0.082949 | 0.881971 | 0.857331 | 0.84534 | 0.83175 | 0.828365 | 0.826107 | 0 | 0.186756 | 0.321072 | 42,218 | 836 | 212 | 50.5 | 0.555176 | 0.004287 | 0 | 0.47088 | 0 | 0.112763 | 0.551292 | 0.046558 | 0 | 0 | 0 | 0 | 0.007435 | 1 | 0.006196 | false | 0.001239 | 0.004957 | 0 | 0.019827 | 0.008674 | 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 |
fb4615257178014af592d2e55cd16703c0e97309 | 8,164 | py | Python | tests/test_url_helper.py | fossabot/imgix-python | 8d47f1471f6cef95a96b894ed48971c0af7609ee | [
"BSD-2-Clause"
] | null | null | null | tests/test_url_helper.py | fossabot/imgix-python | 8d47f1471f6cef95a96b894ed48971c0af7609ee | [
"BSD-2-Clause"
] | null | null | null | tests/test_url_helper.py | fossabot/imgix-python | 8d47f1471f6cef95a96b894ed48971c0af7609ee | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import imgix
from future.moves.urllib.parse import urlparse
from imgix.urlhelper import UrlHelper
def test_create():
helper = UrlHelper('my-social-network.imgix.net', '/users/1.png')
assert type(helper) is UrlHelper
def test_create_with_url_parameters():
helper = UrlHelper('my-s... | 38.509434 | 79 | 0.588192 | 991 | 8,164 | 4.699294 | 0.14329 | 0.075585 | 0.141722 | 0.188963 | 0.786343 | 0.7653 | 0.754778 | 0.722998 | 0.70496 | 0.691218 | 0 | 0.05894 | 0.260167 | 8,164 | 211 | 80 | 38.691943 | 0.711093 | 0.004777 | 0 | 0.532895 | 0 | 0.065789 | 0.340064 | 0.160675 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.144737 | false | 0 | 0.019737 | 0 | 0.164474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb6e7dc324ec92319a0cfb0e3723b66f6d93b6e9 | 203 | py | Python | tccli/services/vod/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/vod/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/vod/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.vod.vod_client import register_arg
from tccli.services.vod.vod_client import get_actions_info
from tccli.services.vod.vod_client import AVAILABLE_VERSION_LIST
| 40.6 | 64 | 0.827586 | 32 | 203 | 5 | 0.53125 | 0.16875 | 0.31875 | 0.375 | 0.65625 | 0.65625 | 0.65625 | 0 | 0 | 0 | 0 | 0.005376 | 0.083744 | 203 | 4 | 65 | 50.75 | 0.854839 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb827d59020ef45451a8df6b7abdfc4214664247 | 87 | py | Python | CodeWars/Python/027-Grasshopper_Check_for_factor.py | IsFilimonov/Interviews | 261b59cd80e1451804c37b03b4cce7c1b63f609d | [
"MIT"
] | 2 | 2021-05-09T22:39:49.000Z | 2021-09-16T12:44:09.000Z | CodeWars/Python/027-Grasshopper_Check_for_factor.py | IsFilimonov/Interviews | 261b59cd80e1451804c37b03b4cce7c1b63f609d | [
"MIT"
] | null | null | null | CodeWars/Python/027-Grasshopper_Check_for_factor.py | IsFilimonov/Interviews | 261b59cd80e1451804c37b03b4cce7c1b63f609d | [
"MIT"
] | null | null | null | def check_for_factor(base, factor):
return (True if base % factor == 0 else False)
| 29 | 50 | 0.701149 | 14 | 87 | 4.214286 | 0.785714 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.195402 | 87 | 2 | 51 | 43.5 | 0.828571 | 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 |
83709ca0834417623005b1cfebe45fa0a5052f35 | 4,393 | py | Python | src/differential_value_iteration/algorithms/dvi_test.py | yiwan-rl/differential-value-iteration | b980f7f52f9821d7e5ff2c9cad3d3a4931f01f11 | [
"Apache-2.0"
] | null | null | null | src/differential_value_iteration/algorithms/dvi_test.py | yiwan-rl/differential-value-iteration | b980f7f52f9821d7e5ff2c9cad3d3a4931f01f11 | [
"Apache-2.0"
] | null | null | null | src/differential_value_iteration/algorithms/dvi_test.py | yiwan-rl/differential-value-iteration | b980f7f52f9821d7e5ff2c9cad3d3a4931f01f11 | [
"Apache-2.0"
] | null | null | null | """Tests for basic functioning of DVI algorithms."""
import functools
import itertools
from typing import Callable
import numpy as np
from absl.testing import absltest
from absl.testing import parameterized
from differential_value_iteration.algorithms import dvi
from differential_value_iteration.environments import ga... | 33.534351 | 77 | 0.694286 | 521 | 4,393 | 5.654511 | 0.205374 | 0.032587 | 0.0611 | 0.040733 | 0.825526 | 0.811948 | 0.763069 | 0.763069 | 0.763069 | 0.722335 | 0 | 0.02245 | 0.198953 | 4,393 | 130 | 78 | 33.792308 | 0.81472 | 0.010471 | 0 | 0.642202 | 0 | 0 | 0.038701 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 1 | 0.036697 | false | 0 | 0.091743 | 0 | 0.146789 | 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 |
83817302ef31165ca135fe28530bc356cc4ae014 | 22,799 | py | Python | src/clients/python/cape_of_good_place_names_client/api/default_api.py | cityofcapetown/cape-good-of-place-names | 0b73a67e9019c910663d3d502a947e9564d04b70 | [
"MIT"
] | null | null | null | src/clients/python/cape_of_good_place_names_client/api/default_api.py | cityofcapetown/cape-good-of-place-names | 0b73a67e9019c910663d3d502a947e9564d04b70 | [
"MIT"
] | 16 | 2020-07-31T08:45:04.000Z | 2021-12-23T23:54:19.000Z | src/clients/python/cape_of_good_place_names_client/api/default_api.py | cityofcapetown/cape-good-of-place-names | 0b73a67e9019c910663d3d502a947e9564d04b70 | [
"MIT"
] | 1 | 2020-07-31T10:09:59.000Z | 2020-07-31T10:09:59.000Z | """
Cape of Good Place Names Service
This is a stateless service for performing various geotranslation operations, moving between how people describe places and codified coordinate systems. # noqa: E501
The version of the OpenAPI document: 0.1.0
Contact: opmdata+cogpn-support@capetown.gov.za
Gene... | 35.12943 | 170 | 0.49818 | 2,111 | 22,799 | 5.147324 | 0.108479 | 0.033131 | 0.023928 | 0.024848 | 0.843825 | 0.821277 | 0.80416 | 0.786398 | 0.763666 | 0.759709 | 0 | 0.003542 | 0.417913 | 22,799 | 648 | 171 | 35.183642 | 0.815236 | 0.37699 | 0 | 0.630332 | 0 | 0 | 0.22358 | 0.02546 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014218 | false | 0 | 0.018957 | 0 | 0.047393 | 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 |
83ce1a286f7b663cffd548c8050d6ca20a0541df | 162 | py | Python | openpype/tools/settings/resources/__init__.py | jonclothcat/OpenPype | d1208cbebc0a7f378de0062ccd653295c6399195 | [
"MIT"
] | 87 | 2021-05-07T08:40:46.000Z | 2022-03-19T00:36:25.000Z | openpype/tools/settings/resources/__init__.py | zafrs/OpenPype | 4b8e7e1ed002fc55b31307efdea70b0feaed474f | [
"MIT"
] | 1,019 | 2021-04-26T06:22:56.000Z | 2022-03-31T16:30:43.000Z | openpype/tools/settings/resources/__init__.py | zafrs/OpenPype | 4b8e7e1ed002fc55b31307efdea70b0feaed474f | [
"MIT"
] | 33 | 2021-04-29T12:35:54.000Z | 2022-03-25T14:48:42.000Z | import os
RESOURCES_DIR = os.path.dirname(os.path.abspath(__file__))
def get_resource(*args):
return os.path.normpath(os.path.join(RESOURCES_DIR, *args))
| 18 | 63 | 0.746914 | 25 | 162 | 4.56 | 0.6 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 162 | 8 | 64 | 20.25 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 |
83ef83f4b291a0667267dc9d614d6c8ba13b3377 | 244 | py | Python | pwnlib/crypto/base64.py | sebmichel1983/pwntools | fa14ff0806b31d7ab66278f87ba759b166d605fc | [
"MIT"
] | null | null | null | pwnlib/crypto/base64.py | sebmichel1983/pwntools | fa14ff0806b31d7ab66278f87ba759b166d605fc | [
"MIT"
] | 1 | 2020-11-22T09:06:43.000Z | 2020-11-22T09:06:43.000Z | pwnlib/crypto/base64.py | sebmichel1983/pwntools | fa14ff0806b31d7ab66278f87ba759b166d605fc | [
"MIT"
] | 1 | 2020-11-22T07:57:25.000Z | 2020-11-22T07:57:25.000Z | import base64
class cipher_base64:
def encrypt(self, cleartext):
return base64.b64encode(cleartext.encode('utf-8')).decode()
def decrypt(self, ciphertext):
return base64.b64decode(ciphertext.encode('utf-8')).decode()
| 24.4 | 68 | 0.696721 | 29 | 244 | 5.827586 | 0.586207 | 0.142012 | 0.118343 | 0.189349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.168033 | 244 | 9 | 69 | 27.111111 | 0.763547 | 0 | 0 | 0 | 0 | 0 | 0.040984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
83fba827101e7ebd278a4805c2b625aeaea1da87 | 40 | py | Python | pdip/dependency/__init__.py | ahmetcagriakca/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 2 | 2021-12-09T21:07:46.000Z | 2021-12-11T22:18:01.000Z | pdip/dependency/__init__.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | null | null | null | pdip/dependency/__init__.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | 3 | 2021-11-15T00:47:00.000Z | 2021-12-17T11:35:45.000Z | from .scopes import IScoped, ISingleton
| 20 | 39 | 0.825 | 5 | 40 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 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 |
f7ffcb16d89f9bf0a3c1691bf12b9bef581801b5 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/typing/_add_docstring.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/typing/_add_docstring.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/typing/_add_docstring.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/7e/f8/99/031081079c35398e4f9e73fd1e3d836bb92b12cf22c698fcca4ff468b3 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 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 |
79239b45febe7ff7bfa959d2d5995de7c3309698 | 38 | py | Python | pymoo/__init__.py | gabicavalcante/pymoo | 1711ce3a96e5ef622d0116d6c7ea4d26cbe2c846 | [
"Apache-2.0"
] | 762 | 2018-06-05T20:56:09.000Z | 2021-09-14T09:09:42.000Z | pymoo/__init__.py | gabicavalcante/pymoo | 1711ce3a96e5ef622d0116d6c7ea4d26cbe2c846 | [
"Apache-2.0"
] | 176 | 2018-09-05T18:37:05.000Z | 2021-09-14T01:18:43.000Z | pymoo/__init__.py | gabicavalcante/pymoo | 1711ce3a96e5ef622d0116d6c7ea4d26cbe2c846 | [
"Apache-2.0"
] | 160 | 2018-08-05T05:31:20.000Z | 2021-09-14T09:09:45.000Z | from pymoo.version import __version__
| 19 | 37 | 0.868421 | 5 | 38 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.852941 | 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 |
f70fd182757e69c7390c6872baa160b5dc484126 | 378 | py | Python | dictances/intersection_squared_variation.py | DavidBerdik/dictances | 7b804b62032bbdecc8e73946cf74b171681fe4f5 | [
"MIT"
] | 30 | 2018-08-30T16:00:14.000Z | 2022-03-14T14:36:17.000Z | dictances/intersection_squared_variation.py | DavidBerdik/dictances | 7b804b62032bbdecc8e73946cf74b171681fe4f5 | [
"MIT"
] | 6 | 2019-06-18T15:37:23.000Z | 2021-04-15T12:40:42.000Z | dictances/intersection_squared_variation.py | DavidBerdik/dictances | 7b804b62032bbdecc8e73946cf74b171681fe4f5 | [
"MIT"
] | 6 | 2019-02-10T23:22:25.000Z | 2020-10-01T16:25:40.000Z | """Return the squared distance beetween the intersection of a and b."""
from .intersection_nth_variation import intersection_nth_variation
from typing import Dict
def intersection_squared_variation(a: Dict, b: Dict, overlap: bool=False)->float:
"""Return the squared distance beetween the intersection of a and b.""... | 47.25 | 81 | 0.783069 | 54 | 378 | 5.333333 | 0.407407 | 0.15625 | 0.25 | 0.166667 | 0.375 | 0.375 | 0.375 | 0.375 | 0.375 | 0.375 | 0 | 0.003058 | 0.134921 | 378 | 7 | 82 | 54 | 0.877676 | 0.346561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f71b06a727f087f2bc7415f3706874d40d893939 | 92 | py | Python | arvestust/serializers/mixins/__init__.py | lehvitus/arvestust | 2d508317b744eaf12a643a398ff95723893a046a | [
"BSD-3-Clause"
] | 1 | 2021-09-17T23:45:27.000Z | 2021-09-17T23:45:27.000Z | arvestust/serializers/mixins/__init__.py | lehvitus/arvestust | 2d508317b744eaf12a643a398ff95723893a046a | [
"BSD-3-Clause"
] | 3 | 2020-07-25T05:40:54.000Z | 2020-08-11T04:01:19.000Z | arvestust/serializers/mixins/__init__.py | lehvitus/arvestust | 2d508317b744eaf12a643a398ff95723893a046a | [
"BSD-3-Clause"
] | null | null | null | # arvestust:serializers:mixins
from .arvestust_record import ArvestustRecordSerializerMixin
| 30.666667 | 60 | 0.891304 | 8 | 92 | 10.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 92 | 2 | 61 | 46 | 0.94186 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
f727679b242e26a0cafd9fa4682d96dd99b90d0a | 2,309 | py | Python | Extra_python/Scripts/manualDel.py | JPGarCar/HORS | e06d4be00921d09f89406da5e64bbb5717c8bf07 | [
"MIT"
] | 1 | 2019-12-23T22:43:46.000Z | 2019-12-23T22:43:46.000Z | Extra_python/Scripts/manualDel.py | JPGarCar/HORS | e06d4be00921d09f89406da5e64bbb5717c8bf07 | [
"MIT"
] | 18 | 2021-01-15T02:35:48.000Z | 2021-12-08T17:39:51.000Z | Extra_python/Scripts/manualDel.py | JPGarCar/HORS | e06d4be00921d09f89406da5e64bbb5717c8bf07 | [
"MIT"
] | null | null | null | from cs50 import SQL
db = SQL("sqlite:///immuns.db")
global currentUser
def manualDel(number, curUser):
stem = db.execute("SELECT * FROM :dataBase WHERE id=:ids", dataBase=curUser, ids=number)
for stoop in stem:
comm = stoop["committee"]
db.execute("UPDATE generalList SET delegate_name = '' ... | 69.969697 | 149 | 0.672152 | 295 | 2,309 | 5.220339 | 0.166102 | 0.081818 | 0.116883 | 0.155844 | 0.830519 | 0.830519 | 0.791558 | 0.791558 | 0.791558 | 0.731818 | 0 | 0.002611 | 0.170637 | 2,309 | 32 | 150 | 72.15625 | 0.801567 | 0 | 0 | 0.148148 | 0 | 0 | 0.527934 | 0.014292 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.037037 | 0 | 0.074074 | 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 |
f75995987874cb43f821921b01b1b17ca5ae07b6 | 171 | py | Python | efls-console/console/resource/__init__.py | universe-hcy/Elastic-Federated-Learning-Solution | 4e047fbbe6ae9809cd631499b7d3a3855dfe2208 | [
"Apache-2.0"
] | 65 | 2021-09-30T01:54:34.000Z | 2022-03-26T13:57:15.000Z | efls-console/console/resource/__init__.py | universe-hcy/Elastic-Federated-Learning-Solution | 4e047fbbe6ae9809cd631499b7d3a3855dfe2208 | [
"Apache-2.0"
] | 24 | 2021-09-30T09:25:43.000Z | 2022-03-29T06:33:44.000Z | efls-console/console/resource/__init__.py | universe-hcy/Elastic-Federated-Learning-Solution | 4e047fbbe6ae9809cd631499b7d3a3855dfe2208 | [
"Apache-2.0"
] | 18 | 2021-09-30T09:04:08.000Z | 2022-03-31T10:17:27.000Z | # -*- coding: utf8 -*-
__all__ = ['blueprint', 'ResourceService']
from console.resource.controller import blueprint
from console.resource.service import ResourceService
| 24.428571 | 52 | 0.77193 | 17 | 171 | 7.529412 | 0.647059 | 0.171875 | 0.296875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.111111 | 171 | 6 | 53 | 28.5 | 0.835526 | 0.116959 | 0 | 0 | 0 | 0 | 0.161074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
f7683ccb41a212d62918a889bb9c94cfadff17c7 | 3,000 | py | Python | test/test_link_exploration.py | gabrielmacedoanac/kgextension | 0551ca278bc3de5c39baf663467be3220ad20edd | [
"MIT"
] | 67 | 2021-01-17T20:12:44.000Z | 2022-03-07T06:57:01.000Z | test/test_link_exploration.py | gabrielmacedoanac/kgextension | 0551ca278bc3de5c39baf663467be3220ad20edd | [
"MIT"
] | null | null | null | test/test_link_exploration.py | gabrielmacedoanac/kgextension | 0551ca278bc3de5c39baf663467be3220ad20edd | [
"MIT"
] | 3 | 2021-04-17T09:19:31.000Z | 2021-10-03T21:29:56.000Z | import pandas as pd
import pytest
from kgextension.link_exploration import link_explorer
class TestLinkExplorer:
def test1_default(self):
df_input = pd.read_csv("test/data/link_exploration/link_exploration_test_input.csv")
expected_result = pd.read_csv("test/data/link_exploration/link_exploration_... | 48.387097 | 114 | 0.747333 | 406 | 3,000 | 5.142857 | 0.172414 | 0.208333 | 0.060345 | 0.087165 | 0.792146 | 0.792146 | 0.792146 | 0.792146 | 0.717433 | 0.697797 | 0 | 0.008604 | 0.147667 | 3,000 | 62 | 115 | 48.387097 | 0.807978 | 0 | 0 | 0.35 | 0 | 0 | 0.329557 | 0.287238 | 0 | 0 | 0 | 0 | 0.175 | 1 | 0.175 | false | 0 | 0.075 | 0 | 0.275 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e3c7ffaf81de43346288d7376935dd8526420eff | 181 | py | Python | tests/conftest.py | vthriller/flask-kajiki | eadaa0aa45d23507066758b9e74091bddbc943c4 | [
"BSD-3-Clause"
] | null | null | null | tests/conftest.py | vthriller/flask-kajiki | eadaa0aa45d23507066758b9e74091bddbc943c4 | [
"BSD-3-Clause"
] | null | null | null | tests/conftest.py | vthriller/flask-kajiki | eadaa0aa45d23507066758b9e74091bddbc943c4 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from .flask_kajiki_testapp import create_app
@pytest.fixture
def app(request):
return create_app()
@pytest.fixture
def context():
return dict(name='Rudolf')
| 16.454545 | 44 | 0.756906 | 25 | 181 | 5.32 | 0.64 | 0.135338 | 0.225564 | 0.330827 | 0.37594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143646 | 181 | 10 | 45 | 18.1 | 0.858065 | 0 | 0 | 0.25 | 0 | 0 | 0.033149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e3f643c32ba16f950221c47c51d7d474a0deadbe | 44 | py | Python | 2 Ion Flux Relabeling/filerunner.py | samuraininja360/foobar | 8a2955fb7a05ca2b7fd04bf2da7815909803a904 | [
"Apache-2.0"
] | 1 | 2021-05-16T10:45:39.000Z | 2021-05-16T10:45:39.000Z | 2 Ion Flux Relabeling/filerunner.py | samuraininja360/foobar | 8a2955fb7a05ca2b7fd04bf2da7815909803a904 | [
"Apache-2.0"
] | null | null | null | 2 Ion Flux Relabeling/filerunner.py | samuraininja360/foobar | 8a2955fb7a05ca2b7fd04bf2da7815909803a904 | [
"Apache-2.0"
] | null | null | null | import solution
solution.solution(5,[10,9]) | 22 | 27 | 0.772727 | 7 | 44 | 4.857143 | 0.714286 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0.068182 | 44 | 2 | 27 | 22 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e3fac9bb9bf7c9baa48c06ad8ebe734ee2f01757 | 103 | py | Python | modulepackage/mini_import/spam.py | Chyi341152/chyi-book | ddeaf49d69a68f5718c20c3b7fe6fd37381d21eb | [
"MIT"
] | null | null | null | modulepackage/mini_import/spam.py | Chyi341152/chyi-book | ddeaf49d69a68f5718c20c3b7fe6fd37381d21eb | [
"MIT"
] | null | null | null | modulepackage/mini_import/spam.py | Chyi341152/chyi-book | ddeaf49d69a68f5718c20c3b7fe6fd37381d21eb | [
"MIT"
] | null | null | null | # spam.py
print('imported spam')
def foo():
print('spam.foo')
def bar():
print('spam.bar')
| 9.363636 | 22 | 0.572816 | 15 | 103 | 3.933333 | 0.466667 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213592 | 103 | 10 | 23 | 10.3 | 0.728395 | 0.067961 | 0 | 0 | 0 | 0 | 0.311828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0.6 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 6 |
58615bce6e9de885c85d092ff1ac3e4f27096f36 | 132 | py | Python | Frame/scrapy_plus/conf/settings.py | RuanJylf/Scrapy_Frame | fe62dd9c9f6f486114c42b75f3101652e3c8b024 | [
"MIT"
] | null | null | null | Frame/scrapy_plus/conf/settings.py | RuanJylf/Scrapy_Frame | fe62dd9c9f6f486114c42b75f3101652e3c8b024 | [
"MIT"
] | null | null | null | Frame/scrapy_plus/conf/settings.py | RuanJylf/Scrapy_Frame | fe62dd9c9f6f486114c42b75f3101652e3c8b024 | [
"MIT"
] | null | null | null | # coding=utf-8
from .default_settings import * # 导入框架中的默认配置
from settings import * # 由于程序在settinsg.py的同级目录下执行,所以会导入settings中的所有配置
| 33 | 70 | 0.80303 | 14 | 132 | 7.5 | 0.785714 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.121212 | 132 | 3 | 71 | 44 | 0.896552 | 0.515152 | 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 |
586d6d3487c84c0beddb770173174ff1963f855d | 133 | py | Python | lego/utils/context_processors.py | ollfkaih/lego | b15aacaf09efe90e7f984d25b0e7bddbe12647e8 | [
"MIT"
] | 45 | 2017-10-24T12:09:06.000Z | 2021-11-03T21:21:03.000Z | lego/utils/context_processors.py | ollfkaih/lego | b15aacaf09efe90e7f984d25b0e7bddbe12647e8 | [
"MIT"
] | 980 | 2017-10-24T12:29:07.000Z | 2022-03-31T04:04:31.000Z | lego/utils/context_processors.py | wahello/lego | a0b02f3abc997fe96326e9c9c05b49847170041b | [
"MIT"
] | 23 | 2018-04-11T16:34:22.000Z | 2021-11-23T12:28:30.000Z | from django.conf import settings
def site(request):
"""
Return site information
"""
return {"SITE": settings.SITE}
| 14.777778 | 34 | 0.639098 | 15 | 133 | 5.666667 | 0.666667 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240602 | 133 | 8 | 35 | 16.625 | 0.841584 | 0.172932 | 0 | 0 | 0 | 0 | 0.042553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58860bf4c2611d7c959221ec243449678fedcbe3 | 24 | py | Python | ocrsite/ocrlab/models/__init__.py | mikesname/python-ocrlab | 435cc2548b38d92f8ffdc4bee8845f5a58d655ce | [
"MIT"
] | 4 | 2016-01-04T09:36:05.000Z | 2020-10-18T01:33:39.000Z | ocrsite/ocrlab/models/__init__.py | mikesname/python-ocrlab | 435cc2548b38d92f8ffdc4bee8845f5a58d655ce | [
"MIT"
] | null | null | null | ocrsite/ocrlab/models/__init__.py | mikesname/python-ocrlab | 435cc2548b38d92f8ffdc4bee8845f5a58d655ce | [
"MIT"
] | 3 | 2017-05-04T08:46:45.000Z | 2021-10-06T19:25:11.000Z |
from .presets import *
| 8 | 22 | 0.708333 | 3 | 24 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 23 | 12 | 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 |
58919902619316b738f6039f16bf4f9f889984ac | 265 | py | Python | antools/database/abstract/__init__.py | antonin-drozda/antools | 550310a61aae8d11e50e088731211197b7ee790b | [
"MIT"
] | 1 | 2021-02-27T07:22:39.000Z | 2021-02-27T07:22:39.000Z | antools/database/abstract/__init__.py | antonin-drozda/antools | 550310a61aae8d11e50e088731211197b7ee790b | [
"MIT"
] | null | null | null | antools/database/abstract/__init__.py | antonin-drozda/antools | 550310a61aae8d11e50e088731211197b7ee790b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
DATABASES - ABSTRACT
"""
# %% FILE IMPORT
from antools.database.abstract.abstract_database import SQLDatabase
from antools.database.abstract.abstract_schema import SQLSchema
from antools.database.abstract.abstract_table import SQLTable
| 26.5 | 67 | 0.792453 | 31 | 265 | 6.677419 | 0.483871 | 0.15942 | 0.275362 | 0.391304 | 0.507246 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004202 | 0.101887 | 265 | 9 | 68 | 29.444444 | 0.865546 | 0.218868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54524fed6395100cdcc06900a209c85814aca5ff | 332 | py | Python | sdk/python/pulumi_gcp/billing/__init__.py | stack72/pulumi-gcp | e63e4ed3129fe8e64e4869f4839ba2b20f57cb57 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/billing/__init__.py | stack72/pulumi-gcp | e63e4ed3129fe8e64e4869f4839ba2b20f57cb57 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/billing/__init__.py | stack72/pulumi-gcp | e63e4ed3129fe8e64e4869f4839ba2b20f57cb57 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Export this package's modules as members:
from .account_iam_binding import *
from .account_iam_member import *
from .account_iam_poli... | 36.888889 | 87 | 0.740964 | 52 | 332 | 4.615385 | 0.769231 | 0.1375 | 0.175 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003597 | 0.162651 | 332 | 8 | 88 | 41.5 | 0.859712 | 0.659639 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5457abb595050213abcceb22127c9b55d9cb3f82 | 148 | py | Python | applications/reservoir/__init__.py | cpempire/soupy | 9f65e3329fa126619c893daa4cd80478d83f840c | [
"MIT"
] | 1 | 2021-12-07T15:22:23.000Z | 2021-12-07T15:22:23.000Z | applications/reservoir/__init__.py | cpempire/soupy | 9f65e3329fa126619c893daa4cd80478d83f840c | [
"MIT"
] | null | null | null | applications/reservoir/__init__.py | cpempire/soupy | 9f65e3329fa126619c893daa4cd80478d83f840c | [
"MIT"
] | null | null | null | from __future__ import absolute_import, division, print_function
from .qoiReservoir import QoIConstraint, QoIObjective
# to do list
# implement qoi | 29.6 | 64 | 0.837838 | 18 | 148 | 6.555556 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 148 | 5 | 65 | 29.6 | 0.907692 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
5459e09eecb16e4327a35b6af17761b1e5c595ce | 8,795 | py | Python | tests/sentry/api/endpoints/test_group_events.py | hieast/sentry | 1179b6b13e86f552d18da0578d7b3bc5d002c0d9 | [
"BSD-3-Clause"
] | 1 | 2019-05-28T06:18:03.000Z | 2019-05-28T06:18:03.000Z | tests/sentry/api/endpoints/test_group_events.py | c88888/sentry | 53837d9e8dad2443c3881fcd05f1b261bdd922fd | [
"BSD-3-Clause"
] | 6 | 2018-10-19T10:04:23.000Z | 2019-12-09T20:29:12.000Z | tests/sentry/api/endpoints/test_group_events.py | c88888/sentry | 53837d9e8dad2443c3881fcd05f1b261bdd922fd | [
"BSD-3-Clause"
] | 1 | 2020-07-03T00:52:19.000Z | 2020-07-03T00:52:19.000Z | from __future__ import absolute_import
import six
from datetime import timedelta
from django.utils import timezone
from sentry import tagstore
from sentry.models import Environment
from sentry.testutils import APITestCase
class GroupEventsTest(APITestCase):
def test_simple(self):
self.login_as(user=sel... | 34.22179 | 100 | 0.582376 | 1,055 | 8,795 | 4.691943 | 0.094787 | 0.060606 | 0.058182 | 0.067879 | 0.808081 | 0.783232 | 0.781818 | 0.752929 | 0.742222 | 0.727273 | 0 | 0.02224 | 0.289369 | 8,795 | 256 | 101 | 34.355469 | 0.76976 | 0.004207 | 0 | 0.543147 | 0 | 0 | 0.085094 | 0.045003 | 0 | 0 | 0 | 0 | 0.203046 | 1 | 0.030457 | false | 0 | 0.035533 | 0 | 0.071066 | 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 |
54a753146e5e8d1f06a026e638c286fbd2c1cbd4 | 30 | py | Python | web/misc/__init__.py | procool/mygw | f35b72b5915d314e883dcde45c3c33ff26f173df | [
"BSD-2-Clause"
] | 1 | 2020-02-24T13:08:16.000Z | 2020-02-24T13:08:16.000Z | web/misc/__init__.py | procool/mygw | f35b72b5915d314e883dcde45c3c33ff26f173df | [
"BSD-2-Clause"
] | null | null | null | web/misc/__init__.py | procool/mygw | f35b72b5915d314e883dcde45c3c33ff26f173df | [
"BSD-2-Clause"
] | null | null | null | from httpexceptions import *
| 10 | 28 | 0.8 | 3 | 30 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 29 | 15 | 0.96 | 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 |
49f82e6bcae88fc8cd31b51042a63044fb70193f | 223 | py | Python | pyfy/copyfiles01.py | JesseBanning/pyna | 4f76b52039ecc386d495614751b40fded1afb2a6 | [
"MIT"
] | null | null | null | pyfy/copyfiles01.py | JesseBanning/pyna | 4f76b52039ecc386d495614751b40fded1afb2a6 | [
"MIT"
] | null | null | null | pyfy/copyfiles01.py | JesseBanning/pyna | 4f76b52039ecc386d495614751b40fded1afb2a6 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""Coping files on the local system"""
import shutil
def main():
shutil.copyfile('/home/student/pyna/pyfy/ciscoex.json', '/home/student/pyna/pyfy/ciscoex.json.bkup')
# that was easy!
main()
| 22.3 | 104 | 0.695067 | 33 | 223 | 4.69697 | 0.757576 | 0.141935 | 0.193548 | 0.245161 | 0.387097 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 0.130045 | 223 | 9 | 105 | 24.777778 | 0.793814 | 0.309417 | 0 | 0 | 0 | 0 | 0.52381 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3fa8bdcbe7a28810e6ff519acdc214b67fdebc20 | 109 | py | Python | dskc/_util/dates.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | dskc/_util/dates.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | dskc/_util/dates.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | def get_weekdays():
return ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
| 27.25 | 87 | 0.651376 | 11 | 109 | 6.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119266 | 109 | 3 | 88 | 36.333333 | 0.729167 | 0 | 0 | 0 | 0 | 0 | 0.462963 | 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 |
3fd62e02359344a26ff9a1a6007f3d646e3b811f | 49 | py | Python | causallib/contrib/hemm/__init__.py | liranszlak/causallib | 2636149f6b1e307672aff638a53f8eaf2be56bc9 | [
"Apache-2.0"
] | 350 | 2019-06-19T15:56:19.000Z | 2022-03-28T23:47:46.000Z | causallib/contrib/hemm/__init__.py | daveh19/causallib | af4bd82be0a65b457bea435da70a10bb0013d4bf | [
"Apache-2.0"
] | 13 | 2019-08-14T22:04:21.000Z | 2022-03-14T07:44:12.000Z | causallib/contrib/hemm/__init__.py | daveh19/causallib | af4bd82be0a65b457bea435da70a10bb0013d4bf | [
"Apache-2.0"
] | 48 | 2019-11-02T16:40:56.000Z | 2022-02-09T12:55:12.000Z | from causallib.contrib.hemm.hemm_api import HEMM
| 24.5 | 48 | 0.857143 | 8 | 49 | 5.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.911111 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.