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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0b34134d74f22e15bbdb170c66e2ea3617d99749 | 45 | py | Python | ginger/app/validators/__init__.py | fanghongliang/PythonProject | 690b4a0c4dba88bbe992e9922a86b5dd345cc381 | [
"MIT"
] | 1 | 2020-09-14T12:39:28.000Z | 2020-09-14T12:39:28.000Z | ginger/app/validators/__init__.py | fanghongliang/PythonProject | 690b4a0c4dba88bbe992e9922a86b5dd345cc381 | [
"MIT"
] | null | null | null | ginger/app/validators/__init__.py | fanghongliang/PythonProject | 690b4a0c4dba88bbe992e9922a86b5dd345cc381 | [
"MIT"
] | null | null | null | """
Created by Fanghl on 2020/9/10 15:19
"""
| 11.25 | 36 | 0.622222 | 9 | 45 | 3.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297297 | 0.177778 | 45 | 3 | 37 | 15 | 0.459459 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b5aa5943185bf52209d70c09bbc81aa55365592 | 77 | py | Python | etl_server/__init__.py | akariv/airflow-config-ui | d0f1d93ef1fb4eb2ca8e62eebc0fc124d0b3fe59 | [
"MIT"
] | 1 | 2021-07-01T22:11:02.000Z | 2021-07-01T22:11:02.000Z | etl_server/__init__.py | datopian/ckan-ng-harvest-app | d0f1d93ef1fb4eb2ca8e62eebc0fc124d0b3fe59 | [
"MIT"
] | 5 | 2021-03-10T06:16:48.000Z | 2022-03-02T07:11:32.000Z | etl_server/__init__.py | datopian/ckan-ng-harvest-app | d0f1d93ef1fb4eb2ca8e62eebc0fc124d0b3fe59 | [
"MIT"
] | 1 | 2020-02-16T07:39:08.000Z | 2020-02-16T07:39:08.000Z | from .blueprint import make_blueprint #noqa
from .models import Models #noqa
| 25.666667 | 43 | 0.818182 | 11 | 77 | 5.636364 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 2 | 44 | 38.5 | 0.925373 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
0b72940dbaf02134ac6975d179a7a9dcb195f8ae | 229 | py | Python | radiomicsfeatureextractionpipeline/backend/test/mock_ups/dal/sqlite/image_repository_sqlite.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | null | null | null | radiomicsfeatureextractionpipeline/backend/test/mock_ups/dal/sqlite/image_repository_sqlite.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | 6 | 2021-06-09T19:39:27.000Z | 2021-09-30T16:41:40.000Z | radiomicsfeatureextractionpipeline/backend/test/mock_ups/dal/sqlite/image_repository_sqlite.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | null | null | null | from dal.sqlite.image_repository_sqlite import ImageRepositorySqlite
from test.mock_ups.dal.image_repository import ImageRepositoryMockUp
class ImageRepositorySqliteMockUp(ImageRepositorySqlite, ImageRepositoryMockUp):
pass | 38.166667 | 80 | 0.886463 | 22 | 229 | 9.045455 | 0.636364 | 0.150754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074236 | 229 | 6 | 81 | 38.166667 | 0.938679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0b8aa192fa63f2fe66c68389f1e28e0d5889c198 | 20,086 | py | Python | augur/metrics/pull_request/routes.py | Claire-Hough/augur | b48d246a8959f62473c8e898148a2113772a700c | [
"MIT"
] | 3 | 2019-10-31T19:07:48.000Z | 2019-11-20T23:14:15.000Z | augur/metrics/pull_request/routes.py | Claire-Hough/augur | b48d246a8959f62473c8e898148a2113772a700c | [
"MIT"
] | 3 | 2019-12-03T21:21:17.000Z | 2019-12-05T15:26:22.000Z | augur/metrics/pull_request/routes.py | Claire-Hough/augur | b48d246a8959f62473c8e898148a2113772a700c | [
"MIT"
] | 4 | 2019-11-05T20:22:12.000Z | 2019-12-12T18:08:30.000Z | from flask import Response
def create_pull_request_routes(server):
metrics = server._augur.metrics
"""
@api {get} /repo-groups/:repo_group_id/reviews Reviews (Repo Group)
@apiName reviews-repo-group
@apiGroup Evolution
@apiDescription Time series of number of new reviews / pull requests opene... | 52.857895 | 168 | 0.51618 | 2,077 | 20,086 | 4.891671 | 0.093885 | 0.070276 | 0.02126 | 0.044882 | 0.89065 | 0.873524 | 0.835433 | 0.826476 | 0.819193 | 0.801575 | 0 | 0.110946 | 0.36503 | 20,086 | 379 | 169 | 52.997361 | 0.685667 | 0 | 0 | 0.117647 | 0 | 0 | 0.20155 | 0.108527 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 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 |
0b946f12e9e6c996fd41e2a3fe1898c4f9847e18 | 10,619 | py | Python | tests/test_observable/test_map.py | yutiansut/RxPY | c3bbba77f9ebd7706c949141725e220096deabd4 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/test_observable/test_map.py | yutiansut/RxPY | c3bbba77f9ebd7706c949141725e220096deabd4 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/test_observable/test_map.py | yutiansut/RxPY | c3bbba77f9ebd7706c949141725e220096deabd4 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import unittest
from datetime import datetime
from rx.core import Observable
from rx.testing import TestScheduler, ReactiveTest
from rx.disposables import SerialDisposable
on_next = ReactiveTest.on_next
on_completed = ReactiveTest.on_completed
on_error = ReactiveTest.on_error
subscribe = ReactiveTest.subscribe
subscr... | 37.129371 | 210 | 0.581693 | 1,339 | 10,619 | 4.442868 | 0.085138 | 0.09884 | 0.027231 | 0.036981 | 0.846697 | 0.832577 | 0.796268 | 0.75996 | 0.712389 | 0.706169 | 0 | 0.083731 | 0.289199 | 10,619 | 285 | 211 | 37.259649 | 0.704425 | 0.007345 | 0 | 0.652968 | 0 | 0 | 0.004365 | 0 | 0 | 0 | 0 | 0 | 0.187215 | 1 | 0.16895 | false | 0.004566 | 0.022831 | 0.009132 | 0.319635 | 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 |
0bbc9b62ad4a032e66215f06ffbd2fdb80a671a3 | 194 | py | Python | f5/__init__.py | tdevelioglu/python-f5 | 34abc6f95000746c36a6e37a9f0416b0c42ab7d7 | [
"Apache-2.0"
] | 17 | 2015-03-13T18:52:33.000Z | 2019-10-04T21:19:02.000Z | f5/__init__.py | tdevelioglu/python-f5 | 34abc6f95000746c36a6e37a9f0416b0c42ab7d7 | [
"Apache-2.0"
] | 4 | 2016-01-25T01:51:53.000Z | 2016-05-06T23:16:52.000Z | f5/__init__.py | tdevelioglu/python-f5 | 34abc6f95000746c36a6e37a9f0416b0c42ab7d7 | [
"Apache-2.0"
] | 11 | 2015-04-20T11:58:58.000Z | 2020-01-10T01:58:23.000Z | from f5.lb import Lb
from f5.node import Node
from f5.node import NodeList
from f5.pool import Pool
from f5.poolmember import PoolMember
from f5.rule import Rule
from f5.vs import VirtualServer
| 24.25 | 36 | 0.819588 | 35 | 194 | 4.542857 | 0.314286 | 0.264151 | 0.125786 | 0.201258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042169 | 0.14433 | 194 | 7 | 37 | 27.714286 | 0.915663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f024588d75b22fdb183d4f087e7fbc34c8e41866 | 107,593 | py | Python | rewiredcarbon/efficiency.py | barstowlab/rewiredcarbon | d37973436443f5af62155bc2b8a42300aed27099 | [
"MIT"
] | 1 | 2020-06-24T02:50:04.000Z | 2020-06-24T02:50:04.000Z | rewiredcarbon/efficiency.py | barstowlab/rewiredcarbon | d37973436443f5af62155bc2b8a42300aed27099 | [
"MIT"
] | null | null | null | rewiredcarbon/efficiency.py | barstowlab/rewiredcarbon | d37973436443f5af62155bc2b8a42300aed27099 | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------------------------ #
# efficiency.py
# Buz Barstow
# Created: 2017-10-26
# Last Update: 2018-06-27 by Farshid Salimijazi
# Last Update: 2018-07-22 by Buz Barstow
# Last Update: 2018-07-26 by Farshid Salimijazi
# Update: 2019-06-01 by Buz Ba... | 46.637625 | 105 | 0.758739 | 8,007 | 107,593 | 10.085051 | 0.089047 | 0.036421 | 0.020062 | 0.022737 | 0.76882 | 0.750839 | 0.722604 | 0.70518 | 0.686964 | 0.664165 | 0 | 0.010417 | 0.098845 | 107,593 | 2,306 | 106 | 46.657849 | 0.822428 | 0.194381 | 0 | 0.701964 | 0 | 0 | 0.085029 | 0.025836 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026648 | false | 0 | 0.081346 | 0 | 0.137447 | 0.008415 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 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 |
f02c3e08d27b9b1a7ff4b23914fd025f94f97e6c | 21 | py | Python | ltime/__init__.py | fanjindong/ltime | c17025ceb4ed0e423162e3c302fc777fcdada7df | [
"MIT"
] | null | null | null | ltime/__init__.py | fanjindong/ltime | c17025ceb4ed0e423162e3c302fc777fcdada7df | [
"MIT"
] | null | null | null | ltime/__init__.py | fanjindong/ltime | c17025ceb4ed0e423162e3c302fc777fcdada7df | [
"MIT"
] | null | null | null | from .ltime import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 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 |
b2c9e029800e372eb3242aa28e1b5e200bb3427d | 25 | py | Python | python/testData/inspections/PyTupleItemAssignmentInspection/src/test.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyTupleItemAssignmentInspection/src/test.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyTupleItemAssignmentInspection/src/test.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | t = (1, 2, 3, 4)
t[0] = 4 | 12.5 | 16 | 0.32 | 8 | 25 | 1 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 0.32 | 25 | 2 | 17 | 12.5 | 0.117647 | 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 |
b2d558e8f861088aa85495d34a52b57ad766b1a1 | 5,121 | py | Python | tests/ctc/toolbox/test_amm_utils.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | tests/ctc/toolbox/test_amm_utils.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | tests/ctc/toolbox/test_amm_utils.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | import pytest
import numpy as np
from ctc.toolbox.amm_utils import cpmm
from ctc.toolbox import validate_utils
x_reserves = 1e6
y_reserves = 1e3
@pytest.mark.parametrize('x_sold', [1e1, 1e6, 1e10])
def test_trade_x_sold(x_sold):
result = cpmm.trade(
x_reserves=x_reserves,
y_reserves=y_reserves... | 29.096591 | 78 | 0.646944 | 697 | 5,121 | 4.391679 | 0.113343 | 0.14113 | 0.188827 | 0.117609 | 0.81738 | 0.785691 | 0.748448 | 0.701405 | 0.662202 | 0.631166 | 0 | 0.01521 | 0.242531 | 5,121 | 175 | 79 | 29.262857 | 0.773911 | 0.051748 | 0 | 0.474074 | 0 | 0 | 0.114068 | 0 | 0 | 0 | 0 | 0 | 0.103704 | 1 | 0.059259 | false | 0 | 0.02963 | 0 | 0.088889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
652e1fad976e619e96509083d222f292c6435f36 | 106 | py | Python | compose/__init__.py | kvalev/compose | d90e96f9bb9b2835e1b60def00ae77e9693d31cb | [
"Apache-2.0"
] | 7 | 2022-01-27T16:34:50.000Z | 2022-02-09T18:45:15.000Z | compose/__init__.py | kvalev/compose | d90e96f9bb9b2835e1b60def00ae77e9693d31cb | [
"Apache-2.0"
] | 2 | 2021-03-25T22:19:31.000Z | 2021-06-01T23:11:11.000Z | compose/__init__.py | kvalev/compose | d90e96f9bb9b2835e1b60def00ae77e9693d31cb | [
"Apache-2.0"
] | 1 | 2020-02-18T07:31:49.000Z | 2020-02-18T07:31:49.000Z | from __future__ import absolute_import
from __future__ import unicode_literals
__version__ = '1.24.0dev'
| 21.2 | 39 | 0.839623 | 14 | 106 | 5.357143 | 0.714286 | 0.266667 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.113208 | 106 | 4 | 40 | 26.5 | 0.755319 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6533e1bfc94e5294d7543c16a588f8b7cd9c6a20 | 62 | py | Python | spikeextractors/extractors/waveclussortingextractor/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 145 | 2018-12-06T23:12:54.000Z | 2022-02-10T22:57:35.000Z | spikeextractors/extractors/waveclussortingextractor/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 396 | 2018-11-26T11:46:30.000Z | 2022-01-04T07:27:47.000Z | spikeextractors/extractors/waveclussortingextractor/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 67 | 2018-11-19T12:38:01.000Z | 2021-09-25T03:18:22.000Z | from .waveclussortingextractor import WaveClusSortingExtractor | 62 | 62 | 0.935484 | 4 | 62 | 14.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 62 | 1 | 62 | 62 | 0.983051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
653e493a03bfd4586e634c220d136f1b767b4ca1 | 183 | py | Python | backend/apps/common/tests/views.py | grinay/smartz | 44ca50ebcac26d5776b90b4fc96c63edfe804dfe | [
"Apache-2.0"
] | null | null | null | backend/apps/common/tests/views.py | grinay/smartz | 44ca50ebcac26d5776b90b4fc96c63edfe804dfe | [
"Apache-2.0"
] | null | null | null | backend/apps/common/tests/views.py | grinay/smartz | 44ca50ebcac26d5776b90b4fc96c63edfe804dfe | [
"Apache-2.0"
] | 1 | 2018-10-23T15:04:52.000Z | 2018-10-23T15:04:52.000Z | from smartzcore.exceptions import PublicException
def exception_view(request):
return 1/0
def public_exception_view(request):
raise PublicException("Custom public error")
| 18.3 | 49 | 0.79235 | 22 | 183 | 6.454545 | 0.727273 | 0.183099 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.142077 | 183 | 9 | 50 | 20.333333 | 0.89172 | 0 | 0 | 0 | 0 | 0 | 0.103825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3309028183247aa5e523fd5905085472473195c2 | 67 | py | Python | tinytcp/__init__.py | M-Boukhlouf/tiny-tcp | 36ad3965ec7fe95e9062860bfc392288bdefb079 | [
"MIT"
] | 7 | 2020-08-06T15:04:24.000Z | 2021-06-01T15:14:04.000Z | tinytcp/__init__.py | M-Boukhlouf/tiny-tcp | 36ad3965ec7fe95e9062860bfc392288bdefb079 | [
"MIT"
] | null | null | null | tinytcp/__init__.py | M-Boukhlouf/tiny-tcp | 36ad3965ec7fe95e9062860bfc392288bdefb079 | [
"MIT"
] | 1 | 2020-12-10T17:16:22.000Z | 2020-12-10T17:16:22.000Z | from .tcp_client import TcpClient
from .tcp_server import TcpServer | 33.5 | 33 | 0.865672 | 10 | 67 | 5.6 | 0.7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 2 | 34 | 33.5 | 0.933333 | 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 |
330b63f900892732b8897dbe71dacaf1263c1b5f | 2,327 | py | Python | samples/analyzer_level/mainframe/mainframe.quality_rule/tests/test_paragraph_redefined.py | CAST-projects/Extension-SDK | 7d9233d8e94bf72d3dd516257bc16838f35307ab | [
"MIT"
] | 3 | 2017-09-24T21:21:37.000Z | 2022-03-09T04:08:46.000Z | samples/analyzer_level/mainframe/mainframe.quality_rule/tests/test_paragraph_redefined.py | CAST-projects/Extension-SDK | 7d9233d8e94bf72d3dd516257bc16838f35307ab | [
"MIT"
] | null | null | null | samples/analyzer_level/mainframe/mainframe.quality_rule/tests/test_paragraph_redefined.py | CAST-projects/Extension-SDK | 7d9233d8e94bf72d3dd516257bc16838f35307ab | [
"MIT"
] | 4 | 2016-09-06T06:24:41.000Z | 2020-01-28T17:17:16.000Z | import unittest
from cast.analysers.test import MainframeTestAnalysis
class Test(unittest.TestCase):
def test_ok1(self):
analysis = MainframeTestAnalysis()
analysis.add_dependency(r'C:\ProgramData\CAST\CAST\Extensions\com.castsoftware.mainframe.1.0.0-alpha1')
analysis.add_se... | 39.440678 | 111 | 0.695746 | 245 | 2,327 | 6.363265 | 0.22449 | 0.056446 | 0.08467 | 0.105196 | 0.902502 | 0.902502 | 0.902502 | 0.902502 | 0.902502 | 0.902502 | 0 | 0.014981 | 0.19682 | 2,327 | 59 | 112 | 39.440678 | 0.819155 | 0.04942 | 0 | 0.648649 | 0 | 0.108108 | 0.321818 | 0.310909 | 0 | 0 | 0 | 0 | 0.216216 | 1 | 0.108108 | false | 0 | 0.054054 | 0 | 0.189189 | 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 |
331124ab15792138677d08bb84bff000d0ab0e68 | 31 | py | Python | libsaas/services/uservoice/__init__.py | MidtownFellowship/libsaas | 541bb731b996b08ede1d91a235cb82895765c38a | [
"MIT"
] | 155 | 2015-01-27T15:17:59.000Z | 2022-02-20T00:14:08.000Z | libsaas/services/uservoice/__init__.py | MidtownFellowship/libsaas | 541bb731b996b08ede1d91a235cb82895765c38a | [
"MIT"
] | 14 | 2015-01-12T08:22:37.000Z | 2021-06-16T19:49:31.000Z | libsaas/services/uservoice/__init__.py | MidtownFellowship/libsaas | 541bb731b996b08ede1d91a235cb82895765c38a | [
"MIT"
] | 43 | 2015-01-28T22:41:45.000Z | 2021-09-21T04:44:26.000Z | from .service import UserVoice
| 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 |
331bb13b576ff50629c6507d7c6932b5a577c757 | 21,092 | py | Python | _delphi_utils_python/tests/validator/test_static.py | qx-teo/covidcast-indicators | 6eabe62748a206b5e6d65f9e11c65ef1c76cdb0a | [
"MIT"
] | null | null | null | _delphi_utils_python/tests/validator/test_static.py | qx-teo/covidcast-indicators | 6eabe62748a206b5e6d65f9e11c65ef1c76cdb0a | [
"MIT"
] | null | null | null | _delphi_utils_python/tests/validator/test_static.py | qx-teo/covidcast-indicators | 6eabe62748a206b5e6d65f9e11c65ef1c76cdb0a | [
"MIT"
] | null | null | null | """Tests for static validation."""
import numpy as np
import pandas as pd
from delphi_utils.validator.datafetcher import FILENAME_REGEX
from delphi_utils.validator.report import ValidationReport
from delphi_utils.validator.static import StaticValidator
# Properly formatted file name to use in tests where the actual v... | 38.700917 | 101 | 0.623649 | 2,482 | 21,092 | 5.018533 | 0.086624 | 0.080925 | 0.106936 | 0.080925 | 0.8978 | 0.885517 | 0.874599 | 0.859184 | 0.85517 | 0.851397 | 0 | 0.031335 | 0.248009 | 21,092 | 544 | 102 | 38.772059 | 0.753988 | 0.005357 | 0 | 0.639723 | 0 | 0 | 0.111667 | 0.038287 | 0 | 0 | 0 | 0 | 0.210162 | 1 | 0.096998 | false | 0 | 0.011547 | 0 | 0.140878 | 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 |
334131e468be484f0cbb64c69e7d884a542fdf30 | 14,144 | py | Python | idl2py/wcs/ad2xy.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/wcs/ad2xy.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/wcs/ad2xy.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | """
By Dr Jie Zheng -Q, NAOC
v1 2019-04-27
"""
import numpy as np
from..util import *
def ad2xy():
pass
#pro ad2xy, a, d, astr, x, y
#;+
#; NAME:
#; AD2XY
#; PURPOSE:
#; Compute X and Y from native coordinates and a FITS astrometry structure
#; EXPLANATION:
#; If a WCS projection ... | 41.478006 | 106 | 0.527291 | 1,855 | 14,144 | 3.998383 | 0.253369 | 0.027909 | 0.010786 | 0.013752 | 0.200755 | 0.1657 | 0.120669 | 0.096939 | 0.096939 | 0.083457 | 0 | 0.04916 | 0.360011 | 14,144 | 340 | 107 | 41.6 | 0.770217 | 0.902503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6823be090920ed66d238243c70e2c5f66271d3f6 | 26 | py | Python | oswald/__init__.py | ms7m/Oswald | 7b84f7d97a02050ec266e77071a3214f69d8f4ac | [
"MIT"
] | 2 | 2019-11-18T18:45:26.000Z | 2019-11-18T18:49:34.000Z | oswald/__init__.py | ms7m/Oswald | 7b84f7d97a02050ec266e77071a3214f69d8f4ac | [
"MIT"
] | null | null | null | oswald/__init__.py | ms7m/Oswald | 7b84f7d97a02050ec266e77071a3214f69d8f4ac | [
"MIT"
] | null | null | null | from .oswald import Oswald | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
682db2dd4cdaffb49ff30ba4663fb522f9a75490 | 136 | py | Python | BiddingGameLocalAJ/pricingsimulation/tests.py | mraogunturi/bidding | bfdce9a10ecdc5d6141ccd2adca1bd1832af6936 | [
"Apache-2.0"
] | null | null | null | BiddingGameLocalAJ/pricingsimulation/tests.py | mraogunturi/bidding | bfdce9a10ecdc5d6141ccd2adca1bd1832af6936 | [
"Apache-2.0"
] | null | null | null | BiddingGameLocalAJ/pricingsimulation/tests.py | mraogunturi/bidding | bfdce9a10ecdc5d6141ccd2adca1bd1832af6936 | [
"Apache-2.0"
] | null | null | null | from django.test import TestCase
from pricingsimulation import models
from pricingsimulation.models import *
# Create your tests here.
| 22.666667 | 38 | 0.830882 | 17 | 136 | 6.647059 | 0.647059 | 0.371681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 136 | 5 | 39 | 27.2 | 0.957627 | 0.169118 | 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 |
6831b7ffdb60e280208b83c5154e418ecd346a0f | 158 | py | Python | aiohue/__init__.py | BenoitAnastay/aiohue | 1f0ce96b1fbfd098c34e4913c1ea3b16437e0c8f | [
"Apache-2.0"
] | 14 | 2018-03-02T15:39:19.000Z | 2020-02-25T12:52:40.000Z | aiohue/__init__.py | BenoitAnastay/aiohue | 1f0ce96b1fbfd098c34e4913c1ea3b16437e0c8f | [
"Apache-2.0"
] | 16 | 2018-03-19T15:02:18.000Z | 2020-02-08T02:06:07.000Z | aiohue/__init__.py | BenoitAnastay/aiohue | 1f0ce96b1fbfd098c34e4913c1ea3b16437e0c8f | [
"Apache-2.0"
] | 14 | 2018-03-17T10:43:30.000Z | 2020-03-12T10:49:51.000Z | """AioHue."""
from .v1 import HueBridgeV1 # noqa
from .v2 import HueBridgeV2 # noqa
from .errors import * # noqa
from .util import create_app_key # noqa
| 22.571429 | 40 | 0.708861 | 22 | 158 | 5 | 0.590909 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.189873 | 158 | 6 | 41 | 26.333333 | 0.828125 | 0.177215 | 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 |
6839bf012c6cfdf4f93a7d26bf765e03c57017e3 | 106 | py | Python | tests/autorad/test_trainer.py | pwoznicki/Radiomics | f30d8b5b2b54f52de45bc18a433be7855ca346c9 | [
"Apache-2.0"
] | 2 | 2022-02-07T11:25:35.000Z | 2022-03-30T04:29:20.000Z | tests/autorad/test_trainer.py | pwoznicki/Radiomics | f30d8b5b2b54f52de45bc18a433be7855ca346c9 | [
"Apache-2.0"
] | 1 | 2021-12-07T13:01:52.000Z | 2021-12-07T13:01:52.000Z | tests/autorad/test_trainer.py | pwoznicki/Radiomics | f30d8b5b2b54f52de45bc18a433be7855ca346c9 | [
"Apache-2.0"
] | null | null | null | import pytest
@pytest.fixture
def feature_dataset():
pass
@pytest.fixture
def trainer():
pass
| 8.833333 | 22 | 0.698113 | 13 | 106 | 5.615385 | 0.615385 | 0.356164 | 0.438356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 106 | 11 | 23 | 9.636364 | 0.869048 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0.285714 | 0.142857 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
689cd1d82156578c9631e172f461112a01fdcf7e | 4,556 | py | Python | fake_faces/experiments/baseline.py | alexkyllo/fake-faces | 95d7467598bc1275e6c6c0bea331e036da4e625e | [
"MIT"
] | null | null | null | fake_faces/experiments/baseline.py | alexkyllo/fake-faces | 95d7467598bc1275e6c6c0bea331e036da4e625e | [
"MIT"
] | null | null | null | fake_faces/experiments/baseline.py | alexkyllo/fake-faces | 95d7467598bc1275e6c6c0bea331e036da4e625e | [
"MIT"
] | null | null | null | """Baseine model experiments"""
import os
from fake_faces.experiments.experiment import Experiment
from fake_faces.models import Baseline, BaselineBatchNorm
from tensorflow.keras.optimizers import Adam, SGD
import dotenv
dotenv.load_dotenv()
DATA_DIR = os.getenv("FAKE_FACES_DIR")
COMBINED_DIR_125 = os.getenv(
"COM... | 32.084507 | 93 | 0.649034 | 562 | 4,556 | 5.05694 | 0.145907 | 0.043983 | 0.07741 | 0.08867 | 0.819141 | 0.755454 | 0.723082 | 0.709008 | 0.699156 | 0.688248 | 0 | 0.033457 | 0.232441 | 4,556 | 141 | 94 | 32.312057 | 0.779239 | 0.102063 | 0 | 0.734848 | 0 | 0 | 0.150282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037879 | 0 | 0.037879 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68a5be7dad6f0b546fc02ac705a8b6b5c3ba87bc | 106 | py | Python | pyresttest/command_line.py | thu2004/pyresttest | de9c75eb5aa05ee3b358f715a5e1f2c5fb5a79a6 | [
"Apache-2.0"
] | null | null | null | pyresttest/command_line.py | thu2004/pyresttest | de9c75eb5aa05ee3b358f715a5e1f2c5fb5a79a6 | [
"Apache-2.0"
] | null | null | null | pyresttest/command_line.py | thu2004/pyresttest | de9c75eb5aa05ee3b358f715a5e1f2c5fb5a79a6 | [
"Apache-2.0"
] | 1 | 2019-10-22T08:39:09.000Z | 2019-10-22T08:39:09.000Z | import sys
import pyresttest.resttest
def main():
pyresttest.resttest.command_line_run(sys.argv[1:])
| 17.666667 | 54 | 0.773585 | 15 | 106 | 5.333333 | 0.733333 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.113208 | 106 | 5 | 55 | 21.2 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d7a90915db962649df1e3f65bde1a7c9e774c70d | 2,674 | py | Python | public/app/message_host.py | openGiraffes/kaios-devtool-extension | 18ce108161c36fbebbed2e9b41b60ef686b15dae | [
"Apache-2.0"
] | 3 | 2021-09-05T10:27:05.000Z | 2021-10-01T09:10:27.000Z | public/app/message_host.py | openGiraffes/kaios-devtool-extension | 18ce108161c36fbebbed2e9b41b60ef686b15dae | [
"Apache-2.0"
] | null | null | null | public/app/message_host.py | openGiraffes/kaios-devtool-extension | 18ce108161c36fbebbed2e9b41b60ef686b15dae | [
"Apache-2.0"
] | 1 | 2021-09-05T10:27:51.000Z | 2021-09-05T10:27:51.000Z | #!/usr/bin/env python
import sys
import json
import struct
import subprocess
try:
# Python 3.x version
# Read a message from stdin and decode it.
def getMessage():
rawLength = sys.stdin.buffer.read(4)
if len(rawLength) == 0:
sys.exit(0)
messageLength = struct.unpack('@I... | 34.727273 | 82 | 0.636874 | 277 | 2,674 | 6.148014 | 0.277978 | 0.031709 | 0.024662 | 0.01879 | 0.873752 | 0.785672 | 0.785672 | 0.785672 | 0.785672 | 0.785672 | 0 | 0.005985 | 0.250187 | 2,674 | 76 | 83 | 35.184211 | 0.843392 | 0.132012 | 0 | 0.678571 | 0 | 0 | 0.045887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.071429 | 0 | 0.25 | 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 |
cc085bbb252d08353f195c7342a8da80f4ece674 | 2,486 | py | Python | examples/RPSLS/RPSLS/normal_nets.py | AytugAltin/ProblogRPSLS | 17578b2c1560659fac8c68498b8d45622860beb4 | [
"Apache-2.0"
] | null | null | null | examples/RPSLS/RPSLS/normal_nets.py | AytugAltin/ProblogRPSLS | 17578b2c1560659fac8c68498b8d45622860beb4 | [
"Apache-2.0"
] | null | null | null | examples/RPSLS/RPSLS/normal_nets.py | AytugAltin/ProblogRPSLS | 17578b2c1560659fac8c68498b8d45622860beb4 | [
"Apache-2.0"
] | null | null | null | import torch
import torchvision
import torch.nn.functional as F
from torch.utils.data import Dataset
import torchvision.transforms as transforms
import torch.nn as nn
class Net(nn.Module):
def __init__(self, outcomes=3):
super(Net, self).__init__()
self.encoder = nn.Sequential(
nn.Conv2... | 28.574713 | 53 | 0.479083 | 346 | 2,486 | 3.372832 | 0.15896 | 0.061697 | 0.071979 | 0.066838 | 0.79006 | 0.79006 | 0.772922 | 0.772922 | 0.744644 | 0.67952 | 0 | 0.128739 | 0.381335 | 2,486 | 87 | 54 | 28.574713 | 0.630039 | 0.058327 | 0 | 0.736842 | 0 | 0 | 0.008573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0.078947 | 0 | 0.236842 | 0.013158 | 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 |
0bd2a9641daeda552b907eae1a26c1d400d312c5 | 39 | py | Python | server/RedditCommentSearchPckg/__init__.py | ccmxy/Reddit-Comment-Search | 82e171736b47d80e0022a9061c7d33411126a767 | [
"MIT"
] | 1 | 2017-07-25T16:12:49.000Z | 2017-07-25T16:12:49.000Z | server/RedditCommentSearchPckg/__init__.py | ccmxy/Reddit-Comment-Search | 82e171736b47d80e0022a9061c7d33411126a767 | [
"MIT"
] | null | null | null | server/RedditCommentSearchPckg/__init__.py | ccmxy/Reddit-Comment-Search | 82e171736b47d80e0022a9061c7d33411126a767 | [
"MIT"
] | null | null | null | from .sortComments import SortComments
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
0bd306bc14527829067fcbdc5fe28f6bdc47b57f | 48,592 | py | Python | cnns/graphs/distortion_graph/distortion_graphs.py | adam-dziedzic/time-series-ml | 81aaa27f1dd9ea3d7d62b661dac40cac6c1ef77a | [
"Apache-2.0"
] | 1 | 2018-03-25T13:19:46.000Z | 2018-03-25T13:19:46.000Z | cnns/graphs/distortion_graph/distortion_graphs.py | adam-dziedzic/time-series-ml | 81aaa27f1dd9ea3d7d62b661dac40cac6c1ef77a | [
"Apache-2.0"
] | null | null | null | cnns/graphs/distortion_graph/distortion_graphs.py | adam-dziedzic/time-series-ml | 81aaa27f1dd9ea3d7d62b661dac40cac6c1ef77a | [
"Apache-2.0"
] | null | null | null | import matplotlib
import sys
# matplotlib.use('TkAgg')
matplotlib.rcParams['pdf.fonttype'] = 42
matplotlib.rcParams['ps.fonttype'] = 42
import matplotlib.pyplot as plt
import csv
import os
from cnns.nnlib.utils.general_utils import get_log_time
print(matplotlib.get_backend())
# plt.interactive(True)
# http://ksrowel... | 33.65097 | 114 | 0.438899 | 4,901 | 48,592 | 4.113038 | 0.071414 | 0.015279 | 0.012352 | 0.058438 | 0.779343 | 0.757416 | 0.741095 | 0.732315 | 0.700714 | 0.680871 | 0 | 0.053205 | 0.429865 | 48,592 | 1,443 | 115 | 33.67429 | 0.674415 | 0.15733 | 0 | 0.711409 | 0 | 0 | 0.201692 | 0.032952 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001918 | false | 0.000959 | 0.005753 | 0.000959 | 0.009588 | 0.00767 | 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 |
0bedba93098417829273087486965458decd42a2 | 12,076 | py | Python | utils/load.py | naivete5656/BFP | 74c5604a9ba4eaa3ec3e2c76ef5e1282d7d10f18 | [
"MIT"
] | 8 | 2020-07-31T15:20:01.000Z | 2021-09-18T08:42:07.000Z | utils/load.py | naivete5656/BFP | 74c5604a9ba4eaa3ec3e2c76ef5e1282d7d10f18 | [
"MIT"
] | null | null | null | utils/load.py | naivete5656/BFP | 74c5604a9ba4eaa3ec3e2c76ef5e1282d7d10f18 | [
"MIT"
] | 5 | 2020-10-04T02:02:13.000Z | 2021-11-14T23:37:08.000Z | import torch
import numpy as np
# import h5py
from scipy.ndimage.interpolation import rotate
from pathlib import Path
import matplotlib.pyplot as plt
import cv2
import math
class OriCrop(object):
def __init__(self, ori_path, crop_size=(256, 256)):
self.ori_paths = ori_path
self.crop_size = crop_s... | 31.94709 | 97 | 0.584051 | 1,758 | 12,076 | 3.819681 | 0.070535 | 0.038124 | 0.052271 | 0.072375 | 0.813552 | 0.796575 | 0.768131 | 0.731199 | 0.702159 | 0.659568 | 0 | 0.056554 | 0.281053 | 12,076 | 377 | 98 | 32.03183 | 0.716886 | 0.015154 | 0 | 0.666667 | 0 | 0 | 0.013126 | 0.007825 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075269 | false | 0 | 0.02509 | 0.017921 | 0.18638 | 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 |
04467f2f5544290989961e21b787f75e07651066 | 10,064 | py | Python | pathy/_tests/test_cli.py | odidev/pathy | 4a0baf97935cc40b4eee77c2b84f332c9b27c9d3 | [
"Apache-2.0"
] | 107 | 2020-11-12T16:12:02.000Z | 2022-02-09T12:04:12.000Z | pathy/_tests/test_cli.py | odidev/pathy | 4a0baf97935cc40b4eee77c2b84f332c9b27c9d3 | [
"Apache-2.0"
] | 45 | 2020-04-24T15:33:56.000Z | 2021-09-09T01:23:51.000Z | venv/lib/python3.8/site-packages/pathy/_tests/test_cli.py | HCDigitalScholarship/migration-encounters | 08e705f8ed1b4d4e00d2c1112a8b5d30bf2ebd4d | [
"MIT"
] | 10 | 2020-11-12T15:53:20.000Z | 2021-12-23T07:16:25.000Z | import pathlib
import tempfile
import pytest
from typer.testing import CliRunner
from pathy import Pathy
from pathy.cli import app
from .conftest import ENV_ID, TEST_ADAPTERS
runner = CliRunner()
# TODO: add support/test for wildcard cp/mv/rm/ls paths (e.g. "pathy cp gs://my-bucket/*.file ./")
# TODO: add support/... | 37.977358 | 98 | 0.657492 | 1,469 | 10,064 | 4.325391 | 0.086453 | 0.064054 | 0.03966 | 0.053824 | 0.84435 | 0.823576 | 0.810198 | 0.791313 | 0.756059 | 0.732609 | 0 | 0.005317 | 0.177762 | 10,064 | 264 | 99 | 38.121212 | 0.762538 | 0.042031 | 0 | 0.609524 | 0 | 0 | 0.177136 | 0.116914 | 0 | 0 | 0 | 0.003788 | 0.328571 | 1 | 0.07619 | false | 0 | 0.033333 | 0 | 0.109524 | 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 |
0451bbc536d3750883e6da227610401013f03eb1 | 45 | py | Python | opentutorials_python2/opentutorials_python2/20_Object_and_Module/lib.py | dongrami0425/Python_OpenCV-Study | c7faee4f63720659280c3222ba5abfe27740d1f4 | [
"MIT"
] | null | null | null | opentutorials_python2/opentutorials_python2/20_Object_and_Module/lib.py | dongrami0425/Python_OpenCV-Study | c7faee4f63720659280c3222ba5abfe27740d1f4 | [
"MIT"
] | null | null | null | opentutorials_python2/opentutorials_python2/20_Object_and_Module/lib.py | dongrami0425/Python_OpenCV-Study | c7faee4f63720659280c3222ba5abfe27740d1f4 | [
"MIT"
] | null | null | null | class A:
def a(self):
return 'a'
| 11.25 | 18 | 0.466667 | 7 | 45 | 3 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 45 | 3 | 19 | 15 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f0e020aab5f72f3d751c1670c301b91fa602663a | 257,641 | py | Python | instances/passenger_demand/pas-20210422-1717-int12e/36.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int12e/36.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int12e/36.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 22876
passenger_arriving = (
(6, 6, 5, 9, 5, 5, 1, 4, 3, 4, 1, 0, 0, 4, 4, 5, 2, 11, 1, 5, 2, 0, 0, 1, 0, 0), # 0
(9, 7, 10, 5, 5, 1, 3, 3, 1, 0, 0, 1, 0, 8, 7, 5, 7, 2, 3, 5, 0, 4, 3, 0, 0, 0), # 1
(8, 8, 5, 9, 4, 3, 1, 0, 4, 2, 1, 0, 0, 5, 6, 3, 4, 8, 2, 3, 1, 3, 2, 0, 1, 0)... | 275.551872 | 493 | 0.768965 | 32,987 | 257,641 | 6.005578 | 0.222057 | 0.359807 | 0.34527 | 0.654195 | 0.375218 | 0.368303 | 0.366163 | 0.3654 | 0.365299 | 0.365299 | 0 | 0.849382 | 0.096002 | 257,641 | 934 | 494 | 275.846895 | 0.001198 | 0.015568 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0f98c90c7edeea4fd825f10c6885edab19dc97d | 6,838 | py | Python | Render2018/lib/extract_isosurf_mesh.py | BigOto2/BlenderRenderDNS | a8ff239ecffef5217f0db35d579227a0a444c32d | [
"MIT"
] | 1 | 2021-07-28T00:42:39.000Z | 2021-07-28T00:42:39.000Z | Render2018/lib/extract_isosurf_mesh.py | BigOto2/BlenderRenderDNS | a8ff239ecffef5217f0db35d579227a0a444c32d | [
"MIT"
] | null | null | null | Render2018/lib/extract_isosurf_mesh.py | BigOto2/BlenderRenderDNS | a8ff239ecffef5217f0db35d579227a0a444c32d | [
"MIT"
] | 1 | 2019-05-13T17:38:05.000Z | 2019-05-13T17:38:05.000Z | import numpy as np
import h5py as h5
from converters import convgeo2ply
def extract_geometry(data_file, output_dir, nth_coord):
"""
Extracts the geometry of the body used in Abhiram's simulations of flow around an axisymmetric ramp body.
In his simulations, the geometry is located at [k,j,i]=[1,:,:] (non-c... | 57.462185 | 194 | 0.645803 | 931 | 6,838 | 4.650913 | 0.172932 | 0.066513 | 0.060046 | 0.12933 | 0.874827 | 0.865589 | 0.854042 | 0.854042 | 0.811316 | 0.797229 | 0 | 0.021277 | 0.188944 | 6,838 | 119 | 195 | 57.462185 | 0.759466 | 0.291752 | 0 | 0.454545 | 0 | 0 | 0.177731 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.045455 | 0 | 0.075758 | 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 |
0b0d7bd8f8193576c9bd0e0c2680eddca504006a | 15 | py | Python | components/__builtin/libs/htmlspace.py | ateska/striga | 451b5d9421e2e5fdf49b94c8f3d76e576abc5923 | [
"MIT"
] | null | null | null | components/__builtin/libs/htmlspace.py | ateska/striga | 451b5d9421e2e5fdf49b94c8f3d76e576abc5923 | [
"MIT"
] | null | null | null | components/__builtin/libs/htmlspace.py | ateska/striga | 451b5d9421e2e5fdf49b94c8f3d76e576abc5923 | [
"MIT"
] | null | null | null | #TODO: This ... | 15 | 15 | 0.533333 | 2 | 15 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 15 | 1 | 15 | 15 | 0.615385 | 0.933333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9bcd07e59cbb4eabc41561785a0e1ca6a3e2a33e | 75 | py | Python | env/lib/python3.8/site-packages/waitress/__main__.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 978 | 2015-01-10T08:33:32.000Z | 2022-03-29T07:37:48.000Z | env/lib/python3.8/site-packages/waitress/__main__.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 257 | 2015-01-13T09:06:02.000Z | 2022-03-31T21:59:34.000Z | env/lib/python3.8/site-packages/waitress/__main__.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 155 | 2015-01-02T20:31:41.000Z | 2022-03-06T08:54:17.000Z | from waitress.runner import run # pragma nocover
run() # pragma nocover
| 18.75 | 49 | 0.746667 | 10 | 75 | 5.6 | 0.7 | 0.321429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186667 | 75 | 3 | 50 | 25 | 0.918033 | 0.386667 | 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 |
9bfe6d01e67bc8abd2ded88154473d46e5ea2352 | 257 | py | Python | tests/dummy/set/nested_set.py | PeterJCLaw/flake8-multiline-containers | 490fab7dfe0cbe306841c179d9d55abc0a2ed2b2 | [
"MIT"
] | null | null | null | tests/dummy/set/nested_set.py | PeterJCLaw/flake8-multiline-containers | 490fab7dfe0cbe306841c179d9d55abc0a2ed2b2 | [
"MIT"
] | null | null | null | tests/dummy/set/nested_set.py | PeterJCLaw/flake8-multiline-containers | 490fab7dfe0cbe306841c179d9d55abc0a2ed2b2 | [
"MIT"
] | null | null | null | # Right
foo = {
{'hello', 'world'},
{
'hello',
'world',
},
}
# Wrong: JS101, JS102
foo = {
{'hello', 'world'},
{'hello',
'world'},
}
# Wrong: JS102
foo = {
{'hello', 'world'},
{'hello', 'world'},
}
| 10.708333 | 23 | 0.385214 | 21 | 257 | 4.714286 | 0.333333 | 0.606061 | 0.393939 | 0.545455 | 0.89899 | 0.89899 | 0 | 0 | 0 | 0 | 0 | 0.055215 | 0.365759 | 257 | 23 | 24 | 11.173913 | 0.552147 | 0.14786 | 0 | 0.4375 | 0 | 0 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5022a601ef74a9c22e293d953b74671c222bac73 | 42 | py | Python | apps/domain/src/main/core/infrastructure/providers/gcp/__init__.py | aisportsbets/pygrid | eeee1e7ef6ba50a03f6f486992a45f7171976e5a | [
"Apache-2.0"
] | null | null | null | apps/domain/src/main/core/infrastructure/providers/gcp/__init__.py | aisportsbets/pygrid | eeee1e7ef6ba50a03f6f486992a45f7171976e5a | [
"Apache-2.0"
] | null | null | null | apps/domain/src/main/core/infrastructure/providers/gcp/__init__.py | aisportsbets/pygrid | eeee1e7ef6ba50a03f6f486992a45f7171976e5a | [
"Apache-2.0"
] | null | null | null | from .gcp import GCP
from .utils import *
| 14 | 20 | 0.738095 | 7 | 42 | 4.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 21 | 21 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
50465a23635f5af6f2ab1c7b4d0353efe65505f4 | 90 | py | Python | devops-toolbox/fabfile/__init__.py | varmarakesh/devops-toolbox | 5ece7fb75f89ae23ca41571222bab382624b0462 | [
"ISC"
] | null | null | null | devops-toolbox/fabfile/__init__.py | varmarakesh/devops-toolbox | 5ece7fb75f89ae23ca41571222bab382624b0462 | [
"ISC"
] | 1 | 2016-05-30T15:24:06.000Z | 2016-05-30T15:24:06.000Z | devops-toolbox/fabfile/__init__.py | varmarakesh/devops-toolbox | 5ece7fb75f89ae23ca41571222bab382624b0462 | [
"ISC"
] | 1 | 2018-09-20T02:32:53.000Z | 2018-09-20T02:32:53.000Z | from fabric.api import *
from fabric.contrib.files import *
import aws_ops
import ftp_ops | 18 | 34 | 0.811111 | 15 | 90 | 4.733333 | 0.6 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 90 | 5 | 35 | 18 | 0.910256 | 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 |
4a10d506cbc6f4894dd9ef097012de3ae6f88e18 | 33,718 | py | Python | stix_shifter_modules/darktrace/test/stix_translation/test_darktrace_stix_to_query.py | lakshmi51974368/stix-shifter | 36d71c172a5fc5b97d872e623753b0dd1bf4fe6c | [
"Apache-2.0"
] | 33 | 2018-05-25T17:07:28.000Z | 2019-09-30T10:08:53.000Z | stix_shifter_modules/darktrace/test/stix_translation/test_darktrace_stix_to_query.py | lakshmi51974368/stix-shifter | 36d71c172a5fc5b97d872e623753b0dd1bf4fe6c | [
"Apache-2.0"
] | 54 | 2018-06-01T18:17:24.000Z | 2019-09-30T18:36:15.000Z | stix_shifter_modules/darktrace/test/stix_translation/test_darktrace_stix_to_query.py | subbyte/stix-shifter | 36d71c172a5fc5b97d872e623753b0dd1bf4fe6c | [
"Apache-2.0"
] | 37 | 2018-07-24T13:29:46.000Z | 2019-09-29T19:06:27.000Z | from stix_shifter.stix_translation import stix_translation
import unittest
import re
translation = stix_translation.StixTranslation()
def _remove_timestamp_from_query(expected_query):
pattern1 = r"@fields.epochdate\s:>\d{0,10}.\d{0,3}\s*AND\s*@fields.epochdate\s:<\d{0,10}.\d{0,3}"
pattern2 = r"\,\s*\'timefra... | 51.635528 | 120 | 0.582508 | 3,738 | 33,718 | 5.006956 | 0.080792 | 0.081695 | 0.06059 | 0.078222 | 0.822077 | 0.805835 | 0.788416 | 0.779173 | 0.739635 | 0.737177 | 0 | 0.12975 | 0.262382 | 33,718 | 652 | 121 | 51.714724 | 0.622774 | 0.0035 | 0 | 0.620232 | 0 | 0.026534 | 0.346503 | 0.128542 | 0 | 0 | 0 | 0 | 0.07131 | 1 | 0.064677 | false | 0 | 0.004975 | 0 | 0.074627 | 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 |
c5aa833428db23077a9209025f49c52dd1ec4266 | 24 | py | Python | deep500/tools/initialization_graphs.py | fdokic/deep500 | 677ef14835e0932d203b2942d3a5a096b4dd3d2e | [
"BSD-3-Clause"
] | null | null | null | deep500/tools/initialization_graphs.py | fdokic/deep500 | 677ef14835e0932d203b2942d3a5a096b4dd3d2e | [
"BSD-3-Clause"
] | null | null | null | deep500/tools/initialization_graphs.py | fdokic/deep500 | 677ef14835e0932d203b2942d3a5a096b4dd3d2e | [
"BSD-3-Clause"
] | null | null | null | from onnx import helper
| 12 | 23 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a84d47b67d9b39039e775b86584ad8bcaa8a0724 | 27 | py | Python | dnfal/persons/detection/_model/__init__.py | altest-com/dnfal | d1fb15508c5583aeaa0957fcc3e37634d36bf237 | [
"MIT"
] | null | null | null | dnfal/persons/detection/_model/__init__.py | altest-com/dnfal | d1fb15508c5583aeaa0957fcc3e37634d36bf237 | [
"MIT"
] | 1 | 2020-03-31T17:04:09.000Z | 2020-03-31T17:04:09.000Z | dnfal/persons/detection/_model/__init__.py | altest-com/dnfal | d1fb15508c5583aeaa0957fcc3e37634d36bf237 | [
"MIT"
] | null | null | null | from .network import CSPNet | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 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 |
a8606def3e74cf3ab43a49bf407ddbf2df71d730 | 582 | py | Python | balanced-brackets/tests.py | dylburger/cracking-the-coding-interview-prep | 14fbf4e798cfee2074f26e96091034c3aa9bfb02 | [
"MIT"
] | null | null | null | balanced-brackets/tests.py | dylburger/cracking-the-coding-interview-prep | 14fbf4e798cfee2074f26e96091034c3aa9bfb02 | [
"MIT"
] | null | null | null | balanced-brackets/tests.py | dylburger/cracking-the-coding-interview-prep | 14fbf4e798cfee2074f26e96091034c3aa9bfb02 | [
"MIT"
] | null | null | null | from are_brackets_balanced import is_balanced
def test_single_balanced_case():
assert is_balanced('[]') is True
assert is_balanced('()') is True
assert is_balanced('{}') is True
def test_trivial_unbalanced_case():
assert is_balanced('[') is False
assert is_balanced('{') is False
assert is_bala... | 27.714286 | 51 | 0.685567 | 76 | 582 | 4.907895 | 0.236842 | 0.268097 | 0.386059 | 0.434316 | 0.705094 | 0.621984 | 0.621984 | 0.603217 | 0.603217 | 0.36193 | 0 | 0 | 0.156357 | 582 | 20 | 52 | 29.1 | 0.759674 | 0 | 0 | 0 | 0 | 0 | 0.070447 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.333333 | true | 0 | 0.066667 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8810e1886b1e2e8ccce6f8ed89ddf6522ff5aad | 454 | py | Python | nssrc/com/citrix/netscaler/nitro/resource/config/appflow/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 2 | 2020-08-24T18:04:22.000Z | 2020-08-24T18:04:47.000Z | nssrc/com/citrix/netscaler/nitro/resource/config/appflow/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 1 | 2017-01-20T22:56:58.000Z | 2017-01-20T22:56:58.000Z | nssrc/com/citrix/netscaler/nitro/resource/config/appflow/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 6 | 2015-04-21T13:14:08.000Z | 2020-12-03T07:27:52.000Z | __all__ = ['appflowaction', 'appflowcollector', 'appflowglobal_appflowpolicy_binding', 'appflowglobal_binding', 'appflowparam', 'appflowpolicy', 'appflowpolicy_appflowglobal_binding', 'appflowpolicy_appflowpolicylabel_binding', 'appflowpolicy_binding', 'appflowpolicy_csvserver_binding', 'appflowpolicy_lbvserver_binding... | 454 | 454 | 0.861233 | 33 | 454 | 11.212121 | 0.333333 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035242 | 454 | 1 | 454 | 454 | 0.844749 | 0 | 0 | 0 | 0 | 0 | 0.843956 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a88659595278c8e1bca6925078c0101464607f9b | 25 | py | Python | naming-protocol/execution/__init__.py | try-skycn/NamingProtocol | bb5fb73b50e922aab3305af4eb802b23f1d33731 | [
"MIT"
] | null | null | null | naming-protocol/execution/__init__.py | try-skycn/NamingProtocol | bb5fb73b50e922aab3305af4eb802b23f1d33731 | [
"MIT"
] | null | null | null | naming-protocol/execution/__init__.py | try-skycn/NamingProtocol | bb5fb73b50e922aab3305af4eb802b23f1d33731 | [
"MIT"
] | null | null | null | from .execution import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
768c8085b2de400ab5fab7efbe627da4e34f527f | 85 | py | Python | StrathconaCountyOpenData/Group1Book/helper_code/gutenberg_lite/__init__.py | BryceHaley/hackathon | 47de43b626b429dff9983add201a6bbdc6c974b2 | [
"CC-BY-4.0"
] | 3 | 2019-12-23T14:27:17.000Z | 2020-10-16T23:00:06.000Z | StrathconaCountyOpenData/Group1Book/helper_code/gutenberg_lite/__init__.py | BryceHaley/hackathon | 47de43b626b429dff9983add201a6bbdc6c974b2 | [
"CC-BY-4.0"
] | 22 | 2019-12-11T16:58:11.000Z | 2021-02-25T05:42:07.000Z | StrathconaCountyOpenData/Group1Book/helper_code/gutenberg_lite/__init__.py | BryceHaley/hackathon | 47de43b626b429dff9983add201a6bbdc6c974b2 | [
"CC-BY-4.0"
] | 10 | 2018-04-04T19:25:16.000Z | 2021-09-20T04:43:51.000Z | from .acquire.text import load_etext
from .cleanup.strip_headers import strip_headers | 42.5 | 48 | 0.870588 | 13 | 85 | 5.461538 | 0.692308 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082353 | 85 | 2 | 48 | 42.5 | 0.910256 | 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 |
769d6c76edb2dddb81319bd65564acaf0bb9480c | 180 | py | Python | chronos/docker/chronos/modules/postgresql/__init__.py | guadaltech/kubernetes-containers-tools | 5d4d9da6bf95162404b927cf23178d86dd99dd85 | [
"Apache-2.0"
] | 6 | 2019-07-16T22:10:30.000Z | 2021-12-27T09:19:49.000Z | chronos/docker/chronos/modules/postgresql/__init__.py | guadaltech/kubernetes-containers-tools | 5d4d9da6bf95162404b927cf23178d86dd99dd85 | [
"Apache-2.0"
] | 2 | 2021-04-30T21:26:44.000Z | 2021-06-02T02:52:11.000Z | chronos/docker/chronos/modules/postgresql/__init__.py | guadaltech/kubernetes-containers-tools | 5d4d9da6bf95162404b927cf23178d86dd99dd85 | [
"Apache-2.0"
] | 5 | 2019-12-05T17:50:44.000Z | 2020-12-21T13:43:59.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
# By: Juan Manuel Torres (Tedezed)
# Source: https://github.com/Tedezed
# Mail: juanmanuel.torres@aventurabinaria.es
from . import main | 22.5 | 44 | 0.7 | 24 | 180 | 5.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.127778 | 180 | 8 | 45 | 22.5 | 0.789809 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4fa3ab0c550caf816c7723ed272f0afa345665aa | 30,626 | py | Python | tests/python/unittest/test_tir_transform_lower_cross_thread_reduction.py | Xuyuanjia2014/tvm | 892f8305e77ad506660b851f9ce4c81be0f95d9d | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 2,084 | 2020-11-25T02:31:53.000Z | 2022-03-31T11:33:47.000Z | tests/python/unittest/test_tir_transform_lower_cross_thread_reduction.py | Xuyuanjia2014/tvm | 892f8305e77ad506660b851f9ce4c81be0f95d9d | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 3,022 | 2020-11-24T14:02:31.000Z | 2022-03-31T23:55:31.000Z | tests/python/unittest/test_tir_transform_lower_cross_thread_reduction.py | Xuyuanjia2014/tvm | 892f8305e77ad506660b851f9ce4c81be0f95d9d | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 977 | 2020-11-25T00:54:52.000Z | 2022-03-31T12:47:08.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 41.498645 | 99 | 0.496767 | 4,110 | 30,626 | 3.506326 | 0.055474 | 0.058011 | 0.046631 | 0.032475 | 0.854278 | 0.822705 | 0.795087 | 0.758934 | 0.735133 | 0.730969 | 0 | 0.064704 | 0.361131 | 30,626 | 737 | 100 | 41.554953 | 0.671829 | 0.026187 | 0 | 0.673913 | 0 | 0 | 0.065155 | 0.014963 | 0 | 0 | 0 | 0 | 0.003106 | 1 | 0.057453 | false | 0 | 0.007764 | 0 | 0.065217 | 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 |
96d34debf29c667428bd373c0fe79a0d73bdebfc | 191 | py | Python | pyuvdata/uvdata/__init__.py | no-lex/pyuvdata | 90537f78230d3d34f5db4d39a9f2a18373435437 | [
"BSD-2-Clause"
] | 47 | 2018-08-02T22:43:51.000Z | 2022-02-25T04:11:53.000Z | pyuvdata/uvdata/__init__.py | no-lex/pyuvdata | 90537f78230d3d34f5db4d39a9f2a18373435437 | [
"BSD-2-Clause"
] | 773 | 2018-07-20T19:23:07.000Z | 2022-03-31T22:26:52.000Z | pyuvdata/uvdata/__init__.py | no-lex/pyuvdata | 90537f78230d3d34f5db4d39a9f2a18373435437 | [
"BSD-2-Clause"
] | 15 | 2018-09-28T12:15:29.000Z | 2021-11-08T23:39:24.000Z | # -*- mode: python; coding: utf-8 -*-
# Copyright (c) 2019 Radio Astronomy Software Group
# Licensed under the 2-clause BSD License
"""Init file for UVData."""
from .uvdata import * # noqa
| 27.285714 | 51 | 0.685864 | 27 | 191 | 4.851852 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038217 | 0.17801 | 191 | 6 | 52 | 31.833333 | 0.796178 | 0.801047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c0944974356ea016fd04486fc06b2b4a059a56f | 15,824 | py | Python | mealpy/physics_based/EO.py | thieu1995/mealpy | 7694c18e1514909f6727163a3e0899dd36822867 | [
"MIT"
] | 162 | 2020-08-31T10:13:06.000Z | 2022-03-31T09:38:19.000Z | mealpy/physics_based/EO.py | thieu1995/mealpy | 7694c18e1514909f6727163a3e0899dd36822867 | [
"MIT"
] | 51 | 2020-09-13T10:46:31.000Z | 2022-03-30T06:12:08.000Z | mealpy/physics_based/EO.py | thieu1995/mealpy | 7694c18e1514909f6727163a3e0899dd36822867 | [
"MIT"
] | 58 | 2020-09-12T13:29:18.000Z | 2022-03-31T09:38:21.000Z | #!/usr/bin/env python
# ------------------------------------------------------------------------------------------------------%
# Created by "Thieu Nguyen" at 07:03, 18/03/2020 %
# ... | 46.678466 | 148 | 0.569009 | 2,128 | 15,824 | 4.040883 | 0.121711 | 0.037446 | 0.019886 | 0.020933 | 0.790208 | 0.767996 | 0.7616 | 0.745784 | 0.732527 | 0.722642 | 0 | 0.030697 | 0.295943 | 15,824 | 338 | 149 | 46.816568 | 0.741136 | 0.287475 | 0 | 0.71123 | 0 | 0 | 0.008636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064171 | false | 0 | 0.02139 | 0 | 0.149733 | 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 |
8c5e05a6b7f34c625c665d9b324619958d2f5a3b | 86 | py | Python | test/ut/tools/annotation/testcase/usercode/non_annotation/bar.py | dutxubo/nni | c16f4e1c89b54b8b80661ef0072433d255ad2d24 | [
"MIT"
] | 9,680 | 2019-05-07T01:42:30.000Z | 2022-03-31T16:48:33.000Z | test/ut/tools/annotation/testcase/usercode/non_annotation/bar.py | dutxubo/nni | c16f4e1c89b54b8b80661ef0072433d255ad2d24 | [
"MIT"
] | 1,957 | 2019-05-06T21:44:21.000Z | 2022-03-31T09:21:53.000Z | test/ut/tools/annotation/testcase/usercode/non_annotation/bar.py | dutxubo/nni | c16f4e1c89b54b8b80661ef0072433d255ad2d24 | [
"MIT"
] | 1,571 | 2019-05-07T06:42:55.000Z | 2022-03-31T03:19:24.000Z | import nni
def bar():
"""I'm doc string"""
return nni.report_final_result(0)
| 14.333333 | 37 | 0.639535 | 14 | 86 | 3.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.209302 | 86 | 5 | 38 | 17.2 | 0.764706 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ffaa1eb15fa700e53aec84a62d0e824b6a21a3f | 7,311 | py | Python | mistral/mistral/tests/unit/workbook/test_spec_caching.py | Toure/openstack_mistral_wip | 1c3d028cb7c918de74a3cb018c84d6c5ee42e3f1 | [
"Apache-2.0"
] | null | null | null | mistral/mistral/tests/unit/workbook/test_spec_caching.py | Toure/openstack_mistral_wip | 1c3d028cb7c918de74a3cb018c84d6c5ee42e3f1 | [
"Apache-2.0"
] | null | null | null | mistral/mistral/tests/unit/workbook/test_spec_caching.py | Toure/openstack_mistral_wip | 1c3d028cb7c918de74a3cb018c84d6c5ee42e3f1 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 - StackStorm, Inc.
#
# 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 required by applicable law or ... | 30.589958 | 77 | 0.636438 | 965 | 7,311 | 4.470466 | 0.133679 | 0.085767 | 0.105471 | 0.090403 | 0.770978 | 0.770978 | 0.762401 | 0.762401 | 0.737599 | 0.737599 | 0 | 0.01661 | 0.275339 | 7,311 | 238 | 78 | 30.718487 | 0.797659 | 0.127069 | 0 | 0.751592 | 0 | 0 | 0.18752 | 0 | 0 | 0 | 0 | 0 | 0.22293 | 1 | 0.025478 | false | 0 | 0.038217 | 0 | 0.070064 | 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 |
8b11451dd12765c23aa83385ab339b23064be957 | 68 | py | Python | test.py | krzysztofgajda/python | ee3c36665856447ac75d45079a6c3f4aff2c9292 | [
"MIT"
] | null | null | null | test.py | krzysztofgajda/python | ee3c36665856447ac75d45079a6c3f4aff2c9292 | [
"MIT"
] | null | null | null | test.py | krzysztofgajda/python | ee3c36665856447ac75d45079a6c3f4aff2c9292 | [
"MIT"
] | null | null | null | v1 = [1, 3, 5]
v2 = [0, 2, 4]
v1.insert(1, v1[1] + v2[1])
print v1
| 11.333333 | 27 | 0.470588 | 17 | 68 | 1.882353 | 0.588235 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.25 | 68 | 5 | 28 | 13.6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b2c2442883c2cb677e4ddb4b406c8237339732e | 28 | py | Python | Chapter 04. Python/hello.py | ameliacode/Opensource_SW | a5c926100fc0434c94514ef81c84f4ccab88c540 | [
"MIT"
] | null | null | null | Chapter 04. Python/hello.py | ameliacode/Opensource_SW | a5c926100fc0434c94514ef81c84f4ccab88c540 | [
"MIT"
] | null | null | null | Chapter 04. Python/hello.py | ameliacode/Opensource_SW | a5c926100fc0434c94514ef81c84f4ccab88c540 | [
"MIT"
] | null | null | null | print("Hello Coding Python") | 28 | 28 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 1 | 28 | 28 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8b3bc3aa7739a209efa7945a94cca41fa7d451a0 | 23,720 | py | Python | codes/DashPlots.py | sephwalker321/DashAnomalyDetection | 8e3744d32e762cd6d4258b853ff6254b8b103113 | [
"MIT"
] | 1 | 2022-01-09T13:45:59.000Z | 2022-01-09T13:45:59.000Z | codes/DashPlots.py | sephwalker321/DashAnomalyDetection | 8e3744d32e762cd6d4258b853ff6254b8b103113 | [
"MIT"
] | null | null | null | codes/DashPlots.py | sephwalker321/DashAnomalyDetection | 8e3744d32e762cd6d4258b853ff6254b8b103113 | [
"MIT"
] | null | null | null | """============================================================================
Module of Dashboard plotting functions
Contents:
- Raw Features
- Fourier
- Alpha
- BOCPD
- PCA
- Empty
Author: Joseph Walker j.j.walker@durham.ac.uk
============================================================================"""
import n... | 23.767535 | 127 | 0.585455 | 3,300 | 23,720 | 4.158182 | 0.101818 | 0.025361 | 0.031264 | 0.033887 | 0.792887 | 0.78232 | 0.766433 | 0.746174 | 0.720303 | 0.697566 | 0 | 0.033781 | 0.187563 | 23,720 | 997 | 128 | 23.791374 | 0.678273 | 0.199325 | 0 | 0.705806 | 0 | 0 | 0.161815 | 0.002517 | 0.016774 | 0 | 0 | 0 | 0 | 1 | 0.011613 | false | 0.002581 | 0.011613 | 0 | 0.034839 | 0.00129 | 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 |
8b430176b16768ce3df8f23216001c0f2104e739 | 13,422 | py | Python | watertap/unit_models/zero_order/tests/test_uv_aop_zo.py | avdudchenko/watertap | ac8d59e015688ff175a8087d2d52272e4f1fe84f | [
"BSD-3-Clause-LBNL"
] | 4 | 2021-11-06T01:13:22.000Z | 2022-02-08T21:16:38.000Z | watertap/unit_models/zero_order/tests/test_uv_aop_zo.py | avdudchenko/watertap | ac8d59e015688ff175a8087d2d52272e4f1fe84f | [
"BSD-3-Clause-LBNL"
] | 233 | 2021-10-13T12:53:44.000Z | 2022-03-31T21:59:50.000Z | watertap/unit_models/zero_order/tests/test_uv_aop_zo.py | avdudchenko/watertap | ac8d59e015688ff175a8087d2d52272e4f1fe84f | [
"BSD-3-Clause-LBNL"
] | 12 | 2021-11-01T19:11:03.000Z | 2022-03-08T22:20:58.000Z | ###############################################################################
# WaterTAP Copyright (c) 2021, The Regents of the University of California,
# through Lawrence Berkeley National Laboratory, Oak Ridge National
# Laboratory, National Renewable Energy Laboratory, and National Energy
# Technology Laboratory ... | 38.458453 | 88 | 0.655938 | 1,742 | 13,422 | 4.843858 | 0.126866 | 0.055463 | 0.084736 | 0.050367 | 0.819151 | 0.805404 | 0.790472 | 0.778265 | 0.761792 | 0.730505 | 0 | 0.021654 | 0.218969 | 13,422 | 348 | 89 | 38.568966 | 0.783268 | 0.046118 | 0 | 0.605072 | 0 | 0 | 0.090765 | 0.036195 | 0 | 0 | 0 | 0 | 0.297101 | 1 | 0.068841 | false | 0 | 0.043478 | 0 | 0.126812 | 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 |
8c9e01ea2cd85bd90f9aeb3111984ab7266cd555 | 47 | py | Python | python/4. modules/module1.py | WebSofter/lessnor | f5843a29f443126d30955a2fe4e7f3cadb216ad8 | [
"MIT"
] | null | null | null | python/4. modules/module1.py | WebSofter/lessnor | f5843a29f443126d30955a2fe4e7f3cadb216ad8 | [
"MIT"
] | null | null | null | python/4. modules/module1.py | WebSofter/lessnor | f5843a29f443126d30955a2fe4e7f3cadb216ad8 | [
"MIT"
] | null | null | null | def printMod():
print("Print from module1") | 23.5 | 31 | 0.680851 | 6 | 47 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.170213 | 47 | 2 | 31 | 23.5 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8ca0766d62d49418af3959c6f49ff21ada384902 | 5,588 | py | Python | neuralparticles/tensorflow/layers/subpixel_layer.py | senliontec/NeuralParticles | 8ede22bfb43e60be175b9cef19045c1c7b1ffb73 | [
"MIT"
] | null | null | null | neuralparticles/tensorflow/layers/subpixel_layer.py | senliontec/NeuralParticles | 8ede22bfb43e60be175b9cef19045c1c7b1ffb73 | [
"MIT"
] | null | null | null | neuralparticles/tensorflow/layers/subpixel_layer.py | senliontec/NeuralParticles | 8ede22bfb43e60be175b9cef19045c1c7b1ffb73 | [
"MIT"
] | null | null | null | from keras import backend as K
from keras.layers import Conv1D, Conv2D
"""
Subpixel Layer as a child class of Conv2D. This layer accepts all normal
arguments, with the exception of dilation_rate(). The argument r indicates
the upsampling factor, which is applied to the normal output of Conv2D.
The output of this l... | 40.201439 | 102 | 0.576235 | 702 | 5,588 | 4.425926 | 0.190883 | 0.018024 | 0.010621 | 0.010299 | 0.783714 | 0.772127 | 0.756035 | 0.751529 | 0.725137 | 0.725137 | 0 | 0.011195 | 0.312634 | 5,588 | 139 | 103 | 40.201439 | 0.797709 | 0.105583 | 0 | 0.725664 | 0 | 0 | 0.021185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088496 | false | 0 | 0.017699 | 0.017699 | 0.19469 | 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 |
8ccc2c6799ab167554cabed8b99b9d9e49267e2e | 3,030 | py | Python | pyhank/one_shot.py | ng110/pyhank | b0f57622365100c545e67c9a2d6684d597725bb1 | [
"MIT"
] | null | null | null | pyhank/one_shot.py | ng110/pyhank | b0f57622365100c545e67c9a2d6684d597725bb1 | [
"MIT"
] | null | null | null | pyhank/one_shot.py | ng110/pyhank | b0f57622365100c545e67c9a2d6684d597725bb1 | [
"MIT"
] | null | null | null | from typing import Tuple
import numpy as np
from pyhank import HankelTransform
def qdht(r: np.ndarray, f: np.ndarray, order: int = 0) -> Tuple[np.ndarray, np.ndarray]:
"""Perform a quasi-discrete Hankel transform of the function ``f`` (sampled at points
``r``) and return the transformed function and its sam... | 48.870968 | 97 | 0.70363 | 437 | 3,030 | 4.855835 | 0.226545 | 0.03393 | 0.06409 | 0.047125 | 0.809614 | 0.756833 | 0.756833 | 0.756833 | 0.717248 | 0.68049 | 0 | 0.002465 | 0.1967 | 3,030 | 61 | 98 | 49.672131 | 0.869351 | 0.742904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.230769 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8ccd0ff43604e4d1d7806c6963bd4fe366f3d713 | 14,040 | py | Python | morse-stf/examples/compute_KS.py | qizhi-zhang/Antchain-MPC | f551170f68b0baff328e6594484e9832230fe719 | [
"Apache-2.0"
] | 2 | 2021-12-02T05:04:32.000Z | 2021-12-02T05:34:17.000Z | morse-stf/examples/compute_KS.py | qizhi-zhang/Antchain-MPC | f551170f68b0baff328e6594484e9832230fe719 | [
"Apache-2.0"
] | null | null | null | morse-stf/examples/compute_KS.py | qizhi-zhang/Antchain-MPC | f551170f68b0baff328e6594484e9832230fe719 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Ant Group Copyright (c) 2004-2020 All Rights Reserved.
"""
from sklearn import metrics
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
# def get_KS(label, score):
# label=label.tolist()
# #label=np.reshape(label, len(label))
# score=score.tolist()
# ... | 26.440678 | 140 | 0.638746 | 2,216 | 14,040 | 3.807762 | 0.08213 | 0.050723 | 0.030813 | 0.066485 | 0.864423 | 0.84475 | 0.836454 | 0.824959 | 0.814174 | 0.804219 | 0 | 0.011303 | 0.187108 | 14,040 | 530 | 141 | 26.490566 | 0.728029 | 0.333262 | 0 | 0.670455 | 0 | 0.073864 | 0.224816 | 0.166234 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0 | 0.022727 | 0 | 0.090909 | 0.028409 | 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 |
508377551f6582941a3c83fb425bf40d2db6eadb | 140 | py | Python | sendbird/api_resources/constants/unread_count_preferences.py | jpbullalayao/sendbird-python | 1ce77bef2b3337196fbf08d6c03df311d76f4098 | [
"MIT"
] | 4 | 2019-05-16T00:17:23.000Z | 2020-12-10T05:59:34.000Z | sendbird/api_resources/constants/unread_count_preferences.py | jpbullalayao/sendbird-python | 1ce77bef2b3337196fbf08d6c03df311d76f4098 | [
"MIT"
] | 11 | 2019-05-18T05:21:31.000Z | 2019-09-06T14:38:19.000Z | sendbird/api_resources/constants/unread_count_preferences.py | jpbullalayao/sendbird-python | 1ce77bef2b3337196fbf08d6c03df311d76f4098 | [
"MIT"
] | 4 | 2019-09-05T15:54:57.000Z | 2021-07-29T22:55:50.000Z | ALL = "all"
UNREAD_MENTIONED_COUNT_ONLY = "unread_mentioned_count_only"
UNREAD_MESSAGE_COUNT_ONLY = "unread_message_count_only"
OFF = "off"
| 28 | 59 | 0.828571 | 20 | 140 | 5.2 | 0.35 | 0.346154 | 0.432692 | 0.461538 | 0.884615 | 0.509615 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 140 | 4 | 60 | 35 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.414286 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5087ea996a54b6313566f200b137f95e484ddc92 | 78 | py | Python | pages/__init__.py | mswilkhu1/ssense | 59987a3c492591c8217811e79a63f25652f0295c | [
"MIT"
] | null | null | null | pages/__init__.py | mswilkhu1/ssense | 59987a3c492591c8217811e79a63f25652f0295c | [
"MIT"
] | null | null | null | pages/__init__.py | mswilkhu1/ssense | 59987a3c492591c8217811e79a63f25652f0295c | [
"MIT"
] | null | null | null | from . import checkout_pages
from . import login_page
from . import home_page
| 19.5 | 28 | 0.807692 | 12 | 78 | 5 | 0.583333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 3 | 29 | 26 | 0.909091 | 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 |
509b5672966167cff6213e66da7d5a41f1812f47 | 29 | py | Python | PotAvoidance/path/__init__.py | Enderdead/potential_avoidance | b17e2e8299f57bb8833fb68783c16f8e92a3c663 | [
"MIT"
] | 1 | 2019-10-04T21:12:12.000Z | 2019-10-04T21:12:12.000Z | PotAvoidance/path/__init__.py | Enderdead/potential_avoidance | b17e2e8299f57bb8833fb68783c16f8e92a3c663 | [
"MIT"
] | null | null | null | PotAvoidance/path/__init__.py | Enderdead/potential_avoidance | b17e2e8299f57bb8833fb68783c16f8e92a3c663 | [
"MIT"
] | null | null | null | from .compute import compute
| 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 |
50e87000b8d46392519f71dedd136d46a62c6e8c | 88 | py | Python | interpreter/__init__.py | ZonePG/impl-basic-toy | 13fcd901f494f2c77ac448b08da61905d6dc8135 | [
"MIT"
] | 2 | 2021-06-13T04:17:28.000Z | 2021-07-08T11:56:59.000Z | interpreter/__init__.py | ZonePG/impl-basic-toy | 13fcd901f494f2c77ac448b08da61905d6dc8135 | [
"MIT"
] | null | null | null | interpreter/__init__.py | ZonePG/impl-basic-toy | 13fcd901f494f2c77ac448b08da61905d6dc8135 | [
"MIT"
] | null | null | null | from interpreter.interpreter import Interpreter
from interpreter.context import Context
| 29.333333 | 47 | 0.886364 | 10 | 88 | 7.8 | 0.4 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 48 | 44 | 0.975 | 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 |
50f1ce8c1b83f4eae96867d1af0b668ac234e236 | 64 | py | Python | src/__init__.py | vishnubob/silhouette | a063f312021458323f44cde1922b12d568559d15 | [
"MIT"
] | 70 | 2015-03-11T21:17:02.000Z | 2022-02-24T18:35:47.000Z | src/__init__.py | vishnubob/silhouette | a063f312021458323f44cde1922b12d568559d15 | [
"MIT"
] | 4 | 2015-04-20T00:50:15.000Z | 2020-06-13T00:39:04.000Z | src/__init__.py | vishnubob/silhouette | a063f312021458323f44cde1922b12d568559d15 | [
"MIT"
] | 14 | 2015-07-13T21:27:21.000Z | 2022-01-10T06:08:10.000Z | from silhouette import *
from gpgl import *
from utils import *
| 16 | 24 | 0.765625 | 9 | 64 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 25 | 21.333333 | 0.942308 | 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 |
50f8e486b6efa7cdc69758d070b992dc767c94df | 170 | py | Python | src/venim/fits_cli.py | michaelaye/venim | 902f4cd9007ec1946c38df454c6a21c8160365c0 | [
"MIT"
] | 2 | 2020-06-05T05:22:11.000Z | 2020-07-28T07:33:34.000Z | src/venim/fits_cli.py | michaelaye/venim | 902f4cd9007ec1946c38df454c6a21c8160365c0 | [
"MIT"
] | 6 | 2020-05-21T21:45:49.000Z | 2020-06-01T04:14:51.000Z | src/venim/fits_cli.py | michaelaye/venim | 902f4cd9007ec1946c38df454c6a21c8160365c0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Console script for venim."""
import fire
from venim.utils import write_out_fits_headers
def main():
fire.Fire(write_out_fits_headers)
| 14.166667 | 46 | 0.705882 | 25 | 170 | 4.56 | 0.68 | 0.140351 | 0.210526 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.158824 | 170 | 11 | 47 | 15.454545 | 0.79021 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
50fc31e3fafcf72c12d0c92bf40d52711dbdcb0f | 24 | py | Python | 01-Lesson-Plans/03-Python/3/Activities/04-Evr_List_Comprehensions/Unsolved/comprehensions.py | anirudhmungre/sneaky-lessons | 8e48015c50865059db96f8cd369bcc15365d66c7 | [
"ADSL"
] | 1 | 2021-04-13T07:14:34.000Z | 2021-04-13T07:14:34.000Z | 01-Lesson-Plans/03-Python/3/Activities/04-Evr_List_Comprehensions/Unsolved/comprehensions.py | anirudhmungre/sneaky-lessons | 8e48015c50865059db96f8cd369bcc15365d66c7 | [
"ADSL"
] | 2 | 2021-06-02T03:14:19.000Z | 2022-02-11T23:21:24.000Z | 01-Lesson-Plans/03-Python/3/Activities/04-Evr_List_Comprehensions/Unsolved/comprehensions.py | anirudhmungre/sneaky-lessons | 8e48015c50865059db96f8cd369bcc15365d66c7 | [
"ADSL"
] | 1 | 2021-05-07T13:26:50.000Z | 2021-05-07T13:26:50.000Z | # @TODO: Your code here
| 12 | 23 | 0.666667 | 4 | 24 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 1 | 24 | 24 | 0.842105 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0fe042876b1040e29b393107b760268cd91decb1 | 126 | py | Python | src/rec_avro/__init__.py | bmizhen/rec-avro | a006b211e48318fb730d6bc3409b647ed55731cd | [
"MIT"
] | 15 | 2019-03-31T19:29:30.000Z | 2022-03-16T06:36:15.000Z | src/rec_avro/__init__.py | bmizhen/rec-avro | a006b211e48318fb730d6bc3409b647ed55731cd | [
"MIT"
] | 5 | 2019-11-11T09:03:33.000Z | 2021-12-09T19:31:57.000Z | src/rec_avro/__init__.py | bmizhen/rec-avro | a006b211e48318fb730d6bc3409b647ed55731cd | [
"MIT"
] | 5 | 2019-03-31T19:33:23.000Z | 2019-11-21T17:51:36.000Z | from rec_avro.core import to_rec_avro_destructive, \
from_rec_avro_destructive, rec_avro_schema, \
is_rec_avro_schema
| 31.5 | 52 | 0.81746 | 20 | 126 | 4.55 | 0.45 | 0.384615 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134921 | 126 | 3 | 53 | 42 | 0.834862 | 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 |
e840e3fd58612eca2965f78a01dce969893df968 | 419 | py | Python | webd/views.py | Lovekesh-GH/HappyTails | 1865ad5c120b66987c6ad4a3ceb347270aa88683 | [
"MIT"
] | null | null | null | webd/views.py | Lovekesh-GH/HappyTails | 1865ad5c120b66987c6ad4a3ceb347270aa88683 | [
"MIT"
] | null | null | null | webd/views.py | Lovekesh-GH/HappyTails | 1865ad5c120b66987c6ad4a3ceb347270aa88683 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'index.html')
def pies(request):
return render(request, 'pies.html')
def schedule(request):
return render(request, 'schedule.html')
def schedule2(request):
return render(request, 'schedule2.html')
def schedule3(request):
return ren... | 19.952381 | 41 | 0.756563 | 53 | 419 | 5.981132 | 0.283019 | 0.246057 | 0.359621 | 0.492114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.112172 | 419 | 20 | 42 | 20.95 | 0.836022 | 0 | 0 | 0 | 0 | 0 | 0.177033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 0.461538 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e8557e16297e4f46926a0bf9e1fe5a178b9151c0 | 138 | py | Python | tf_kde/__init__.py | AstroViking/tf-kde | a13deff0384b8d91af1d71909762242ff9b3e54e | [
"WTFPL"
] | 1 | 2021-11-19T03:00:47.000Z | 2021-11-19T03:00:47.000Z | tf_kde/__init__.py | AstroViking/tf-kde | a13deff0384b8d91af1d71909762242ff9b3e54e | [
"WTFPL"
] | 2 | 2020-11-06T14:05:46.000Z | 2021-02-12T17:39:00.000Z | tf_kde/__init__.py | AstroViking/tf-kde | a13deff0384b8d91af1d71909762242ff9b3e54e | [
"WTFPL"
] | 2 | 2021-06-14T09:25:16.000Z | 2021-11-19T03:00:49.000Z | from tf_kde import helper
from tf_kde import distribution
from tf_kde import benchmark
__all__ = ["helper", "distribution", "benchmark"]
| 23 | 49 | 0.789855 | 19 | 138 | 5.368421 | 0.421053 | 0.176471 | 0.264706 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 138 | 5 | 50 | 27.6 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e864a59733d8cb89569d8d02aed02e6826b5f3d1 | 205 | py | Python | pycwr/configure/__init__.py | aliny2003/pycwr | 3186125bdd2f551b9c59639dca567a1c06b50e96 | [
"MIT"
] | 144 | 2019-11-27T14:36:41.000Z | 2022-02-23T08:21:17.000Z | pycwr/configure/__init__.py | zhaopingsun/pycwr | 7459371588e6d0d6d0737e249afa3921fe073151 | [
"MIT"
] | 32 | 2019-11-29T10:11:53.000Z | 2022-03-14T07:46:44.000Z | pycwr/configure/__init__.py | zhaopingsun/pycwr | 7459371588e6d0d6d0737e249afa3921fe073151 | [
"MIT"
] | 57 | 2019-11-27T12:51:44.000Z | 2022-01-29T14:50:05.000Z | from . import default_config, location_config, pyart_config, pyart_default_config, pyart_lazydict
__all__ = ["default_config", "location_config", "pyart_lazydict", "pyart_default_config", "pyart_config"]
| 51.25 | 105 | 0.814634 | 25 | 205 | 6.04 | 0.32 | 0.364238 | 0.278146 | 0.357616 | 0.423841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078049 | 205 | 3 | 106 | 68.333333 | 0.798942 | 0 | 0 | 0 | 0 | 0 | 0.367647 | 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 |
e86803aed26439fedd8a73875db1594d12bc53d7 | 9,865 | py | Python | commonroad/tests/scenario/test_traffic_sign.py | CommonRoad/commonroad-io | 93824961da9c41eb7768b5cf1acbed9a07446dc2 | [
"BSD-3-Clause"
] | 3 | 2022-01-05T09:10:18.000Z | 2022-03-22T15:09:43.000Z | commonroad/tests/scenario/test_traffic_sign.py | CommonRoad/commonroad-io | 93824961da9c41eb7768b5cf1acbed9a07446dc2 | [
"BSD-3-Clause"
] | null | null | null | commonroad/tests/scenario/test_traffic_sign.py | CommonRoad/commonroad-io | 93824961da9c41eb7768b5cf1acbed9a07446dc2 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import numpy as np
from commonroad.scenario.traffic_sign import TrafficLight, TrafficLightCycleElement, TrafficLightState, TrafficSign, \
TrafficSignElement, TrafficSignIDZamunda, TrafficSignIDGermany, TrafficLightDirection
class TestTrafficSign(unittest.TestCase):
def test_translate_rotate(se... | 51.11399 | 118 | 0.71556 | 1,239 | 9,865 | 5.361582 | 0.075061 | 0.145717 | 0.056751 | 0.057203 | 0.888303 | 0.855336 | 0.808972 | 0.761554 | 0.739124 | 0.679512 | 0 | 0.052138 | 0.167866 | 9,865 | 192 | 119 | 51.380208 | 0.757096 | 0 | 0 | 0.572464 | 0 | 0 | 0.00446 | 0 | 0 | 0 | 0 | 0 | 0.318841 | 1 | 0.07971 | false | 0 | 0.021739 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e86ee05b3a35881aee4b066e3596c7d2eda41089 | 22 | py | Python | conditional_independence/ci_tests/oracle/__init__.py | uhlerlab/conditional_independence | aa4b5117b6f24bf39433d427d490312864e9bd69 | [
"BSD-3-Clause"
] | 4 | 2021-01-29T20:27:31.000Z | 2022-02-01T11:55:33.000Z | conditional_independence/ci_tests/oracle/__init__.py | uhlerlab/conditional_independence | aa4b5117b6f24bf39433d427d490312864e9bd69 | [
"BSD-3-Clause"
] | null | null | null | conditional_independence/ci_tests/oracle/__init__.py | uhlerlab/conditional_independence | aa4b5117b6f24bf39433d427d490312864e9bd69 | [
"BSD-3-Clause"
] | 1 | 2021-09-12T13:41:21.000Z | 2021-09-12T13:41:21.000Z | from .oracle import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8a691b9b55b73aaea668057a33b2e66c3a8b5df | 27,593 | py | Python | source/code/code_pipeline_tags.py | Frankovich73/tag-tamer | d30983493191ec7b402d542be5f80b6d07645444 | [
"MIT",
"MIT-0"
] | null | null | null | source/code/code_pipeline_tags.py | Frankovich73/tag-tamer | d30983493191ec7b402d542be5f80b6d07645444 | [
"MIT",
"MIT-0"
] | null | null | null | source/code/code_pipeline_tags.py | Frankovich73/tag-tamer | d30983493191ec7b402d542be5f80b6d07645444 | [
"MIT",
"MIT-0"
] | 1 | 2021-09-17T17:42:49.000Z | 2021-09-17T17:42:49.000Z | #!/usr/bin/env python3
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
# Getters & Setters for AWS Code Pipeline resource tags
# This class supports the main "resources_tags" class
# Included class & methods
# class - code_pipeline_tags
# method - get_code_pipel... | 57.725941 | 168 | 0.595767 | 2,962 | 27,593 | 5.284267 | 0.072248 | 0.037695 | 0.051878 | 0.060823 | 0.830054 | 0.798684 | 0.784692 | 0.765014 | 0.735433 | 0.721314 | 0 | 0.005221 | 0.312833 | 27,593 | 478 | 169 | 57.725941 | 0.820263 | 0.092161 | 0 | 0.675824 | 0 | 0 | 0.136953 | 0.020165 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063187 | false | 0 | 0.016484 | 0 | 0.096154 | 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 |
e8cee600b4a4de35b6d8d69094b6a70cef27acc6 | 134 | py | Python | thefuck/rules/cargo.py | Archstacker/thefuck | ebe53f0d181c28ec2f7a86f46d7d51a7d48bbd9e | [
"MIT"
] | 1 | 2021-05-08T23:24:17.000Z | 2021-05-08T23:24:17.000Z | thefuck/rules/cargo.py | Archstacker/thefuck | ebe53f0d181c28ec2f7a86f46d7d51a7d48bbd9e | [
"MIT"
] | null | null | null | thefuck/rules/cargo.py | Archstacker/thefuck | ebe53f0d181c28ec2f7a86f46d7d51a7d48bbd9e | [
"MIT"
] | 1 | 2021-06-21T09:01:08.000Z | 2021-06-21T09:01:08.000Z | def match(command, settings):
return command.script == 'cargo'
def get_new_command(command, settings):
return 'cargo build'
| 19.142857 | 39 | 0.716418 | 17 | 134 | 5.529412 | 0.588235 | 0.319149 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171642 | 134 | 6 | 40 | 22.333333 | 0.846847 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
2cf7e0dc7a1af07902930ff9806d28e50c6ed828 | 43 | py | Python | sentimentr/__init__.py | modarwish1/sentimentr | 631d94de5e9afad4b0f3fae111270971cd2a1b58 | [
"MIT"
] | 3 | 2021-02-10T08:42:40.000Z | 2022-02-27T05:48:49.000Z | sentimentr/__init__.py | modarwish1/sentimentr | 631d94de5e9afad4b0f3fae111270971cd2a1b58 | [
"MIT"
] | null | null | null | sentimentr/__init__.py | modarwish1/sentimentr | 631d94de5e9afad4b0f3fae111270971cd2a1b58 | [
"MIT"
] | null | null | null | from sentimentr.sentimentr import Sentiment | 43 | 43 | 0.906977 | 5 | 43 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.975 | 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 |
2cf81590f22c19dffe5c88d116a96bd2c8ffd3c9 | 1,272 | py | Python | FJSP/routing_models/saving_state_dict.py | Harrison-Mao/PhD-Thesis-Projects | a4063c3fa06602d95d9215ae9b6ed3e4b55dc017 | [
"Apache-2.0"
] | 2 | 2022-03-25T07:51:17.000Z | 2022-03-25T07:52:23.000Z | FJSP/routing_models/saving_state_dict.py | Harrison-Mao/PhD-Thesis-Projects | a4063c3fa06602d95d9215ae9b6ed3e4b55dc017 | [
"Apache-2.0"
] | null | null | null | FJSP/routing_models/saving_state_dict.py | Harrison-Mao/PhD-Thesis-Projects | a4063c3fa06602d95d9215ae9b6ed3e4b55dc017 | [
"Apache-2.0"
] | null | null | null | import sys
import time
import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
sys.path
print(sys.path)
'''
# copy the old file
from_address = "{}\\Deeper_state_dict.pt".format(sys.path[0])
parameters = torch.load(from_address)
print("from:",from_address)
# to new... | 25.959184 | 73 | 0.705189 | 193 | 1,272 | 4.450777 | 0.19171 | 0.153667 | 0.102445 | 0.139697 | 0.779977 | 0.779977 | 0.750873 | 0.740396 | 0.740396 | 0.671711 | 0 | 0.016202 | 0.126572 | 1,272 | 48 | 74 | 26.5 | 0.756976 | 0.022799 | 0 | 0 | 0 | 0 | 0.150617 | 0.130864 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0.214286 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
fa07a56084b981725845068c9f4fb4a20363e1e0 | 42 | py | Python | tensor_print/__init__.py | zhoujun-7/tensor-print | 0eb5cb706aefbeb85f841045d04f75adda4dd08d | [
"MIT"
] | 1 | 2022-03-19T05:10:28.000Z | 2022-03-19T05:10:28.000Z | tensor_print/__init__.py | zhoujun-7/tensor-print | 0eb5cb706aefbeb85f841045d04f75adda4dd08d | [
"MIT"
] | null | null | null | tensor_print/__init__.py | zhoujun-7/tensor-print | 0eb5cb706aefbeb85f841045d04f75adda4dd08d | [
"MIT"
] | null | null | null | from .utils import *
from .core import tpr | 21 | 21 | 0.761905 | 7 | 42 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 21 | 21 | 0.914286 | 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 |
3afe158d76fff2e2d4a8d818cc48929e4e8e441a | 8,699 | py | Python | tbtc/constants.py | ankitchiplunkar/tbtc.py | 76be1c6439aaf61fb83dab1a6a237bea72625d53 | [
"MIT"
] | null | null | null | tbtc/constants.py | ankitchiplunkar/tbtc.py | 76be1c6439aaf61fb83dab1a6a237bea72625d53 | [
"MIT"
] | null | null | null | tbtc/constants.py | ankitchiplunkar/tbtc.py | 76be1c6439aaf61fb83dab1a6a237bea72625d53 | [
"MIT"
] | null | null | null | contracts = {
"1.1.0": {
"mainnet": {
"KeepToken": "0x85Eee30c52B0b379b046Fb0F85F4f3Dc3009aFEC",
"KeepRandomBeaconOperatorStatistics": "0x3975CE253fF9d586cF08C3898f95064b7a5718E7",
"TokenGrant": "0x175989c71Fd023D580C65F5dC214002687ff88B7",
"GroupSelection": "... | 71.892562 | 95 | 0.734107 | 230 | 8,699 | 27.765217 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.413394 | 0.186343 | 8,699 | 120 | 96 | 72.491667 | 0.488839 | 0 | 0 | 0 | 0 | 0 | 0.733303 | 0.604897 | 0 | 0 | 0.540752 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad3fbfe3942fa848064bc73d6ba13ce20872ee49 | 2,544 | py | Python | features/steps/steps.py | tinytacoteam/dotties-core.py | 1597cb09299f58df696f1a2de537c13d844d63bb | [
"Unlicense"
] | null | null | null | features/steps/steps.py | tinytacoteam/dotties-core.py | 1597cb09299f58df696f1a2de537c13d844d63bb | [
"Unlicense"
] | null | null | null | features/steps/steps.py | tinytacoteam/dotties-core.py | 1597cb09299f58df696f1a2de537c13d844d63bb | [
"Unlicense"
] | null | null | null | from behave import *
use_step_matcher("re")
# Given
@given(u'I have "(?P<package>[^"]*)" installed')
def step_impl(context, package):
context.scenario.skip()
@given(u'"~/.zshrc" is no longer owned by my user')
def step_impl(context):
context.scenario.skip()
@given(u'I have no files in "~/"')
def step_impl(c... | 24.228571 | 64 | 0.684355 | 390 | 2,544 | 4.397436 | 0.194872 | 0.097959 | 0.153936 | 0.251895 | 0.770845 | 0.755102 | 0.739942 | 0.718367 | 0.68863 | 0.662974 | 0 | 0 | 0.143475 | 2,544 | 104 | 65 | 24.461538 | 0.787058 | 0.005896 | 0 | 0.621622 | 0 | 0 | 0.348119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.324324 | false | 0 | 0.013514 | 0 | 0.337838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8edf32a20d176ffb2bc143fde0512d0f588b84c | 32 | bzl | Python | deps.bzl | grigoryevandrey/logistics-app | b33a277375760a2a90ea3e6bca9509723b95e0b1 | [
"MIT"
] | null | null | null | deps.bzl | grigoryevandrey/logistics-app | b33a277375760a2a90ea3e6bca9509723b95e0b1 | [
"MIT"
] | null | null | null | deps.bzl | grigoryevandrey/logistics-app | b33a277375760a2a90ea3e6bca9509723b95e0b1 | [
"MIT"
] | null | null | null | def go_dependencies():
pass
| 10.666667 | 22 | 0.6875 | 4 | 32 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 2 | 23 | 16 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d16dc6da2ec8189386f4bbff3d9af57a0480c4b9 | 25 | py | Python | apps/pages/views/__init__.py | Nelson-Morais/HA-OOAD | 82bd00ba7ab5f11f43bc90b505ee8afd0b86c7b5 | [
"Apache-2.0"
] | null | null | null | apps/pages/views/__init__.py | Nelson-Morais/HA-OOAD | 82bd00ba7ab5f11f43bc90b505ee8afd0b86c7b5 | [
"Apache-2.0"
] | null | null | null | apps/pages/views/__init__.py | Nelson-Morais/HA-OOAD | 82bd00ba7ab5f11f43bc90b505ee8afd0b86c7b5 | [
"Apache-2.0"
] | null | null | null | from .PagesView import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f88d1d47fc97f0840054951505a7a99aa3383ea | 24 | py | Python | app/app/bot/__init__.py | czr1803/kryptos | 2e8e20b81c7486283ab39df053146048f5496474 | [
"MIT"
] | 45 | 2019-01-27T13:47:51.000Z | 2022-03-13T00:25:21.000Z | app/app/bot/__init__.py | czr1803/kryptos | 2e8e20b81c7486283ab39df053146048f5496474 | [
"MIT"
] | 64 | 2019-01-24T06:43:13.000Z | 2020-03-09T17:14:52.000Z | app/app/bot/__init__.py | produvia/kryptos | 2e8e20b81c7486283ab39df053146048f5496474 | [
"MIT"
] | 4 | 2019-11-21T10:49:17.000Z | 2021-09-30T03:33:00.000Z | from . import assistant
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 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 |
7e71d844f3014ebdc28e00626083bda0c8e2eede | 33 | py | Python | cat/hash/__init__.py | e12005490/CAT | f322f885360439327221fb51e23ed42d8fdeda00 | [
"BSD-3-Clause"
] | 2 | 2021-06-23T14:27:27.000Z | 2021-07-04T13:44:03.000Z | cat/hash/__init__.py | e12005490/CAT | f322f885360439327221fb51e23ed42d8fdeda00 | [
"BSD-3-Clause"
] | null | null | null | cat/hash/__init__.py | e12005490/CAT | f322f885360439327221fb51e23ed42d8fdeda00 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T21:03:32.000Z | 2020-12-02T21:03:32.000Z | from .extendable import hashpump
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7e7684a13b1bdbfc7184a434c12399c3f3554c48 | 25 | py | Python | buy.py | SingleSele/SECodeWarehouse | c1ca4329c284efce5458c1ba39c1418249e87ddf | [
"MIT"
] | null | null | null | buy.py | SingleSele/SECodeWarehouse | c1ca4329c284efce5458c1ba39c1418249e87ddf | [
"MIT"
] | null | null | null | buy.py | SingleSele/SECodeWarehouse | c1ca4329c284efce5458c1ba39c1418249e87ddf | [
"MIT"
] | null | null | null | print("Products bought!") | 25 | 25 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 25 | 1 | 25 | 25 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 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 |
7e9da7f8fee8371e393e86842fd65012ac424ddc | 41 | py | Python | topdown/__init__.py | willieLjohnson/topdownpygame | 46ec756568c9bb3b2c49126090a797952c6c7f7d | [
"MIT"
] | null | null | null | topdown/__init__.py | willieLjohnson/topdownpygame | 46ec756568c9bb3b2c49126090a797952c6c7f7d | [
"MIT"
] | null | null | null | topdown/__init__.py | willieLjohnson/topdownpygame | 46ec756568c9bb3b2c49126090a797952c6c7f7d | [
"MIT"
] | null | null | null | from . import hello, bouncygame, topdown
| 20.5 | 40 | 0.780488 | 5 | 41 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 1 | 41 | 41 | 0.914286 | 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 |
0e40592a6633a13f4ee2a6303464a46be2ca528b | 8,594 | py | Python | tests/test_binary_tree.py | betandr/algorithms_plus_data_structures | 579b57954f487eb977b7419d91797d441a0c4584 | [
"MIT"
] | null | null | null | tests/test_binary_tree.py | betandr/algorithms_plus_data_structures | 579b57954f487eb977b7419d91797d441a0c4584 | [
"MIT"
] | null | null | null | tests/test_binary_tree.py | betandr/algorithms_plus_data_structures | 579b57954f487eb977b7419d91797d441a0c4584 | [
"MIT"
] | null | null | null | import unittest
from structures.binary_tree import BinaryTreeNode, BinaryTree
class TestBinaryTree(unittest.TestCase):
def setUp(self):
self._binary_tree = BinaryTree()
def test_node_returns_value(self):
node = BinaryTreeNode(1)
assert(node.value == 1)
def test_node_children_have... | 38.026549 | 81 | 0.656737 | 1,221 | 8,594 | 4.253071 | 0.059787 | 0.277296 | 0.385519 | 0.245523 | 0.816099 | 0.741575 | 0.660312 | 0.598305 | 0.570576 | 0.547468 | 0 | 0.027307 | 0.224459 | 8,594 | 225 | 82 | 38.195556 | 0.751838 | 0 | 0 | 0.579208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.405941 | 1 | 0.09901 | false | 0 | 0.009901 | 0 | 0.113861 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0e98a7050531ad56c9e93f0497557e846da3fff4 | 138 | py | Python | python/activations.py | Egesabanci/perceptrons | 43ef3558c02a11cb696626e4a2b4728de2d0c1d9 | [
"MIT"
] | 1 | 2021-11-17T12:14:44.000Z | 2021-11-17T12:14:44.000Z | python/activations.py | egesabanci/perceptrons | 91711c4c5c9178507f608ed52265c8a80beea4de | [
"MIT"
] | null | null | null | python/activations.py | egesabanci/perceptrons | 91711c4c5c9178507f608ed52265c8a80beea4de | [
"MIT"
] | null | null | null | import numpy as np
def relu(num: float):
return np.max(0, num)
def sigmoid(num: float):
return 1 / (1 + np.power(np.exp(1), -num)) | 15.333333 | 44 | 0.630435 | 26 | 138 | 3.346154 | 0.576923 | 0.183908 | 0.321839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.195652 | 138 | 9 | 44 | 15.333333 | 0.747748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7ef5345bc82076a86908feb30fe866ca382ca497 | 38 | py | Python | okapi/__init__.py | unit9/okapi | a309fe9101227f40713e098808daf3f19a088c38 | [
"MIT"
] | null | null | null | okapi/__init__.py | unit9/okapi | a309fe9101227f40713e098808daf3f19a088c38 | [
"MIT"
] | null | null | null | okapi/__init__.py | unit9/okapi | a309fe9101227f40713e098808daf3f19a088c38 | [
"MIT"
] | null | null | null | from .base import APIClient, Resource
| 19 | 37 | 0.815789 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.939394 | 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 |
7d2eac560dbc3b3fe9aa6ada8c874917deac7477 | 196 | py | Python | kitt/serialization.py | David-Ciz/kitt | 44a6faf7fcf1bc6f3db082debeab0ef4dfcc9c4a | [
"MIT"
] | 2 | 2020-07-24T08:40:45.000Z | 2021-04-27T08:27:35.000Z | kitt/serialization.py | David-Ciz/kitt | 44a6faf7fcf1bc6f3db082debeab0ef4dfcc9c4a | [
"MIT"
] | 6 | 2020-10-27T10:02:19.000Z | 2022-02-08T07:14:45.000Z | kitt/serialization.py | David-Ciz/kitt | 44a6faf7fcf1bc6f3db082debeab0ef4dfcc9c4a | [
"MIT"
] | 3 | 2020-07-24T11:32:30.000Z | 2021-04-29T11:41:05.000Z | import dataclasses
import dacite
def dataclass_to_dict(obj):
return dataclasses.asdict(obj)
def dataclass_from_dict(cls, data, **kwargs):
return dacite.from_dict(cls, data, **kwargs)
| 16.333333 | 48 | 0.75 | 27 | 196 | 5.259259 | 0.518519 | 0.169014 | 0.15493 | 0.211268 | 0.295775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147959 | 196 | 11 | 49 | 17.818182 | 0.850299 | 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 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
bc13779cd982b0757701aada37eb1601fcb8ffc1 | 1,126 | py | Python | commands/AdminCommands.py | WonkyPigs/Discord-Economy-Bot | 3d3be504d2ed69f9a65657b0ba02d3995f166876 | [
"MIT"
] | 1 | 2022-02-01T20:03:07.000Z | 2022-02-01T20:03:07.000Z | commands/AdminCommands.py | WonkyPigs/Discord-Economy-Bot | 3d3be504d2ed69f9a65657b0ba02d3995f166876 | [
"MIT"
] | null | null | null | commands/AdminCommands.py | WonkyPigs/Discord-Economy-Bot | 3d3be504d2ed69f9a65657b0ba02d3995f166876 | [
"MIT"
] | null | null | null | from data.db.db import *
async def GivePlayerGold(interaction,arg1,arg2,owner_id):
if interaction.user.id==owner_id:
execute(f"SELECT Gold FROM PlayerEconomy WHERE UserID = ?",arg1)
reply = cur.fetchall()
Gold = reply[0][0]
Gold = int(Gold) + int(arg2)
execute("UPDATE Pla... | 45.04 | 99 | 0.646536 | 143 | 1,126 | 5.034965 | 0.307692 | 0.038889 | 0.133333 | 0.155556 | 0.869444 | 0.869444 | 0.869444 | 0.869444 | 0.869444 | 0.869444 | 0 | 0.020761 | 0.230018 | 1,126 | 25 | 100 | 45.04 | 0.809689 | 0 | 0 | 0.695652 | 0 | 0 | 0.294587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.043478 | 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 |
bc1f36dec3f22e96ff02eb566d83f76a68851542 | 3,486 | py | Python | core/src/main/python/wlsdeploy/tool/deploy/log_helper.py | CarolynRountree/weblogic-deploy-tooling | 69c618d57a4f26d6a82da497419a733a9af7a2b1 | [
"MIT"
] | null | null | null | core/src/main/python/wlsdeploy/tool/deploy/log_helper.py | CarolynRountree/weblogic-deploy-tooling | 69c618d57a4f26d6a82da497419a733a9af7a2b1 | [
"MIT"
] | null | null | null | core/src/main/python/wlsdeploy/tool/deploy/log_helper.py | CarolynRountree/weblogic-deploy-tooling | 69c618d57a4f26d6a82da497419a733a9af7a2b1 | [
"MIT"
] | null | null | null | """
Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
The Universal Permissive License (UPL), Version 1.0
"""
from wlsdeploy.logging.platform_logger import PlatformLogger
_logger = PlatformLogger('wlsdeploy.deploy')
def log_updating_folder(type_name, parent_type, parent_name, is_add, clas... | 49.098592 | 113 | 0.692484 | 504 | 3,486 | 4.525794 | 0.144841 | 0.118369 | 0.159579 | 0.116616 | 0.859711 | 0.843928 | 0.837352 | 0.837352 | 0.801403 | 0.801403 | 0 | 0.026217 | 0.234079 | 3,486 | 70 | 114 | 49.8 | 0.82809 | 0.312392 | 0 | 0.578947 | 0 | 0 | 0.074848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.026316 | 0 | 0.078947 | 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 |
70bb9f49581b571fe8a4806b953082bea92380e9 | 282 | py | Python | nsi_utils/mechante.py | LutinDesMontagnes/nsi_utils | e4d4b906cfb8bf04df65e33592e287c3358285eb | [
"MIT"
] | null | null | null | nsi_utils/mechante.py | LutinDesMontagnes/nsi_utils | e4d4b906cfb8bf04df65e33592e287c3358285eb | [
"MIT"
] | null | null | null | nsi_utils/mechante.py | LutinDesMontagnes/nsi_utils | e4d4b906cfb8bf04df65e33592e287c3358285eb | [
"MIT"
] | null | null | null | class Mechante:
def __init__(self):
self.name = "Mme Corvo"
def crier_eleves(self, pupil_name):
return print("Ferme ta bouche " + pupil_name)
def mettre_zero(self, pupil_name):
return print("Félicitation, tu as un beau zéro" + pupil_name)
| 35.25 | 70 | 0.64539 | 38 | 282 | 4.526316 | 0.631579 | 0.209302 | 0.151163 | 0.22093 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258865 | 282 | 7 | 71 | 40.285714 | 0.822967 | 0 | 0 | 0 | 0 | 0 | 0.207273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.857143 | 0.285714 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
70e576770031bc3129c1be5c01d843dd26ec76fc | 35 | py | Python | jdaviz/configs/imviz/plugins/coords_info/__init__.py | check-spelling/jdaviz | bfd0514d13bdc6fa0b8c8536a603293409270337 | [
"MIT",
"BSD-3-Clause"
] | 55 | 2019-05-24T18:53:05.000Z | 2022-03-14T08:45:52.000Z | jdaviz/configs/imviz/plugins/coords_info/__init__.py | check-spelling/jdaviz | bfd0514d13bdc6fa0b8c8536a603293409270337 | [
"MIT",
"BSD-3-Clause"
] | 1,105 | 2019-05-09T15:17:35.000Z | 2022-03-31T21:22:18.000Z | jdaviz/configs/imviz/plugins/coords_info/__init__.py | rosteen/jdaviz | e02c08d68ef71c5e40600785f46e65e5ae95e236 | [
"MIT",
"BSD-3-Clause"
] | 49 | 2019-05-07T18:05:42.000Z | 2022-03-22T15:15:34.000Z | from .coords_info import * # noqa
| 17.5 | 34 | 0.714286 | 5 | 35 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.857143 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb321e74ab46512b39d132620d5f7cfa8bf5533f | 39 | py | Python | fundata/dota2/match/__init__.py | codeway3/fundata-python-sdk | 3117adcdeb5944fc5c99912460a920d913430177 | [
"MIT"
] | 1 | 2019-11-16T14:09:07.000Z | 2019-11-16T14:09:07.000Z | fundata/dota2/match/__init__.py | codeway3/fundata-python-sdk | 3117adcdeb5944fc5c99912460a920d913430177 | [
"MIT"
] | null | null | null | fundata/dota2/match/__init__.py | codeway3/fundata-python-sdk | 3117adcdeb5944fc5c99912460a920d913430177 | [
"MIT"
] | null | null | null |
from batch import get_batch_basic_info | 19.5 | 38 | 0.897436 | 7 | 39 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 2 | 38 | 19.5 | 0.914286 | 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 |
cb9c42032efd13ac25ad6a832da754d40c88b36c | 160 | py | Python | src/actions/actions/__init__.py | petroladkin/ros2_advanced_examples | dcb8d7ad02b9114130637fbc36d70ea898fb9232 | [
"MIT"
] | null | null | null | src/actions/actions/__init__.py | petroladkin/ros2_advanced_examples | dcb8d7ad02b9114130637fbc36d70ea898fb9232 | [
"MIT"
] | null | null | null | src/actions/actions/__init__.py | petroladkin/ros2_advanced_examples | dcb8d7ad02b9114130637fbc36d70ea898fb9232 | [
"MIT"
] | null | null | null | from actions.ros2_specs import ServerGoalHandleSpec, ClientGoalHandleSpec
from actions.server_node import ServerNode
from actions.client_node import ClientNode
| 40 | 73 | 0.89375 | 19 | 160 | 7.368421 | 0.631579 | 0.235714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.08125 | 160 | 3 | 74 | 53.333333 | 0.945578 | 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 |
cb9c7a82418f1a5a21bd51a87db08b1eb935f209 | 141 | py | Python | ch05_clustering/List_5_2.py | naokikambe/TensorFlow-Book | 82fe35873b2e423641ef30c682823d839e61a1f1 | [
"MIT"
] | null | null | null | ch05_clustering/List_5_2.py | naokikambe/TensorFlow-Book | 82fe35873b2e423641ef30c682823d839e61a1f1 | [
"MIT"
] | null | null | null | ch05_clustering/List_5_2.py | naokikambe/TensorFlow-Book | 82fe35873b2e423641ef30c682823d839e61a1f1 | [
"MIT"
] | null | null | null | from bregman.suite import *
def get_chromagram(audio_file):
F = Chromagram(audio_file, nfft=16384, wfft=8192, nhop=2205)
return F.X
| 23.5 | 64 | 0.730496 | 22 | 141 | 4.545455 | 0.818182 | 0.3 | 0.38 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110169 | 0.163121 | 141 | 5 | 65 | 28.2 | 0.737288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
cbd407cb7a7e07bb0746055337006a81a11cfc8c | 48 | py | Python | data/gui/__init__.py | daniboyrc/rpg_game | 1c70e919f252860c5318ddd64b8535e747f8f547 | [
"MIT"
] | null | null | null | data/gui/__init__.py | daniboyrc/rpg_game | 1c70e919f252860c5318ddd64b8535e747f8f547 | [
"MIT"
] | null | null | null | data/gui/__init__.py | daniboyrc/rpg_game | 1c70e919f252860c5318ddd64b8535e747f8f547 | [
"MIT"
] | null | null | null | from gui_dialogo import *
from guiquest import * | 24 | 25 | 0.8125 | 7 | 48 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 26 | 24 | 0.926829 | 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 |
1dade444c36edf8a9178d9fad5c9eea0e605e020 | 129 | py | Python | persephone/tests/test_datasets.py | a-tsioh/persephone | 254e70018237cfb3c06ffd04a418673b4e6b953f | [
"Apache-2.0"
] | 133 | 2018-05-06T10:46:19.000Z | 2021-11-04T01:54:50.000Z | persephone/tests/test_datasets.py | a-tsioh/persephone | 254e70018237cfb3c06ffd04a418673b4e6b953f | [
"Apache-2.0"
] | 119 | 2018-01-28T03:18:28.000Z | 2018-04-30T05:30:21.000Z | persephone/tests/test_datasets.py | a-tsioh/persephone | 254e70018237cfb3c06ffd04a418673b4e6b953f | [
"Apache-2.0"
] | 26 | 2018-05-14T08:09:18.000Z | 2022-02-09T18:12:36.000Z | import pytest
def test_na():
import persephone.datasets.na
def test_kunwinjku_steven():
import persephone.datasets.bkw
| 16.125 | 34 | 0.767442 | 17 | 129 | 5.647059 | 0.588235 | 0.145833 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155039 | 129 | 7 | 35 | 18.428571 | 0.880734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.6 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1db4cd6bb2c941c8ae073f0a2ec0e12cac9be15f | 21 | py | Python | src/compas_fea/fea/abaq/__init__.py | yijiangh/compas_fea | 632542da6a3794f6a82c30131c61a421a10a9aa8 | [
"MIT"
] | null | null | null | src/compas_fea/fea/abaq/__init__.py | yijiangh/compas_fea | 632542da6a3794f6a82c30131c61a421a10a9aa8 | [
"MIT"
] | null | null | null | src/compas_fea/fea/abaq/__init__.py | yijiangh/compas_fea | 632542da6a3794f6a82c30131c61a421a10a9aa8 | [
"MIT"
] | null | null | null |
from .abaq import *
| 7 | 19 | 0.666667 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 2 | 20 | 10.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1dd26ff0ea28ac2bc5ef68363cec352178388050 | 81 | py | Python | proglearn/sims/__init__.py | mkusman1/progressive-learning | af26fc89a14d6d41505d10d0d30a949ef8aa69d9 | [
"Apache-2.0"
] | null | null | null | proglearn/sims/__init__.py | mkusman1/progressive-learning | af26fc89a14d6d41505d10d0d30a949ef8aa69d9 | [
"Apache-2.0"
] | null | null | null | proglearn/sims/__init__.py | mkusman1/progressive-learning | af26fc89a14d6d41505d10d0d30a949ef8aa69d9 | [
"Apache-2.0"
] | null | null | null | from .sim import generate_gaussian_parity
__all__ = ["generate_gaussian_parity"] | 27 | 41 | 0.839506 | 10 | 81 | 6 | 0.7 | 0.533333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 81 | 3 | 42 | 27 | 0.810811 | 0 | 0 | 0 | 1 | 0 | 0.292683 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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.