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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f49f72f4aca1f5cbfa038d4b9418a37fd687446f | 118 | py | Python | main.py | lzx325/gnn | e5f77cf30d25daf87063b7bd56dab5a242cd67e2 | [
"BSD-3-Clause"
] | null | null | null | main.py | lzx325/gnn | e5f77cf30d25daf87063b7bd56dab5a242cd67e2 | [
"BSD-3-Clause"
] | null | null | null | main.py | lzx325/gnn | e5f77cf30d25daf87063b7bd56dab5a242cd67e2 | [
"BSD-3-Clause"
] | null | null | null | # import examples.GNN_Mutag
# examples.GNN_Mutag.main()
import examples.GNN_Subgraph
examples.GNN_Subgraph.main() | 23.6 | 29 | 0.79661 | 16 | 118 | 5.625 | 0.375 | 0.488889 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 5 | 30 | 23.6 | 0.849057 | 0.432203 | 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 |
f4c30da8b75ff82f1e00d1004d27cc7f54354e8f | 15,863 | py | Python | swift_search_worker/tests/test_utils.py | globocom/swift-metadata-indexer | 2e6048ea9b5cf76add97ee30049edc97200949fc | [
"Apache-2.0"
] | 1 | 2018-01-02T17:54:21.000Z | 2018-01-02T17:54:21.000Z | swift_search_worker/tests/test_utils.py | globocom/swift-metadata-indexer | 2e6048ea9b5cf76add97ee30049edc97200949fc | [
"Apache-2.0"
] | 1 | 2017-09-03T23:56:14.000Z | 2018-10-04T20:14:09.000Z | swift_search_worker/tests/test_utils.py | globocom/swift-metadata-indexer | 2e6048ea9b5cf76add97ee30049edc97200949fc | [
"Apache-2.0"
] | null | null | null | import collections
import json
import unittest
from mock import Mock, patch
from swift_search_worker.utils import queue_connection, queue_channel,\
get_obj_info, ElasticSearchUtils
from swift_search_worker.worker import callback
class UtilsTestCase(unittest.TestCase):
def setUp(self):
self.log = pat... | 32.24187 | 89 | 0.604678 | 1,843 | 15,863 | 4.880087 | 0.088443 | 0.052146 | 0.046698 | 0.066044 | 0.808539 | 0.794307 | 0.75517 | 0.74205 | 0.732155 | 0.72326 | 0 | 0.013749 | 0.280149 | 15,863 | 491 | 90 | 32.307536 | 0.773886 | 0.043687 | 0 | 0.66092 | 0 | 0 | 0.213281 | 0.080863 | 0 | 0 | 0 | 0 | 0.112069 | 1 | 0.08046 | false | 0.005747 | 0.017241 | 0 | 0.106322 | 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 |
760c4d41a1fc66c7c45b81e935c331d31286715c | 294 | py | Python | parser/fase2/team27/G-27/Optimizacion/Instrucciones/ins_if.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | null | null | null | parser/fase2/team27/G-27/Optimizacion/Instrucciones/ins_if.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | null | null | null | parser/fase2/team27/G-27/Optimizacion/Instrucciones/ins_if.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | null | null | null | from Optimizacion.Instrucciones.instruccion import *
class Ins_if(Instruccion):
def __init__(self, ins, params, goto):
Instruccion.__init__(self, ins, params)
self.goto = goto
def execute(self):
return {'ins': self.ins, 'params': self.params, 'goto': self.goto} | 36.75 | 74 | 0.673469 | 36 | 294 | 5.25 | 0.416667 | 0.111111 | 0.206349 | 0.179894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197279 | 294 | 8 | 74 | 36.75 | 0.800847 | 0 | 0 | 0 | 0 | 0 | 0.044068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
76152ea0622173443058905be9b952f42f1bd160 | 289 | py | Python | src/api/domain/schedule/ScheduleJob/ScheduleJobCommand.py | PythonDataIntegrator/pythondataintegrator | 6167778c36c2295e36199ac0d4d256a4a0c28d7a | [
"MIT"
] | 14 | 2020-12-19T15:06:13.000Z | 2022-01-12T19:52:17.000Z | src/api/domain/schedule/ScheduleJob/ScheduleJobCommand.py | PythonDataIntegrator/pythondataintegrator | 6167778c36c2295e36199ac0d4d256a4a0c28d7a | [
"MIT"
] | 43 | 2021-01-06T22:05:22.000Z | 2022-03-10T10:30:30.000Z | src/api/domain/schedule/ScheduleJob/ScheduleJobCommand.py | PythonDataIntegrator/pythondataintegrator | 6167778c36c2295e36199ac0d4d256a4a0c28d7a | [
"MIT"
] | 4 | 2020-12-18T23:10:09.000Z | 2021-04-02T13:03:12.000Z | from dataclasses import dataclass
from infrastructure.cqrs.ICommand import ICommand
from domain.schedule.ScheduleJob.ScheduleJobRequest import ScheduleJobRequest
@dataclass
class ScheduleJobCommand(ICommand):
# TODO:Command attributes
request: ScheduleJobRequest = None
pass
| 26.272727 | 77 | 0.82699 | 28 | 289 | 8.535714 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128028 | 289 | 10 | 78 | 28.9 | 0.948413 | 0.079585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0 | true | 0.142857 | 0.428571 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
762565bfb9e53f27247468b77a0f52a023d64d5f | 30,912 | py | Python | sympy/parsing/latex/_antlr/latexlexer.py | alexmalins/sympy | 6acf7eadb39677fa728ac6437339f4d90c33d961 | [
"BSD-3-Clause"
] | 1 | 2020-07-09T17:23:00.000Z | 2020-07-09T17:23:00.000Z | sympy/parsing/latex/_antlr/latexlexer.py | alexmalins/sympy | 6acf7eadb39677fa728ac6437339f4d90c33d961 | [
"BSD-3-Clause"
] | null | null | null | sympy/parsing/latex/_antlr/latexlexer.py | alexmalins/sympy | 6acf7eadb39677fa728ac6437339f4d90c33d961 | [
"BSD-3-Clause"
] | null | null | null |
# encoding: utf-8
# *** GENERATED BY `setup.py antlr`, DO NOT EDIT BY HAND ***
#
# Generated from ../LaTeX.g4, derived from latex2sympy
# latex2sympy is licensed under the MIT license
# https://github.com/augustt198/latex2sympy/blob/master/LICENSE.txt
#
# Generated with antlr4
# antlr4 is licensed under th... | 62.322581 | 103 | 0.579451 | 7,217 | 30,912 | 2.456284 | 0.145628 | 0.12151 | 0.055001 | 0.060924 | 0.271902 | 0.225757 | 0.187736 | 0.144695 | 0.126474 | 0.120325 | 0 | 0.32735 | 0.147548 | 30,912 | 495 | 104 | 62.448485 | 0.345376 | 0.012325 | 0 | 0.017167 | 1 | 0.645923 | 0.624177 | 0.563915 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004292 | false | 0 | 0.008584 | 0 | 0.201717 | 0.002146 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
522c166c6cf9c53d925e72845e9f6c09d0c93b4b | 39 | py | Python | lg_pointer/src/lg_pointer/__init__.py | FuriousJulius/lg_ros_nodes | 15a84c5022ab2f5b038d11a5589cd4a34010b1d6 | [
"Apache-2.0"
] | 16 | 2015-10-10T11:55:37.000Z | 2022-02-24T22:47:48.000Z | lg_pointer/src/lg_pointer/__init__.py | FuriousJulius/lg_ros_nodes | 15a84c5022ab2f5b038d11a5589cd4a34010b1d6 | [
"Apache-2.0"
] | 292 | 2015-09-29T21:59:53.000Z | 2022-03-31T15:59:31.000Z | lg_pointer/src/lg_pointer/__init__.py | constantegonzalez/lg_ros_nodes | 1c7b08c42e90205922602c86805285508d1b7971 | [
"Apache-2.0"
] | 5 | 2017-05-03T06:22:43.000Z | 2021-08-19T16:54:14.000Z | from .megaviewport import MegaViewport
| 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 |
5e9806cd663d3e22ee59f14f359d673482fe9caf | 13,002 | py | Python | clients/python/generated/swaggeraem/apis/custom_api.py | ub1k24/swagger-aem | c9ae0cf8b57d27658527982d6d6653790d3acf80 | [
"Apache-2.0"
] | 39 | 2016-10-02T06:45:12.000Z | 2021-09-08T20:39:53.000Z | clients/python/generated/swaggeraem/apis/custom_api.py | ub1k24/swagger-aem | c9ae0cf8b57d27658527982d6d6653790d3acf80 | [
"Apache-2.0"
] | 35 | 2016-11-02T05:06:34.000Z | 2021-09-03T06:03:08.000Z | clients/python/generated/swaggeraem/apis/custom_api.py | ub1k24/swagger-aem | c9ae0cf8b57d27658527982d6d6653790d3acf80 | [
"Apache-2.0"
] | 23 | 2016-11-07T04:14:42.000Z | 2021-02-15T09:49:13.000Z | # coding: utf-8
"""
Adobe Experience Manager (AEM) API
Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
OpenAPI spec version: 2.2.0
Contact: opensource@shinesolutions.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import ab... | 39.883436 | 133 | 0.570066 | 1,338 | 13,002 | 5.245889 | 0.129297 | 0.02308 | 0.029634 | 0.030774 | 0.852543 | 0.83046 | 0.823479 | 0.773472 | 0.77162 | 0.758513 | 0 | 0.000707 | 0.347177 | 13,002 | 325 | 134 | 40.006154 | 0.826225 | 0.2485 | 0 | 0.690058 | 0 | 0 | 0.187946 | 0.089801 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040936 | false | 0.040936 | 0.035088 | 0 | 0.134503 | 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 |
5ea7208d7d5ed5a08e76f1724c82149caf0442fc | 23 | py | Python | src/helper_CSAILVision/lib/segmentation/__init__.py | Smilels/egohands_ros | c24877acf3a3597d20ad8e1f209165d83531f48c | [
"BSD-4-Clause"
] | 4 | 2021-01-12T21:41:24.000Z | 2022-02-17T09:08:37.000Z | src/helper_CSAILVision/lib/segmentation/__init__.py | Smilels/egohands_ros | c24877acf3a3597d20ad8e1f209165d83531f48c | [
"BSD-4-Clause"
] | 1 | 2022-03-28T07:32:48.000Z | 2022-03-28T08:44:02.000Z | src/helper_CSAILVision/lib/segmentation/__init__.py | Smilels/egohands_ros | c24877acf3a3597d20ad8e1f209165d83531f48c | [
"BSD-4-Clause"
] | 3 | 2021-01-18T12:15:14.000Z | 2021-06-24T07:45:29.000Z | from .handseg import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5ecc0ccf5ad96e756c963d7d6ac8702cb7fb7fcc | 152 | py | Python | article/admin.py | OSAMAMOHAMED1234/Blog_django | a6586753b252427f410ae191d79af3a8eb800b80 | [
"MIT"
] | 3 | 2018-05-02T20:37:11.000Z | 2020-10-15T17:19:26.000Z | article/admin.py | OSAMAMOHAMED1234/Blog_django | a6586753b252427f410ae191d79af3a8eb800b80 | [
"MIT"
] | 1 | 2019-06-10T21:35:13.000Z | 2019-06-10T21:35:13.000Z | article/admin.py | OSAMAMOHAMED1234/Blog_django | a6586753b252427f410ae191d79af3a8eb800b80 | [
"MIT"
] | 1 | 2019-01-23T14:46:05.000Z | 2019-01-23T14:46:05.000Z | from django.contrib import admin
from .models import Category
from .models import Article
admin.site.register(Category)
admin.site.register(Article)
| 16.888889 | 32 | 0.815789 | 21 | 152 | 5.904762 | 0.47619 | 0.16129 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111842 | 152 | 8 | 33 | 19 | 0.918519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d7b9af2ed6b448aeda2b0c010e92ce0ec147e67 | 158 | py | Python | Game5/modules/interfaces/__init__.py | ttkaixin1998/pikachupythongames | 609a3a5a2be3f5a187c332c7980bb5bb14548f02 | [
"MIT"
] | 4,013 | 2018-06-16T08:00:02.000Z | 2022-03-30T11:48:14.000Z | Game5/modules/interfaces/__init__.py | pigbearcat/Games | b8c47ef1bcce9a9db3f3730c162e6e8e08b508a2 | [
"MIT"
] | 22 | 2018-10-18T00:15:50.000Z | 2022-01-13T08:16:15.000Z | Game5/modules/interfaces/__init__.py | pigbearcat/Games | b8c47ef1bcce9a9db3f3730c162e6e8e08b508a2 | [
"MIT"
] | 2,172 | 2018-07-20T04:03:14.000Z | 2022-03-31T14:18:29.000Z | '''初始化'''
from .gameEndIterface import gameEndIterface
from .gameStartInterface import gameStartInterface
from .switchLevelIterface import switchLevelIterface | 39.5 | 52 | 0.867089 | 13 | 158 | 10.538462 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 158 | 4 | 52 | 39.5 | 0.938356 | 0.018987 | 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 |
0d7e6b53d801a54fefd6d20d5c0469cd94b7aa19 | 94 | py | Python | warriorpy/warriorpyCli/templates/player.py | vishwatejharer/warriorpy | 57a8dccfe23796ef213288972b20a7e883e79b24 | [
"MIT"
] | 46 | 2015-02-02T19:32:05.000Z | 2022-03-16T16:24:14.000Z | warriorpy/warriorpyCli/templates/player.py | vishwatejharer/warriorpy | 57a8dccfe23796ef213288972b20a7e883e79b24 | [
"MIT"
] | 5 | 2015-07-06T15:26:43.000Z | 2020-04-21T08:12:04.000Z | warriorpy/warriorpyCli/templates/player.py | vishwatejharer/warriorpy | 57a8dccfe23796ef213288972b20a7e883e79b24 | [
"MIT"
] | 10 | 2015-02-10T02:56:22.000Z | 2021-05-15T22:37:38.000Z | class Player(object):
def play_turn(self, warrior):
return None # Your code here
| 23.5 | 37 | 0.659574 | 13 | 94 | 4.692308 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255319 | 94 | 3 | 38 | 31.333333 | 0.871429 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0d84779c2cdb55e5756740de7a86e2bab11a76d5 | 8,461 | py | Python | kornia/filters/kernels_geometry.py | shaunster0/kornia | 71acf455ee36f2050b7be5ea993b6db773f502eb | [
"ECL-2.0",
"Apache-2.0"
] | 51 | 2019-10-11T18:47:30.000Z | 2021-05-03T06:42:37.000Z | kornia/filters/kernels_geometry.py | shaunster0/kornia | 71acf455ee36f2050b7be5ea993b6db773f502eb | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2022-01-25T00:28:05.000Z | 2022-03-20T09:14:39.000Z | kornia/filters/kernels_geometry.py | shaunster0/kornia | 71acf455ee36f2050b7be5ea993b6db773f502eb | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2019-10-11T19:59:05.000Z | 2020-07-10T02:28:52.000Z | from typing import cast, Tuple, Union
import torch
from kornia.geometry.transform.affwarp import rotate, rotate3d
from kornia.utils import _extract_device_dtype
def get_motion_kernel2d(
kernel_size: int,
angle: Union[torch.Tensor, float],
direction: Union[torch.Tensor, float] = 0.0,
mode: str = 'nea... | 43.839378 | 120 | 0.597329 | 1,185 | 8,461 | 4.205907 | 0.130802 | 0.074238 | 0.079454 | 0.116372 | 0.855939 | 0.844703 | 0.833467 | 0.78752 | 0.771067 | 0.758427 | 0 | 0.094869 | 0.253753 | 8,461 | 192 | 121 | 44.067708 | 0.694488 | 0.46082 | 0 | 0.617284 | 0 | 0 | 0.10206 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 1 | 0.024691 | false | 0 | 0.049383 | 0 | 0.098765 | 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 |
0d9fbf6538ac3b4fcf3a8e3c5fa63b60292ab064 | 44 | py | Python | backend/champaign/__init__.py | EugMJang/Covid-20 | e56cb32bb2470c309cb983e28e8da3de5a2503c8 | [
"MIT"
] | null | null | null | backend/champaign/__init__.py | EugMJang/Covid-20 | e56cb32bb2470c309cb983e28e8da3de5a2503c8 | [
"MIT"
] | null | null | null | backend/champaign/__init__.py | EugMJang/Covid-20 | e56cb32bb2470c309cb983e28e8da3de5a2503c8 | [
"MIT"
] | 1 | 2021-09-22T02:02:12.000Z | 2021-09-22T02:02:12.000Z | from .scrapers import *
from .utils import * | 22 | 23 | 0.75 | 6 | 44 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 24 | 22 | 0.891892 | 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 |
0daddb3e8957fcbcd96b4be0f9a8dd3b8cf8e0e1 | 27 | py | Python | xendit/models/payout/__init__.py | adyaksaw/xendit-python | 47b05f2a6582104a274dc12a172c6421de86febc | [
"MIT"
] | 10 | 2020-10-31T23:34:34.000Z | 2022-03-08T19:08:55.000Z | xendit/models/payout/__init__.py | adyaksaw/xendit-python | 47b05f2a6582104a274dc12a172c6421de86febc | [
"MIT"
] | 22 | 2020-07-30T14:25:07.000Z | 2022-03-31T03:55:46.000Z | xendit/models/payout/__init__.py | adyaksaw/xendit-python | 47b05f2a6582104a274dc12a172c6421de86febc | [
"MIT"
] | 11 | 2020-07-28T08:09:40.000Z | 2022-03-18T00:14:02.000Z | from .payout import Payout
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 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 |
0dc101406999e0e6cd00b1caca22027b290f3ecd | 9,250 | py | Python | src/data/utils.py | MobtgZhang/2021HuaShuCupMathModeling | bdd14a975fbee9c2db919ae8a66fcf68b8004669 | [
"MIT"
] | 3 | 2021-08-18T17:56:28.000Z | 2022-01-02T01:10:03.000Z | src/data/utils.py | MobtgZhang/2021HuaShuCupMathModeling | bdd14a975fbee9c2db919ae8a66fcf68b8004669 | [
"MIT"
] | 1 | 2021-08-10T09:53:15.000Z | 2021-08-10T10:59:27.000Z | src/data/utils.py | MobtgZhang/2021HuaShuCupMathModeling | bdd14a975fbee9c2db919ae8a66fcf68b8004669 | [
"MIT"
] | null | null | null | import os
import numpy as np
import pandas as pd
from sklearn.utils import shuffle
def filter_file(filename,filter_path):
all_data = pd.read_excel(filename)
a_list = ['a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'a8']
indexes = False
for item in a_list:
indexes = ((all_data.loc[:, item] > 100) | (a... | 41.111111 | 104 | 0.600108 | 1,516 | 9,250 | 3.272427 | 0.081794 | 0.027414 | 0.062891 | 0.054425 | 0.840153 | 0.789559 | 0.748639 | 0.731103 | 0.708728 | 0.69744 | 0 | 0.031845 | 0.239568 | 9,250 | 224 | 105 | 41.294643 | 0.673443 | 0.021081 | 0 | 0.625 | 0 | 0 | 0.063981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027174 | false | 0 | 0.021739 | 0 | 0.048913 | 0.021739 | 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 |
0dc51f964fcb1f0f41d138381338b52e80054769 | 239 | py | Python | decode.py | mjd2five/pdxcodeguild | ad04f5de79583e3c3785d31442ebce1ecd17e41d | [
"MIT"
] | null | null | null | decode.py | mjd2five/pdxcodeguild | ad04f5de79583e3c3785d31442ebce1ecd17e41d | [
"MIT"
] | null | null | null | decode.py | mjd2five/pdxcodeguild | ad04f5de79583e3c3785d31442ebce1ecd17e41d | [
"MIT"
] | null | null | null | d = {'spades': {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15},
'clubs': {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15},
'diamonds': {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15},
'hearts': {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}}
for spades in d:
print spades | 39.833333 | 54 | 0.556485 | 71 | 239 | 1.873239 | 0.323944 | 0.06015 | 0.090226 | 0.120301 | 0.631579 | 0.631579 | 0.631579 | 0.631579 | 0.631579 | 0.631579 | 0 | 0.388889 | 0.096234 | 239 | 6 | 55 | 39.833333 | 0.226852 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
0ddc6e8bff7215f667325a3c71c38d9fe8cc8d2c | 115 | py | Python | generalinfo/contextprocessor.py | Dachckol/MichalDackoTutoring | 205654e7cdfd474400cf35a7015b213fa146a1e6 | [
"Apache-2.0"
] | null | null | null | generalinfo/contextprocessor.py | Dachckol/MichalDackoTutoring | 205654e7cdfd474400cf35a7015b213fa146a1e6 | [
"Apache-2.0"
] | 1 | 2021-06-10T18:43:43.000Z | 2021-06-10T18:43:43.000Z | generalinfo/contextprocessor.py | Dachckol/MichalDackoTutoring | 205654e7cdfd474400cf35a7015b213fa146a1e6 | [
"Apache-2.0"
] | null | null | null | from .models import Profile
def getProfile(request):
return Profile.objects.filter(active=True)[0].getContext()
| 19.166667 | 59 | 0.782609 | 15 | 115 | 6 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.095652 | 115 | 5 | 60 | 23 | 0.855769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0df3fddade745c88c70cafca8fe962276adbc314 | 46 | py | Python | pytools/modules/arxivhelper/__init__.py | maopucheng/pytools | 7d42b0fb1ef539559d931db7b70ef6725d32617a | [
"MIT"
] | 53 | 2021-12-23T03:24:34.000Z | 2022-03-30T07:40:50.000Z | pytools/modules/arxivhelper/__init__.py | wulikanhua/pytools | 98af61870cac53da81b826861d6e0a70e176b1d3 | [
"MIT"
] | 3 | 2021-12-23T14:17:58.000Z | 2022-01-06T13:24:47.000Z | pytools/modules/arxivhelper/__init__.py | wulikanhua/pytools | 98af61870cac53da81b826861d6e0a70e176b1d3 | [
"MIT"
] | 30 | 2021-12-28T07:28:48.000Z | 2022-03-22T17:21:08.000Z | '''初始化'''
from .arxivhelper import ArxivHelper | 23 | 36 | 0.76087 | 5 | 46 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 2 | 36 | 23 | 0.833333 | 0.065217 | 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 |
218a9a2bb5cd79fa48a3b6ea4ad3eee03f256784 | 29 | py | Python | b_aws_cf_fixtures/__init__.py | Biomapas/B.AwsCf | 254fe016580992648c1c19e6eb002d66f4cbc0ec | [
"Apache-2.0"
] | null | null | null | b_aws_cf_fixtures/__init__.py | Biomapas/B.AwsCf | 254fe016580992648c1c19e6eb002d66f4cbc0ec | [
"Apache-2.0"
] | null | null | null | b_aws_cf_fixtures/__init__.py | Biomapas/B.AwsCf | 254fe016580992648c1c19e6eb002d66f4cbc0ec | [
"Apache-2.0"
] | null | null | null | from .stack_fixture import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
21e508ad6b1d3d8555ae1f7767bc4c7fbae62e13 | 30 | py | Python | books/tech/py/m_lutz-learning_py-5_ed/code/part_5-modules/ch_24-modules_packs/19-self_test_code-03/main.py | ordinary-developer/education | 1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58 | [
"MIT"
] | null | null | null | books/tech/py/m_lutz-learning_py-5_ed/code/part_5-modules/ch_24-modules_packs/19-self_test_code-03/main.py | ordinary-developer/education | 1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58 | [
"MIT"
] | null | null | null | books/tech/py/m_lutz-learning_py-5_ed/code/part_5-modules/ch_24-modules_packs/19-self_test_code-03/main.py | ordinary-developer/education | 1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58 | [
"MIT"
] | null | null | null | import dualpkg.m2
assert True
| 10 | 17 | 0.833333 | 5 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 30 | 2 | 18 | 15 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
21e52d1334cd5333f80a576308ddcb29c069ba03 | 846 | py | Python | tests/test_geocoding.py | Ridecell/aiogmaps | 7963d6790c2ca64f6896365580cffb96ca4bc4d2 | [
"MIT"
] | 14 | 2018-04-13T19:47:24.000Z | 2021-12-18T11:09:31.000Z | tests/test_geocoding.py | hzlmn/aiogmaps | 2d5eaf3ec054962621a920208ec47ea68233cd72 | [
"MIT"
] | 13 | 2018-03-17T16:45:01.000Z | 2020-11-30T16:16:10.000Z | tests/test_geocoding.py | Ridecell/aiogmaps | 7963d6790c2ca64f6896365580cffb96ca4bc4d2 | [
"MIT"
] | 6 | 2018-12-03T14:10:18.000Z | 2019-07-02T13:16:25.000Z | from aiohttp import web
async def test_geocode(aresponses, client):
aresponses.add(
'maps.googleapis.com',
'/maps/api/geocode/json',
'get',
aresponses.Response(
body='{"status": "OK", "results": ["foo"]}',
status=web.HTTPOk.status_code,
content_t... | 24.882353 | 56 | 0.555556 | 86 | 846 | 5.372093 | 0.383721 | 0.034632 | 0.051948 | 0.142857 | 0.779221 | 0.779221 | 0.779221 | 0.779221 | 0.779221 | 0.779221 | 0 | 0.006656 | 0.289598 | 846 | 33 | 57 | 25.636364 | 0.762063 | 0 | 0 | 0.740741 | 0 | 0 | 0.234043 | 0.052009 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.037037 | 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 |
df299ea2275fa07a6e5810f635f44c40a10f8121 | 7,927 | py | Python | tests/mog_commons/test_string.py | mogproject/mog-commons-python | 951cf0fa9a56248b4d45be720be25f1d4b7e1bff | [
"Apache-2.0"
] | 4 | 2015-12-18T18:35:18.000Z | 2020-02-11T02:34:47.000Z | tests/mog_commons/test_string.py | mogproject/mog-commons-python | 951cf0fa9a56248b4d45be720be25f1d4b7e1bff | [
"Apache-2.0"
] | 11 | 2015-10-18T17:12:37.000Z | 2017-09-21T15:28:19.000Z | tests/mog_commons/test_string.py | mogproject/mog-commons-python | 951cf0fa9a56248b4d45be720be25f1d4b7e1bff | [
"Apache-2.0"
] | 2 | 2017-05-13T09:26:01.000Z | 2018-09-18T14:47:15.000Z | # -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import, unicode_literals
import six
from mog_commons import string, unittest
class TestString(unittest.TestCase):
def test_unicode_width(self):
self.assertEqual(string.unicode_width(b'abc'), 3)
self.assertEqual(stri... | 54.294521 | 113 | 0.631765 | 948 | 7,927 | 5.136076 | 0.10865 | 0.252619 | 0.353666 | 0.34504 | 0.845554 | 0.725816 | 0.583487 | 0.364962 | 0.330458 | 0.328815 | 0 | 0.021978 | 0.184938 | 7,927 | 145 | 114 | 54.668966 | 0.73162 | 0.002649 | 0 | 0.164063 | 0 | 0 | 0.128416 | 0 | 0 | 0 | 0 | 0 | 0.757813 | 1 | 0.109375 | false | 0 | 0.023438 | 0 | 0.140625 | 0.007813 | 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 |
df41c82d1737941b6b83864ef251fadba8e0dbdf | 29 | py | Python | src/scripts/__init__.py | klean2050/papilledema | 3ff1c7a32717d4b09317e5e10dbdd8e8a6958d2e | [
"MIT"
] | 1 | 2022-03-02T21:22:17.000Z | 2022-03-02T21:22:17.000Z | src/scripts/__init__.py | klean2050/papilledema | 3ff1c7a32717d4b09317e5e10dbdd8e8a6958d2e | [
"MIT"
] | null | null | null | src/scripts/__init__.py | klean2050/papilledema | 3ff1c7a32717d4b09317e5e10dbdd8e8a6958d2e | [
"MIT"
] | null | null | null | from .train import train_fold | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df6a8054d26df8c2cd85d0c2396eeb3331d223d5 | 231 | py | Python | dml/maths/__init__.py | FCDM/py-dml | 3e753e543644211ba42c8e048f46f956af1c5f8c | [
"MIT"
] | null | null | null | dml/maths/__init__.py | FCDM/py-dml | 3e753e543644211ba42c8e048f46f956af1c5f8c | [
"MIT"
] | null | null | null | dml/maths/__init__.py | FCDM/py-dml | 3e753e543644211ba42c8e048f46f956af1c5f8c | [
"MIT"
] | null | null | null | from .bezier import *
from .geometry import *
from .gquad import *
from .misc import *
from .newton import *
from .parametric import *
from .reparametrize import *
from .rkode import * | 28.875 | 28 | 0.593074 | 24 | 231 | 5.708333 | 0.416667 | 0.510949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.337662 | 231 | 8 | 29 | 28.875 | 0.895425 | 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 |
df722ac33006c0523580a08ad75e529b3a090245 | 26 | py | Python | anvil/image/__init__.py | benlawraus/pyDALAnvilWorks | 8edc67b0fbe65bdcc0ef6fd2424f55046cacba7c | [
"MIT"
] | 6 | 2021-11-14T22:49:40.000Z | 2022-03-26T17:40:40.000Z | anvil/image/__init__.py | benlawraus/pyDALAnvilWorks | 8edc67b0fbe65bdcc0ef6fd2424f55046cacba7c | [
"MIT"
] | null | null | null | anvil/image/__init__.py | benlawraus/pyDALAnvilWorks | 8edc67b0fbe65bdcc0ef6fd2424f55046cacba7c | [
"MIT"
] | 1 | 2022-01-31T01:18:32.000Z | 2022-01-31T01:18:32.000Z | from .anvilImage import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df78f4791ea96242005eb3226b4b67993ba1235c | 108 | py | Python | 2020/03/15/How to Install and Use Django on Windows for Beginners (2020)/my_django_app/hello/views.py | kenjitagawa/youtube_video_code | ef3c48b9e136b3745d10395d94be64cb0a1f1c97 | [
"Unlicense"
] | 492 | 2019-06-25T12:54:31.000Z | 2022-03-30T12:38:28.000Z | 2020/03/15/How to Install and Use Django on Windows for Beginners (2020)/my_django_app/hello/views.py | kenjitagawa/youtube_video_code | ef3c48b9e136b3745d10395d94be64cb0a1f1c97 | [
"Unlicense"
] | 23 | 2019-10-01T01:36:08.000Z | 2022-02-10T12:46:16.000Z | 2020/03/15/How to Install and Use Django on Windows for Beginners (2020)/my_django_app/hello/views.py | kenjitagawa/youtube_video_code | ef3c48b9e136b3745d10395d94be64cb0a1f1c97 | [
"Unlicense"
] | 1,734 | 2019-06-03T06:25:13.000Z | 2022-03-31T23:57:53.000Z | from django.shortcuts import render
def index(request):
return render(request, 'hello/index.html')
| 21.6 | 47 | 0.731481 | 14 | 108 | 5.642857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 108 | 4 | 48 | 27 | 0.877778 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
10e7b8c8ecd645f975c5a357c13698af9727788d | 104 | py | Python | terrascript/oneandone/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/oneandone/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/oneandone/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/oneandone/__init__.py
import terrascript
class oneandone(terrascript.Provider):
pass | 17.333333 | 38 | 0.807692 | 11 | 104 | 7.272727 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 6 | 39 | 17.333333 | 0.869565 | 0.317308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
802997d46f5e7581da880dca0cf26117eeaa458d | 439 | py | Python | authz/domain/exceptions.py | dod-ccpo/authz | 98600425e37e33aae81227bedf987216df08326b | [
"MIT"
] | null | null | null | authz/domain/exceptions.py | dod-ccpo/authz | 98600425e37e33aae81227bedf987216df08326b | [
"MIT"
] | 2 | 2018-06-08T21:30:08.000Z | 2018-07-02T17:19:10.000Z | authz/domain/exceptions.py | dod-ccpo/authz | 98600425e37e33aae81227bedf987216df08326b | [
"MIT"
] | 1 | 2020-07-29T03:36:42.000Z | 2020-07-29T03:36:42.000Z | class NotFoundError(Exception):
def __init__(self, resource_name):
self.resource_name = resource_name
@property
def message(self):
return "No {} could be found.".format(self.resource_name)
class AlreadyExistsError(Exception):
def __init__(self, resource_name):
self.resource_na... | 25.823529 | 65 | 0.692483 | 50 | 439 | 5.76 | 0.38 | 0.333333 | 0.333333 | 0.138889 | 0.611111 | 0.611111 | 0.611111 | 0.611111 | 0.611111 | 0.611111 | 0 | 0 | 0.209567 | 439 | 16 | 66 | 27.4375 | 0.829971 | 0 | 0 | 0.666667 | 0 | 0 | 0.08656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 6 |
33bb50f2eac18c1e79d0b89461811ad9b99692e4 | 5,221 | py | Python | gen_synshapes/chair_back.py | daerduoCarey/structedit | 79c4b076ade9975b9d3a68dbea5b6ab42a9001e7 | [
"MIT"
] | 47 | 2019-11-26T03:40:29.000Z | 2022-03-04T02:43:21.000Z | gen_synshapes/chair_back.py | daerduoCarey/structedit | 79c4b076ade9975b9d3a68dbea5b6ab42a9001e7 | [
"MIT"
] | 1 | 2021-03-02T08:42:37.000Z | 2021-03-02T23:15:53.000Z | gen_synshapes/chair_back.py | daerduoCarey/structedit | 79c4b076ade9975b9d3a68dbea5b6ab42a9001e7 | [
"MIT"
] | 5 | 2019-11-27T00:21:39.000Z | 2020-08-20T00:40:31.000Z | from utils import *
import random
def make_simple_back(args, box_id):
x_min = (args.seatWidth - args.backWidth) / 2
x_max = (args.seatWidth - args.backWidth) / 2 + args.backWidth
y_min = args.legHeight + args.seatHeight
y_max = args.legHeight + args.seatHeight + args.backHeight
z_min = 0
z_max ... | 44.623932 | 131 | 0.669604 | 745 | 5,221 | 4.402685 | 0.092617 | 0.047256 | 0.062195 | 0.095122 | 0.877744 | 0.842988 | 0.791463 | 0.786585 | 0.779268 | 0.72439 | 0 | 0.009636 | 0.204942 | 5,221 | 116 | 132 | 45.008621 | 0.780535 | 0.014174 | 0 | 0.534091 | 0 | 0 | 0.072568 | 0.02393 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056818 | false | 0 | 0.022727 | 0 | 0.159091 | 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 |
d5080ecc6dbdc30ea5fb4d4ed2e8620c9bc663d7 | 173 | py | Python | python/1044.py | nicollecnunes/uri-python | 1860c2be2eb3eb603767e829964ae7e586fb3511 | [
"MIT"
] | null | null | null | python/1044.py | nicollecnunes/uri-python | 1860c2be2eb3eb603767e829964ae7e586fb3511 | [
"MIT"
] | null | null | null | python/1044.py | nicollecnunes/uri-python | 1860c2be2eb3eb603767e829964ae7e586fb3511 | [
"MIT"
] | null | null | null | a,b= map(int, input().split(" "))
if (a%b==0):
print("Sao Multiplos")
else:
if (b%a==0):
print("Sao Multiplos")
else:
print("Nao sao Multiplos") | 19.222222 | 34 | 0.520231 | 26 | 173 | 3.461538 | 0.5 | 0.4 | 0.2 | 0.4 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.260116 | 173 | 9 | 34 | 19.222222 | 0.6875 | 0 | 0 | 0.5 | 0 | 0 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.375 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d6eb343fea67c3ecdf9f190b1acda1f765b48df | 27 | py | Python | thinkbayes2/__init__.py | PeteThePirate/ThinkBayes2 | 7a74bc7f637380a60a4cc7bf8ab37543b404457d | [
"MIT"
] | 1 | 2020-05-11T06:58:31.000Z | 2020-05-11T06:58:31.000Z | thinkbayes2/__init__.py | PeteThePirate/ThinkBayes2 | 7a74bc7f637380a60a4cc7bf8ab37543b404457d | [
"MIT"
] | null | null | null | thinkbayes2/__init__.py | PeteThePirate/ThinkBayes2 | 7a74bc7f637380a60a4cc7bf8ab37543b404457d | [
"MIT"
] | 1 | 2021-03-11T13:57:03.000Z | 2021-03-11T13:57:03.000Z | from .thinkbayes2 import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d8f635eb01b006844c01eeb29887c55bfd32963 | 54 | py | Python | enthusiasm/dqn/cartpole.py | uguryagmur/enthusiasm | f9588c2eab34b675f3bae09945363d948113336a | [
"MIT"
] | null | null | null | enthusiasm/dqn/cartpole.py | uguryagmur/enthusiasm | f9588c2eab34b675f3bae09945363d948113336a | [
"MIT"
] | null | null | null | enthusiasm/dqn/cartpole.py | uguryagmur/enthusiasm | f9588c2eab34b675f3bae09945363d948113336a | [
"MIT"
] | null | null | null | import gym
import jax
class CartPoleAgent:
pass
| 7.714286 | 20 | 0.740741 | 7 | 54 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240741 | 54 | 6 | 21 | 9 | 0.97561 | 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 |
1d9222cff8cb6b2452d960dbd906227ae0440eac | 292 | py | Python | Chapter 2/02/recipe15_all.py | robert0714/Python-Testing-Cookbook-Second-Edition | c7c5d59e42e9ca2874faf12a6dd201736a45ca83 | [
"MIT"
] | null | null | null | Chapter 2/02/recipe15_all.py | robert0714/Python-Testing-Cookbook-Second-Edition | c7c5d59e42e9ca2874faf12a6dd201736a45ca83 | [
"MIT"
] | null | null | null | Chapter 2/02/recipe15_all.py | robert0714/Python-Testing-Cookbook-Second-Edition | c7c5d59e42e9ca2874faf12a6dd201736a45ca83 | [
"MIT"
] | null | null | null | import recipe11
import recipe12
import recipe13
import recipe14
class Recipe11Test(recipe11.ShoppingCartTest):
pass
class Recipe12Test(recipe12.ShoppingCartTest):
pass
class Recipe13Test(recipe13.ShoppingCartTest):
pass
class Recipe14Test(recipe14.ShoppingCartTest):
pass
| 17.176471 | 46 | 0.808219 | 28 | 292 | 8.428571 | 0.428571 | 0.338983 | 0.317797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.136986 | 292 | 16 | 47 | 18.25 | 0.84127 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
d51fbd4bcd8ccde683241a8e79230edf07a9c754 | 24 | py | Python | twitchbot/poll/__init__.py | cvangheem/Twitchbot | 48bb065951e88e4d2e9ef8d0c1a3afb0150a5eb5 | [
"MIT"
] | 87 | 2018-05-22T18:30:42.000Z | 2022-03-12T19:31:52.000Z | twitchbot/poll/__init__.py | cvangheem/Twitchbot | 48bb065951e88e4d2e9ef8d0c1a3afb0150a5eb5 | [
"MIT"
] | 32 | 2019-04-01T20:07:33.000Z | 2022-01-14T03:00:58.000Z | twitchbot/poll/__init__.py | cvangheem/Twitchbot | 48bb065951e88e4d2e9ef8d0c1a3afb0150a5eb5 | [
"MIT"
] | 43 | 2018-08-29T04:59:47.000Z | 2022-03-09T16:47:14.000Z | from .polldata import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d53cfb3010df68aa9650c86b95818a262210fcca | 387 | py | Python | __init__.py | colinator/spikeflow | 109aea58c3d2c7b2da8680ddd98fa99bdaf20579 | [
"MIT"
] | 32 | 2019-01-31T16:50:57.000Z | 2022-01-18T09:55:22.000Z | __init__.py | colinator/spikeflow | 109aea58c3d2c7b2da8680ddd98fa99bdaf20579 | [
"MIT"
] | null | null | null | __init__.py | colinator/spikeflow | 109aea58c3d2c7b2da8680ddd98fa99bdaf20579 | [
"MIT"
] | 6 | 2019-05-26T14:55:05.000Z | 2022-01-14T08:54:27.000Z | from spikeflow.core.utils import *
from spikeflow.core.computation_layer import *
from spikeflow.core.neuron_layer import *
from spikeflow.core.connection_layer import *
from spikeflow.core.model import *
from spikeflow.core.spike_process import *
from spikeflow.core.analysis_utils import *
from spikeflow.core.learning... | 38.7 | 51 | 0.832041 | 53 | 387 | 5.962264 | 0.320755 | 0.370253 | 0.484177 | 0.582278 | 0.566456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 387 | 9 | 52 | 43 | 0.900285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d55681aa45c089d8675b30d63bc705cd47d2335e | 127 | py | Python | config.py | swimmwatch/mai-schedule-export-to-ics | 131134a46307527dc2c209652d0682ff1cb7f9d4 | [
"MIT"
] | 4 | 2020-09-03T15:50:09.000Z | 2021-06-19T06:58:03.000Z | config.py | swimmwatch/mai-schedule-export-to-ics | 131134a46307527dc2c209652d0682ff1cb7f9d4 | [
"MIT"
] | null | null | null | config.py | swimmwatch/mai-schedule-export-to-ics | 131134a46307527dc2c209652d0682ff1cb7f9d4 | [
"MIT"
] | null | null | null | MAI_SCHEDULE_URL = "https://mai.ru/education/schedule/"
MAI_SCHEDULE_DETAIL = "https://mai.ru/education/schedule/detail.php" | 63.5 | 68 | 0.771654 | 18 | 127 | 5.222222 | 0.444444 | 0.234043 | 0.212766 | 0.404255 | 0.574468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 127 | 2 | 68 | 63.5 | 0.789916 | 0 | 0 | 0 | 0 | 0 | 0.609375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d55795776ba0805020b53f5ae0a84539cf2a8a1e | 49 | py | Python | www/captcha/decode2/dir.py | drpresq/capture-the-captcha | c158c6f7e317ac2b18a9b2b78c6e8f271d8c90f4 | [
"MIT"
] | null | null | null | www/captcha/decode2/dir.py | drpresq/capture-the-captcha | c158c6f7e317ac2b18a9b2b78c6e8f271d8c90f4 | [
"MIT"
] | null | null | null | www/captcha/decode2/dir.py | drpresq/capture-the-captcha | c158c6f7e317ac2b18a9b2b78c6e8f271d8c90f4 | [
"MIT"
] | null | null | null | import sys, os
print os.listdir('./examples/') | 16.333333 | 31 | 0.673469 | 7 | 49 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 3 | 31 | 16.333333 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d55e375e651dd41e4e6ea3564f7399fdf117e76c | 174 | py | Python | user_agent.py | AcidCannon/CMPUT404.W2021.LAB3 | 7cb5d4260971afa9771562b4b55b7c195c156f0a | [
"Apache-2.0"
] | null | null | null | user_agent.py | AcidCannon/CMPUT404.W2021.LAB3 | 7cb5d4260971afa9771562b4b55b7c195c156f0a | [
"Apache-2.0"
] | null | null | null | user_agent.py | AcidCannon/CMPUT404.W2021.LAB3 | 7cb5d4260971afa9771562b4b55b7c195c156f0a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import os
# Report the user’s browser in the HTML
print("Content-Type: text/html\r\n")
print(f"<p> HTTP_USER_AGENT: {os.environ['HTTP_USER_AGENT']}") | 24.857143 | 62 | 0.724138 | 32 | 174 | 3.8125 | 0.75 | 0.131148 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.103448 | 174 | 7 | 62 | 24.857143 | 0.775641 | 0.33908 | 0 | 0 | 0 | 0 | 0.692982 | 0.27193 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d5760083309f8d47f74d65b1ec12ae4012f5c060 | 191 | py | Python | example/test/core/geometry/simple/sphere/make.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 2 | 2020-09-04T12:27:15.000Z | 2022-01-17T14:49:40.000Z | example/test/core/geometry/simple/sphere/make.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | null | null | null | example/test/core/geometry/simple/sphere/make.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 1 | 2020-09-04T12:27:52.000Z | 2020-09-04T12:27:52.000Z | import IceRayCpp
import IceRayPy
def make( P_center, P_radius ): # P_center, P_radius
sphere = IceRayCpp.GeometrySimpleSphere( P_center, P_radius )
return{ 'this' : sphere }
| 23.875 | 66 | 0.706806 | 24 | 191 | 5.375 | 0.5 | 0.162791 | 0.186047 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209424 | 191 | 7 | 67 | 27.285714 | 0.854305 | 0.094241 | 0 | 0 | 0 | 0 | 0.02454 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 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 |
d58b85002e97de5f2f5d504a8245e102e089009f | 46 | py | Python | src/modeling/utils/__init__.py | natureyoo/MLVU-DA-Detection | 2e5c1648466f76fd1e32156ada5cb04fe8be59b3 | [
"Apache-2.0"
] | 60 | 2021-04-20T07:35:12.000Z | 2022-03-23T13:55:40.000Z | src/modeling/utils/__init__.py | natureyoo/MLVU-DA-Detection | 2e5c1648466f76fd1e32156ada5cb04fe8be59b3 | [
"Apache-2.0"
] | 2 | 2021-12-24T03:44:07.000Z | 2022-02-13T02:13:18.000Z | src/modeling/utils/__init__.py | natureyoo/MLVU-DA-Detection | 2e5c1648466f76fd1e32156ada5cb04fe8be59b3 | [
"Apache-2.0"
] | 2 | 2022-03-21T02:32:53.000Z | 2022-03-22T18:43:52.000Z | from .image_list import ImageList, crop_tensor | 46 | 46 | 0.869565 | 7 | 46 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 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 |
63352b643a7d78c7931c9e4109819d04219d6090 | 22 | py | Python | src/haydi/algorithms/__init__.py | Kobzol/haydi | 4b49230d33ce02edff207b49a5db4ef6e605200c | [
"MIT"
] | 5 | 2017-08-09T17:12:31.000Z | 2020-06-14T13:13:05.000Z | src/haydi/algorithms/__init__.py | Kobzol/haydi | 4b49230d33ce02edff207b49a5db4ef6e605200c | [
"MIT"
] | 13 | 2017-01-31T15:42:13.000Z | 2017-12-04T11:24:26.000Z | src/haydi/algorithms/__init__.py | Kobzol/haydi | 4b49230d33ce02edff207b49a5db4ef6e605200c | [
"MIT"
] | 2 | 2017-08-21T09:49:10.000Z | 2021-02-28T13:51:05.000Z | import search # noqa
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 1 | 22 | 22 | 0.941176 | 0.181818 | 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 |
63491718471d31d7cfe3c63c2f871b351303de63 | 35 | py | Python | testpython.py | chapman-phys220-2016f/cw-01-saktilljandra | 0141d84ca847fbc59f00b34229e9c524b8c12344 | [
"MIT"
] | null | null | null | testpython.py | chapman-phys220-2016f/cw-01-saktilljandra | 0141d84ca847fbc59f00b34229e9c524b8c12344 | [
"MIT"
] | null | null | null | testpython.py | chapman-phys220-2016f/cw-01-saktilljandra | 0141d84ca847fbc59f00b34229e9c524b8c12344 | [
"MIT"
] | null | null | null | def test_trivial():
assert True
| 7 | 19 | 0.714286 | 5 | 35 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 4 | 20 | 8.75 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6353b4d9080d418f484a84e453a462eb6b41b209 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_internal/configuration.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_internal/configuration.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_internal/configuration.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/40/12/df/86ffac6cffa8474f0d1714989effe62c1f9282d34eb165c017db4311c3 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89340172edb3b08b4801450eea4631e4488e39a1 | 95 | py | Python | adv_finance/multiprocess/__init__.py | cw-jang/adv_finance | 240ce03e53fc6eead469a1ce7a220510a78c437e | [
"BSD-3-Clause"
] | 15 | 2019-05-20T04:28:38.000Z | 2021-12-11T06:50:52.000Z | adv_finance/multiprocess/__init__.py | cw-jang/adv_finance | 240ce03e53fc6eead469a1ce7a220510a78c437e | [
"BSD-3-Clause"
] | null | null | null | adv_finance/multiprocess/__init__.py | cw-jang/adv_finance | 240ce03e53fc6eead469a1ce7a220510a78c437e | [
"BSD-3-Clause"
] | 2 | 2020-05-16T13:23:30.000Z | 2020-08-13T22:58:08.000Z |
from adv_finance.multiprocess.multiprocess import mp_pandas_obj, process_jobs, process_jobs_
| 23.75 | 92 | 0.873684 | 13 | 95 | 5.923077 | 0.769231 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 95 | 3 | 93 | 31.666667 | 0.885057 | 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 |
897cc4f5c0cdd8beda847f9e66173eb93b154ab6 | 39 | py | Python | packages/gtmcore/gtmcore/imagebuilder/__init__.py | jjwatts/gigantum-client | 88ce0475fb6880322bdd06d987c494e29064f278 | [
"MIT"
] | 60 | 2018-09-26T15:46:00.000Z | 2021-10-10T02:37:14.000Z | packages/gtmcore/gtmcore/imagebuilder/__init__.py | jjwatts/gigantum-client | 88ce0475fb6880322bdd06d987c494e29064f278 | [
"MIT"
] | 1,706 | 2018-09-26T16:11:22.000Z | 2021-08-20T13:37:59.000Z | packages/gtmcore/gtmcore/imagebuilder/__init__.py | jjwatts/gigantum-client | 88ce0475fb6880322bdd06d987c494e29064f278 | [
"MIT"
] | 11 | 2019-03-14T13:23:51.000Z | 2022-01-25T01:29:16.000Z | from .imagebuilder import ImageBuilder
| 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 |
89ad019e0c9fa2ca2bc7a0c41bab65ec55351692 | 23,414 | py | Python | tests/test_check_run.py | jack1142/miss-islington | b7c066b7bcb6dbcdef77e1ca710a63550dae10e6 | [
"Apache-2.0"
] | 91 | 2017-09-05T23:45:31.000Z | 2022-03-09T06:16:33.000Z | tests/test_check_run.py | jack1142/miss-islington | b7c066b7bcb6dbcdef77e1ca710a63550dae10e6 | [
"Apache-2.0"
] | 410 | 2017-09-05T17:40:41.000Z | 2022-03-31T14:07:52.000Z | tests/test_check_run.py | ConnectionMaster/miss-islington | ac121b7808929853a99ca22c26eb31f9dde56e8c | [
"Apache-2.0"
] | 39 | 2017-09-05T17:18:16.000Z | 2022-02-01T20:08:26.000Z | import http
import gidgethub
from gidgethub import sansio
from tests.test_status_change import FakeGH
from miss_islington import check_run
from miss_islington.util import AUTOMERGE_LABEL
async def test_check_run_completed_ci_passed_with_awaiting_merge_label_pr_is_merged():
sha = "f2393593c99dd2d3ab8bfab6fcc5dde... | 40.023932 | 318 | 0.519561 | 2,218 | 23,414 | 5.360685 | 0.070784 | 0.053574 | 0.048444 | 0.032885 | 0.97132 | 0.96619 | 0.961564 | 0.961564 | 0.961564 | 0.956939 | 0 | 0.056365 | 0.334714 | 23,414 | 584 | 319 | 40.092466 | 0.70694 | 0.015845 | 0 | 0.694444 | 0 | 0.059259 | 0.452697 | 0.158674 | 0 | 0 | 0 | 0 | 0.046296 | 1 | 0 | false | 0.02037 | 0.011111 | 0 | 0.011111 | 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 |
981fcff4c560f17e7df5649dcfb36a1502b5633a | 43 | py | Python | commander/exceptions/__init__.py | fmaida/commander | a8d53c4130d501ef917853f0bd04e9f0114fdf60 | [
"MIT"
] | null | null | null | commander/exceptions/__init__.py | fmaida/commander | a8d53c4130d501ef917853f0bd04e9f0114fdf60 | [
"MIT"
] | null | null | null | commander/exceptions/__init__.py | fmaida/commander | a8d53c4130d501ef917853f0bd04e9f0114fdf60 | [
"MIT"
] | null | null | null | from .unknowncommand import UnknownCommand
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 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 |
984448d76d3740e9735712f91b097e8d57587c09 | 96 | py | Python | venv/lib/python3.8/site-packages/attr/filters.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/attr/filters.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/attr/filters.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/24/66/60/bcf1a474e7edb64a0be978574ba642a1a555e6767c18261e64d50dfe61 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98643565c6e77ce61748af43227405151b22c70d | 179 | py | Python | dataflows/processors/dumpers/formats/__init__.py | pwalsh/dataflows | 400b96f3bbaff8092f847e1eaa04ac34db42e031 | [
"MIT"
] | 160 | 2018-06-13T23:16:26.000Z | 2022-03-11T21:26:44.000Z | dataflows/processors/dumpers/formats/__init__.py | datahq/dataflow | 38372ea3d252aea27d977f1bdd4d76ef08dab5d4 | [
"MIT"
] | 164 | 2018-07-08T13:05:30.000Z | 2021-09-30T08:54:59.000Z | dataflows/processors/dumpers/formats/__init__.py | datahq/dataflow | 38372ea3d252aea27d977f1bdd4d76ef08dab5d4 | [
"MIT"
] | 41 | 2018-08-07T08:05:30.000Z | 2021-12-18T04:34:06.000Z | from .base import FileFormat
from .format_csv import CSVFormat
from .format_json import JSONFormat
from .format_geojson import GeoJSONFormat
from .format_excel import ExcelFormat
| 29.833333 | 41 | 0.860335 | 24 | 179 | 6.25 | 0.541667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111732 | 179 | 5 | 42 | 35.8 | 0.943396 | 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 |
7f2724cfd83818fa77bfb7276f245fad58240ead | 30 | py | Python | positronium/__init__.py | PositroniumSpectroscopy/positronium | 44f99b1d6a093c7b1470fb6c251179a6c1f159f1 | [
"BSD-3-Clause"
] | null | null | null | positronium/__init__.py | PositroniumSpectroscopy/positronium | 44f99b1d6a093c7b1470fb6c251179a6c1f159f1 | [
"BSD-3-Clause"
] | null | null | null | positronium/__init__.py | PositroniumSpectroscopy/positronium | 44f99b1d6a093c7b1470fb6c251179a6c1f159f1 | [
"BSD-3-Clause"
] | null | null | null | #! python
from .core import Ps | 15 | 20 | 0.733333 | 5 | 30 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 20 | 15 | 0.88 | 0.266667 | 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 |
7f61b41d94f270d52d09ce3bf1add491cc53e143 | 45,777 | py | Python | src/proxITR.py | rui-miao/ProxITR | f90985f1518b582a24dab5918f376f39fde0211e | [
"MIT"
] | null | null | null | src/proxITR.py | rui-miao/ProxITR | f90985f1518b582a24dab5918f376f39fde0211e | [
"MIT"
] | null | null | null | src/proxITR.py | rui-miao/ProxITR | f90985f1518b582a24dab5918f376f39fde0211e | [
"MIT"
] | null | null | null | # Copyright (c) Rui Miao 2021
# Licensed under the MIT License.
#%%
import numpy as np
import pandas as pd
from src.rkhs_scaler import RKHSIV, RKHSIVCV, ApproxRKHSIV, ApproxRKHSIVCV, RKHSIV_q, RKHSIVCV_q, ApproxRKHSIV_q, ApproxRKHSIVCV_q
import sklearn
from sklearn.metrics.pairwise import rbf_kernel
from sklearn.kernel... | 53.918728 | 207 | 0.608952 | 6,978 | 45,777 | 3.671253 | 0.043565 | 0.029745 | 0.017175 | 0.019322 | 0.897065 | 0.864626 | 0.814427 | 0.802014 | 0.789445 | 0.784331 | 0 | 0.036268 | 0.272386 | 45,777 | 848 | 208 | 53.982311 | 0.732857 | 0.062499 | 0 | 0.637462 | 0 | 0 | 0.019373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05136 | false | 0 | 0.030211 | 0.009063 | 0.132931 | 0.030211 | 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 |
7f6a0a9794c5c3c2842b7a554a1cf7d77190fe47 | 34 | py | Python | wc_analysis/model/__init__.py | KarrLab/wc_analysis | e48bd419d81b6a1e6843c4c6838824e7a6fe12d7 | [
"MIT"
] | 1 | 2018-12-24T16:21:07.000Z | 2018-12-24T16:21:07.000Z | wc_analysis/model/__init__.py | KarrLab/wc_analysis | e48bd419d81b6a1e6843c4c6838824e7a6fe12d7 | [
"MIT"
] | null | null | null | wc_analysis/model/__init__.py | KarrLab/wc_analysis | e48bd419d81b6a1e6843c4c6838824e7a6fe12d7 | [
"MIT"
] | 1 | 2019-04-05T16:27:04.000Z | 2019-04-05T16:27:04.000Z | from .fba import FbaModelAnalysis
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f8a5a25a78b58b3354b56829f1e495089f4efb6 | 127 | py | Python | smlcs/__init__.py | AnandBhatUpb/smlcs-final-submission | 54d810d2ed1dc5907973ce55d93d318bec0d4011 | [
"Apache-2.0"
] | null | null | null | smlcs/__init__.py | AnandBhatUpb/smlcs-final-submission | 54d810d2ed1dc5907973ce55d93d318bec0d4011 | [
"Apache-2.0"
] | null | null | null | smlcs/__init__.py | AnandBhatUpb/smlcs-final-submission | 54d810d2ed1dc5907973ce55d93d318bec0d4011 | [
"Apache-2.0"
] | null | null | null | from .training import *
from .start import *
from .helper import *
from .evaluation import *
from .data_visualization import *
| 21.166667 | 33 | 0.76378 | 16 | 127 | 6 | 0.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 127 | 5 | 34 | 25.4 | 0.897196 | 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 |
f694d2a9f99d25ea863e31ec176244792efc25c7 | 2,428 | py | Python | dalme_public/migrations/0011_auto_20210129_0854.py | DALME/dalme | 46f9a0011fdb75c5098b552104fc73b1062e16e9 | [
"BSD-3-Clause"
] | 6 | 2019-05-07T01:06:04.000Z | 2021-02-19T20:45:09.000Z | dalme_public/migrations/0011_auto_20210129_0854.py | DALME/dalme | 46f9a0011fdb75c5098b552104fc73b1062e16e9 | [
"BSD-3-Clause"
] | 23 | 2018-09-14T18:01:42.000Z | 2021-12-29T17:25:18.000Z | dalme_public/migrations/0011_auto_20210129_0854.py | DALME/dalme | 46f9a0011fdb75c5098b552104fc73b1062e16e9 | [
"BSD-3-Clause"
] | 1 | 2020-02-10T16:20:57.000Z | 2020-02-10T16:20:57.000Z | # Generated by Django 3.1.2 on 2021-01-29 13:54
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('dalme_app', '0002_savedsearch'),
('dalme_public', '0010_auto_20210118_1157'),
]
operations = [
migr... | 52.782609 | 340 | 0.678336 | 309 | 2,428 | 5.18123 | 0.239482 | 0.039975 | 0.061212 | 0.09619 | 0.857589 | 0.838851 | 0.838851 | 0.769519 | 0.66396 | 0.66396 | 0 | 0.018315 | 0.212932 | 2,428 | 45 | 341 | 53.955556 | 0.819466 | 0.018534 | 0 | 0.615385 | 1 | 0.076923 | 0.351113 | 0.00966 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.051282 | 0 | 0.128205 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63fb0a2c3d1ec391b6b5ffc95bb616e14bfd9e7e | 35,548 | py | Python | test/test_md020.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 20 | 2021-01-14T17:39:09.000Z | 2022-03-14T08:35:22.000Z | test/test_md020.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 304 | 2020-08-15T23:24:00.000Z | 2022-03-31T23:34:03.000Z | test/test_md020.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 3 | 2021-08-11T10:26:26.000Z | 2021-11-02T20:41:27.000Z | """
Module to provide tests related to the MD020 rule.
"""
from test.markdown_scanner import MarkdownScanner
import pytest
# pylint: disable=too-many-lines
@pytest.mark.rules
def test_md020_good_start_spacing():
"""
Test to make sure this rule does not trigger with a document that
contains multiple Atx ... | 31.910233 | 122 | 0.70755 | 4,485 | 35,548 | 5.363657 | 0.03233 | 0.044313 | 0.061357 | 0.0784 | 0.982416 | 0.981169 | 0.978841 | 0.974185 | 0.970943 | 0.968615 | 0 | 0.023605 | 0.211067 | 35,548 | 1,113 | 123 | 31.938904 | 0.834159 | 0.170643 | 0 | 0.650238 | 0 | 0.074722 | 0.396757 | 0.254439 | 0 | 0 | 0 | 0 | 0.055644 | 1 | 0.055644 | false | 0 | 0.00318 | 0 | 0.058824 | 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 |
122f9be394aa422499dedc155464ec2249771ebc | 1,028 | py | Python | verif/tests/field_test.py | virenparmar/weather-forecasting | 330b44fcace5ee96fff40003b7414f33b5d2e36a | [
"BSD-3-Clause"
] | null | null | null | verif/tests/field_test.py | virenparmar/weather-forecasting | 330b44fcace5ee96fff40003b7414f33b5d2e36a | [
"BSD-3-Clause"
] | null | null | null | verif/tests/field_test.py | virenparmar/weather-forecasting | 330b44fcace5ee96fff40003b7414f33b5d2e36a | [
"BSD-3-Clause"
] | null | null | null | import unittest
import verif.field
import numpy as np
class TestField(unittest.TestCase):
def test_equal(self):
self.assertEqual(verif.field.Obs(), verif.field.Obs())
self.assertTrue(verif.field.Obs() == verif.field.Obs())
self.assertFalse(verif.field.Obs() != verif.field.Obs())
self.asser... | 36.714286 | 76 | 0.694553 | 134 | 1,028 | 5.253731 | 0.19403 | 0.355114 | 0.323864 | 0.284091 | 0.776989 | 0.776989 | 0.776989 | 0.494318 | 0.390625 | 0.210227 | 0 | 0.013529 | 0.13716 | 1,028 | 27 | 77 | 38.074074 | 0.780158 | 0 | 0 | 0 | 0 | 0 | 0.007782 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.1 | false | 0 | 0.15 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 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 |
d612713956c779aa360f758271e7b321c92a44d3 | 75 | py | Python | csvimport/__init__.py | jlech42/chump_django | 6650de31ec9c4c35e45641a88f212e06a80ea4d7 | [
"MIT"
] | null | null | null | csvimport/__init__.py | jlech42/chump_django | 6650de31ec9c4c35e45641a88f212e06a80ea4d7 | [
"MIT"
] | null | null | null | csvimport/__init__.py | jlech42/chump_django | 6650de31ec9c4c35e45641a88f212e06a80ea4d7 | [
"MIT"
] | null | null | null | from pkg_resources import declare_namespace
declare_namespace('csvimport')
| 25 | 43 | 0.88 | 9 | 75 | 7 | 0.777778 | 0.507937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 75 | 2 | 44 | 37.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.12 | 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 |
d6542a0a045ffaafe0199c93dbc24a98f5db31d8 | 392 | py | Python | terrascript/resource/netapp_gcp.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/netapp_gcp.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/netapp_gcp.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/netapp_gcp.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:22:18 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.resource.netapp_gcp
#
# instead of
#
# >>> import terrascript.resource.NetApp.netapp_gcp
#
# This is only available for 'official' and 'pa... | 26.133333 | 73 | 0.752551 | 53 | 392 | 5.490566 | 0.660377 | 0.261168 | 0.343643 | 0.19244 | 0.233677 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035191 | 0.130102 | 392 | 14 | 74 | 28 | 0.818182 | 0.798469 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c3d845b29efdbcdf9115a7b0209c6c76bfb6c616 | 48 | py | Python | oscardropship/custom_oscar/catalogue/reviews/views.py | hanztura/oscardropship | 26a5e76d633494f40458c0ca770279658032e192 | [
"MIT"
] | 2 | 2020-08-24T21:20:32.000Z | 2021-02-08T04:47:54.000Z | oscardropship/custom_oscar/catalogue/reviews/views.py | hanztura/oscardropship | 26a5e76d633494f40458c0ca770279658032e192 | [
"MIT"
] | null | null | null | oscardropship/custom_oscar/catalogue/reviews/views.py | hanztura/oscardropship | 26a5e76d633494f40458c0ca770279658032e192 | [
"MIT"
] | null | null | null | from oscar.apps.catalogue.reviews.views import * | 48 | 48 | 0.833333 | 7 | 48 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 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 |
c3ded951895108cba20b73e4463a5590252a98ba | 181 | py | Python | gnns/__init__.py | Wuyxin/ReFine | 2e3edc2251551170af07df34eb75b4e11884a95f | [
"MIT"
] | 43 | 2021-10-29T18:57:25.000Z | 2022-03-26T08:44:43.000Z | gnns/__init__.py | Wuyxin/ReFine | 2e3edc2251551170af07df34eb75b4e11884a95f | [
"MIT"
] | 8 | 2021-11-28T14:52:27.000Z | 2022-03-17T08:23:57.000Z | gnns/__init__.py | Wuyxin/ReFine | 2e3edc2251551170af07df34eb75b4e11884a95f | [
"MIT"
] | 2 | 2022-01-12T07:55:02.000Z | 2022-02-28T08:44:56.000Z |
from .mnist_gnn import MNISTNet
from .ba3motif_gnn import BA3MotifNet
from .mutag_gnn import MutagNet
import os
if os.path.exists("../visual_genome"):
from .vg_gnn import VGNet | 25.857143 | 38 | 0.790055 | 28 | 181 | 4.928571 | 0.607143 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.132597 | 181 | 7 | 39 | 25.857143 | 0.866242 | 0 | 0 | 0 | 0 | 0 | 0.088398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
61c2d99a9a2be7995b199972eb9c729afde3fe98 | 47 | py | Python | main.py | sonja-soennichsen/LabelView-foundations | 6dc6fa9607b7b1acdd2482be5ff65754cf6141b0 | [
"MIT"
] | null | null | null | main.py | sonja-soennichsen/LabelView-foundations | 6dc6fa9607b7b1acdd2482be5ff65754cf6141b0 | [
"MIT"
] | null | null | null | main.py | sonja-soennichsen/LabelView-foundations | 6dc6fa9607b7b1acdd2482be5ff65754cf6141b0 | [
"MIT"
] | null | null | null | from labelview.website import app # noqa: F401 | 47 | 47 | 0.787234 | 7 | 47 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.148936 | 47 | 1 | 47 | 47 | 0.85 | 0.212766 | 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 |
f61fefb86c26214437430be81b556f206203a445 | 64 | py | Python | all_test.py | rec/recs | 24d545cfa12129dc6c413f0defad08bac6f5ff14 | [
"MIT"
] | 2 | 2019-05-26T15:09:37.000Z | 2019-06-15T10:18:45.000Z | all_test.py | rec/recs | 24d545cfa12129dc6c413f0defad08bac6f5ff14 | [
"MIT"
] | null | null | null | all_test.py | rec/recs | 24d545cfa12129dc6c413f0defad08bac6f5ff14 | [
"MIT"
] | null | null | null | import recs
class ImportAllTest(recs.ImportAllTest):
pass
| 10.666667 | 40 | 0.765625 | 7 | 64 | 7 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 5 | 41 | 12.8 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.666667 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f6237d6824b4c8979cd3b7a4cd5b34f24c9b6473 | 76 | py | Python | tests/proxy_model_inheritance/app2/models.py | Yoann-Vie/esgi-hearthstone | 115d03426c7e8e80d89883b78ac72114c29bed12 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | tests/proxy_model_inheritance/app2/models.py | Yoann-Vie/esgi-hearthstone | 115d03426c7e8e80d89883b78ac72114c29bed12 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | tests/proxy_model_inheritance/app2/models.py | Yoann-Vie/esgi-hearthstone | 115d03426c7e8e80d89883b78ac72114c29bed12 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | from django.db import models
class NiceModel(models.Model):
pass
| 12.666667 | 31 | 0.697368 | 10 | 76 | 5.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 76 | 5 | 32 | 15.2 | 0.913793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f65221550ce920189df848a3552e9ecb46aac144 | 27 | py | Python | tweezers/__init__.py | woblers/tweezers | 0a2fa2baf3ccfbf9c55229ce008926e760108a26 | [
"MIT"
] | 3 | 2020-08-10T23:20:21.000Z | 2021-05-04T03:07:27.000Z | tweezers/__init__.py | toby-p/tweezers | 0a2fa2baf3ccfbf9c55229ce008926e760108a26 | [
"MIT"
] | null | null | null | tweezers/__init__.py | toby-p/tweezers | 0a2fa2baf3ccfbf9c55229ce008926e760108a26 | [
"MIT"
] | 1 | 2018-02-17T21:20:55.000Z | 2018-02-17T21:20:55.000Z |
from .api import Tweezers
| 9 | 25 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 2 | 26 | 13.5 | 0.954545 | 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 |
f675f5de820c61e1b0346343ccda17bc632a9863 | 113 | py | Python | newinfo/info/user/__init__.py | GagaCai/NewsInfo | 6b20e3b3c3392c44b982dd17199fa7fd5c6ad521 | [
"MIT"
] | null | null | null | newinfo/info/user/__init__.py | GagaCai/NewsInfo | 6b20e3b3c3392c44b982dd17199fa7fd5c6ad521 | [
"MIT"
] | null | null | null | newinfo/info/user/__init__.py | GagaCai/NewsInfo | 6b20e3b3c3392c44b982dd17199fa7fd5c6ad521 | [
"MIT"
] | null | null | null | from flask import Blueprint
profile_blue = Blueprint("profile",__name__,url_prefix="/user")
from . import views | 22.6 | 63 | 0.787611 | 15 | 113 | 5.533333 | 0.733333 | 0.385542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 113 | 5 | 64 | 22.6 | 0.821782 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
9cecae74ac37a2532842c512b74ee88ae8f71947 | 160 | py | Python | src/NBLadakh/web/admin.py | AProjectAMonth/NBLadakh | 6fa37effa68b3e391fe5365fc5b079cff76271ca | [
"MIT"
] | 1 | 2017-10-18T11:22:59.000Z | 2017-10-18T11:22:59.000Z | src/NBLadakh/web/admin.py | AProjectAMonth/NBLadakh | 6fa37effa68b3e391fe5365fc5b079cff76271ca | [
"MIT"
] | 3 | 2017-10-01T06:31:23.000Z | 2021-06-10T18:56:35.000Z | src/NBLadakh/web/admin.py | AProjectAMonth/NBLadakh | 6fa37effa68b3e391fe5365fc5b079cff76271ca | [
"MIT"
] | 2 | 2017-10-01T08:26:20.000Z | 2017-10-20T15:31:55.000Z | from django.contrib import admin
from web.models import Image
# Register your models here.
@admin.register(Image)
class ImageAdmin(admin.ModelAdmin):
pass
| 20 | 35 | 0.7875 | 22 | 160 | 5.727273 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 160 | 7 | 36 | 22.857143 | 0.913043 | 0.1625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1407cc0bafcaa9cf3334d45684470bd4e367f98e | 48 | py | Python | thingsdb/room/__init__.py | thingsdb/python-thingsdb | 19938f8d42d20a0ddc22f331140aba6e42c6e0e7 | [
"MIT"
] | 4 | 2020-05-13T20:06:20.000Z | 2021-06-01T08:21:52.000Z | thingsdb/room/__init__.py | thingsdb/python-thingsdb | 19938f8d42d20a0ddc22f331140aba6e42c6e0e7 | [
"MIT"
] | 22 | 2020-05-29T13:01:01.000Z | 2022-03-02T10:08:21.000Z | thingsdb/room/__init__.py | thingsdb/python-thingsdb | 19938f8d42d20a0ddc22f331140aba6e42c6e0e7 | [
"MIT"
] | 1 | 2020-08-12T09:34:59.000Z | 2020-08-12T09:34:59.000Z | from .room import Room
from .event import event
| 16 | 24 | 0.791667 | 8 | 48 | 4.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 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 |
140f3c32c508aca18cd97775c7f1fc690e2eca64 | 282 | py | Python | simctl.py | fellipecaetano/run-ios | cf38a36b22cbdfad680822c1d0eb188b3e2a5064 | [
"MIT"
] | null | null | null | simctl.py | fellipecaetano/run-ios | cf38a36b22cbdfad680822c1d0eb188b3e2a5064 | [
"MIT"
] | null | null | null | simctl.py | fellipecaetano/run-ios | cf38a36b22cbdfad680822c1d0eb188b3e2a5064 | [
"MIT"
] | null | null | null | import subprocess
def list_devices():
return subprocess.check_output('xcrun simctl list -j devices'.split())
def shutdown_all():
return subprocess.call('xcrun simctl shutdown all'.split())
def boot(udid):
return subprocess.call('xcrun simctl boot'.split() + [udid])
| 23.5 | 74 | 0.723404 | 37 | 282 | 5.432432 | 0.459459 | 0.238806 | 0.199005 | 0.248756 | 0.308458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14539 | 282 | 11 | 75 | 25.636364 | 0.834025 | 0 | 0 | 0 | 0 | 0 | 0.24911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 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 |
14125a01ba0b03c180eaf358edcf29f8db3bbb72 | 195 | py | Python | apps/users/admin.py | Andrej1A/ml_with_django | 0cc91b1234800703ab1567a382c3dee600255317 | [
"MIT"
] | 10 | 2019-04-15T11:21:33.000Z | 2022-02-20T13:30:20.000Z | apps/users/admin.py | Andrej1A/ml_with_django | 0cc91b1234800703ab1567a382c3dee600255317 | [
"MIT"
] | 7 | 2020-08-14T17:04:02.000Z | 2021-06-10T21:13:27.000Z | apps/users/admin.py | Andrej1A/ml_with_django | 0cc91b1234800703ab1567a382c3dee600255317 | [
"MIT"
] | 1 | 2020-08-14T16:32:36.000Z | 2020-08-14T16:32:36.000Z | from django.contrib import admin
# Register your models here.
# from .models import UserProfile, EmailVerifyRecord
#
# admin.site.register(UserProfile)
# admin.site.register(EmailVerifyRecord)
| 21.666667 | 52 | 0.8 | 22 | 195 | 7.090909 | 0.545455 | 0.115385 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112821 | 195 | 8 | 53 | 24.375 | 0.901734 | 0.764103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1435a99a3817d23c692eab1132ac56eba4c9944c | 43 | py | Python | msschem/__init__.py | andreas-h/mss-chem | ae91f4f5b4c19a4ff0ce8fd342fe0aed4ce2b9ab | [
"MIT"
] | null | null | null | msschem/__init__.py | andreas-h/mss-chem | ae91f4f5b4c19a4ff0ce8fd342fe0aed4ce2b9ab | [
"MIT"
] | 8 | 2017-06-09T22:19:00.000Z | 2017-08-10T10:44:01.000Z | msschem/__init__.py | andreas-h/mss-chem | ae91f4f5b4c19a4ff0ce8fd342fe0aed4ce2b9ab | [
"MIT"
] | null | null | null |
class DataNotAvailable(Exception): pass
| 8.6 | 39 | 0.790698 | 4 | 43 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 4 | 40 | 10.75 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
1452a3163903881892a8d4abaa5064e955c9556e | 29 | py | Python | seislib/clib/__init__.py | rgautam95/seislib | e20de6b4b78689cc80ee8d916f2ce068dba45c4a | [
"MIT"
] | 1 | 2022-01-25T11:45:43.000Z | 2022-01-25T11:45:43.000Z | seislib/clib/__init__.py | rgautam95/seislib | e20de6b4b78689cc80ee8d916f2ce068dba45c4a | [
"MIT"
] | null | null | null | seislib/clib/__init__.py | rgautam95/seislib | e20de6b4b78689cc80ee8d916f2ce068dba45c4a | [
"MIT"
] | null | null | null |
from ._tomography import *
| 9.666667 | 27 | 0.724138 | 3 | 29 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 2 | 28 | 14.5 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
147ba055f6fca125f9a73cf5b59eee6b30748688 | 460 | py | Python | meshless/espim/__init__.py | compmech/particles | d23ae69ad4c79024b997a232247b4ae0e1e7031c | [
"BSD-2-Clause"
] | 8 | 2017-06-16T15:50:43.000Z | 2021-12-01T10:20:36.000Z | meshless/espim/__init__.py | compmech/particles | d23ae69ad4c79024b997a232247b4ae0e1e7031c | [
"BSD-2-Clause"
] | 2 | 2017-12-27T11:07:04.000Z | 2019-01-22T19:34:33.000Z | meshless/espim/__init__.py | compmech/particles | d23ae69ad4c79024b997a232247b4ae0e1e7031c | [
"BSD-2-Clause"
] | 4 | 2017-05-17T17:53:20.000Z | 2019-04-03T01:57:58.000Z | r"""
ES-PIM (:mod:`meshless.espim`)
===============================
Edge-based Smoothed Point Interpolation Method.
.. currentmodule:: meshless.espim
.. automodule:: meshless.espim.read_mesh
:members:
.. automodule:: meshless.espim.read_mesh
:members:
.. automodule:: meshless.espim.plate2d_calc_k0
:mem... | 17.692308 | 47 | 0.665217 | 49 | 460 | 6.081633 | 0.489796 | 0.305369 | 0.385906 | 0.402685 | 0.630872 | 0.506711 | 0.332215 | 0.332215 | 0.332215 | 0 | 0 | 0.012563 | 0.134783 | 460 | 25 | 48 | 18.4 | 0.736181 | 0.965217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1ad4d03a5df1a6ac7538689c6f9127a7285846e4 | 96 | py | Python | asyncio_redis_ha/__init__.py | dikderoy/asyncio_redis_ha | 4256d6336d77c578f62b878de837cbc593869eaf | [
"MIT"
] | 3 | 2016-10-17T20:02:40.000Z | 2017-08-02T12:06:16.000Z | asyncio_redis_ha/__init__.py | dikderoy/asyncio_redis_ha | 4256d6336d77c578f62b878de837cbc593869eaf | [
"MIT"
] | null | null | null | asyncio_redis_ha/__init__.py | dikderoy/asyncio_redis_ha | 4256d6336d77c578f62b878de837cbc593869eaf | [
"MIT"
] | null | null | null | from .connection import *
from .manager import *
from .protocol import *
from .replies import *
| 19.2 | 25 | 0.75 | 12 | 96 | 6 | 0.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 4 | 26 | 24 | 0.9 | 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 |
1aefdfcc41feab60b9f43f7303040cfd2cc985fc | 158 | py | Python | dataset_root.py | CHENDL-SHEN/ESC | 800c6d5d9ec9d6d1ff84d54ea1dc670ce865d5b2 | [
"Apache-2.0"
] | null | null | null | dataset_root.py | CHENDL-SHEN/ESC | 800c6d5d9ec9d6d1ff84d54ea1dc670ce865d5b2 | [
"Apache-2.0"
] | null | null | null | dataset_root.py | CHENDL-SHEN/ESC | 800c6d5d9ec9d6d1ff84d54ea1dc670ce865d5b2 | [
"Apache-2.0"
] | null | null | null |
VOC_ROOT='VOC2012/VOCdevkit/VOC2012/'
VOC_SAL_ROOT='VOC2012/VOCdevkit/VOC2012/saliency_map/'
COCO_ROOT='COCO/'
COCO_SAL_ROOT = 'COCO/saliency_maps_poolnet/' | 26.333333 | 54 | 0.816456 | 23 | 158 | 5.217391 | 0.434783 | 0.183333 | 0.333333 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10596 | 0.044304 | 158 | 6 | 55 | 26.333333 | 0.688742 | 0 | 0 | 0 | 0 | 0 | 0.613924 | 0.582278 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21100e40635b0739f70c34897d4bc7fb720553c7 | 37 | py | Python | hits-efficiency.py | Stupiderick/graph_similarity | 19e8671a112e36d2957b9de62d5e2c64d2b66422 | [
"MIT"
] | 1 | 2018-05-16T11:43:36.000Z | 2018-05-16T11:43:36.000Z | hits-efficiency.py | Stupiderick/graph-similarity | 19e8671a112e36d2957b9de62d5e2c64d2b66422 | [
"MIT"
] | null | null | null | hits-efficiency.py | Stupiderick/graph-similarity | 19e8671a112e36d2957b9de62d5e2c64d2b66422 | [
"MIT"
] | null | null | null | import hits
efficiency(5, 1000, 10)
| 9.25 | 23 | 0.72973 | 6 | 37 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 0.162162 | 37 | 3 | 24 | 12.333333 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
212a0c251ea10533463c398e8e76eb7c9d96fb09 | 4,605 | py | Python | tests/test_function/test_parse_array.py | gruebel/pycep | 063a17310d79b19ca2c154344854826bcc1a7020 | [
"Apache-2.0"
] | 2 | 2022-03-03T15:33:26.000Z | 2022-03-14T21:18:57.000Z | tests/test_function/test_parse_array.py | gruebel/pycep | 063a17310d79b19ca2c154344854826bcc1a7020 | [
"Apache-2.0"
] | 14 | 2022-01-16T22:23:51.000Z | 2022-03-21T04:26:27.000Z | tests/test_function/test_parse_array.py | gruebel/pycep | 063a17310d79b19ca2c154344854826bcc1a7020 | [
"Apache-2.0"
] | null | null | null | import json
from pathlib import Path
from assertpy import assert_that
from pycep import BicepParser
EXAMPLES_DIR = Path(__file__).parent / "examples/array"
BICEP_PARSER = BicepParser()
def test_parse_array() -> None:
# given
sub_dir_path = EXAMPLES_DIR / "array"
file_path = sub_dir_path / "main.bicep"
... | 25.726257 | 76 | 0.695765 | 649 | 4,605 | 4.545455 | 0.070878 | 0.094915 | 0.132203 | 0.066102 | 0.899322 | 0.899322 | 0.899322 | 0.767119 | 0.767119 | 0.767119 | 0 | 0 | 0.188925 | 4,605 | 178 | 77 | 25.870787 | 0.789826 | 0.044951 | 0 | 0.619048 | 0 | 0 | 0.081918 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.154762 | false | 0 | 0.047619 | 0 | 0.202381 | 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 |
dcc507dfcf074fb37964a32f68ad6976ad07254f | 9,533 | py | Python | mapswipe_workers/basic/auth.py | vinaytota-optimizely/python-mapswipe-workers | 9979c4c41e975ea4a265abd1ee0f6d849e9a9b0f | [
"Apache-2.0"
] | null | null | null | mapswipe_workers/basic/auth.py | vinaytota-optimizely/python-mapswipe-workers | 9979c4c41e975ea4a265abd1ee0f6d849e9a9b0f | [
"Apache-2.0"
] | null | null | null | mapswipe_workers/basic/auth.py | vinaytota-optimizely/python-mapswipe-workers | 9979c4c41e975ea4a265abd1ee0f6d849e9a9b0f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
#
# Author: B. Herfort, M. Reinmuth, 2017
############################################
import pyrebase
import pymysql # handle mysql
import psycopg2 # handle postgres
import json
import sys
import os.path
from mapswipe_workers.definitions import CONFIG_PATH
from mapswipe_workers.definitions import ... | 31.776667 | 115 | 0.618798 | 1,132 | 9,533 | 4.962898 | 0.128975 | 0.070488 | 0.060876 | 0.034888 | 0.821289 | 0.821289 | 0.743859 | 0.707903 | 0.707903 | 0.671769 | 0 | 0.003443 | 0.268856 | 9,533 | 299 | 116 | 31.882943 | 0.802583 | 0.125564 | 0 | 0.685185 | 0 | 0 | 0.133503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.037037 | 0.041667 | 0 | 0.282407 | 0.018519 | 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 |
dcc700c83a7c092c0e89632c94d4986ac805b4c5 | 140 | py | Python | utils.py | bradyneal/Bias-Variance | 4c759d978f09475e7f2fbfaac3a6154f91a12a87 | [
"MIT"
] | null | null | null | utils.py | bradyneal/Bias-Variance | 4c759d978f09475e7f2fbfaac3a6154f91a12a87 | [
"MIT"
] | null | null | null | utils.py | bradyneal/Bias-Variance | 4c759d978f09475e7f2fbfaac3a6154f91a12a87 | [
"MIT"
] | null | null | null | def get_percentile(diffs, percentile):
print(int(round(percentile * len(diffs))))
return diffs[int(round(percentile * len(diffs)))]
| 35 | 53 | 0.714286 | 18 | 140 | 5.5 | 0.5 | 0.161616 | 0.363636 | 0.424242 | 0.525253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 140 | 3 | 54 | 46.666667 | 0.811475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
dce37dfdc7fb322e1b402c513dccab6e5b2df8c5 | 2,752 | py | Python | errata_tool/tests/test_remove_builds.py | smunilla/errata-tool | 91bdfb17f15308b46298210fbb2fe5af786276bc | [
"MIT"
] | 1 | 2020-02-03T14:34:26.000Z | 2020-02-03T14:34:26.000Z | errata_tool/tests/test_remove_builds.py | smunilla/errata-tool | 91bdfb17f15308b46298210fbb2fe5af786276bc | [
"MIT"
] | null | null | null | errata_tool/tests/test_remove_builds.py | smunilla/errata-tool | 91bdfb17f15308b46298210fbb2fe5af786276bc | [
"MIT"
] | null | null | null | import requests
import pytest
class TestRemoveBuilds(object):
def test_builds_url(self, monkeypatch, mock_post, advisory):
monkeypatch.setattr(requests, 'post', mock_post)
advisory.removeBuilds(['ceph-12.2.5-42.el7cp'])
assert mock_post.response.url == 'https://errata.devel.redhat.com/api... | 40.470588 | 122 | 0.678779 | 314 | 2,752 | 5.767516 | 0.184713 | 0.101601 | 0.123689 | 0.127002 | 0.869685 | 0.869685 | 0.869685 | 0.869685 | 0.869685 | 0.807841 | 0 | 0.023535 | 0.212573 | 2,752 | 67 | 123 | 41.074627 | 0.812183 | 0.003634 | 0 | 0.6 | 0 | 0 | 0.087591 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.181818 | false | 0 | 0.036364 | 0 | 0.236364 | 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 |
0d293591290a74c11aad0d37db264889bb265df7 | 89 | py | Python | TUGithubAPI/api/repositories/branches.py | putishuxiazuo/APITest | 0d391b075ca1c17909e4dfba45145e50f6706d6a | [
"MIT"
] | null | null | null | TUGithubAPI/api/repositories/branches.py | putishuxiazuo/APITest | 0d391b075ca1c17909e4dfba45145e50f6706d6a | [
"MIT"
] | null | null | null | TUGithubAPI/api/repositories/branches.py | putishuxiazuo/APITest | 0d391b075ca1c17909e4dfba45145e50f6706d6a | [
"MIT"
] | null | null | null | from TUGithubAPI.core.rest_client import RestClient
class Branches(RestClient):
pass | 22.25 | 51 | 0.820225 | 11 | 89 | 6.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 4 | 52 | 22.25 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
371240af348904b474e83006946a9eb4be4c8192 | 60 | py | Python | boa3_test/test_sc/range_test/RangeTooManyParameters.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/range_test/RangeTooManyParameters.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/range_test/RangeTooManyParameters.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | def range_example() -> range:
return range(0, 10, 2, 5)
| 20 | 29 | 0.616667 | 10 | 60 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0.216667 | 60 | 2 | 30 | 30 | 0.659574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
372b224104f2c9134d6c0a56b9e1ca7dea889261 | 232 | py | Python | nsd1802/python/day01/output.py | MrWangwf/nsd1806 | 069e993b0bb64cb21adc2a25aa56f6da674453bc | [
"Apache-2.0"
] | null | null | null | nsd1802/python/day01/output.py | MrWangwf/nsd1806 | 069e993b0bb64cb21adc2a25aa56f6da674453bc | [
"Apache-2.0"
] | null | null | null | nsd1802/python/day01/output.py | MrWangwf/nsd1806 | 069e993b0bb64cb21adc2a25aa56f6da674453bc | [
"Apache-2.0"
] | null | null | null | print('hello world!')
print('hello', 'world!') # 逗号自动添加空格
print('hello' + 'world!') # 加号表示字符拼接
print('hello', 'world', sep='***') # 单词间用***分隔
print('#' * 50) # *号表示重复50遍
print('how are you?', end='') # 默认print会打印回车,end=''表示不要回车
| 33.142857 | 57 | 0.594828 | 28 | 232 | 4.928571 | 0.571429 | 0.289855 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019901 | 0.133621 | 232 | 6 | 58 | 38.666667 | 0.666667 | 0.271552 | 0 | 0 | 0 | 0 | 0.368098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
2ec62f112392c19196bdfa6013b30bc83f047d5d | 58 | py | Python | repositories/__init__.py | dev-11/seagull-backend | bee70773e51d5bced5319815a6acb32d6e696810 | [
"MIT"
] | null | null | null | repositories/__init__.py | dev-11/seagull-backend | bee70773e51d5bced5319815a6acb32d6e696810 | [
"MIT"
] | null | null | null | repositories/__init__.py | dev-11/seagull-backend | bee70773e51d5bced5319815a6acb32d6e696810 | [
"MIT"
] | null | null | null | from .environment_repository import EnvironmentRepository
| 29 | 57 | 0.913793 | 5 | 58 | 10.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 1 | 58 | 58 | 0.962963 | 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 |
2eede5a2c0a5e3253e43654de1727762a9697668 | 27 | py | Python | game/util/__init__.py | MarsRaptor/battleships | 81e0a595c05f627de568dad49904be99f0cbf6ac | [
"MIT"
] | null | null | null | game/util/__init__.py | MarsRaptor/battleships | 81e0a595c05f627de568dad49904be99f0cbf6ac | [
"MIT"
] | null | null | null | game/util/__init__.py | MarsRaptor/battleships | 81e0a595c05f627de568dad49904be99f0cbf6ac | [
"MIT"
] | null | null | null | from .number_utils import * | 27 | 27 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 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 |
258b0da364560dffdd24913df80d2e76e84354d9 | 99 | py | Python | 0/2/2475/2475.py | chr0m3/boj-codes | d71d0a22d0a3ae62c225f382442461275f56fe8f | [
"MIT"
] | 3 | 2017-07-08T16:29:06.000Z | 2020-07-20T00:17:45.000Z | 0/2/2475/2475.py | chr0m3/boj-codes | d71d0a22d0a3ae62c225f382442461275f56fe8f | [
"MIT"
] | null | null | null | 0/2/2475/2475.py | chr0m3/boj-codes | d71d0a22d0a3ae62c225f382442461275f56fe8f | [
"MIT"
] | 2 | 2017-11-20T14:06:06.000Z | 2020-07-20T00:17:47.000Z | a, b, c, d, e = map(int, input().split())
print((a ** 2 + b ** 2 + c ** 2 + d ** 2 + e ** 2) % 10)
| 33 | 56 | 0.383838 | 21 | 99 | 1.809524 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.292929 | 99 | 2 | 57 | 49.5 | 0.442857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
25ba5d9de80646960f9c9972c2ff87fa57ae9edb | 31,595 | py | Python | buildSystemTests/runTests.py | iblis-ms/python_cmake_build_system | 9f52f004241c6e8efc4a036d5c58f67a6d40e7ec | [
"MIT"
] | null | null | null | buildSystemTests/runTests.py | iblis-ms/python_cmake_build_system | 9f52f004241c6e8efc4a036d5c58f67a6d40e7ec | [
"MIT"
] | 6 | 2020-10-11T21:03:24.000Z | 2020-10-12T20:32:13.000Z | buildSystemTests/runTests.py | iblis-ms/python_cmake_build_system | 9f52f004241c6e8efc4a036d5c58f67a6d40e7ec | [
"MIT"
] | null | null | null | #!/usr/bin/python3
from parameterized import parameterized
import unittest
import os
import shutil
import testModules
from testModules.utils import Utils
from testModules.sysOp import SysOp
from testModules.testBase import TestBase
from testModules.testBase import ParameterTestBase
from testModules.testConfig impor... | 48.533026 | 189 | 0.690489 | 3,367 | 31,595 | 6.300564 | 0.089694 | 0.065617 | 0.068728 | 0.077213 | 0.801169 | 0.785849 | 0.772226 | 0.749175 | 0.740784 | 0.736071 | 0 | 0.005656 | 0.188637 | 31,595 | 650 | 190 | 48.607692 | 0.821884 | 0.002026 | 0 | 0.595528 | 0 | 0.004065 | 0.220865 | 0.110258 | 0 | 0 | 0 | 0 | 0.355691 | 1 | 0.077236 | false | 0.002033 | 0.026423 | 0.018293 | 0.140244 | 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 |
d31089c179203c8969bc171abfb1d8e542154a2a | 214 | py | Python | tfce_toolbox/cluster_value_calculator.py | celine-alameda/cluster-analysis | 0168bb8238f2e368f92d5fddbfe9330fd3465438 | [
"BSD-3-Clause"
] | null | null | null | tfce_toolbox/cluster_value_calculator.py | celine-alameda/cluster-analysis | 0168bb8238f2e368f92d5fddbfe9330fd3465438 | [
"BSD-3-Clause"
] | null | null | null | tfce_toolbox/cluster_value_calculator.py | celine-alameda/cluster-analysis | 0168bb8238f2e368f92d5fddbfe9330fd3465438 | [
"BSD-3-Clause"
] | null | null | null | from abc import abstractmethod
class ClusterValueCalculator:
@abstractmethod
def compute_values(self, data_frame):
pass
@abstractmethod
def compute_value(self, data_frame):
pass
| 16.461538 | 41 | 0.705607 | 22 | 214 | 6.681818 | 0.636364 | 0.231293 | 0.326531 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242991 | 214 | 12 | 42 | 17.833333 | 0.907407 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9f23f17b163e4c9fc946aedb6bd4fc4be3f09ab9 | 239 | py | Python | lib/bandl/exception.py | stockalgo/bandl | 1396037e445054f5755b166422f556dc71d59b6a | [
"MIT"
] | 37 | 2020-10-06T01:27:50.000Z | 2022-01-15T04:48:38.000Z | lib/bandl/exception.py | stockalgo/bandl | 1396037e445054f5755b166422f556dc71d59b6a | [
"MIT"
] | 13 | 2020-09-11T18:27:42.000Z | 2021-02-21T15:30:56.000Z | lib/bandl/exception.py | stockalgo/bandl | 1396037e445054f5755b166422f556dc71d59b6a | [
"MIT"
] | 16 | 2020-10-06T01:27:55.000Z | 2021-12-07T16:26:23.000Z | class BadDataError(Exception):
def __init__(self, message):
super(BadDataError, self).__init__(message)
class InvalidFileError(Exception):
def __init__(self,message):
super(InvalidFileError, self).__init__(message) | 34.142857 | 55 | 0.736402 | 24 | 239 | 6.666667 | 0.375 | 0.15 | 0.2 | 0.25 | 0.4 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154812 | 239 | 7 | 55 | 34.142857 | 0.792079 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9f26d9e71c2ba43c4ea49d88ae6cb4bd4807cee0 | 49 | py | Python | math_expression_parser/__init__.py | vitkarpenko/math-expression-parser | 474b44b68dc7a292d52847755f6c0d3bcd20297c | [
"MIT"
] | null | null | null | math_expression_parser/__init__.py | vitkarpenko/math-expression-parser | 474b44b68dc7a292d52847755f6c0d3bcd20297c | [
"MIT"
] | null | null | null | math_expression_parser/__init__.py | vitkarpenko/math-expression-parser | 474b44b68dc7a292d52847755f6c0d3bcd20297c | [
"MIT"
] | null | null | null | from math_expression_parser.parser import Parser
| 24.5 | 48 | 0.897959 | 7 | 49 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f49548489da252a65e6ac9f384c9449f9bca1b0 | 656 | py | Python | pysal/tests/test_imports.py | sugam45/pysal | 329a37906bf4f5f837de63f169883bdd671cdbda | [
"BSD-3-Clause"
] | null | null | null | pysal/tests/test_imports.py | sugam45/pysal | 329a37906bf4f5f837de63f169883bdd671cdbda | [
"BSD-3-Clause"
] | null | null | null | pysal/tests/test_imports.py | sugam45/pysal | 329a37906bf4f5f837de63f169883bdd671cdbda | [
"BSD-3-Clause"
] | null | null | null | def test_import():
from pysal.lib import cg
from pysal.lib import io
from pysal.lib import weights
from pysal.lib import examples
from pysal.explore import giddy
from pysal.explore import esda
from pysal.explore import inequality
from pysal.explore import segregation
from pysal.expl... | 31.238095 | 41 | 0.742378 | 93 | 656 | 5.225806 | 0.290323 | 0.333333 | 0.197531 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22561 | 656 | 20 | 42 | 32.8 | 0.956693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | true | 0 | 1 | 0 | 1.052632 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f51c2cd4eafd34b3541846576f8b9f84b1c254a | 96 | py | Python | venv/lib/python3.8/site-packages/rope/refactor/wildcards.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/rope/refactor/wildcards.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/rope/refactor/wildcards.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/96/ba/92/d28796718f72a0e7cf8e082175744b44c3c20cfa74fdd219172e0a4e06 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9f680aeb1239a00a9ed0c6ea5841fd2696ce67ea | 3,759 | py | Python | igor/std-plugins/user/igorplugin.py | cwi-dis/igor | 1d973731a8e9378c8609401fe9fd5be963b54233 | [
"MIT"
] | 5 | 2017-09-05T12:13:50.000Z | 2020-07-15T15:12:08.000Z | igor/std-plugins/user/igorplugin.py | cwi-dis/igor | 1d973731a8e9378c8609401fe9fd5be963b54233 | [
"MIT"
] | 75 | 2017-05-22T13:19:58.000Z | 2021-01-25T00:22:12.000Z | igor/std-plugins/user/igorplugin.py | cwi-dis/igor | 1d973731a8e9378c8609401fe9fd5be963b54233 | [
"MIT"
] | 3 | 2017-06-11T19:50:41.000Z | 2019-04-29T13:30:59.000Z | import os
import sys
import re
NAME_RE = re.compile(r'[a-zA-Z_][-a-zA-Z0-9_.]+')
DEBUG=False
class UserPlugin:
def __init__(self, igor):
self.igor = igor
def index(self, token=None, callerToken=None):
raise self.igor.app.raiseNotfound()
def add(self, token=None, callerToken=None... | 45.841463 | 136 | 0.626762 | 405 | 3,759 | 5.775309 | 0.222222 | 0.092347 | 0.047029 | 0.06413 | 0.784523 | 0.746473 | 0.717401 | 0.702009 | 0.702009 | 0.702009 | 0 | 0.007115 | 0.252195 | 3,759 | 81 | 137 | 46.407407 | 0.824973 | 0.036712 | 0 | 0.615385 | 0 | 0 | 0.172385 | 0.029054 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092308 | false | 0.061538 | 0.046154 | 0.015385 | 0.261538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9f70ed423faa46d0d6c442dcba166c1f040f144b | 25 | py | Python | evaluation/__init__.py | mpc-hc/evaluation-workflow | f5343d5050639af330d623a9cadcf6712fde1011 | [
"MIT"
] | 1 | 2021-04-13T19:27:29.000Z | 2021-04-13T19:27:29.000Z | evaluation/__init__.py | mpc-hc/evaluation-workflow | f5343d5050639af330d623a9cadcf6712fde1011 | [
"MIT"
] | null | null | null | evaluation/__init__.py | mpc-hc/evaluation-workflow | f5343d5050639af330d623a9cadcf6712fde1011 | [
"MIT"
] | 3 | 2018-05-31T23:35:32.000Z | 2021-04-13T19:27:30.000Z | from evaluation import *
| 12.5 | 24 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f73700bee4e3322889ff7502cc67c098d81bcd5 | 4,679 | py | Python | dojo/unittests/tools/test_tfsec_parser.py | christophe226/django-DefectDojo | 0ea0a59526ee9169dce29777288cf9dba0c44263 | [
"BSD-3-Clause"
] | null | null | null | dojo/unittests/tools/test_tfsec_parser.py | christophe226/django-DefectDojo | 0ea0a59526ee9169dce29777288cf9dba0c44263 | [
"BSD-3-Clause"
] | 562 | 2019-06-21T18:44:38.000Z | 2022-03-28T18:09:08.000Z | dojo/unittests/tools/test_tfsec_parser.py | christophe226/django-DefectDojo | 0ea0a59526ee9169dce29777288cf9dba0c44263 | [
"BSD-3-Clause"
] | null | null | null | from django.test import TestCase
from dojo.tools.tfsec.parser import TFSecParser
from dojo.models import Test
class TestTFSecParser(TestCase):
def test_parse_no_findings(self):
testfile = open("dojo/unittests/scans/tfsec/no_findings.json")
parser = TFSecParser()
findings = parser.get_find... | 51.988889 | 138 | 0.670656 | 521 | 4,679 | 5.946257 | 0.239923 | 0.208199 | 0.030988 | 0.025823 | 0.739187 | 0.739187 | 0.739187 | 0.726598 | 0.696256 | 0.696256 | 0 | 0.012514 | 0.23146 | 4,679 | 89 | 139 | 52.573034 | 0.848999 | 0 | 0 | 0.607595 | 0 | 0 | 0.221415 | 0.050866 | 0 | 0 | 0 | 0 | 0.670886 | 1 | 0.037975 | false | 0.012658 | 0.037975 | 0 | 0.088608 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9f74a998225fc75d927a71bc25b6086fa22173ea | 130 | py | Python | app/book/admin.py | amirlevis/book-rest-api | 32e6059d360d104129abdccb1ad365c75202b1b9 | [
"MIT"
] | null | null | null | app/book/admin.py | amirlevis/book-rest-api | 32e6059d360d104129abdccb1ad365c75202b1b9 | [
"MIT"
] | null | null | null | app/book/admin.py | amirlevis/book-rest-api | 32e6059d360d104129abdccb1ad365c75202b1b9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Book, Author, Illustrator
admin.site.register((Book, Author, Illustrator))
| 21.666667 | 48 | 0.792308 | 17 | 130 | 6.058824 | 0.647059 | 0.194175 | 0.407767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 130 | 5 | 49 | 26 | 0.895652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f94352b71b7c1aa159a77a6cafb0eee2eab72d7 | 242 | py | Python | tests/test_sequences.py | born2Btiled/splitn | de7c88f8d14be212964705028c6a58ca1f40eb8c | [
"MIT"
] | 1 | 2019-12-03T09:12:56.000Z | 2019-12-03T09:12:56.000Z | tests/test_sequences.py | warzocha/splitn | de7c88f8d14be212964705028c6a58ca1f40eb8c | [
"MIT"
] | 1 | 2021-03-22T11:16:36.000Z | 2021-03-22T11:16:36.000Z | tests/test_sequences.py | warzocha/splitn | de7c88f8d14be212964705028c6a58ca1f40eb8c | [
"MIT"
] | null | null | null | from splitn import sequences
def test_random_sequence_return_type():
assert isinstance(sequences.random_sequence(r'\d[a-d]{4,7}'), str)
def test_random_sequence_sequence_length():
assert len(sequences.random_sequence(r'a{4}')) == 4
| 30.25 | 70 | 0.764463 | 37 | 242 | 4.72973 | 0.540541 | 0.32 | 0.148571 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018433 | 0.103306 | 242 | 7 | 71 | 34.571429 | 0.788018 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9808b798db79451fa2d29d21a833de6b12a971d6 | 43 | py | Python | labs_challenge/settings/development.py | Pwpon500/labs_challenge | 520de4467765261dcd987fdf36f7fa2385ac6166 | [
"MIT"
] | 1 | 2021-02-14T15:44:09.000Z | 2021-02-14T15:44:09.000Z | labs_challenge/settings/development.py | Pwpon500/labs_challenge | 520de4467765261dcd987fdf36f7fa2385ac6166 | [
"MIT"
] | 5 | 2020-06-05T23:15:00.000Z | 2022-02-10T14:05:51.000Z | labs_challenge/settings/development.py | Pwpon500/labs_challenge | 520de4467765261dcd987fdf36f7fa2385ac6166 | [
"MIT"
] | null | null | null | from labs_challenge.settings.base import *
| 21.5 | 42 | 0.837209 | 6 | 43 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.897436 | 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 |
e218146681d526ad69253d73800bc30984047f31 | 1,504 | py | Python | winixy_monitor.py | juliokozarewicz/winixy_collect | 5a2c719f342f3818d7e7d9da919dbaca10707b7e | [
"MIT"
] | null | null | null | winixy_monitor.py | juliokozarewicz/winixy_collect | 5a2c719f342f3818d7e7d9da919dbaca10707b7e | [
"MIT"
] | null | null | null | winixy_monitor.py | juliokozarewicz/winixy_collect | 5a2c719f342f3818d7e7d9da919dbaca10707b7e | [
"MIT"
] | null | null | null | from configs import *
from status_report import *
import time
import os
while True:
"""
Módulo visual de monitoramento básico do status.
"""
try:
time.sleep(1)
data_report, status_ohlc, status_tt, status_book, qtd_db = status_cnx_repor()
os.system('cls' if os.name == 'nt' else... | 30.08 | 85 | 0.340426 | 186 | 1,504 | 3.274194 | 0.349462 | 0.216749 | 0.256158 | 0.262726 | 0.380952 | 0.348112 | 0.348112 | 0.19376 | 0.19376 | 0.19376 | 0 | 0.067844 | 0.284574 | 1,504 | 49 | 86 | 30.693878 | 0.395911 | 0 | 0 | 0.363636 | 0 | 0.030303 | 0.722724 | 0.270327 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.121212 | 0 | 0.121212 | 0.060606 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e218d77f9cccb541bbe0c953b40c6e1809b8937a | 183 | py | Python | enki/__init__.py | charlf/enkiWS | 789c789b2c0e46dcf568697dc2e46b82512981da | [
"Zlib"
] | 1 | 2021-04-22T15:29:20.000Z | 2021-04-22T15:29:20.000Z | enki/__init__.py | charlf/enkiWS | 789c789b2c0e46dcf568697dc2e46b82512981da | [
"Zlib"
] | null | null | null | enki/__init__.py | charlf/enkiWS | 789c789b2c0e46dcf568697dc2e46b82512981da | [
"Zlib"
] | null | null | null | from handlerbase import HandlerBase
from handlersaccount import routes_account
from handlersforums import routes_forums
from handlersfriends import routes_friends
import jinjafilters
| 30.5 | 42 | 0.901639 | 21 | 183 | 7.714286 | 0.52381 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 183 | 5 | 43 | 36.6 | 0.981818 | 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 |
e2203be99f731e0f1384fcce4eb38b650ca95893 | 2,427 | py | Python | Plot_power_ellipse.py | mkraft89/To_eels_app | 9e2fc6d501f51130b12164997f40cb7e0ec5a654 | [
"Unlicense"
] | null | null | null | Plot_power_ellipse.py | mkraft89/To_eels_app | 9e2fc6d501f51130b12164997f40cb7e0ec5a654 | [
"Unlicense"
] | null | null | null | Plot_power_ellipse.py | mkraft89/To_eels_app | 9e2fc6d501f51130b12164997f40cb7e0ec5a654 | [
"Unlicense"
] | null | null | null | #Plot the power absorbed by two nearly touching cylinders
#when a line electron flies past
import numpy as np
import matplotlib.pyplot as plt
from Calculate_power_absorbed_ellipse \
import Pow_abs_r, Pow_sca_r
def Absorption(semi_major, semi_minor, epos, vel):
#Geometrical and physical constants in the cylinder... | 26.096774 | 76 | 0.626288 | 407 | 2,427 | 3.601966 | 0.255528 | 0.098226 | 0.076398 | 0.061392 | 0.826739 | 0.826739 | 0.826739 | 0.78854 | 0.78854 | 0.740791 | 0 | 0.065067 | 0.227441 | 2,427 | 92 | 77 | 26.380435 | 0.7168 | 0.147095 | 0 | 0.678571 | 0 | 0 | 0.023358 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.053571 | 0 | 0.089286 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.