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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b7601302034a6674a3784ecf7d1bf1e3e34263f6 | 806 | py | Python | Fig_S19/blastRunner_v5_20190305.py | nimitjainFireLab/JainEtAl_T7rnaReplication | 1a6111ee70cd99ec531a92f49e7fe8a0f1de0145 | [
"MIT"
] | null | null | null | Fig_S19/blastRunner_v5_20190305.py | nimitjainFireLab/JainEtAl_T7rnaReplication | 1a6111ee70cd99ec531a92f49e7fe8a0f1de0145 | [
"MIT"
] | null | null | null | Fig_S19/blastRunner_v5_20190305.py | nimitjainFireLab/JainEtAl_T7rnaReplication | 1a6111ee70cd99ec531a92f49e7fe8a0f1de0145 | [
"MIT"
] | null | null | null | import subprocess
subprocess.check_call('ncbi-blast-2.7.1+/bin/blastn -task blastn-short -out blastresults5_20190305.txt -num_threads 25 -db t7rp1_combined_nt'+' -word_size 7 -query sequencesToBlast_20190305.fasta -outfmt 11 -evalue 100000 -num_alignments 20 -dust no -soft_masking false -show_gis -max_hsps 3',shell=Tr... | 115.142857 | 304 | 0.823821 | 124 | 806 | 5.145161 | 0.443548 | 0.103448 | 0.119122 | 0.144201 | 0.495298 | 0.495298 | 0.495298 | 0.495298 | 0.495298 | 0.442006 | 0 | 0.139257 | 0.064516 | 806 | 6 | 305 | 134.333333 | 0.706897 | 0 | 0 | 0 | 0 | 1 | 0.786601 | 0.466501 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b760866a0917ce1f3fe00780ac166134e1c13112 | 38 | py | Python | hello.py | TMorgan99/RStudio_001 | 2c10c06c36c31246fdcae7ae9102b1de73a16d0f | [
"MIT"
] | null | null | null | hello.py | TMorgan99/RStudio_001 | 2c10c06c36c31246fdcae7ae9102b1de73a16d0f | [
"MIT"
] | null | null | null | hello.py | TMorgan99/RStudio_001 | 2c10c06c36c31246fdcae7ae9102b1de73a16d0f | [
"MIT"
] | null | null | null | print("Hello from Binder and Python")
| 19 | 37 | 0.763158 | 6 | 38 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.736842 | 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 |
b77e146159943571ef16dc04d76c595f26e4c702 | 25,853 | py | Python | tests/unit/test_validate.py | icann/lgr-core | 482e1c2cc485eb666e8b3547644baf0e364ebc96 | [
"BSD-3-Clause"
] | 7 | 2017-07-10T22:39:52.000Z | 2021-06-25T20:19:28.000Z | tests/unit/test_validate.py | icann/lgr-core | 482e1c2cc485eb666e8b3547644baf0e364ebc96 | [
"BSD-3-Clause"
] | 13 | 2016-10-26T19:42:00.000Z | 2021-12-13T19:43:42.000Z | tests/unit/test_validate.py | icann/lgr-core | 482e1c2cc485eb666e8b3547644baf0e364ebc96 | [
"BSD-3-Clause"
] | 8 | 2016-11-07T15:40:27.000Z | 2020-09-22T13:48:52.000Z | # -*- coding: utf-8 -*-
"""
test_validate.py - Unit testing of LGR validation module.
"""
from __future__ import unicode_literals
import logging
import unittest
import os
from io import StringIO
from munidata.database import IDNADatabase
from lgr.core import LGR
from lgr.char import RangeChar, CharSequence
from lg... | 44.728374 | 120 | 0.5592 | 2,639 | 25,853 | 5.282304 | 0.06745 | 0.071306 | 0.050933 | 0.032712 | 0.828981 | 0.794978 | 0.764132 | 0.752511 | 0.738451 | 0.738451 | 0 | 0.051469 | 0.316868 | 25,853 | 577 | 121 | 44.805893 | 0.73784 | 0.010985 | 0 | 0.669339 | 0 | 0.008016 | 0.160302 | 0.015925 | 0 | 0 | 0.034275 | 0 | 0.178357 | 1 | 0.082164 | false | 0 | 0.032064 | 0 | 0.130261 | 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 |
b79338d54798ecda4974d1ad886e5b39a3fab3db | 4,336 | py | Python | tests/bicep/graph/graph_builder/test_renderer.py | peaudecastor/checkov | a4804b61c1b1390b7abd44ab53285fcbc3e7e80b | [
"Apache-2.0"
] | null | null | null | tests/bicep/graph/graph_builder/test_renderer.py | peaudecastor/checkov | a4804b61c1b1390b7abd44ab53285fcbc3e7e80b | [
"Apache-2.0"
] | null | null | null | tests/bicep/graph/graph_builder/test_renderer.py | peaudecastor/checkov | a4804b61c1b1390b7abd44ab53285fcbc3e7e80b | [
"Apache-2.0"
] | null | null | null | from pathlib import Path
from checkov.bicep.graph_manager import BicepGraphManager
from checkov.common.graph.db_connectors.db_connector import DBConnector
def test_render_parameter():
# given
test_dir = Path(__file__).parent / "examples/parameter"
graph_manager = BicepGraphManager(db_connector=DBConnecto... | 36.436975 | 117 | 0.5 | 355 | 4,336 | 5.904225 | 0.205634 | 0.045802 | 0.073473 | 0.053435 | 0.858302 | 0.858302 | 0.858302 | 0.784351 | 0.784351 | 0.769084 | 0 | 0.008395 | 0.340637 | 4,336 | 118 | 118 | 36.745763 | 0.724729 | 0.010839 | 0 | 0.612903 | 0 | 0 | 0.293059 | 0.02781 | 0 | 0 | 0 | 0 | 0.032258 | 1 | 0.032258 | false | 0 | 0.032258 | 0 | 0.064516 | 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 |
4d323bc88e773548573d67004475b2c6a5043448 | 76 | py | Python | tests/panoramic/cli/husky/federated/model/service_test.py | kubamahnert/panoramic-cli | 036f45a05d39f5762088ce23dbe367b938192f79 | [
"MIT"
] | 5 | 2020-11-13T17:26:59.000Z | 2021-03-19T15:11:26.000Z | tests/panoramic/cli/husky/federated/model/service_test.py | kubamahnert/panoramic-cli | 036f45a05d39f5762088ce23dbe367b938192f79 | [
"MIT"
] | 5 | 2020-10-28T10:22:35.000Z | 2021-01-27T17:33:58.000Z | tests/panoramic/cli/husky/federated/model/service_test.py | kubamahnert/panoramic-cli | 036f45a05d39f5762088ce23dbe367b938192f79 | [
"MIT"
] | 3 | 2021-01-26T07:58:03.000Z | 2021-03-11T13:28:34.000Z | def test_get_models_prefixes_correctly():
# TODO add test here
pass
| 19 | 41 | 0.736842 | 11 | 76 | 4.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 76 | 3 | 42 | 25.333333 | 0.866667 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4d3e4a33d47a6e5ff25c99a64b601226c7f2b1d7 | 572 | py | Python | app/default/routes.py | dbhack-aquila/aquila | 5fd31665fcfdb2a1ba341f5c98d44668e467add8 | [
"MIT"
] | 1 | 2017-12-16T14:51:54.000Z | 2017-12-16T14:51:54.000Z | app/default/routes.py | dbhack-aquila/aquila | 5fd31665fcfdb2a1ba341f5c98d44668e467add8 | [
"MIT"
] | null | null | null | app/default/routes.py | dbhack-aquila/aquila | 5fd31665fcfdb2a1ba341f5c98d44668e467add8 | [
"MIT"
] | null | null | null | from . import default
@default.route('/')
def home():
return default.send_static_file('index.html')
@default.route('/test')
def test():
return default.send_static_file('test_paul/test.html')
@default.route('/train.js')
def train():
return default.send_static_file('test_paul/train.js')
@default.route('/... | 24.869565 | 65 | 0.718531 | 80 | 572 | 4.95 | 0.2625 | 0.181818 | 0.214646 | 0.232323 | 0.333333 | 0.265152 | 0.265152 | 0 | 0 | 0 | 0 | 0 | 0.097902 | 572 | 23 | 66 | 24.869565 | 0.767442 | 0.258741 | 0 | 0 | 0 | 0 | 0.249406 | 0.061758 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | true | 0 | 0.076923 | 0.307692 | 0.692308 | 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 |
4d71e0482fa0f025eec07b968014c061e9974a98 | 168 | py | Python | rxbp/subjects/subjectbase.py | MichaelSchneeberger/rx_backpressure | 16173827498bf1bbee3344933cb9efbfd19699f5 | [
"Apache-2.0"
] | 24 | 2018-11-22T21:04:49.000Z | 2021-11-08T11:18:09.000Z | rxbp/subjects/subjectbase.py | MichaelSchneeberger/rx_backpressure | 16173827498bf1bbee3344933cb9efbfd19699f5 | [
"Apache-2.0"
] | 1 | 2019-02-06T15:58:46.000Z | 2019-02-12T20:31:50.000Z | rxbp/subjects/subjectbase.py | MichaelSchneeberger/rx_backpressure | 16173827498bf1bbee3344933cb9efbfd19699f5 | [
"Apache-2.0"
] | 1 | 2021-01-26T12:41:37.000Z | 2021-01-26T12:41:37.000Z | from abc import ABC
from rxbp.mixins.flowablemixin import FlowableMixin
from rxbp.observer import Observer
class SubjectBase(FlowableMixin, Observer, ABC):
pass
| 18.666667 | 51 | 0.809524 | 21 | 168 | 6.47619 | 0.47619 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 168 | 8 | 52 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4d7a8856b0da321311c4b0843842ec8cf08011e0 | 6,766 | py | Python | schedule/functions.py | DrewUniversityCS/CS3 | b7b195ef94bfe737ec17815533f1e2b3ffde24d7 | [
"MIT"
] | 3 | 2021-02-17T04:43:29.000Z | 2021-03-30T15:12:30.000Z | schedule/functions.py | DrewUniversityCS/CS3 | b7b195ef94bfe737ec17815533f1e2b3ffde24d7 | [
"MIT"
] | 12 | 2021-02-17T15:59:10.000Z | 2021-05-08T01:56:46.000Z | schedule/functions.py | DrewUniversityCS/CourseManager | b7b195ef94bfe737ec17815533f1e2b3ffde24d7 | [
"MIT"
] | null | null | null | def check_user_timeblock_preference(section, preferences, sections_dict):
for preference in preferences:
if preference.object_1 == section.primary_instructor.user:
color = sections_dict[section.id].get('color')
if preference.weight:
if section.timeblock == preference.... | 56.857143 | 114 | 0.556459 | 699 | 6,766 | 5.281831 | 0.062947 | 0.104009 | 0.144095 | 0.159263 | 0.979686 | 0.979686 | 0.979686 | 0.979686 | 0.973998 | 0.969393 | 0 | 0.00282 | 0.370973 | 6,766 | 118 | 115 | 57.338983 | 0.864662 | 0.193911 | 0 | 0.629213 | 0 | 0 | 0.210866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044944 | false | 0 | 0 | 0 | 0.044944 | 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 |
4d8a17bbe63318b37064fe1c9c5fcef4b7f4afe1 | 76 | py | Python | tests/utils.py | jameswenzel/jwp | 4ba293e609147d33703f41e64197a88053caff0d | [
"Apache-2.0"
] | 6 | 2016-08-31T14:22:09.000Z | 2016-11-16T21:11:55.000Z | tests/utils.py | jameswenzel/jwp | 4ba293e609147d33703f41e64197a88053caff0d | [
"Apache-2.0"
] | 3 | 2016-09-02T17:34:53.000Z | 2016-09-05T05:06:25.000Z | tests/utils.py | jameswenzel/LazyScripts | 4ba293e609147d33703f41e64197a88053caff0d | [
"Apache-2.0"
] | null | null | null | import unittest
def multithread_test(a=1, b=1, c=1):
return a * b / c
| 12.666667 | 36 | 0.631579 | 15 | 76 | 3.133333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.236842 | 76 | 5 | 37 | 15.2 | 0.758621 | 0 | 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 |
4d8cb8460fb193a1289885e18ac63665566b504d | 8 | py | Python | jupyterworkflow/__init__.py | MTodey/test-repository | b4f297ad0b385e28bb3ab56bfc7907e408a47bf2 | [
"MIT"
] | null | null | null | jupyterworkflow/__init__.py | MTodey/test-repository | b4f297ad0b385e28bb3ab56bfc7907e408a47bf2 | [
"MIT"
] | null | null | null | jupyterworkflow/__init__.py | MTodey/test-repository | b4f297ad0b385e28bb3ab56bfc7907e408a47bf2 | [
"MIT"
] | null | null | null | x = 5.9
| 4 | 7 | 0.375 | 3 | 8 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.375 | 8 | 1 | 8 | 8 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4d90d0c122af5720ab2de97e72af7b669bbe088a | 5,172 | py | Python | tests/test_edgar_index.py | kfarr3/edgar3 | 0207a2946550b55ccf280ab14cb52e38a315d107 | [
"MIT"
] | 1 | 2019-04-17T19:31:08.000Z | 2019-04-17T19:31:08.000Z | tests/test_edgar_index.py | kfarr3/edgar3 | 0207a2946550b55ccf280ab14cb52e38a315d107 | [
"MIT"
] | null | null | null | tests/test_edgar_index.py | kfarr3/edgar3 | 0207a2946550b55ccf280ab14cb52e38a315d107 | [
"MIT"
] | null | null | null | from edgar3 import __version__, edgar_index
import datetime
def test_version():
assert __version__ == "edgar3 version 1.1.5"
def test_get_quarter():
ed = edgar_index.edgar_index()
assert ed._get_quarter(1) == 1
assert ed._get_quarter(2) == 1
assert ed._get_quarter(3) == 1
assert ed._get_quar... | 42.393443 | 153 | 0.690642 | 822 | 5,172 | 4.099757 | 0.103406 | 0.053412 | 0.091395 | 0.074777 | 0.89822 | 0.751929 | 0.736795 | 0.720178 | 0.67092 | 0.645994 | 0 | 0.071253 | 0.137084 | 5,172 | 121 | 154 | 42.743802 | 0.683845 | 0.007154 | 0 | 0.325843 | 0 | 0.157303 | 0.246103 | 0.016758 | 0 | 0 | 0 | 0 | 0.539326 | 1 | 0.157303 | false | 0 | 0.022472 | 0 | 0.179775 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4da6989d3df4897e0fdd72e6bbc3acc0be8d6851 | 100 | py | Python | tests/app/models.py | zvolsky/django-smoke-tests | 049a6b92013c78f44c5ec9cb55d9978f391af3d7 | [
"MIT"
] | 17 | 2017-12-04T15:18:16.000Z | 2021-04-22T11:32:25.000Z | tests/app/models.py | zvolsky/django-smoke-tests | 049a6b92013c78f44c5ec9cb55d9978f391af3d7 | [
"MIT"
] | 19 | 2017-12-28T15:17:46.000Z | 2022-03-30T12:38:16.000Z | tests/app/models.py | zvolsky/django-smoke-tests | 049a6b92013c78f44c5ec9cb55d9978f391af3d7 | [
"MIT"
] | 8 | 2017-12-28T12:31:09.000Z | 2021-11-01T15:28:23.000Z | from django.contrib.auth.models import AbstractUser
class CustomUserModel(AbstractUser):
pass
| 16.666667 | 51 | 0.81 | 11 | 100 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 100 | 5 | 52 | 20 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4de8acce478aa9c191798e62002349e3a8bcafbd | 137 | py | Python | app/api/__init__.py | The-Go-Getter-Dev/happyflaskdev | cb7b36a4146dd37704f7ba26eb8c3adc85fb5097 | [
"MIT"
] | null | null | null | app/api/__init__.py | The-Go-Getter-Dev/happyflaskdev | cb7b36a4146dd37704f7ba26eb8c3adc85fb5097 | [
"MIT"
] | null | null | null | app/api/__init__.py | The-Go-Getter-Dev/happyflaskdev | cb7b36a4146dd37704f7ba26eb8c3adc85fb5097 | [
"MIT"
] | null | null | null | from flask import Blueprint
api = Blueprint('api', __name__)
from . import errors,users ,posts,ratings,cults,authentication,decorators
| 22.833333 | 73 | 0.79562 | 17 | 137 | 6.176471 | 0.764706 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109489 | 137 | 5 | 74 | 27.4 | 0.860656 | 0 | 0 | 0 | 0 | 0 | 0.021898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
12b166bc2b15db8ed9f1fcefcc1b6d3aa432e895 | 5,213 | py | Python | tests/functional/test_exceptions.py | s0undt3ch/pytest-shell-utilities | 6fe7a25064352fb247d3104f1c0b692468f4ffb5 | [
"Apache-2.0"
] | null | null | null | tests/functional/test_exceptions.py | s0undt3ch/pytest-shell-utilities | 6fe7a25064352fb247d3104f1c0b692468f4ffb5 | [
"Apache-2.0"
] | null | null | null | tests/functional/test_exceptions.py | s0undt3ch/pytest-shell-utilities | 6fe7a25064352fb247d3104f1c0b692468f4ffb5 | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0
import textwrap
import pytest
import pytestshellutils.exceptions as exceptions
from pytestshellutils.utils.processes import ProcessResult
def test_process_failed_message() -> None:
message = "The message"
with pytest.raises(exceptions.Facto... | 27.877005 | 94 | 0.581623 | 480 | 5,213 | 6.233333 | 0.1125 | 0.068182 | 0.037433 | 0.053476 | 0.861297 | 0.79746 | 0.767045 | 0.755682 | 0.736631 | 0.701203 | 0 | 0.004875 | 0.291771 | 5,213 | 186 | 95 | 28.026882 | 0.805525 | 0.012085 | 0 | 0.603774 | 0 | 0 | 0.071172 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 1 | 0.075472 | false | 0 | 0.037736 | 0 | 0.113208 | 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 |
12d6834188459a31552a6a50457c8805f1e3e045 | 12,355 | py | Python | tests/integration/services/test_race_results_service.py | langrenn-sprint/race-service | a5f3ca8d381e8e4d81bae25cccee0cb47b64400b | [
"Apache-2.0"
] | null | null | null | tests/integration/services/test_race_results_service.py | langrenn-sprint/race-service | a5f3ca8d381e8e4d81bae25cccee0cb47b64400b | [
"Apache-2.0"
] | 62 | 2021-09-14T18:47:38.000Z | 2022-03-21T22:14:20.000Z | tests/integration/services/test_race_results_service.py | langrenn-sprint/race-service | a5f3ca8d381e8e4d81bae25cccee0cb47b64400b | [
"Apache-2.0"
] | null | null | null | """Integration test cases for the race_results service."""
from datetime import time
from typing import Any
import pytest
from pytest_mock import MockFixture
from race_service.models import TimeEvent
from race_service.services import (
RaceResultNotFoundException,
RaceResultsService,
TimeEventDoesNotRefer... | 31.120907 | 131 | 0.672036 | 1,473 | 12,355 | 5.238289 | 0.089613 | 0.077761 | 0.066096 | 0.096941 | 0.884007 | 0.862753 | 0.833204 | 0.813116 | 0.804432 | 0.786547 | 0 | 0.01463 | 0.214407 | 12,355 | 396 | 132 | 31.199495 | 0.780342 | 0.008741 | 0 | 0.692754 | 0 | 0 | 0.312816 | 0.223097 | 0 | 0 | 0 | 0 | 0.008696 | 1 | 0 | false | 0 | 0.017391 | 0 | 0.04058 | 0.005797 | 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 |
427443b6cdeaeb506b89760c5cb913a4c66fbe34 | 2,535 | py | Python | menu.py | SketchMaster2001/mcdonalds-api | bc7470fce01b8c351c11e1eab63f6d9a8538e716 | [
"MIT"
] | null | null | null | menu.py | SketchMaster2001/mcdonalds-api | bc7470fce01b8c351c11e1eab63f6d9a8538e716 | [
"MIT"
] | null | null | null | menu.py | SketchMaster2001/mcdonalds-api | bc7470fce01b8c351c11e1eab63f6d9a8538e716 | [
"MIT"
] | null | null | null | import json
import requests
def breakfast():
food = requests.get('https://www.mcdonalds.com/services/mcd/categoryDetails.ca.en-ca.100001.true.true..false.json')
get_json = food.json()
result = json.dumps(get_json)
return result
def beef():
food = requests.get('https://www.mcdonalds.com/services/mcd/categor... | 22.633929 | 116 | 0.727811 | 376 | 2,535 | 4.843085 | 0.117021 | 0.092257 | 0.098847 | 0.131796 | 0.894563 | 0.894563 | 0.894563 | 0.894563 | 0.894563 | 0.894563 | 0 | 0.031957 | 0.111243 | 2,535 | 111 | 117 | 22.837838 | 0.776298 | 0 | 0 | 0.580645 | 0 | 0.193548 | 0.435675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.193548 | false | 0 | 0.032258 | 0 | 0.419355 | 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 |
42a5a646feff46ef5cb90562a587c3e32c21b4ec | 27,552 | py | Python | pythonQueryServices/pythonWatson/pythonSDK/python-sdk-master/test/test_discovery_v1.py | xliuhw/NLU-Evaluation-Scripts | 356711b59f347532d0290f070ff9aad5af7ed02e | [
"MIT"
] | 4 | 2019-03-19T05:07:32.000Z | 2021-08-12T13:11:30.000Z | pythonQueryServices/pythonWatson/pythonSDK/python-sdk-master/test/test_discovery_v1.py | xliuhw/NLU-Evaluation-Scripts | 356711b59f347532d0290f070ff9aad5af7ed02e | [
"MIT"
] | null | null | null | pythonQueryServices/pythonWatson/pythonSDK/python-sdk-master/test/test_discovery_v1.py | xliuhw/NLU-Evaluation-Scripts | 356711b59f347532d0290f070ff9aad5af7ed02e | [
"MIT"
] | null | null | null | import responses
import os
import json
import watson_developer_cloud
import pytest
try:
from urllib.parse import urlparse, urljoin
except ImportError:
from urlparse import urlparse, urljoin
base_discovery_url = 'https://gateway.watsonplatform.net/discovery/api/v1/'
platform_url = 'https://gateway.watsonplatfo... | 37.032258 | 80 | 0.553862 | 2,536 | 27,552 | 5.772082 | 0.082413 | 0.046181 | 0.047343 | 0.053286 | 0.866922 | 0.847725 | 0.834062 | 0.798811 | 0.767864 | 0.722845 | 0 | 0.024239 | 0.342661 | 27,552 | 743 | 81 | 37.0821 | 0.783999 | 0 | 0 | 0.692058 | 0 | 0 | 0.165469 | 0.0433 | 0 | 0 | 0 | 0 | 0.071313 | 1 | 0.032415 | false | 0.032415 | 0.012966 | 0 | 0.045381 | 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 |
c4007b4058cbeea9cae3759d190b1c32da38ff00 | 30 | py | Python | boxbox/structures/base.py | jbwang1997/BoxBox | 827d4af74a645da832282a2faa65a59240b82240 | [
"Apache-2.0"
] | 1 | 2021-08-14T07:19:26.000Z | 2021-08-14T07:19:26.000Z | boxbox/structures/base.py | jbwang1997/BoxBox | 827d4af74a645da832282a2faa65a59240b82240 | [
"Apache-2.0"
] | null | null | null | boxbox/structures/base.py | jbwang1997/BoxBox | 827d4af74a645da832282a2faa65a59240b82240 | [
"Apache-2.0"
] | null | null | null | from ..utils import Registrar
| 15 | 29 | 0.8 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 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 |
c4078de62afdc52e08dafb6f792e5037c0e0e98c | 33 | py | Python | src/teams/webhook/__init__.py | ighanim/aws-cost-anomaly-alerts | ad6d601c7dbdfbdf22f174ea16e76c7ef268edda | [
"MIT"
] | null | null | null | src/teams/webhook/__init__.py | ighanim/aws-cost-anomaly-alerts | ad6d601c7dbdfbdf22f174ea16e76c7ef268edda | [
"MIT"
] | null | null | null | src/teams/webhook/__init__.py | ighanim/aws-cost-anomaly-alerts | ad6d601c7dbdfbdf22f174ea16e76c7ef268edda | [
"MIT"
] | null | null | null | from .client import WebhookClient | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 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 |
c41e97177fb474b25c4cef357cb1705b1f9fd7ca | 39,156 | py | Python | archiv/filters.py | acdh-oeaw/fwm | b1c9b0100f3ddabc26e156711613e30959a569f4 | [
"MIT"
] | null | null | null | archiv/filters.py | acdh-oeaw/fwm | b1c9b0100f3ddabc26e156711613e30959a569f4 | [
"MIT"
] | 2 | 2021-11-13T10:35:01.000Z | 2021-11-23T16:14:23.000Z | archiv/filters.py | acdh-oeaw/fwm | b1c9b0100f3ddabc26e156711613e30959a569f4 | [
"MIT"
] | null | null | null | # generated by appcreator
import django_filters
from dal import autocomplete
from django import forms
from vocabs.models import SkosConcept
from . models import (
Analyse,
Artifact,
Geography,
Institution,
Number,
Quarry,
QuarryGroup,
Sample
)
NUMBER_LOOKUP_CHOICES = [
('exact', '... | 39.195195 | 79 | 0.672745 | 4,309 | 39,156 | 5.69088 | 0.040381 | 0.076992 | 0.115488 | 0.102276 | 0.874929 | 0.862287 | 0.831131 | 0.769024 | 0.683019 | 0.601338 | 0 | 0.002438 | 0.224844 | 39,156 | 998 | 80 | 39.234469 | 0.805482 | 0.000587 | 0 | 0.346749 | 1 | 0 | 0.123457 | 0.038026 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00516 | 0 | 0.143447 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c463f719566956d04a965b838e116d2c684f74da | 222 | py | Python | apps/general/views.py | franciscosf/iFacturacionWebSite | e99fc6e9645118011c11a2e3a71332ac0f4616cb | [
"MIT"
] | null | null | null | apps/general/views.py | franciscosf/iFacturacionWebSite | e99fc6e9645118011c11a2e3a71332ac0f4616cb | [
"MIT"
] | null | null | null | apps/general/views.py | franciscosf/iFacturacionWebSite | e99fc6e9645118011c11a2e3a71332ac0f4616cb | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index_view(request):
return render(request, 'views/index.html')
def conocenos_index_view(request):
return render(request, 'views/conocenosIndex.html')
| 22.2 | 52 | 0.788288 | 30 | 222 | 5.733333 | 0.566667 | 0.104651 | 0.186047 | 0.255814 | 0.465116 | 0.465116 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 222 | 9 | 53 | 24.666667 | 0.868687 | 0.103604 | 0 | 0 | 0 | 0 | 0.208122 | 0.126904 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
67382d7f2f43033c630e935cd90b46fbe39ae7c0 | 4,996 | py | Python | tests/services/test_savedsearch.py | ryanvanasse/py42 | 4664c45d41c32f48323b552b7b11f885c055bff3 | [
"MIT"
] | null | null | null | tests/services/test_savedsearch.py | ryanvanasse/py42 | 4664c45d41c32f48323b552b7b11f885c055bff3 | [
"MIT"
] | null | null | null | tests/services/test_savedsearch.py | ryanvanasse/py42 | 4664c45d41c32f48323b552b7b11f885c055bff3 | [
"MIT"
] | null | null | null | import json
from py42 import settings
from py42.services.fileevent import FileEventService
from py42.services.savedsearch import SavedSearchService
SAVED_SEARCH_GET_RESPONSE = """
{"searches": [{"groups": [] }]}
"""
class TestSavedSearchService(object):
def test_get_calls_get_with_expected_uri(self, mock_co... | 40.95082 | 88 | 0.68695 | 590 | 4,996 | 5.410169 | 0.122034 | 0.171053 | 0.050125 | 0.048246 | 0.886591 | 0.87218 | 0.87218 | 0.85401 | 0.844612 | 0.83302 | 0 | 0.026691 | 0.227582 | 4,996 | 121 | 89 | 41.289256 | 0.800466 | 0 | 0 | 0.614679 | 0 | 0 | 0.078863 | 0.03763 | 0 | 0 | 0 | 0 | 0.100917 | 1 | 0.06422 | false | 0 | 0.036697 | 0 | 0.110092 | 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 |
673b29a222b26e5f47a13a9246e57296c4191fe1 | 98 | py | Python | queuelib/__init__.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 22 | 2018-03-13T13:51:41.000Z | 2022-02-19T07:27:48.000Z | queuelib/__init__.py | EnjoyLifeFund/Debian_py36_packages | 1985d4c73fabd5f08f54b922e73a9306e09c77a5 | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 2 | 2021-03-31T18:31:06.000Z | 2021-12-13T19:46:40.000Z | queuelib/__init__.py | EnjoyLifeFund/Debian_py36_packages | 1985d4c73fabd5f08f54b922e73a9306e09c77a5 | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 5 | 2018-03-28T09:07:03.000Z | 2020-02-23T12:49:52.000Z | from queuelib.queue import FifoDiskQueue, LifoDiskQueue
from queuelib.pqueue import PriorityQueue
| 32.666667 | 55 | 0.877551 | 11 | 98 | 7.818182 | 0.727273 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 98 | 2 | 56 | 49 | 0.966292 | 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 |
67678a874a8f076150d7372e222de781ac295daa | 157 | py | Python | Lib/Scripts/glyphs/transform/mirror.py | gferreira/hTools2 | a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c | [
"BSD-3-Clause"
] | 11 | 2015-01-06T15:43:56.000Z | 2019-07-27T00:35:20.000Z | Lib/Scripts/glyphs/transform/mirror.py | gferreira/hTools2 | a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c | [
"BSD-3-Clause"
] | 2 | 2017-05-17T10:11:46.000Z | 2018-11-21T21:43:43.000Z | Lib/Scripts/glyphs/transform/mirror.py | gferreira/hTools2 | a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c | [
"BSD-3-Clause"
] | 4 | 2015-01-10T13:58:50.000Z | 2019-12-18T15:40:14.000Z | # [h] move dialog
import hTools2.dialogs.glyphs
reload(hTools2.dialogs.glyphs)
from hTools2.dialogs.glyphs import mirrorGlyphsDialog
mirrorGlyphsDialog()
| 17.444444 | 53 | 0.821656 | 18 | 157 | 7.166667 | 0.555556 | 0.325581 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021127 | 0.095541 | 157 | 8 | 54 | 19.625 | 0.887324 | 0.095541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
67aae64586b938e188f985f6f1b30590bdc6fdbd | 21 | py | Python | ckanext/issues/logic/schema/__init__.py | rhabbachi/ckanext-issues | d8c3dde8372e88dd5dc173023df34c90034ca777 | [
"MIT"
] | 8 | 2016-06-16T20:45:54.000Z | 2020-09-24T12:06:15.000Z | ckanext/issues/logic/schema/__init__.py | rhabbachi/ckanext-issues | d8c3dde8372e88dd5dc173023df34c90034ca777 | [
"MIT"
] | 50 | 2015-03-25T16:59:11.000Z | 2016-01-10T21:35:26.000Z | ckanext/issues/logic/schema/__init__.py | rhabbachi/ckanext-issues | d8c3dde8372e88dd5dc173023df34c90034ca777 | [
"MIT"
] | 11 | 2016-09-14T13:34:53.000Z | 2020-08-28T05:48:58.000Z | from schema import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
67b52c19321160b9922fe61ef47199860fffb5a9 | 219 | py | Python | kii/results/groupinformation.py | ta2xeo/python3-kii | 892da42601318bcc15e70378614be76d68681881 | [
"MIT"
] | 2 | 2018-02-04T21:16:02.000Z | 2021-12-01T16:51:43.000Z | kii/results/groupinformation.py | ta2xeo/python3-kii | 892da42601318bcc15e70378614be76d68681881 | [
"MIT"
] | null | null | null | kii/results/groupinformation.py | ta2xeo/python3-kii | 892da42601318bcc15e70378614be76d68681881 | [
"MIT"
] | null | null | null | from .group import GroupResult
class GroupInformationResult(GroupResult):
@property
def name(self):
return self._result['name']
@property
def owner(self):
return self._result['owner']
| 18.25 | 42 | 0.666667 | 23 | 219 | 6.26087 | 0.565217 | 0.152778 | 0.194444 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232877 | 219 | 11 | 43 | 19.909091 | 0.857143 | 0 | 0 | 0.25 | 0 | 0 | 0.041096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 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 |
db16da43bc3ead64ddd0bd6b345814c6b4550e7a | 31,089 | py | Python | resonator/see.py | lukassplitthoff/resonator | 7b4d7dd22ea702124c30929e197f09ba2164b1a5 | [
"MIT"
] | 2 | 2020-11-30T11:44:15.000Z | 2021-02-28T14:37:21.000Z | resonator/see.py | lukassplitthoff/resonator | 7b4d7dd22ea702124c30929e197f09ba2164b1a5 | [
"MIT"
] | null | null | null | resonator/see.py | lukassplitthoff/resonator | 7b4d7dd22ea702124c30929e197f09ba2164b1a5 | [
"MIT"
] | 2 | 2020-05-01T10:44:30.000Z | 2020-05-11T15:11:19.000Z | """
Plot resonator data and fits on matplotlib Axes.
"""
from __future__ import absolute_import, division, print_function
import matplotlib.pyplot as plt
try:
color_cycle = plt.rcParams['axes.prop_cycle'].by_key()['color'] # matplotlib >= 1.5
except KeyError:
color_cycle = plt.rcParams['axes.color_cycle'] #... | 56.835466 | 120 | 0.674965 | 3,900 | 31,089 | 5.189231 | 0.060769 | 0.03113 | 0.021445 | 0.014231 | 0.885463 | 0.874345 | 0.859769 | 0.840053 | 0.827305 | 0.816385 | 0 | 0.003698 | 0.251922 | 31,089 | 546 | 121 | 56.93956 | 0.866492 | 0.34308 | 0 | 0.68169 | 0 | 0 | 0.031112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028169 | false | 0 | 0.008451 | 0 | 0.064789 | 0.002817 | 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 |
db2bc0371ada65ac11d9d30c69a629842806ba07 | 23 | py | Python | pymint/__init__.py | bryant-finney/pymint | 82e1944419757f6ba8b90af6d8c120dcd890c115 | [
"BSD-2-Clause"
] | null | null | null | pymint/__init__.py | bryant-finney/pymint | 82e1944419757f6ba8b90af6d8c120dcd890c115 | [
"BSD-2-Clause"
] | 1 | 2021-06-01T23:44:37.000Z | 2021-06-01T23:44:37.000Z | pymint/__init__.py | bryant-finney/pymint | 82e1944419757f6ba8b90af6d8c120dcd890c115 | [
"BSD-2-Clause"
] | null | null | null | from .arith import add
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1d84ac416d30b9643b0908b66f39372e7eec2ac | 48 | py | Python | {{ cookiecutter.repo_name }}/core/templatetags/__init__.py | jlorencelim/django-cookiecutter | 4d278cfb787dd392f992b608947bba4e46870ee3 | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/core/templatetags/__init__.py | jlorencelim/django-cookiecutter | 4d278cfb787dd392f992b608947bba4e46870ee3 | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/core/templatetags/__init__.py | jlorencelim/django-cookiecutter | 4d278cfb787dd392f992b608947bba4e46870ee3 | [
"MIT"
] | null | null | null | from __future__ import (
absolute_import,
)
| 12 | 24 | 0.729167 | 5 | 48 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 48 | 3 | 25 | 16 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
e1ee09e9fe72db25562d8658dc75b1739652ce69 | 1,208 | py | Python | templates/tcp/actions.py | 5l1v3r1/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 3 | 2017-07-04T14:02:02.000Z | 2019-07-06T23:34:08.000Z | templates/tcp/actions.py | 5l1v3r1/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 497 | 2017-05-31T07:55:40.000Z | 2018-01-03T12:10:43.000Z | templates/tcp/actions.py | zero-os/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 8 | 2017-06-14T09:45:56.000Z | 2021-02-01T18:12:55.000Z | def install(job):
from zeroos.orchestrator.sal.Node import Node
from zeroos.orchestrator.configuration import get_jwt_token
service = job.service
job.context['token'] = get_jwt_token(job.service.aysrepo)
node = Node.from_ays(service.parent, job.context['token'])
if node.client.nft.rule_exists(s... | 31.789474 | 64 | 0.719371 | 164 | 1,208 | 5.189024 | 0.213415 | 0.098707 | 0.13161 | 0.084606 | 0.87309 | 0.833137 | 0.802585 | 0.802585 | 0.802585 | 0.694477 | 0 | 0 | 0.164735 | 1,208 | 37 | 65 | 32.648649 | 0.843409 | 0 | 0 | 0.586207 | 0 | 0 | 0.036424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0 | 0.172414 | 0 | 0.37931 | 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 |
c00802b0fb201f76583d9457dd1e7b947fb358cf | 10,558 | py | Python | Scripts/customgendersettings/global_gender_options_injection.py | ColonolNutty/CustomGenderSettings | aa8d3e485499e92ca3687744014932c036451525 | [
"CC-BY-4.0"
] | 6 | 2020-02-08T08:11:52.000Z | 2021-08-03T03:38:07.000Z | Scripts/customgendersettings/global_gender_options_injection.py | ColonolNutty/CustomGenderSettings | aa8d3e485499e92ca3687744014932c036451525 | [
"CC-BY-4.0"
] | null | null | null | Scripts/customgendersettings/global_gender_options_injection.py | ColonolNutty/CustomGenderSettings | aa8d3e485499e92ca3687744014932c036451525 | [
"CC-BY-4.0"
] | null | null | null | """
Custom Gender Settings is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0).
https://creativecommons.org/licenses/by/4.0/
https://creativecommons.org/licenses/by/4.0/legalcode
Copyright (c) COLONOLNUTTY
"""
from customgendersettings.enums.trait_ids import CGSTraitId
from ... | 78.207407 | 152 | 0.758382 | 1,172 | 10,558 | 6.389932 | 0.104949 | 0.07945 | 0.079049 | 0.084123 | 0.844572 | 0.817466 | 0.817466 | 0.809187 | 0.809187 | 0.806516 | 0 | 0.001973 | 0.183747 | 10,558 | 134 | 153 | 78.791045 | 0.867023 | 0.0233 | 0 | 0.487395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02521 | false | 0 | 0.092437 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0354052347cd6d9cd11358a03d9b6080afac4d2 | 81 | py | Python | crm/views/__init__.py | Murtagy/Pylot-CRM | a2b6cdc5fc58ee73deeb5aa7ae241e4f777d0cf2 | [
"MIT"
] | 1 | 2018-10-28T12:47:22.000Z | 2018-10-28T12:47:22.000Z | crm/views/__init__.py | Murtagy/Pylot-CRM | a2b6cdc5fc58ee73deeb5aa7ae241e4f777d0cf2 | [
"MIT"
] | 1 | 2019-07-02T22:58:19.000Z | 2019-07-02T22:58:19.000Z | crm/views/__init__.py | Murtagy/django-crm | a2b6cdc5fc58ee73deeb5aa7ae241e4f777d0cf2 | [
"MIT"
] | null | null | null | from .views import *
from .clients_views import *
from .activities_views import * | 27 | 31 | 0.790123 | 11 | 81 | 5.636364 | 0.454545 | 0.532258 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 3 | 31 | 27 | 0.885714 | 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 |
c03a7bf5cc541d7c9747a534b1c7259466c4e733 | 5,151 | py | Python | tools/convert_dlib_nets_to_caffe/running_a_dlib_model_with_caffe_example.py | andriy-gerasika/dlib | f750268801c43538af337c8ee63f0d0569ad2ee4 | [
"BSL-1.0"
] | 11,719 | 2015-01-03T22:38:57.000Z | 2022-03-30T21:45:04.000Z | tools/convert_dlib_nets_to_caffe/running_a_dlib_model_with_caffe_example.py | KiLJ4EdeN/dlib | eb1f08ce6ab3ca6f9d10425d899103de3c0df56c | [
"BSL-1.0"
] | 2,518 | 2015-01-04T04:38:06.000Z | 2022-03-31T11:55:43.000Z | tools/convert_dlib_nets_to_caffe/running_a_dlib_model_with_caffe_example.py | KiLJ4EdeN/dlib | eb1f08ce6ab3ca6f9d10425d899103de3c0df56c | [
"BSL-1.0"
] | 3,308 | 2015-01-01T14:34:16.000Z | 2022-03-31T07:20:07.000Z | #!/usr/bin/env python
# This script takes the dlib lenet model trained by the
# examples/dnn_introduction_ex.cpp example program and runs it using caffe.
import caffe
import numpy as np
# Before you run this program, you need to run dnn_introduction_ex.cpp to get a
# dlib lenet model. Then you need to convert that... | 66.038462 | 128 | 0.525335 | 1,191 | 5,151 | 2.220823 | 0.192275 | 0.489225 | 0.710019 | 0.914934 | 0.365974 | 0.324008 | 0.324008 | 0.268809 | 0.268809 | 0.268809 | 0 | 0.270668 | 0.288488 | 5,151 | 77 | 129 | 66.896104 | 0.451023 | 0.296641 | 0 | 0.15 | 0 | 0 | 0.037264 | 0.012792 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.075 | null | null | 0.05 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2204f9af826e49e2436ee52049ef19f410f9ec7b | 62 | py | Python | data/__models__.py | Technopark-Altair/yl-first-blog | ab72f55c24022df068e88682d377a0b4a944b38d | [
"Apache-2.0"
] | null | null | null | data/__models__.py | Technopark-Altair/yl-first-blog | ab72f55c24022df068e88682d377a0b4a944b38d | [
"Apache-2.0"
] | null | null | null | data/__models__.py | Technopark-Altair/yl-first-blog | ab72f55c24022df068e88682d377a0b4a944b38d | [
"Apache-2.0"
] | null | null | null | from . import users
from . import category
from . import news
| 15.5 | 22 | 0.758065 | 9 | 62 | 5.222222 | 0.555556 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 3 | 23 | 20.666667 | 0.94 | 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 |
22536a06f76daaf63794cf28628f0bd095301cb9 | 651 | py | Python | easy-ppi/utilities/autocomplete.py | code-master5/Easy-Python-Package-Installer | 8a9a7b82174d57f9c13126ac85ca7d195a76e528 | [
"MIT"
] | 3 | 2019-03-23T16:50:24.000Z | 2019-04-06T20:30:28.000Z | easy-ppi/utilities/autocomplete.py | code-master5/Advanced-Python-Package-Installer | 8a9a7b82174d57f9c13126ac85ca7d195a76e528 | [
"MIT"
] | 5 | 2019-12-10T06:42:02.000Z | 2021-12-13T19:56:14.000Z | easy-ppi/utilities/autocomplete.py | code-master5/Easy-Python-Package-Installer | 8a9a7b82174d57f9c13126ac85ca7d195a76e528 | [
"MIT"
] | 1 | 2019-03-09T05:04:10.000Z | 2019-03-09T05:04:10.000Z | import sqlite3
def get_packages_starting_with(text):
with sqlite3.connect("db/packages.db") as conn:
cur = conn.cursor()
query = "SELECT name FROM packages WHERE name LIKE '{text}%' LIMIT 15".format(text=text)
cur.execute(query)
results = [x[0] for x in cur.fetchall()]
... | 31 | 96 | 0.619048 | 88 | 651 | 4.511364 | 0.363636 | 0.030227 | 0.070529 | 0.095718 | 0.851385 | 0.851385 | 0.851385 | 0.851385 | 0.851385 | 0.851385 | 0 | 0.014583 | 0.262673 | 651 | 20 | 97 | 32.55 | 0.8125 | 0 | 0 | 0.666667 | 0 | 0 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.333333 | 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 |
225bf49d859789e56b390027072fe935e165bcc4 | 1,199 | py | Python | tests/c/test_transaction_options.py | zeroae/zeroae-rocksdb | 3f1c81a42f27091161727c94a0d5620c25fd984f | [
"Apache-2.0"
] | null | null | null | tests/c/test_transaction_options.py | zeroae/zeroae-rocksdb | 3f1c81a42f27091161727c94a0d5620c25fd984f | [
"Apache-2.0"
] | 53 | 2020-04-29T04:46:48.000Z | 2020-05-08T03:43:28.000Z | tests/c/test_transaction_options.py | zeroae/zeroae-rocksdb | 3f1c81a42f27091161727c94a0d5620c25fd984f | [
"Apache-2.0"
] | null | null | null | from zeroae.rocksdb.c import transaction_options
def test_fixture(rocksdb_transaction_options):
assert rocksdb_transaction_options is not None
def test_set_set_snapshot(rocksdb_transaction_options):
transaction_options.set_set_snapshot(rocksdb_transaction_options, 0)
transaction_options.set_set_snapshot... | 36.333333 | 83 | 0.87156 | 153 | 1,199 | 6.27451 | 0.196078 | 0.50625 | 0.442708 | 0.225 | 0.8625 | 0.841667 | 0.682292 | 0.544792 | 0 | 0 | 0 | 0.013587 | 0.079233 | 1,199 | 32 | 84 | 37.46875 | 0.855978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.388889 | false | 0 | 0.055556 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22757ce692091962f402caf9d5d996bfb2566729 | 27,809 | py | Python | pybind/slxos/v16r_1_00b/load_balance_lag/lag/hash/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/load_balance_lag/lag/hash/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/load_balance_lag/lag/hash/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 74.956873 | 647 | 0.73095 | 3,915 | 27,809 | 4.974457 | 0.054151 | 0.040051 | 0.048883 | 0.038973 | 0.860591 | 0.8438 | 0.837587 | 0.831425 | 0.829371 | 0.819512 | 0 | 0.006683 | 0.128268 | 27,809 | 370 | 648 | 75.159459 | 0.796675 | 0.132367 | 0 | 0.467532 | 0 | 0.034632 | 0.393698 | 0.141581 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116883 | false | 0 | 0.047619 | 0 | 0.281385 | 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 |
3f5a1275a211fd9e61859892458d428dae7f39a8 | 8,900 | py | Python | etc/pending_ugens/SplayAz.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 191 | 2015-11-13T02:28:42.000Z | 2022-03-29T10:26:44.000Z | etc/pending_ugens/SplayAz.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 130 | 2016-01-04T16:59:02.000Z | 2022-02-26T15:37:20.000Z | etc/pending_ugens/SplayAz.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 22 | 2016-05-04T10:32:16.000Z | 2022-02-26T19:22:45.000Z | import collections
from supriya.enums import CalculationRate
from supriya.synthdefs import UGen
class SplayAz(UGen):
"""
::
>>> splay_az = supriya.ugens.SplayAz.ar(
... center=0,
... channel_count=4,
... in_array=in_array,
... level=1,
... ... | 24.31694 | 64 | 0.431573 | 786 | 8,900 | 4.6743 | 0.083969 | 0.06859 | 0.053076 | 0.072401 | 0.807295 | 0.807295 | 0.763745 | 0.732444 | 0.732444 | 0.706859 | 0 | 0.022741 | 0.446629 | 8,900 | 365 | 65 | 24.383562 | 0.723249 | 0.443371 | 0 | 0.666667 | 0 | 0 | 0.036353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089431 | false | 0 | 0.04065 | 0 | 0.235772 | 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 |
3f64ff62be9ce3a4ec60a113da654d31cbe2bbae | 16,499 | py | Python | db.py | yagueto/heimdall | 56dd6278cb021d1e11bbd1bdcf02810648f4dbfb | [
"MIT"
] | 3 | 2021-08-28T10:31:24.000Z | 2021-10-02T09:52:50.000Z | db.py | yagueto/heimdall | 56dd6278cb021d1e11bbd1bdcf02810648f4dbfb | [
"MIT"
] | 3 | 2021-09-23T02:43:57.000Z | 2021-10-03T18:55:24.000Z | db.py | yagueto/heimdall | 56dd6278cb021d1e11bbd1bdcf02810648f4dbfb | [
"MIT"
] | 1 | 2021-10-02T19:31:17.000Z | 2021-10-02T19:31:17.000Z | #!/usr/bin/env python3
import json
import os
import configparser
from os import path
import sqlite3
import psycopg2
import mysql.connector
from pymongo import MongoClient
from abc import ABC, abstractmethod
class Database(ABC):
@abstractmethod
def connect(self):
pass
@abstractmethod
def fetch... | 33.197183 | 182 | 0.492575 | 1,762 | 16,499 | 4.575482 | 0.085131 | 0.057678 | 0.06326 | 0.040065 | 0.80836 | 0.745721 | 0.721285 | 0.708013 | 0.687422 | 0.678368 | 0 | 0.010358 | 0.385599 | 16,499 | 497 | 183 | 33.197183 | 0.784946 | 0.001273 | 0 | 0.812362 | 0 | 0.019868 | 0.166646 | 0.046243 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081678 | false | 0.01766 | 0.019868 | 0 | 0.242826 | 0.07064 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f6b0dab6f12592fec5cde1d489749698199fa4a | 12,105 | py | Python | tests/components/automation/test_init.py | evancohen/home-assistant | dafc0ced6b07025c03417d8e7a2c0133b4c622fc | [
"MIT"
] | 14 | 2015-11-10T07:57:43.000Z | 2021-08-29T13:45:26.000Z | tests/components/automation/test_init.py | evancohen/home-assistant | dafc0ced6b07025c03417d8e7a2c0133b4c622fc | [
"MIT"
] | null | null | null | tests/components/automation/test_init.py | evancohen/home-assistant | dafc0ced6b07025c03417d8e7a2c0133b4c622fc | [
"MIT"
] | 8 | 2015-11-14T16:40:41.000Z | 2020-02-17T19:48:08.000Z | """
tests.components.automation.test_init
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tests automation component.
"""
import unittest
import homeassistant.core as ha
import homeassistant.components.automation as automation
from homeassistant.const import ATTR_ENTITY_ID
class TestAutomation(unittest.TestCase):
""" Test... | 32.36631 | 70 | 0.46361 | 1,097 | 12,105 | 4.914312 | 0.093892 | 0.100909 | 0.048971 | 0.069375 | 0.894083 | 0.880727 | 0.87609 | 0.863847 | 0.846225 | 0.833055 | 0 | 0.012725 | 0.409252 | 12,105 | 373 | 71 | 32.453083 | 0.741155 | 0.026848 | 0 | 0.675 | 0 | 0 | 0.15494 | 0 | 0 | 0 | 0 | 0 | 0.090625 | 1 | 0.053125 | false | 0 | 0.0125 | 0 | 0.06875 | 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 |
58ad226b6d786cf822fb68bb1720e25e2fc2d104 | 68 | py | Python | tools/deepke/relation_extraction/multimodal/modules/__init__.py | dfface/DoctorKG | 6bd6ebec8244a9ce0a2c8c278a704f02b9afaaf8 | [
"MIT"
] | 1 | 2022-03-26T16:08:08.000Z | 2022-03-26T16:08:08.000Z | tools/deepke/relation_extraction/multimodal/modules/__init__.py | dfface/DoctorKG | 6bd6ebec8244a9ce0a2c8c278a704f02b9afaaf8 | [
"MIT"
] | null | null | null | tools/deepke/relation_extraction/multimodal/modules/__init__.py | dfface/DoctorKG | 6bd6ebec8244a9ce0a2c8c278a704f02b9afaaf8 | [
"MIT"
] | null | null | null | from .dataset import *
from .train import *
from .metrics import * | 22.666667 | 23 | 0.720588 | 9 | 68 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 68 | 3 | 24 | 22.666667 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
450258ad603e07cfc7dd40adce1dff7f8b0a0b09 | 35 | py | Python | g2ppy/phonetisaurus/__init__.py | ishine/g2ps | 49083b0ca8a49d094dcbb2c57a0869e05ab320f2 | [
"MIT"
] | 72 | 2018-09-04T07:48:54.000Z | 2022-03-09T16:07:16.000Z | g2ppy/phonetisaurus/__init__.py | shenyileirob/g2ps | 49083b0ca8a49d094dcbb2c57a0869e05ab320f2 | [
"MIT"
] | null | null | null | g2ppy/phonetisaurus/__init__.py | shenyileirob/g2ps | 49083b0ca8a49d094dcbb2c57a0869e05ab320f2 | [
"MIT"
] | 14 | 2019-09-06T22:59:18.000Z | 2022-03-09T14:02:50.000Z | import phonetisaurus.train_g2ps
| 7 | 31 | 0.828571 | 4 | 35 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.142857 | 35 | 4 | 32 | 8.75 | 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 |
453a97e6b6199cd9400afca9ef6a6be9fbe82c01 | 23,097 | py | Python | nao_gestures/nao_kinematics.py | TomKingsfordUoA/NaoGestures | ba1cfbb2a376c02ab7bb51264e7504d6bb255c28 | [
"MIT"
] | 1 | 2021-08-12T03:35:59.000Z | 2021-08-12T03:35:59.000Z | nao_gestures/nao_kinematics.py | TomKingsfordUoA/NaoGestures | ba1cfbb2a376c02ab7bb51264e7504d6bb255c28 | [
"MIT"
] | 1 | 2021-08-10T20:22:55.000Z | 2021-08-10T20:22:55.000Z | nao_gestures/nao_kinematics.py | TomKingsfordUoA/NaoGestures | ba1cfbb2a376c02ab7bb51264e7504d6bb255c28 | [
"MIT"
] | 1 | 2021-10-18T06:24:11.000Z | 2021-10-18T06:24:11.000Z | import numpy as np
from scipy.spatial.transform import Rotation
class InverseKinematics:
def __init__(self):
raise NotImplementedError()
@staticmethod
def inverse_kinematics_right_shoulder(
position_right_shoulder_standard,
rotation_right_shoulder_standard,
pos... | 45.466535 | 143 | 0.676408 | 2,856 | 23,097 | 5.026611 | 0.063375 | 0.077877 | 0.052661 | 0.038033 | 0.894748 | 0.869323 | 0.826832 | 0.809069 | 0.727083 | 0.680621 | 0 | 0.010314 | 0.252803 | 23,097 | 507 | 144 | 45.556213 | 0.821532 | 0.065809 | 0 | 0.507353 | 0 | 0 | 0.03127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044118 | false | 0 | 0.004902 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4541527c0ad8791326bf3449d075a4dac173e29a | 183 | py | Python | mmcv/arraymisc/__init__.py | bladesaber/mmcv_py35 | 99c4960cd41961e87e2e7b078c12dde4033d1743 | [
"Apache-2.0"
] | 1 | 2021-01-05T09:12:50.000Z | 2021-01-05T09:12:50.000Z | mmcv/arraymisc/__init__.py | bladesaber/mmcv_py35 | 99c4960cd41961e87e2e7b078c12dde4033d1743 | [
"Apache-2.0"
] | null | null | null | mmcv/arraymisc/__init__.py | bladesaber/mmcv_py35 | 99c4960cd41961e87e2e7b078c12dde4033d1743 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) Open-MMLab. All rights reserved.
# from .quantization import dequantize, quantize
from .quantization import dequantize, quantize
__all__ = ['quantize', 'dequantize']
| 30.5 | 48 | 0.770492 | 20 | 183 | 6.85 | 0.6 | 0.233577 | 0.321168 | 0.467153 | 0.583942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125683 | 183 | 5 | 49 | 36.6 | 0.85625 | 0.508197 | 0 | 0 | 0 | 0 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
18a7ca57021117a3674f2ef768218aff13124724 | 4,406 | py | Python | tests/test_hairy_hashes.py | elijahjpassmore/hairy-hashes | f3619f5161f34398b78471266e7596b99d07bbbd | [
"MIT"
] | null | null | null | tests/test_hairy_hashes.py | elijahjpassmore/hairy-hashes | f3619f5161f34398b78471266e7596b99d07bbbd | [
"MIT"
] | null | null | null | tests/test_hairy_hashes.py | elijahjpassmore/hairy-hashes | f3619f5161f34398b78471266e7596b99d07bbbd | [
"MIT"
] | null | null | null | import time
from pathlib import Path
from hairy_hashes import __author__, __email__, __license__, __version__
from hairy_hashes.hashes import rm_duplicate_hashes
def test_version() -> None:
assert __version__ == "1.1.1"
def test_author() -> None:
assert __author__ == "Elijah J. Passmore"
def test_email()... | 28.61039 | 72 | 0.574898 | 606 | 4,406 | 3.929043 | 0.128713 | 0.094078 | 0.113398 | 0.037799 | 0.826123 | 0.826123 | 0.818564 | 0.792524 | 0.778664 | 0.758925 | 0 | 0.027036 | 0.303223 | 4,406 | 153 | 73 | 28.797386 | 0.748534 | 0.14503 | 0 | 0.698795 | 0 | 0 | 0.048563 | 0.007256 | 0 | 0 | 0 | 0 | 0.216867 | 1 | 0.120482 | false | 0.024096 | 0.048193 | 0 | 0.180723 | 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 |
18cf22b43fc8786eee6b5ebd5cd375eb78406f9e | 34,941 | py | Python | clinica/pipelines/machine_learning/validation.py | Chengwei94/clinica | 0e9d837baf9064a626198422b2a70fe120f227f0 | [
"MIT"
] | 1 | 2020-06-08T15:27:55.000Z | 2020-06-08T15:27:55.000Z | clinica/pipelines/machine_learning/validation.py | 14thibea/clinica | 3ccce34e330490d346e464235690972c22ac3a4f | [
"MIT"
] | null | null | null | clinica/pipelines/machine_learning/validation.py | 14thibea/clinica | 3ccce34e330490d346e464235690972c22ac3a4f | [
"MIT"
] | null | null | null | # coding: utf8
import os
from multiprocessing.pool import ThreadPool
from os import path
import numpy as np
import pandas as pd
from sklearn.model_selection import StratifiedKFold, StratifiedShuffleSplit
from clinica.pipelines.machine_learning import base
class KFoldCV(base.MLValidation):
def validate(self, y)... | 38.481278 | 144 | 0.541484 | 3,445 | 34,941 | 5.149782 | 0.046444 | 0.104165 | 0.104165 | 0.064258 | 0.926893 | 0.911335 | 0.892903 | 0.830787 | 0.769742 | 0.660278 | 0 | 0.003555 | 0.347815 | 34,941 | 907 | 145 | 38.523705 | 0.774969 | 0.01411 | 0 | 0.593626 | 0 | 0 | 0.12704 | 0.00334 | 0 | 0 | 0 | 0.001103 | 0 | 1 | 0.01992 | false | 0 | 0.009296 | 0 | 0.047809 | 0.022576 | 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 |
18e5927517a913e72692f8f1bc03a5c77094c69a | 48 | py | Python | DecisionTrees/__init__.py | L-F-A/Machine-Learning | b9472544e06fc91606c0d1a609c23e22ba30cf18 | [
"MIT"
] | null | null | null | DecisionTrees/__init__.py | L-F-A/Machine-Learning | b9472544e06fc91606c0d1a609c23e22ba30cf18 | [
"MIT"
] | null | null | null | DecisionTrees/__init__.py | L-F-A/Machine-Learning | b9472544e06fc91606c0d1a609c23e22ba30cf18 | [
"MIT"
] | null | null | null | from .AdADT import *
from .BaGQuasiRDT import *
| 16 | 26 | 0.75 | 6 | 48 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 27 | 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 |
18fcc6c1ed17ec0e2a8188615ca94d564ea8e588 | 4,881 | py | Python | tests/client/test_commands.py | vishalbelsare/imageatm | 2da9d1902d375338e4363ebf95bcb8ac2bb47ac7 | [
"Apache-2.0"
] | 215 | 2019-03-18T10:51:53.000Z | 2022-01-28T20:04:32.000Z | tests/client/test_commands.py | vishalbelsare/imageatm | 2da9d1902d375338e4363ebf95bcb8ac2bb47ac7 | [
"Apache-2.0"
] | 21 | 2019-03-19T09:13:20.000Z | 2020-05-02T10:18:02.000Z | tests/client/test_commands.py | vishalbelsare/imageatm | 2da9d1902d375338e4363ebf95bcb8ac2bb47ac7 | [
"Apache-2.0"
] | 54 | 2019-03-18T16:39:37.000Z | 2022-03-31T10:16:48.000Z | import pytest
import shutil
import logging
from pathlib import Path
from imageatm.client.client import Config
from imageatm.client.commands import pipeline, train, evaluate, cloud
p = Path(__file__)
TEST_CONFIG_FILE = p.resolve().parent / 'test_configs' / 'config_train.yml'
# TODO: Add relative path
TEST_JOB_DIR = '... | 26.818681 | 87 | 0.709281 | 791 | 4,881 | 4.001264 | 0.099874 | 0.107425 | 0.101738 | 0.090995 | 0.779147 | 0.739968 | 0.716588 | 0.706793 | 0.70237 | 0.676145 | 0 | 0 | 0.182135 | 4,881 | 181 | 88 | 26.966851 | 0.792836 | 0.094858 | 0 | 0.711538 | 0 | 0 | 0.127611 | 0.051998 | 0 | 0 | 0 | 0.005525 | 0.355769 | 1 | 0.067308 | false | 0 | 0.057692 | 0 | 0.134615 | 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 |
7a1b8db5aaff5b63c288ae47e111c6c61ce9a827 | 78 | py | Python | neuropy/base/__init__.py | TheBuoys/neuropy | 387a5eaa31629c726b5de1e71090b0d644f675b2 | [
"Apache-2.0"
] | 1 | 2019-09-29T20:35:34.000Z | 2019-09-29T20:35:34.000Z | neuropy/base/__init__.py | TheBuoys/neuropy | 387a5eaa31629c726b5de1e71090b0d644f675b2 | [
"Apache-2.0"
] | null | null | null | neuropy/base/__init__.py | TheBuoys/neuropy | 387a5eaa31629c726b5de1e71090b0d644f675b2 | [
"Apache-2.0"
] | null | null | null | from .base_data_loader import BaseDataLoader
from .base_model import BaseModel | 39 | 44 | 0.884615 | 11 | 78 | 6 | 0.727273 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 78 | 2 | 45 | 39 | 0.929577 | 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 |
e1401037fe696086cb5482b0bbc27b5b6bdf525c | 24 | py | Python | python/testData/copyPaste/TryBlockWithBadSelection.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/copyPaste/TryBlockWithBadSelection.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/copyPaste/TryBlockWithBadSelection.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | try:
x = 1
y = 2 | 8 | 9 | 0.291667 | 5 | 24 | 1.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.583333 | 24 | 3 | 10 | 8 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e15efa8d6550884906d490c484b85d796a2c13db | 1,035 | py | Python | imba_explain/train_apis/utils.py | CAMP-eXplain-AI/imba-explain | e41b4ca5de63955cb0e925aad9599f38c5a3e973 | [
"MIT"
] | null | null | null | imba_explain/train_apis/utils.py | CAMP-eXplain-AI/imba-explain | e41b4ca5de63955cb0e925aad9599f38c5a3e973 | [
"MIT"
] | null | null | null | imba_explain/train_apis/utils.py | CAMP-eXplain-AI/imba-explain | e41b4ca5de63955cb0e925aad9599f38c5a3e973 | [
"MIT"
] | null | null | null | from typing import Dict, List, Optional, Tuple, Union
from torch import Tensor
def prob_transform(batch: Dict[str, Union[Tensor, str]],
pred_select_inds: Optional[List[int]] = None,
target_select_inds: Optional[List[int]] = None) -> Tuple[Tensor, Tensor]:
pred = batch['pred'... | 35.689655 | 94 | 0.635749 | 135 | 1,035 | 4.681481 | 0.222222 | 0.189873 | 0.132911 | 0.139241 | 0.829114 | 0.829114 | 0.829114 | 0.829114 | 0.829114 | 0.829114 | 0 | 0.002574 | 0.249275 | 1,035 | 28 | 95 | 36.964286 | 0.810811 | 0 | 0 | 0.636364 | 0 | 0 | 0.019324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.090909 | 0 | 0.272727 | 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 |
e180d5160694bc4bacc35ec6d4c774841b94da49 | 23 | py | Python | ssms/support_utils/__init__.py | AlexanderFengler/ssm_simulators | cf650641647b7c049e60c48dde365607c8d3c54a | [
"MIT"
] | 1 | 2021-10-31T15:08:11.000Z | 2021-10-31T15:08:11.000Z | ssms/support_utils/__init__.py | AlexanderFengler/ssm_simulators | cf650641647b7c049e60c48dde365607c8d3c54a | [
"MIT"
] | 3 | 2021-07-30T15:57:56.000Z | 2022-02-25T02:47:09.000Z | ssms/support_utils/__init__.py | AlexanderFengler/ssm_simulators | cf650641647b7c049e60c48dde365607c8d3c54a | [
"MIT"
] | null | null | null | from . import kde_class | 23 | 23 | 0.826087 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 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 |
e18101de00393766ef9d96a03bd58218eecb7065 | 3,860 | py | Python | pygrapher/runner.py | 610yilingliu/excel-like-python-curve-fitter | 5a55ea3479296ff9dcf258ec55ec40f450b2606b | [
"MIT"
] | null | null | null | pygrapher/runner.py | 610yilingliu/excel-like-python-curve-fitter | 5a55ea3479296ff9dcf258ec55ec40f450b2606b | [
"MIT"
] | null | null | null | pygrapher/runner.py | 610yilingliu/excel-like-python-curve-fitter | 5a55ea3479296ff9dcf258ec55ec40f450b2606b | [
"MIT"
] | null | null | null | from pygrapher.grapher import *
from pygrapher.equations import *
import matplotlib.pyplot as plt
import numpy as np
def linear_fitter(x_array, y_origin, range, label = None, show_params = True, line_color = 'random', legend = None, scatter = True, point_color = 'random', point_size = 20, show_digit = 3, point_legend... | 47.654321 | 257 | 0.668135 | 549 | 3,860 | 4.395264 | 0.123862 | 0.067136 | 0.043514 | 0.080812 | 0.851637 | 0.828429 | 0.818483 | 0.78823 | 0.750932 | 0.738085 | 0 | 0.005371 | 0.228238 | 3,860 | 81 | 258 | 47.654321 | 0.804632 | 0.043523 | 0 | 0.553571 | 0 | 0 | 0.029436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e187537fd558cd303e4bf7e8192e007f2e2f47ea | 42 | py | Python | telethon/tl/__init__.py | TgCat/Telethon | f9aabaca2049906a7e94dcab010bcc7a645a8278 | [
"MIT"
] | 6,709 | 2016-09-07T07:11:00.000Z | 2022-03-31T23:22:59.000Z | telethon/tl/__init__.py | TgCat/Telethon | f9aabaca2049906a7e94dcab010bcc7a645a8278 | [
"MIT"
] | 3,211 | 2016-09-15T10:29:22.000Z | 2022-03-31T15:51:33.000Z | telethon/tl/__init__.py | TgCat/Telethon | f9aabaca2049906a7e94dcab010bcc7a645a8278 | [
"MIT"
] | 1,403 | 2016-10-09T03:07:33.000Z | 2022-03-31T14:09:55.000Z | from .tlobject import TLObject, TLRequest
| 21 | 41 | 0.833333 | 5 | 42 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.945946 | 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 |
e1bab3b4f4064110f941cd1da63b71ed3b919c90 | 31 | py | Python | alkaid/data/buffer/__init__.py | Renovamen/alkaid | 78bb19c3d18856234dec9444235b749c6006655f | [
"MIT"
] | 1 | 2021-06-04T10:33:44.000Z | 2021-06-04T10:33:44.000Z | alkaid/data/buffer/__init__.py | Renovamen/alkaid | 78bb19c3d18856234dec9444235b749c6006655f | [
"MIT"
] | null | null | null | alkaid/data/buffer/__init__.py | Renovamen/alkaid | 78bb19c3d18856234dec9444235b749c6006655f | [
"MIT"
] | null | null | null | from .base import ReplayBuffer
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1cbaf206dc7c7b734b995ccb4be7883c0c9d861 | 46 | py | Python | papexp/__init__.py | sstarcher/paprika-exporter | 07b1f1e9c90ee1a96c8ded8aff7d21c8a5c7d287 | [
"Apache-2.0"
] | 9 | 2020-05-05T21:46:16.000Z | 2021-12-02T22:35:42.000Z | papexp/__init__.py | datapolitical/paprika-exporter | 78c6c75b8848e55f097a11d22c8cace7f1954098 | [
"Apache-2.0"
] | 3 | 2020-02-01T10:38:00.000Z | 2021-10-14T14:13:33.000Z | papexp/__init__.py | datapolitical/paprika-exporter | 78c6c75b8848e55f097a11d22c8cace7f1954098 | [
"Apache-2.0"
] | 3 | 2020-04-04T12:41:06.000Z | 2020-12-13T09:38:04.000Z | from .core import *
#from .nutrition import *
| 15.333333 | 25 | 0.717391 | 6 | 46 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 26 | 23 | 0.868421 | 0.521739 | 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 |
beca8f857afec4a64a36875e85dac279f04fafce | 159 | py | Python | nabeletter/editor/api/__init__.py | lenfestlab/monorepo | ef59cbd9b98c4c2857d7a5da16fe68c80f7ac60f | [
"MIT"
] | 8 | 2018-11-30T22:59:39.000Z | 2021-12-02T16:10:23.000Z | nabeletter/editor/api/__init__.py | lenfestlab/monorepo | ef59cbd9b98c4c2857d7a5da16fe68c80f7ac60f | [
"MIT"
] | 37 | 2018-12-21T14:36:20.000Z | 2020-06-03T19:59:20.000Z | nabeletter/editor/api/__init__.py | lenfestlab/monorepo | ef59cbd9b98c4c2857d7a5da16fe68c80f7ac60f | [
"MIT"
] | 3 | 2019-05-27T20:50:13.000Z | 2019-09-17T17:49:26.000Z | from .articles import *
from .tweets import *
from .weather import *
from .events import *
from .permits import *
from .reviews import *
from .images import *
| 19.875 | 23 | 0.735849 | 21 | 159 | 5.571429 | 0.428571 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176101 | 159 | 7 | 24 | 22.714286 | 0.89313 | 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 |
bed77a404dca1728405fc7194608fdc388e9921d | 89 | py | Python | yender/__init__.py | okdshin/Yender | e124575e177e3428ad483aa580f951898eedd876 | [
"MIT"
] | 4 | 2016-10-12T07:05:27.000Z | 2016-11-03T16:06:16.000Z | yender/__init__.py | okdshin/Yender | e124575e177e3428ad483aa580f951898eedd876 | [
"MIT"
] | null | null | null | yender/__init__.py | okdshin/Yender | e124575e177e3428ad483aa580f951898eedd876 | [
"MIT"
] | null | null | null | from .block import *
from .map import *
from .rogue_env import *
from .renderer import *
| 17.8 | 24 | 0.730337 | 13 | 89 | 4.923077 | 0.538462 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 4 | 25 | 22.25 | 0.876712 | 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 |
8321668485bb0dd1e1aaf4af26851a13f6c11216 | 12,151 | py | Python | cnn-latefusion.py | uchidalab/dtw-features-cnn | b230fb0303126da7308efdd9c9030b6d4cde1db6 | [
"Apache-2.0"
] | 24 | 2018-07-02T08:06:02.000Z | 2022-03-11T12:04:51.000Z | cnn-latefusion.py | uchidalab/dtw-features-cnn | b230fb0303126da7308efdd9c9030b6d4cde1db6 | [
"Apache-2.0"
] | null | null | null | cnn-latefusion.py | uchidalab/dtw-features-cnn | b230fb0303126da7308efdd9c9030b6d4cde1db6 | [
"Apache-2.0"
] | 11 | 2018-06-04T09:04:33.000Z | 2022-02-23T14:45:33.000Z | import input_data
import tensorflow as tf
import time
import numpy as np
import network_settings as ns
nowtime = str(time.time())
# -----------------------
print('start')
def cnn_model_1D(features, labels, mode):
x_image1 = tf.reshape(features["x1"], [-1, ns.IMAGE_SHAPE1[0], ns.IMAGE_SHAPE1[1]])
x_image2 =... | 42.337979 | 119 | 0.686199 | 1,703 | 12,151 | 4.665884 | 0.119201 | 0.042285 | 0.048326 | 0.045306 | 0.856154 | 0.837277 | 0.823685 | 0.823685 | 0.812358 | 0.812358 | 0 | 0.031148 | 0.196774 | 12,151 | 286 | 120 | 42.486014 | 0.782992 | 0.112913 | 0 | 0.524691 | 0 | 0.006173 | 0.036057 | 0.003727 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018519 | false | 0 | 0.037037 | 0 | 0.092593 | 0.049383 | 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 |
8333342dbfc46d87132ab3f5640d3ea77454fe5a | 58 | py | Python | windc_data/windc_2_0_1/__init__.py | uw-windc/windc_datastream | 8b6277acf943358a064f109a873852a82991ba3d | [
"MIT"
] | 3 | 2019-11-07T05:15:18.000Z | 2020-06-30T15:30:10.000Z | windc_data/windc_2_0_1/__init__.py | uw-windc/windc_datastream | 8b6277acf943358a064f109a873852a82991ba3d | [
"MIT"
] | null | null | null | windc_data/windc_2_0_1/__init__.py | uw-windc/windc_datastream | 8b6277acf943358a064f109a873852a82991ba3d | [
"MIT"
] | 4 | 2019-11-07T05:15:29.000Z | 2021-09-01T17:01:03.000Z | from . import parse
from . import join
from . import xfrm
| 14.5 | 19 | 0.741379 | 9 | 58 | 4.777778 | 0.555556 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 3 | 20 | 19.333333 | 0.934783 | 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 |
83698ca7ac9c6983ae94185458e36b50063e6fd4 | 205 | py | Python | test.py | roscroft/delve | a629eca4e23e3fd525cad9c811b050e4f0ca886a | [
"MIT"
] | null | null | null | test.py | roscroft/delve | a629eca4e23e3fd525cad9c811b050e4f0ca886a | [
"MIT"
] | null | null | null | test.py | roscroft/delve | a629eca4e23e3fd525cad9c811b050e4f0ca886a | [
"MIT"
] | null | null | null | class Test():
def __init__(self, test_attr):
self.test_attr = test_attr
self.test_fn()
print(self.test_attr)
def test_fn(self):
self.test_attr = "goodbye world" | 25.625 | 40 | 0.6 | 28 | 205 | 4 | 0.357143 | 0.357143 | 0.428571 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 205 | 8 | 40 | 25.625 | 0.772414 | 0 | 0 | 0 | 0 | 0 | 0.063107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.428571 | 0.142857 | 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 |
364cf2f1d130e6e32ebdfd25c0571826d416869f | 106 | py | Python | src/djpmp/api/__init__.py | daimon99/djpmp | c479b9a173b75be0ba90a9b3954b6f88f6a01efc | [
"MIT"
] | 2 | 2020-05-13T03:56:00.000Z | 2020-10-14T12:11:54.000Z | src/djpmp/api/__init__.py | daimon99/djpmp | c479b9a173b75be0ba90a9b3954b6f88f6a01efc | [
"MIT"
] | null | null | null | src/djpmp/api/__init__.py | daimon99/djpmp | c479b9a173b75be0ba90a9b3954b6f88f6a01efc | [
"MIT"
] | 1 | 2021-02-24T08:26:32.000Z | 2021-02-24T08:26:32.000Z | # coding: utf-8
from .apis import HRCalendarApi
from .apis import SelfReportApi
from .apis import WBSApi
| 17.666667 | 31 | 0.792453 | 15 | 106 | 5.6 | 0.6 | 0.285714 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.150943 | 106 | 5 | 32 | 21.2 | 0.922222 | 0.122642 | 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 |
3666d91c85c49e9087ebd5ac34e03a21155e6b49 | 300 | py | Python | rlcard/games/belote/__init__.py | vocthor/rlcard | eacf578379ed838cf1ceae6eba19dcbf774e3333 | [
"MIT"
] | null | null | null | rlcard/games/belote/__init__.py | vocthor/rlcard | eacf578379ed838cf1ceae6eba19dcbf774e3333 | [
"MIT"
] | null | null | null | rlcard/games/belote/__init__.py | vocthor/rlcard | eacf578379ed838cf1ceae6eba19dcbf774e3333 | [
"MIT"
] | null | null | null | from rlcard.games.belote.dealer import BeloteDealer as Dealer
from rlcard.games.belote.judger import BeloteJudger as Judger
from rlcard.games.belote.player import BelotePlayer as Player
from rlcard.games.belote.round import BeloteRound as Round
from rlcard.games.belote.game import BeloteGame as Game | 60 | 61 | 0.853333 | 45 | 300 | 5.688889 | 0.355556 | 0.195313 | 0.292969 | 0.410156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096667 | 300 | 5 | 62 | 60 | 0.944649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
36710a9b41cbff3cbd3426896bc9c1533ef5b64d | 94 | py | Python | restart.py | joaomateusferr/VinusIOT | a7c814c8e1d8c8d41f62f6e3e94c52c40340ecdb | [
"MIT"
] | null | null | null | restart.py | joaomateusferr/VinusIOT | a7c814c8e1d8c8d41f62f6e3e94c52c40340ecdb | [
"MIT"
] | null | null | null | restart.py | joaomateusferr/VinusIOT | a7c814c8e1d8c8d41f62f6e3e94c52c40340ecdb | [
"MIT"
] | null | null | null | import os
os.system("sudo raspi-config nonint do_boot_behaviour B2")
os.system("sudo reboot") | 23.5 | 58 | 0.787234 | 16 | 94 | 4.5 | 0.75 | 0.222222 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.095745 | 94 | 4 | 59 | 23.5 | 0.835294 | 0 | 0 | 0 | 0 | 0 | 0.589474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
367e7a95e051a32bf07a1207a1e688a1cd726aef | 58 | py | Python | bugtests/test341c2.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 577 | 2020-06-04T16:34:44.000Z | 2022-03-31T11:46:07.000Z | bugtests/test341c2.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 174 | 2015-01-08T20:37:09.000Z | 2020-06-03T16:48:59.000Z | bugtests/test341c2.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 162 | 2015-02-07T02:14:38.000Z | 2020-05-30T16:42:03.000Z | import java
class test341c2(java.lang.Object):
pass
| 9.666667 | 35 | 0.724138 | 8 | 58 | 5.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0.189655 | 58 | 5 | 36 | 11.6 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
36e17dc10fd60dc1bbd2e62943002b694f512ac4 | 2,192 | py | Python | tests/test_rbac.py | jpramos123/kerlescan | 6bfb5f4068afae6dfcd37bf3951ad4f601314ce7 | [
"MIT"
] | null | null | null | tests/test_rbac.py | jpramos123/kerlescan | 6bfb5f4068afae6dfcd37bf3951ad4f601314ce7 | [
"MIT"
] | 19 | 2020-11-03T16:11:49.000Z | 2021-11-03T16:27:49.000Z | tests/test_rbac.py | jpramos123/kerlescan | 6bfb5f4068afae6dfcd37bf3951ad4f601314ce7 | [
"MIT"
] | 4 | 2020-11-04T12:29:56.000Z | 2021-08-03T14:44:44.000Z | import unittest
import mock
from mock import MagicMock as mm
from kerlescan import view_helpers
from kerlescan.exceptions import HTTPError
class RBACTests(unittest.TestCase):
@mock.patch("kerlescan.view_helpers.get_key_from_headers")
@mock.patch("kerlescan.view_helpers.get_perms")
def test_has_perm(sel... | 39.142857 | 83 | 0.670164 | 176 | 2,192 | 8.034091 | 0.272727 | 0.039604 | 0.050919 | 0.062235 | 0.861386 | 0.861386 | 0.803395 | 0.803395 | 0.803395 | 0.803395 | 0 | 0.04529 | 0.244526 | 2,192 | 55 | 84 | 39.854545 | 0.808575 | 0 | 0 | 0.693878 | 0 | 0 | 0.355839 | 0.320255 | 0 | 0 | 0 | 0 | 0.020408 | 1 | 0.040816 | false | 0 | 0.102041 | 0 | 0.163265 | 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 |
36f8c09cb1e2344cd70dcf0e5f622842cbd45c59 | 281 | py | Python | extension/sms.py | Gilgamesh666666/Dgr-ncnet | 3ad2d0fdb35ba0d23e5040d74347c600b1a8b72b | [
"MIT"
] | null | null | null | extension/sms.py | Gilgamesh666666/Dgr-ncnet | 3ad2d0fdb35ba0d23e5040d74347c600b1a8b72b | [
"MIT"
] | null | null | null | extension/sms.py | Gilgamesh666666/Dgr-ncnet | 3ad2d0fdb35ba0d23e5040d74347c600b1a8b72b | [
"MIT"
] | null | null | null | import torch.nn as nn
from extension.functional.sms import soft_mutual_score
import torch
class soft_mutual_score_Module(nn.Module):
def __init__(self):
super().__init__()
def forward(self, pred_pair, reg_feat):
return soft_mutual_score(pred_pair, reg_feat) | 35.125 | 54 | 0.758007 | 42 | 281 | 4.619048 | 0.547619 | 0.154639 | 0.231959 | 0.154639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160142 | 281 | 8 | 55 | 35.125 | 0.822034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3d30802e3d5c7b86bd7e1b4e219a5a2c6d28aabe | 30 | py | Python | daemons/cleaner/__init__.py | dekoder/LogESP | fa45523b4ad96004583cbf722645afc3f63c9a6d | [
"MIT"
] | 130 | 2018-04-18T08:51:41.000Z | 2022-03-24T18:15:01.000Z | daemons/cleaner/__init__.py | Seabreg/LogESP | fa45523b4ad96004583cbf722645afc3f63c9a6d | [
"MIT"
] | 14 | 2018-04-02T19:59:25.000Z | 2021-06-10T17:30:18.000Z | daemons/cleaner/__init__.py | Seabreg/LogESP | fa45523b4ad96004583cbf722645afc3f63c9a6d | [
"MIT"
] | 55 | 2018-04-18T08:51:50.000Z | 2022-03-05T02:55:17.000Z |
import daemons.cleaner.clean
| 10 | 28 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 2 | 29 | 15 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d433077275a3b34c3501a23da8adf5f5bd72b2c | 5,218 | py | Python | tests/arxml/ar4_value_builder_test.py | Warchant/autosar | beaae0205345a6d695982a670d621ace4e4c6aab | [
"MIT"
] | 199 | 2016-07-27T17:14:43.000Z | 2022-03-30T12:28:02.000Z | tests/arxml/ar4_value_builder_test.py | Warchant/autosar | beaae0205345a6d695982a670d621ace4e4c6aab | [
"MIT"
] | 50 | 2017-10-10T08:19:21.000Z | 2022-03-27T18:43:29.000Z | tests/arxml/ar4_value_builder_test.py | Warchant/autosar | beaae0205345a6d695982a670d621ace4e4c6aab | [
"MIT"
] | 125 | 2016-07-27T17:16:08.000Z | 2022-03-30T17:03:28.000Z | import os, sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')))
import autosar
from tests.arxml.common import ARXMLTestClass
import unittest
class ARXML4ValueBuilderTest(ARXMLTestClass):
def test_create_integer(self):
ws = autosar.workspace(version="4.2.2")
pac... | 46.176991 | 96 | 0.677654 | 653 | 5,218 | 5.188361 | 0.130168 | 0.047816 | 0.05608 | 0.049587 | 0.878689 | 0.878689 | 0.878689 | 0.87072 | 0.855077 | 0.836482 | 0 | 0.022264 | 0.190878 | 5,218 | 113 | 97 | 46.176991 | 0.780199 | 0 | 0 | 0.684783 | 0 | 0 | 0.118605 | 0.019736 | 0 | 0 | 0 | 0 | 0.163043 | 1 | 0.065217 | false | 0 | 0.043478 | 0 | 0.119565 | 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 |
180972d5c0b5cb34e41e44597a46879ee47402eb | 2,609 | py | Python | tests/test_utils.py | mapbox/watchbot-progress-py | b9658db6d2bb5588e05b6d4e2d48baf88809e68d | [
"MIT"
] | 1 | 2018-06-20T21:07:37.000Z | 2018-06-20T21:07:37.000Z | tests/test_utils.py | mapbox/watchbot-progress-py | b9658db6d2bb5588e05b6d4e2d48baf88809e68d | [
"MIT"
] | 17 | 2017-07-25T23:34:57.000Z | 2018-12-07T17:13:09.000Z | tests/test_utils.py | mapbox/watchbot-progress-py | b9658db6d2bb5588e05b6d4e2d48baf88809e68d | [
"MIT"
] | 3 | 2017-11-18T11:09:46.000Z | 2021-02-23T10:32:35.000Z |
# import pytest
from mock import patch
from watchbot_progress import utils
def test_chunker_valid():
""" Should return a valid list of list
"""
it = [1, 2, 3, 4, 5, 6, 7]
assert list(utils.chunker(it, 2)) == [[1, 2], [3, 4], [5, 6], [7]]
@patch('watchbot_progress.utils.boto3_session')
def test_aw... | 27.755319 | 70 | 0.694902 | 342 | 2,609 | 5.084795 | 0.187135 | 0.056354 | 0.112708 | 0.074756 | 0.849914 | 0.80276 | 0.787809 | 0.745256 | 0.728005 | 0.687752 | 0 | 0.065268 | 0.177846 | 2,609 | 93 | 71 | 28.053763 | 0.745455 | 0.091223 | 0 | 0.591837 | 0 | 0 | 0.309044 | 0.198457 | 0 | 0 | 0 | 0 | 0.22449 | 1 | 0.122449 | false | 0 | 0.040816 | 0 | 0.163265 | 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 |
1814c5ec200b7ab8c28ddda2adccff84a959dc97 | 90 | py | Python | 06-2022-06-09/src/_solutions/infere_mission_data.py | eotp/python-FU-WiSe1920 | 4f225430ef8a70faca8c86c77cc888524c8e0546 | [
"MIT"
] | 1 | 2020-01-17T14:51:40.000Z | 2020-01-17T14:51:40.000Z | 06-2022-06-09/src/_solutions/infere_mission_data.py | eotp/python-FU-WiSe1920 | 4f225430ef8a70faca8c86c77cc888524c8e0546 | [
"MIT"
] | null | null | null | 06-2022-06-09/src/_solutions/infere_mission_data.py | eotp/python-FU-WiSe1920 | 4f225430ef8a70faca8c86c77cc888524c8e0546 | [
"MIT"
] | null | null | null | ## solution challenge
df_clean["Mission Date"] = pd.to_datetime(df_clean["Mission Date"]) | 45 | 67 | 0.755556 | 13 | 90 | 5 | 0.692308 | 0.215385 | 0.430769 | 0.553846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 67 | 45 | 0.792683 | 0.2 | 0 | 0 | 0 | 0 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
181625aede3818107e63b00e5c5766b19d7ed857 | 221 | py | Python | companies/admin.py | wsoliveira/borsocontrole | 61a4e2aac738a766b6919e30c08fc967fe96fb40 | [
"MIT"
] | null | null | null | companies/admin.py | wsoliveira/borsocontrole | 61a4e2aac738a766b6919e30c08fc967fe96fb40 | [
"MIT"
] | 12 | 2020-04-14T11:54:50.000Z | 2021-06-10T18:54:44.000Z | companies/admin.py | wsoliveira/borsocontrole | 61a4e2aac738a766b6919e30c08fc967fe96fb40 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import bc_company, bc_company_code, bc_sector
# Register your models here.
admin.site.register(bc_company)
admin.site.register(bc_company_code)
admin.site.register(bc_sector) | 31.571429 | 58 | 0.837104 | 35 | 221 | 5.057143 | 0.4 | 0.20339 | 0.288136 | 0.322034 | 0.293785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081448 | 221 | 7 | 59 | 31.571429 | 0.871921 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1836210723e08cdc3cf933453995002a6e54e286 | 124 | py | Python | src/M4_lambda.py | posguy99/comp660-fall2020 | 0fbf5b660fe8863bf9754b5227fe47dd03dc2291 | [
"MIT"
] | null | null | null | src/M4_lambda.py | posguy99/comp660-fall2020 | 0fbf5b660fe8863bf9754b5227fe47dd03dc2291 | [
"MIT"
] | null | null | null | src/M4_lambda.py | posguy99/comp660-fall2020 | 0fbf5b660fe8863bf9754b5227fe47dd03dc2291 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# creates a function add_one() from the lambda x: x + 1
add_one = lambda x: x + 1
print(add_one(2))
| 20.666667 | 55 | 0.677419 | 25 | 124 | 3.24 | 0.64 | 0.222222 | 0.197531 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.185484 | 124 | 5 | 56 | 24.8 | 0.762376 | 0.604839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
185de094de90c769ad127227689f4190062dc412 | 11,732 | py | Python | 2021/Problem 09.py | christopherliu/advent-of-code | d18b54c538e7af608ba2efd92bf469b28ad5fe98 | [
"MIT"
] | null | null | null | 2021/Problem 09.py | christopherliu/advent-of-code | d18b54c538e7af608ba2efd92bf469b28ad5fe98 | [
"MIT"
] | null | null | null | 2021/Problem 09.py | christopherliu/advent-of-code | d18b54c538e7af608ba2efd92bf469b28ad5fe98 | [
"MIT"
] | null | null | null | cavemap_raw = """4323999434356678989012399854245901359876432101298901239876569892012345896567996545678912345689998921
6319898921234589878923987653129892349989949212347892398765498765423456789469884326789923468998997890
5498767892945678967899876543256789998999898943456789987654329878534567994398765434567894579997876789
... | 83.205674 | 117 | 0.936328 | 359 | 11,732 | 30.495822 | 0.470752 | 0.002923 | 0.006577 | 0.009134 | 0.01361 | 0.008221 | 0.008221 | 0.008221 | 0.004384 | 0 | 0 | 0.897612 | 0.043471 | 11,732 | 141 | 118 | 83.205674 | 0.077972 | 0.013638 | 0 | 0 | 0 | 0 | 0.877604 | 0.864379 | 0 | 1 | 0 | 0 | 0 | 1 | 0.007519 | false | 0 | 0 | 0 | 0.015038 | 0.015038 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1872733677efecc7e9799e11ac1e4de652840097 | 98 | py | Python | Problems/Fahrenheit/task.py | gabrielizalo/jetbrains-academy-python-coffee-machine | e22cb502f7998855ef4afbc4ef7ecb8226418225 | [
"MIT"
] | null | null | null | Problems/Fahrenheit/task.py | gabrielizalo/jetbrains-academy-python-coffee-machine | e22cb502f7998855ef4afbc4ef7ecb8226418225 | [
"MIT"
] | null | null | null | Problems/Fahrenheit/task.py | gabrielizalo/jetbrains-academy-python-coffee-machine | e22cb502f7998855ef4afbc4ef7ecb8226418225 | [
"MIT"
] | null | null | null | def fahrenheit_to_celsius(user_fahrenheit):
return round((user_fahrenheit - 32) * (5 / 9), 3)
| 32.666667 | 53 | 0.714286 | 14 | 98 | 4.714286 | 0.785714 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 0.153061 | 98 | 2 | 54 | 49 | 0.73494 | 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 |
a169d9e70463dea68e7b529ed824970eb5ae9f71 | 14,301 | py | Python | tests/test_command.py | flgy/commandparse | ae5c132b105977ce8aec462cb802c198deb84db0 | [
"MIT"
] | null | null | null | tests/test_command.py | flgy/commandparse | ae5c132b105977ce8aec462cb802c198deb84db0 | [
"MIT"
] | null | null | null | tests/test_command.py | flgy/commandparse | ae5c132b105977ce8aec462cb802c198deb84db0 | [
"MIT"
] | 1 | 2020-05-26T11:25:33.000Z | 2020-05-26T11:25:33.000Z | #!/usr/bin/env python3
from argparse import ArgumentParser
import argparse
from commandparse import Command, CommandTypeError
from mock import patch
class SampleCommand(Command):
def opt_bool(self, kwargs):
"""
Test method that do something.
Arguments:
@verbose:bool
The method will perform something ... | 28.716867 | 106 | 0.711419 | 1,934 | 14,301 | 5.053775 | 0.05274 | 0.021486 | 0.071209 | 0.080111 | 0.957643 | 0.936873 | 0.905873 | 0.892163 | 0.88275 | 0.873747 | 0 | 0.00463 | 0.154255 | 14,301 | 497 | 107 | 28.774648 | 0.803473 | 0.202923 | 0 | 0.665468 | 0 | 0 | 0.123227 | 0.017579 | 0 | 0 | 0 | 0 | 0.154676 | 1 | 0.176259 | false | 0.010791 | 0.014388 | 0 | 0.197842 | 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 |
a1a6a4f0044e4c975153afa74cfdec49064282bd | 64 | py | Python | go-cgo-python-extension/test_pysum.py | DsXack/examples | 5b9a608dd1d3cb69ed9fee4f148ea37f39067831 | [
"MIT"
] | 4 | 2018-06-08T11:36:39.000Z | 2018-07-26T11:20:19.000Z | go-cgo-python-extension/test_pysum.py | dsxack/examples | 5b9a608dd1d3cb69ed9fee4f148ea37f39067831 | [
"MIT"
] | null | null | null | go-cgo-python-extension/test_pysum.py | dsxack/examples | 5b9a608dd1d3cb69ed9fee4f148ea37f39067831 | [
"MIT"
] | null | null | null | import pysum
def test_pysum():
assert pysum.sum(1, 3) == 4
| 12.8 | 31 | 0.640625 | 11 | 64 | 3.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.21875 | 64 | 4 | 32 | 16 | 0.74 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62e6b0fe93bfa241d0f10d3bc865a0011d24aad8 | 127 | py | Python | vmcnet/train/__init__.py | nilin/vmcnet | 1d04acf6e99a265671bf276a53c111c3e77a7f14 | [
"MIT"
] | 17 | 2021-12-16T20:50:51.000Z | 2021-12-20T01:00:32.000Z | vmcnet/train/__init__.py | nilin/vmcnet | 1d04acf6e99a265671bf276a53c111c3e77a7f14 | [
"MIT"
] | 6 | 2021-12-16T01:14:20.000Z | 2022-03-16T01:41:50.000Z | vmcnet/train/__init__.py | nilin/vmcnet | 1d04acf6e99a265671bf276a53c111c3e77a7f14 | [
"MIT"
] | 4 | 2021-12-15T18:50:20.000Z | 2021-12-22T18:42:57.000Z | """Training routines."""
from . import default_config
from . import parse_config_flags
from . import runners
from . import vmc
| 21.166667 | 32 | 0.771654 | 17 | 127 | 5.588235 | 0.588235 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141732 | 127 | 5 | 33 | 25.4 | 0.87156 | 0.141732 | 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 |
1a17825c333d94ff7743b5a377571fc3a0e7f7ae | 31,657 | py | Python | test/python/WMCore_t/WMSpec_t/StdSpecs_t/Resubmission_t.py | vkuznet/WMCore | 001cc51651052405a7ecd811cde91da611b1dc57 | [
"Apache-2.0"
] | 21 | 2015-11-19T16:18:45.000Z | 2021-12-02T18:20:39.000Z | test/python/WMCore_t/WMSpec_t/StdSpecs_t/Resubmission_t.py | vkuznet/WMCore | 001cc51651052405a7ecd811cde91da611b1dc57 | [
"Apache-2.0"
] | 5,671 | 2015-01-06T14:38:52.000Z | 2022-03-31T22:11:14.000Z | test/python/WMCore_t/WMSpec_t/StdSpecs_t/Resubmission_t.py | vkuznet/WMCore | 001cc51651052405a7ecd811cde91da611b1dc57 | [
"Apache-2.0"
] | 67 | 2015-01-21T15:55:38.000Z | 2022-02-03T19:53:13.000Z | #!/usr/bin/env python
"""
Unittests for the Resubmission spec factory
"""
from __future__ import print_function
import os
import unittest
from copy import deepcopy
import threading
from Utils.PythonVersion import PY3
from WMCore.DAOFactory import DAOFactory
from WMCore.Database.CMSCouch import CouchServer, Document
... | 57.558182 | 122 | 0.624885 | 2,638 | 31,657 | 7.408643 | 0.120546 | 0.072145 | 0.058842 | 0.04825 | 0.807255 | 0.778551 | 0.757624 | 0.727743 | 0.719556 | 0.716537 | 0 | 0.032607 | 0.276337 | 31,657 | 549 | 123 | 57.663024 | 0.820507 | 0.114098 | 0 | 0.666667 | 0 | 0 | 0.189729 | 0.055473 | 0 | 0 | 0 | 0 | 0.270983 | 1 | 0.028777 | false | 0 | 0.035971 | 0 | 0.071942 | 0.019185 | 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 |
a7f4e58d086b1e303f01851a081017bab5077643 | 86 | py | Python | pymdb/models/__init__.py | zembrodt/pymdb | 1708438630bff18ab961241657e99ad7511652e3 | [
"MIT"
] | 3 | 2019-12-31T21:04:04.000Z | 2021-05-30T08:08:10.000Z | pymdb/models/__init__.py | zembrodt/pymdb | 1708438630bff18ab961241657e99ad7511652e3 | [
"MIT"
] | 14 | 2019-11-18T21:52:24.000Z | 2021-05-30T17:03:09.000Z | pymdb/models/__init__.py | zembrodt/pymdb | 1708438630bff18ab961241657e99ad7511652e3 | [
"MIT"
] | null | null | null | from .company import *
from .name import *
from .search import *
from .title import *
| 17.2 | 22 | 0.72093 | 12 | 86 | 5.166667 | 0.5 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 4 | 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 | 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 |
c5246b46e0bd37dec7891ba012342adb64f9ae28 | 2,780 | py | Python | public/certificate_script/certificate.py | mbcse/BLOCK_ERP | 752c4bbb0690640671708148b25d0745f7ae5bbd | [
"FTL"
] | 2 | 2020-09-20T07:39:47.000Z | 2021-04-03T09:02:26.000Z | public/certificate_script/certificate.py | mbcse/BLOCK_ERP | 752c4bbb0690640671708148b25d0745f7ae5bbd | [
"FTL"
] | null | null | null | public/certificate_script/certificate.py | mbcse/BLOCK_ERP | 752c4bbb0690640671708148b25d0745f7ae5bbd | [
"FTL"
] | 2 | 2020-08-04T13:44:21.000Z | 2021-08-09T06:44:18.000Z | from PIL import Image, ImageDraw, ImageFont
import sys
try:
if(sys.argv[1]=='PRIVATE USE'):
im = Image.open("./public/certificate_script/certif.jpg")
seal_image=Image.open("./public/certificate_script/seal.jpg")
d = ImageDraw.Draw(im)
location0=(1100,778)
location1=(1211,815)... | 42.769231 | 72 | 0.606835 | 383 | 2,780 | 4.321149 | 0.261097 | 0.088822 | 0.14139 | 0.184894 | 0.770997 | 0.770997 | 0.729909 | 0.729909 | 0.729909 | 0.729909 | 0 | 0.095705 | 0.229496 | 2,780 | 65 | 73 | 42.769231 | 0.676937 | 0 | 0 | 0.584615 | 0 | 0 | 0.11183 | 0.074793 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030769 | 0 | 0.030769 | 0.076923 | 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 |
c5686cdd47e1c7c846f2b5eef6b7f53f4768ffb7 | 82 | py | Python | src/puzzle/pdql/_query.py | PhilHarnish/forge | 663f19d759b94d84935c14915922070635a4af65 | [
"MIT"
] | 2 | 2020-08-18T18:43:09.000Z | 2020-08-18T20:05:59.000Z | src/puzzle/pdql/_query.py | PhilHarnish/forge | 663f19d759b94d84935c14915922070635a4af65 | [
"MIT"
] | null | null | null | src/puzzle/pdql/_query.py | PhilHarnish/forge | 663f19d759b94d84935c14915922070635a4af65 | [
"MIT"
] | null | null | null | from puzzle.pdql import _stream
class _QueryMixin(_stream._StreamMixin):
pass
| 13.666667 | 40 | 0.804878 | 10 | 82 | 6.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 82 | 5 | 41 | 16.4 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c57900486cdd838ac66ad1f32f4be30a5e1fb5e8 | 181 | py | Python | django_mri/analysis/specifications/yalab/__init__.py | GalBenZvi/django_mri | 558e9187a6ba18b7ba69aced919a6f94d066a2fc | [
"Apache-2.0"
] | 4 | 2020-07-27T20:33:54.000Z | 2022-01-11T20:24:03.000Z | django_mri/analysis/specifications/yalab/__init__.py | GalBenZvi/django_mri | 558e9187a6ba18b7ba69aced919a6f94d066a2fc | [
"Apache-2.0"
] | 107 | 2019-09-04T11:38:46.000Z | 2022-03-04T13:59:51.000Z | django_mri/analysis/specifications/yalab/__init__.py | GalBenZvi/django_mri | 558e9187a6ba18b7ba69aced919a6f94d066a2fc | [
"Apache-2.0"
] | 2 | 2019-08-16T10:06:13.000Z | 2019-08-30T15:42:45.000Z | from django_mri.analysis.specifications.yalab.mutual_information_score import (
MUTUAL_INFORMATION_SCORE_INPUT_SPECIFICATION,
MUTUAL_INFORMATION_SCORE_OUTPUT_SPECIFICATION)
| 45.25 | 79 | 0.883978 | 20 | 181 | 7.45 | 0.65 | 0.342282 | 0.442953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077348 | 181 | 3 | 80 | 60.333333 | 0.892216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3de87e2ea5010972c4288d6e3a9dcc735327d7fa | 1,085 | py | Python | tests/unit/test_result_assertions.py | alice-biometrics/meiga | 6c9f06e7463779bfca89e6e3483a0e119c02f9ea | [
"MIT"
] | 17 | 2019-09-21T11:25:12.000Z | 2022-01-27T17:28:32.000Z | tests/unit/test_result_assertions.py | alice-biometrics/meiga | 6c9f06e7463779bfca89e6e3483a0e119c02f9ea | [
"MIT"
] | 1 | 2020-04-22T08:40:13.000Z | 2020-04-22T08:50:58.000Z | tests/unit/test_result_assertions.py | alice-biometrics/meiga | 6c9f06e7463779bfca89e6e3483a0e119c02f9ea | [
"MIT"
] | null | null | null | import pytest
from meiga import Result, Error
from meiga.assertions import assert_success, assert_failure
@pytest.mark.unit
def test_should_assert_a_success_result():
result = Result(success=5)
assert_success(result)
@pytest.mark.unit
def test_should_assert_a_success_result_checking_instance():
result ... | 26.463415 | 73 | 0.804608 | 159 | 1,085 | 5.062893 | 0.163522 | 0.119255 | 0.104348 | 0.126708 | 0.873292 | 0.873292 | 0.873292 | 0.66087 | 0.66087 | 0.645963 | 0 | 0.006224 | 0.111521 | 1,085 | 40 | 74 | 27.125 | 0.828838 | 0 | 0 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.481481 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ac92bda1aed439a92c4aac0b52e41c217632c82 | 21 | py | Python | pscan/__init__.py | Adobe-Android/port-scan | 673fff76f0a30848ac7e5c4cee6043c76ed7785a | [
"MIT"
] | 2 | 2020-01-02T16:50:03.000Z | 2020-01-04T17:13:36.000Z | pscan/__init__.py | Adobe-Android/port-scan | 673fff76f0a30848ac7e5c4cee6043c76ed7785a | [
"MIT"
] | null | null | null | pscan/__init__.py | Adobe-Android/port-scan | 673fff76f0a30848ac7e5c4cee6043c76ed7785a | [
"MIT"
] | null | null | null |
from .pscan import * | 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 2 | 20 | 10.5 | 0.882353 | 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 |
b127bf924e562ae64612e94b91bbc4730b21f381 | 159 | py | Python | github_rules/github_repo_created.py | panther-labs/panther-cli | 4e5c0a21570e1a02dada990fd91e324416afac96 | [
"MIT"
] | 4 | 2019-10-17T19:33:29.000Z | 2019-10-21T15:23:30.000Z | github_rules/github_repo_created.py | panther-labs/panther-cli | 4e5c0a21570e1a02dada990fd91e324416afac96 | [
"MIT"
] | null | null | null | github_rules/github_repo_created.py | panther-labs/panther-cli | 4e5c0a21570e1a02dada990fd91e324416afac96 | [
"MIT"
] | null | null | null | def rule(event):
return event.get("action") == "repo.create"
def title(event):
return f"Repository [{event.get('repo', '<UNKNOWN_REPO>')}] created."
| 22.714286 | 73 | 0.647799 | 21 | 159 | 4.857143 | 0.619048 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144654 | 159 | 6 | 74 | 26.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.477987 | 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 |
b135e368972d0488d617417bac88096a3915435c | 295 | py | Python | python/testData/inspections/PyCompatibilityInspection/numericLiteralExpression.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/inspections/PyCompatibilityInspection/numericLiteralExpression.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyCompatibilityInspection/numericLiteralExpression.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 1 | 2018-10-03T12:35:06.000Z | 2018-10-03T12:35:06.000Z | a = <warning descr="Python version 3.4, 3.5, 3.6, 3.7 do not support a trailing 'l' or 'L'.">12l</warning>
v = <warning descr="Python version 3.4, 3.5, 3.6, 3.7 do not support this syntax. It requires '0o' prefix for octal literals">04</warning><error descr="End of statement expected">8</error> | 147.5 | 188 | 0.698305 | 58 | 295 | 3.551724 | 0.586207 | 0.116505 | 0.174757 | 0.242718 | 0.436893 | 0.436893 | 0.436893 | 0.436893 | 0.436893 | 0.436893 | 0 | 0.086614 | 0.138983 | 295 | 2 | 188 | 147.5 | 0.724409 | 0 | 0 | 0 | 0 | 1 | 0.675676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1543c94013143b68e2de1e68f2a107c0b873609 | 147 | py | Python | src/index.py | hamit-zor/sd-computer-vision-api | ed39c90229bdc1be3f1a1d7caa05ba7c5591ef7b | [
"MIT"
] | 1 | 2021-11-27T19:19:20.000Z | 2021-11-27T19:19:20.000Z | src/index.py | hamit-zor/sd-computer-vision-api | ed39c90229bdc1be3f1a1d7caa05ba7c5591ef7b | [
"MIT"
] | null | null | null | src/index.py | hamit-zor/sd-computer-vision-api | ed39c90229bdc1be3f1a1d7caa05ba7c5591ef7b | [
"MIT"
] | null | null | null | import json
from server import start_server
from config_loader import config
start_server(config["cv_api"]["hostname"], config["cv_api"]["port"])
| 24.5 | 68 | 0.782313 | 22 | 147 | 5 | 0.5 | 0.2 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088435 | 147 | 5 | 69 | 29.4 | 0.820896 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
b170a619ff7f6f809462de9281cb5ffcfe8e935f | 47 | py | Python | bindings/python/pytests/pytests/utils/__init__.py | caufieldjh/ensmallen_graph | 14e98b1cdbc73193a84a913d7d4f2b2b3eb2c43a | [
"MIT"
] | null | null | null | bindings/python/pytests/pytests/utils/__init__.py | caufieldjh/ensmallen_graph | 14e98b1cdbc73193a84a913d7d4f2b2b3eb2c43a | [
"MIT"
] | null | null | null | bindings/python/pytests/pytests/utils/__init__.py | caufieldjh/ensmallen_graph | 14e98b1cdbc73193a84a913d7d4f2b2b3eb2c43a | [
"MIT"
] | null | null | null | from .load_graphs import load_hpo, load_pathway | 47 | 47 | 0.87234 | 8 | 47 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.883721 | 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 |
49488fdd2eb8e5ed9eaa1a35c17d84fe04489c99 | 608 | py | Python | pyrism/Functionals/functional_routines.py | 2AUK/pyrism | 7067fa7a261adc2faabcffbcb2d40d395e42a3c8 | [
"MIT"
] | 4 | 2020-10-26T14:32:08.000Z | 2021-03-26T01:23:37.000Z | pyrism/Functionals/functional_routines.py | 2AUK/pyrism | 7067fa7a261adc2faabcffbcb2d40d395e42a3c8 | [
"MIT"
] | 1 | 2021-09-17T18:21:19.000Z | 2021-11-22T00:01:46.000Z | pyrism/Functionals/functional_routines.py | 2AUK/pyrism | 7067fa7a261adc2faabcffbcb2d40d395e42a3c8 | [
"MIT"
] | 1 | 2022-03-08T12:00:35.000Z | 2022-03-08T12:00:35.000Z | import numpy as np
from Core import RISM_Obj
def Gaussian_Fluctuations(data):
mu = 4.0 * np.pi * data.grid.d_r * -1.0 * np.sum(np.power(data.grid.ri, 2)[:, np.newaxis, np.newaxis] *
((0.5 * data.c * data.h) + data.c) @ data.p[np.newaxis, ...])
return mu / d... | 43.428571 | 114 | 0.511513 | 97 | 608 | 3.154639 | 0.360825 | 0.176471 | 0.088235 | 0.052288 | 0.732026 | 0.732026 | 0.732026 | 0.732026 | 0.732026 | 0.732026 | 0 | 0.028708 | 0.3125 | 608 | 13 | 115 | 46.769231 | 0.703349 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b8c7768bce7ad80ff2de400290368bedb193bfa6 | 42 | py | Python | Problems/2.variables_and_data_types/dividing_numbers.py | wilpola/Introduction-to-programming_Python3 | c7c684167806ec87e22d5bb5ca31d7e8f9d328f1 | [
"MIT"
] | null | null | null | Problems/2.variables_and_data_types/dividing_numbers.py | wilpola/Introduction-to-programming_Python3 | c7c684167806ec87e22d5bb5ca31d7e8f9d328f1 | [
"MIT"
] | null | null | null | Problems/2.variables_and_data_types/dividing_numbers.py | wilpola/Introduction-to-programming_Python3 | c7c684167806ec87e22d5bb5ca31d7e8f9d328f1 | [
"MIT"
] | null | null | null | a = 1
b = 1.0
c = 4
d = 4.0
print (b / d) | 7 | 13 | 0.404762 | 13 | 42 | 1.307692 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.380952 | 42 | 6 | 13 | 7 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b8f243535bfe069572094886a70afaa9fece4eae | 108 | py | Python | src/resources/__init__.py | ns-iknox/Salesforce_OAuth_Toy | c3ec1293fb455afa2503ae97e76eb15173447990 | [
"MIT"
] | null | null | null | src/resources/__init__.py | ns-iknox/Salesforce_OAuth_Toy | c3ec1293fb455afa2503ae97e76eb15173447990 | [
"MIT"
] | 1 | 2021-06-02T00:50:31.000Z | 2021-06-02T00:50:31.000Z | src/resources/__init__.py | ns-iknox/Salesforce_OAuth_Toy | c3ec1293fb455afa2503ae97e76eb15173447990 | [
"MIT"
] | null | null | null | from src.resources.Login import LoginResource
from src.resources.OAuthCallback import OAuthCallbackResource
| 36 | 61 | 0.888889 | 12 | 108 | 8 | 0.666667 | 0.145833 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 2 | 62 | 54 | 0.96 | 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 |
770474b098a7406151206983577a1fcbe800dd9b | 47 | py | Python | src/repositories/__init__.py | aroopghoshtarento/Food_Recognition_API | d97cbce4f94215cdadc0da2bdd9bb66422e8cf11 | [
"MIT"
] | null | null | null | src/repositories/__init__.py | aroopghoshtarento/Food_Recognition_API | d97cbce4f94215cdadc0da2bdd9bb66422e8cf11 | [
"MIT"
] | 9 | 2020-09-26T01:03:03.000Z | 2022-03-12T00:27:32.000Z | src/repositories/__init__.py | aroopghoshtarento/Food_Recognition_API | d97cbce4f94215cdadc0da2bdd9bb66422e8cf11 | [
"MIT"
] | null | null | null | from .food_recognition import FoodRecognition
| 23.5 | 46 | 0.87234 | 5 | 47 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 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 |
77260498ea700c06381f12f1f78a453829eb4a7a | 100 | py | Python | asaplib/descriptors/__init__.py | BingqingCheng/ASAP | a92dd34eaa092dcbe46163e000ebd2ccee22f8ae | [
"MIT"
] | 74 | 2020-01-09T10:38:39.000Z | 2022-03-04T15:09:05.000Z | asaplib/descriptors/__init__.py | FelixWodaczek/ASAP | d34a064cd7e409ad8b5ae0dec4f1c0a621717773 | [
"MIT"
] | 31 | 2020-01-30T13:15:42.000Z | 2022-03-03T05:42:51.000Z | asaplib/descriptors/__init__.py | FelixWodaczek/ASAP | d34a064cd7e409ad8b5ae0dec4f1c0a621717773 | [
"MIT"
] | 14 | 2020-02-23T15:03:31.000Z | 2022-03-04T15:04:04.000Z | from .atomic_descriptors import *
from .atomic_to_global import *
from .global_descriptors import *
| 25 | 33 | 0.82 | 13 | 100 | 6 | 0.461538 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 3 | 34 | 33.333333 | 0.886364 | 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 |
772e1f1d80c9de5be13e58f19d47234afdadd37b | 24 | py | Python | ride_test/users/models/__init__.py | bmonsalves/ride-test | ff8c13c7c8437e3e02b94e4b8e03e6f065dbd43e | [
"MIT"
] | 1 | 2020-10-17T03:39:56.000Z | 2020-10-17T03:39:56.000Z | ride_test/users/models/__init__.py | bmonsalves/ride-test | ff8c13c7c8437e3e02b94e4b8e03e6f065dbd43e | [
"MIT"
] | 13 | 2018-09-29T21:34:25.000Z | 2018-12-15T18:54:52.000Z | ride_test/users/models/__init__.py | bmonsalves/ride-test | ff8c13c7c8437e3e02b94e4b8e03e6f065dbd43e | [
"MIT"
] | 1 | 2021-11-18T21:55:38.000Z | 2021-11-18T21:55:38.000Z | from .users import User
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
774eb77bf8557394aa60d0dc31f9290294544b69 | 99,191 | py | Python | koapy/backend/kiwoom_open_api_plus/grpc/KiwoomOpenApiPlusService_pb2.py | taehoon1/koapy | 6fb7c3a8245dcdf537b2eaef1624b2b1e04c6abc | [
"MIT"
] | null | null | null | koapy/backend/kiwoom_open_api_plus/grpc/KiwoomOpenApiPlusService_pb2.py | taehoon1/koapy | 6fb7c3a8245dcdf537b2eaef1624b2b1e04c6abc | [
"MIT"
] | null | null | null | koapy/backend/kiwoom_open_api_plus/grpc/KiwoomOpenApiPlusService_pb2.py | taehoon1/koapy | 6fb7c3a8245dcdf537b2eaef1624b2b1e04c6abc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: koapy/backend/kiwoom_open_api_plus/grpc/KiwoomOpenApiPlusService.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from goog... | 47.09924 | 9,509 | 0.782944 | 12,106 | 99,191 | 6.047828 | 0.043697 | 0.035184 | 0.063853 | 0.075121 | 0.78066 | 0.752551 | 0.736557 | 0.727365 | 0.696756 | 0.683139 | 0 | 0.029435 | 0.102983 | 99,191 | 2,105 | 9,510 | 47.121615 | 0.793427 | 0.036183 | 0 | 0.68734 | 1 | 0.053306 | 0.231221 | 0.18865 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.008201 | 0.002563 | 0 | 0.002563 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91f78fd259f58933940dae677b272e075559d09d | 35,419 | py | Python | midonet/neutron/tests/unit/test_extension_gateway_device.py | NeCTAR-RC/networking-midonet | 7a69af3eab25f57e77738fd8398b6f4854346fd9 | [
"Apache-2.0"
] | null | null | null | midonet/neutron/tests/unit/test_extension_gateway_device.py | NeCTAR-RC/networking-midonet | 7a69af3eab25f57e77738fd8398b6f4854346fd9 | [
"Apache-2.0"
] | null | null | null | midonet/neutron/tests/unit/test_extension_gateway_device.py | NeCTAR-RC/networking-midonet | 7a69af3eab25f57e77738fd8398b6f4854346fd9 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2015 Midokura SARL.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | 50.31108 | 79 | 0.584263 | 3,919 | 35,419 | 4.868844 | 0.059454 | 0.111734 | 0.042817 | 0.044966 | 0.846392 | 0.821445 | 0.804832 | 0.791154 | 0.771553 | 0.756407 | 0 | 0.003882 | 0.330868 | 35,419 | 703 | 80 | 50.382646 | 0.801224 | 0.021457 | 0 | 0.649587 | 0 | 0 | 0.084642 | 0.000751 | 0 | 0 | 0 | 0 | 0.084298 | 1 | 0.099174 | false | 0.003306 | 0.013223 | 0.003306 | 0.13719 | 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 |
621ceb3861232f6b854960169ce45e1c01f25fff | 29 | py | Python | dataset/pan_pp/charset/__init__.py | GaroneHuang/pan_pp.pytorch | dde41ad652179433ad8a9650f671dc6742b783f9 | [
"Apache-2.0"
] | null | null | null | dataset/pan_pp/charset/__init__.py | GaroneHuang/pan_pp.pytorch | dde41ad652179433ad8a9650f671dc6742b783f9 | [
"Apache-2.0"
] | null | null | null | dataset/pan_pp/charset/__init__.py | GaroneHuang/pan_pp.pytorch | dde41ad652179433ad8a9650f671dc6742b783f9 | [
"Apache-2.0"
] | null | null | null | from .charset import charset
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 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 |
6269647b451efc6efcd165a11445952670d6d1c2 | 2,320 | py | Python | skywinder/utils/tests/test_watchdog.py | PolarMesosphericClouds/SkyWinder | ee136cffca167905ebcd3edf88e2c7456b56a51a | [
"BSD-3-Clause"
] | null | null | null | skywinder/utils/tests/test_watchdog.py | PolarMesosphericClouds/SkyWinder | ee136cffca167905ebcd3edf88e2c7456b56a51a | [
"BSD-3-Clause"
] | null | null | null | skywinder/utils/tests/test_watchdog.py | PolarMesosphericClouds/SkyWinder | ee136cffca167905ebcd3edf88e2c7456b56a51a | [
"BSD-3-Clause"
] | null | null | null | from skywinder.utils.watchdog import parse_watchdog_info, get_watchdog_info
test_case_1 = """Timer Use: SMS/OS
Timer: Stopped
Logging: Enabled
Timeout Action: Power Cycle
Pre-Timeout Interrupt: None
Pre-Timeout Interval: 0 seconds
Tim... | 34.626866 | 87 | 0.668966 | 299 | 2,320 | 5.006689 | 0.167224 | 0.096192 | 0.12024 | 0.136273 | 0.784235 | 0.733467 | 0.733467 | 0.700735 | 0.700735 | 0.625919 | 0 | 0.021557 | 0.280172 | 2,320 | 66 | 88 | 35.151515 | 0.87485 | 0 | 0 | 0.6 | 0 | 0 | 0.618966 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.066667 | false | 0 | 0.016667 | 0 | 0.083333 | 0.016667 | 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 |
65788fc16977abfae889a0008cb29c0b8511405e | 146 | py | Python | app/views/__init__.py | iu5team/rms | 179bba96fd72eacb89e01f8d75d9ab6a4e4a875a | [
"MIT"
] | null | null | null | app/views/__init__.py | iu5team/rms | 179bba96fd72eacb89e01f8d75d9ab6a4e4a875a | [
"MIT"
] | 38 | 2016-04-06T10:29:45.000Z | 2016-05-18T19:50:20.000Z | app/views/__init__.py | iu5team/rms | 179bba96fd72eacb89e01f8d75d9ab6a4e4a875a | [
"MIT"
] | null | null | null | import app.views.index
import app.views.employee
import app.views.task
import app.views.gantt
import app.views.position
import app.views.calendar
| 20.857143 | 25 | 0.835616 | 24 | 146 | 5.083333 | 0.375 | 0.442623 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 146 | 6 | 26 | 24.333333 | 0.910448 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.