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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
321396e25116e752723c33400a3bf3b42e9efab2 | 1,434 | py | Python | managesf/services/jenkins/__init__.py | enovance/managesf | 5f6bc6857ebbffb929a063ccc3ab94317fa3784a | [
"Apache-2.0"
] | null | null | null | managesf/services/jenkins/__init__.py | enovance/managesf | 5f6bc6857ebbffb929a063ccc3ab94317fa3784a | [
"Apache-2.0"
] | null | null | null | managesf/services/jenkins/__init__.py | enovance/managesf | 5f6bc6857ebbffb929a063ccc3ab94317fa3784a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#
# Copyright (C) 2016 Red Hat <licensing@enovance.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... | 30.510638 | 75 | 0.708508 | 185 | 1,434 | 5.356757 | 0.583784 | 0.060545 | 0.026236 | 0.032291 | 0.05449 | 0.05449 | 0 | 0 | 0 | 0 | 0 | 0.006969 | 0.199442 | 1,434 | 46 | 76 | 31.173913 | 0.856272 | 0.448396 | 0 | 0.111111 | 0 | 0 | 0.042802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.055556 | 0.166667 | 0.055556 | 0.666667 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
3216e110d0894ae2cf53e419f32c47178b95b926 | 1,154 | py | Python | athena/federation/utils.py | dacort/athena-gmail | 6770026ff7c8589246b55d163cd4d6f3e887b564 | [
"Apache-2.0"
] | 1 | 2021-11-25T16:01:41.000Z | 2021-11-25T16:01:41.000Z | athena/federation/utils.py | dacort/athena-gmail | 6770026ff7c8589246b55d163cd4d6f3e887b564 | [
"Apache-2.0"
] | null | null | null | athena/federation/utils.py | dacort/athena-gmail | 6770026ff7c8589246b55d163cd4d6f3e887b564 | [
"Apache-2.0"
] | 2 | 2021-01-17T08:40:00.000Z | 2021-03-03T20:39:13.000Z | import base64
import pyarrow as pa
class AthenaSDKUtils:
def encode_pyarrow_object(pya_obj):
"""
Encodes either a PyArrow Schema or set of Records to Base64.
I'm not entirely sure why, but I had to cut off the first 4 characters
of the `serialize()` output to be compatible with th... | 34.969697 | 78 | 0.676776 | 155 | 1,154 | 4.851613 | 0.477419 | 0.047872 | 0.042553 | 0.055851 | 0.103723 | 0.103723 | 0.103723 | 0.103723 | 0 | 0 | 0 | 0.035797 | 0.249567 | 1,154 | 32 | 79 | 36.0625 | 0.832564 | 0.284229 | 0 | 0 | 0 | 0 | 0.006623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.117647 | 0.117647 | 0.647059 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3225cd8e533afc4e484ed5a941b46de22f869cbb | 9,511 | py | Python | src/monKeyData/Items/Hat.py | Amirh24/monKey-s | 10afccb07dc47c9239de07c5bbcdb95008f5f0e5 | [
"MIT"
] | 13 | 2018-08-21T10:12:26.000Z | 2022-02-10T04:05:06.000Z | src/monKeyData/Items/Hat.py | Amirh24/monKey-s | 10afccb07dc47c9239de07c5bbcdb95008f5f0e5 | [
"MIT"
] | 6 | 2018-09-10T21:32:37.000Z | 2022-01-13T00:50:53.000Z | src/monKeyData/Items/Hat.py | Amirh24/monKey-s | 10afccb07dc47c9239de07c5bbcdb95008f5f0e5 | [
"MIT"
] | 9 | 2018-09-01T17:08:46.000Z | 2022-02-06T14:29:52.000Z | from abc import ABCMeta
from src.monKeyData.Items import Item as ItemModule
class Hat(ItemModule.Item):
__metaclass__ = ABCMeta
def __init__(self):
self.item = "hat"
class HatFactory():
def factory(type, color):
if type == 0:
return None
if type == 1... | 21.615909 | 61 | 0.486279 | 951 | 9,511 | 4.54469 | 0.103049 | 0.143683 | 0.149005 | 0.074503 | 0.697362 | 0.697362 | 0.697362 | 0.697362 | 0.632809 | 0.53864 | 0 | 0.006658 | 0.399958 | 9,511 | 439 | 62 | 21.665148 | 0.750657 | 0.003259 | 0 | 0.557522 | 0 | 0 | 0.072574 | 0.002766 | 0 | 0 | 0 | 0 | 0 | 1 | 0.20944 | false | 0 | 0.0059 | 0.135693 | 0.501475 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5c532169c5b5026d17a8899841fb7a25dd2c6af3 | 240 | py | Python | pk_gene_sequence.py | villawang/Continual_Learning_CV | 6715fa9c741df920e56aede11cbb85a4be41871e | [
"BSD-3-Clause"
] | null | null | null | pk_gene_sequence.py | villawang/Continual_Learning_CV | 6715fa9c741df920e56aede11cbb85a4be41871e | [
"BSD-3-Clause"
] | null | null | null | pk_gene_sequence.py | villawang/Continual_Learning_CV | 6715fa9c741df920e56aede11cbb85a4be41871e | [
"BSD-3-Clause"
] | null | null | null | import pickle
from data import get_multitask_experiment
pkl=get_multitask_experiment(name='mydataset', scenario='domain', tasks=12, verbose=True, exception=True,factor='sequence')
with open('sequence.pk','wb') as f:
pickle.dump(pkl,f)
| 34.285714 | 123 | 0.775 | 35 | 240 | 5.2 | 0.742857 | 0.131868 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009132 | 0.0875 | 240 | 6 | 124 | 40 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5c76a40b02769ba90259a12d903dd4c0c1dd7fea | 2,111 | py | Python | examples/simple/src/schema/versions/3c6b810ea389_20203364344_add_addresses_table_add_events_table_.py | lazytype/ent | d9729f3bb5c2410021e58dfdac0ef03efb439edb | [
"MIT"
] | 35 | 2021-05-28T00:16:56.000Z | 2022-03-14T10:02:09.000Z | examples/simple/src/schema/versions/3c6b810ea389_20203364344_add_addresses_table_add_events_table_.py | lazytype/ent | d9729f3bb5c2410021e58dfdac0ef03efb439edb | [
"MIT"
] | 187 | 2021-05-26T19:23:59.000Z | 2022-03-30T17:53:49.000Z | examples/simple/src/schema/versions/3c6b810ea389_20203364344_add_addresses_table_add_events_table_.py | lazytype/ent | d9729f3bb5c2410021e58dfdac0ef03efb439edb | [
"MIT"
] | 6 | 2021-06-11T23:09:22.000Z | 2022-02-01T23:45:35.000Z | # Code generated by github.com/lolopinto/ent/ent, DO NOT edit.
"""add addresses table
add events table
add users table
Revision ID: 3c6b810ea389
Revises:
Create Date: 2020-03-03 06:43:44.170648+00:00
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifie... | 34.048387 | 65 | 0.680246 | 278 | 2,111 | 5.068345 | 0.273381 | 0.107878 | 0.191625 | 0.223563 | 0.58978 | 0.562811 | 0.498935 | 0.432931 | 0.270405 | 0.270405 | 0 | 0.022284 | 0.149692 | 2,111 | 61 | 66 | 34.606557 | 0.762674 | 0.184747 | 0 | 0.225 | 1 | 0 | 0.143791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.075 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5c90ea6aab776348ef8364f5b1e31229883900c5 | 205 | py | Python | 2. ITW2/m_queue.py | piyushmoolchandani/Lab_codes | 5b478f31b41856b10c0df9f847b4a7794556fea5 | [
"MIT"
] | null | null | null | 2. ITW2/m_queue.py | piyushmoolchandani/Lab_codes | 5b478f31b41856b10c0df9f847b4a7794556fea5 | [
"MIT"
] | null | null | null | 2. ITW2/m_queue.py | piyushmoolchandani/Lab_codes | 5b478f31b41856b10c0df9f847b4a7794556fea5 | [
"MIT"
] | 2 | 2020-04-09T08:52:51.000Z | 2021-09-24T13:45:04.000Z | def new_queue():
return []
def enqueue(a, element):
a.append(element);
def dequeue(a):
if (len(a)):
return a.pop(0)
def is_empty(a):
return True if len(a) == 0 else False | 17.083333 | 41 | 0.565854 | 33 | 205 | 3.454545 | 0.545455 | 0.087719 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013605 | 0.282927 | 205 | 12 | 41 | 17.083333 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.222222 | 0.777778 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5ca898441c3fc733a04063ec30a99f9f100f8cdb | 1,337 | py | Python | tests/model/test_model.py | greedyuser/kur | ba6588ebfa5dec66d1e462c180618cc115fd38ef | [
"Apache-2.0"
] | 867 | 2016-12-05T20:24:23.000Z | 2022-02-18T09:07:14.000Z | tests/model/test_model.py | greedyuser/kur | ba6588ebfa5dec66d1e462c180618cc115fd38ef | [
"Apache-2.0"
] | 90 | 2017-01-14T22:46:23.000Z | 2021-02-09T13:32:27.000Z | tests/model/test_model.py | greedyuser/kur | ba6588ebfa5dec66d1e462c180618cc115fd38ef | [
"Apache-2.0"
] | 135 | 2017-01-18T19:21:20.000Z | 2022-01-24T16:57:59.000Z | """
Copyright 2016 Deepgram
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | 34.282051 | 79 | 0.624533 | 181 | 1,337 | 4.486188 | 0.480663 | 0.133005 | 0.188424 | 0.236453 | 0.134236 | 0.134236 | 0.070197 | 0.070197 | 0.070197 | 0.070197 | 0 | 0.006873 | 0.129394 | 1,337 | 38 | 80 | 35.184211 | 0.690722 | 0.591623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5cafb2b8fba1b7242282282ba6e4ccd6c5da157b | 100 | py | Python | src/python/cupoch/__init__.py | collector-m/cupoch | 1b2bb3f806695b93d6d0dd87855cf2a4da8d1ce1 | [
"MIT"
] | 522 | 2020-01-19T05:59:00.000Z | 2022-03-25T04:36:52.000Z | src/python/cupoch/__init__.py | collector-m/cupoch | 1b2bb3f806695b93d6d0dd87855cf2a4da8d1ce1 | [
"MIT"
] | 87 | 2020-02-23T09:56:48.000Z | 2022-03-25T13:35:15.000Z | src/python/cupoch/__init__.py | collector-m/cupoch | 1b2bb3f806695b93d6d0dd87855cf2a4da8d1ce1 | [
"MIT"
] | 74 | 2020-01-27T15:33:30.000Z | 2022-03-27T11:58:22.000Z | from .cupoch import * # py2 py3 compatible
initialize_allocator()
__version__ = '@PROJECT_VERSION@' | 25 | 42 | 0.78 | 11 | 100 | 6.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.12 | 100 | 4 | 43 | 25 | 0.795455 | 0.18 | 0 | 0 | 0 | 0 | 0.209877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7a2617c01d373b564f9d8a4a91bd1f2e4ac3b88a | 1,086 | py | Python | tsp/solvers/tsp_held_karp.py | paulmz1/python_examples | cd2767f8db8b7b73e19a5bb5848d3dda1c36a778 | [
"MIT"
] | 2 | 2020-03-18T20:59:17.000Z | 2021-03-20T07:53:58.000Z | tsp/solvers/tsp_held_karp.py | paulmz1/python_examples | cd2767f8db8b7b73e19a5bb5848d3dda1c36a778 | [
"MIT"
] | null | null | null | tsp/solvers/tsp_held_karp.py | paulmz1/python_examples | cd2767f8db8b7b73e19a5bb5848d3dda1c36a778 | [
"MIT"
] | 1 | 2021-01-22T20:20:30.000Z | 2021-01-22T20:20:30.000Z | # https://en.wikipedia.org/wiki/Held%E2%80%93Karp_algorithm#Recursive_formulation
import functools
def solve(graph, distance_function):
def c(j, k):
return distance_function(graph, j, k)
@functools.lru_cache(maxsize=None)
def g(x: int, S: frozenset) -> (int, list):
return min([(c(x, s) + ... | 25.857143 | 81 | 0.447514 | 183 | 1,086 | 2.650273 | 0.327869 | 0.074227 | 0.020619 | 0.024742 | 0.086598 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040559 | 0.341621 | 1,086 | 41 | 82 | 26.487805 | 0.630769 | 0.490792 | 0 | 0 | 0 | 0 | 0.01711 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.166667 | 0.583333 | 0.083333 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7a2d54be8449d3a17918b26ac2266c7d0995e0c3 | 181 | py | Python | CHOPRT.py | abphilip-codes/Codechef_Practice | 21fd52e03df8a0f72a08b0e2a0b48dbd508aac95 | [
"MIT"
] | 2 | 2021-07-26T03:32:24.000Z | 2021-07-31T02:32:14.000Z | CHOPRT.py | abphilip-codes/Codechef_Practice | 21fd52e03df8a0f72a08b0e2a0b48dbd508aac95 | [
"MIT"
] | null | null | null | CHOPRT.py | abphilip-codes/Codechef_Practice | 21fd52e03df8a0f72a08b0e2a0b48dbd508aac95 | [
"MIT"
] | 1 | 2021-07-14T17:45:33.000Z | 2021-07-14T17:45:33.000Z | # https://www.codechef.com/problems/CHOPRT
for T in range(int(input())):
a,b = map(int,input().split())
if(a>b): print(">")
if(a<b): print("<")
if(a==b): print("=") | 25.857143 | 42 | 0.535912 | 30 | 181 | 3.233333 | 0.6 | 0.082474 | 0.123711 | 0.278351 | 0.278351 | 0.278351 | 0.278351 | 0.278351 | 0 | 0 | 0 | 0 | 0.171271 | 181 | 7 | 43 | 25.857143 | 0.646667 | 0.220994 | 0 | 0 | 0 | 0 | 0.021429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
7a437268fdfaf58be5191b152dfdcb8b5356b9f9 | 52 | py | Python | pyelexon/__init__.py | atsangarides/pyelexon | fbaa1a8c7e7dcd8b9f75413d7dfb76c148433039 | [
"MIT"
] | null | null | null | pyelexon/__init__.py | atsangarides/pyelexon | fbaa1a8c7e7dcd8b9f75413d7dfb76c148433039 | [
"MIT"
] | null | null | null | pyelexon/__init__.py | atsangarides/pyelexon | fbaa1a8c7e7dcd8b9f75413d7dfb76c148433039 | [
"MIT"
] | null | null | null | from .pyelexon import Elexon
__version__ = "0.2.3"
| 13 | 28 | 0.730769 | 8 | 52 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.153846 | 52 | 3 | 29 | 17.333333 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7a71fc10116fb26ccb72786cd72c4db7b0174a84 | 195 | py | Python | examples/customsite.py | zevaryx/pastypy | 7c6a95913c8312426b6fafcacca7315bfabef086 | [
"MIT"
] | 3 | 2022-02-23T06:14:53.000Z | 2022-03-24T10:32:45.000Z | examples/customsite.py | zevaryx/pastypy | 7c6a95913c8312426b6fafcacca7315bfabef086 | [
"MIT"
] | null | null | null | examples/customsite.py | zevaryx/pastypy | 7c6a95913c8312426b6fafcacca7315bfabef086 | [
"MIT"
] | null | null | null | from pastypy import Paste
paste = Paste(content="This goes to a custom site!")
token = paste.save(site="https://pasty.example.com")
# Prints https://pasty.example.com/paste_id
print(paste.url)
| 24.375 | 52 | 0.74359 | 31 | 195 | 4.645161 | 0.677419 | 0.138889 | 0.236111 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 195 | 7 | 53 | 27.857143 | 0.827586 | 0.210256 | 0 | 0 | 0 | 0 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7a787d386a37e7e51264b92249f39b71754c4bd4 | 189 | py | Python | PicoCTF 2019/Reverse Engineering/reverse_cipher/solve.py | p-g-krish/CTF-Writeups | 05ad6a9ecbc19ceb8890f4581dfee36f16d164aa | [
"MIT"
] | 51 | 2018-06-26T09:49:42.000Z | 2019-09-14T00:06:35.000Z | PicoCTF 2019/Reverse Engineering/reverse_cipher/solve.py | p-g-krish/CTF-Writeups | 05ad6a9ecbc19ceb8890f4581dfee36f16d164aa | [
"MIT"
] | 1 | 2018-06-29T18:40:59.000Z | 2018-07-09T20:29:41.000Z | PicoCTF 2019/Reverse Engineering/reverse_cipher/solve.py | p-g-krish/CTF-Writeups | 05ad6a9ecbc19ceb8890f4581dfee36f16d164aa | [
"MIT"
] | 22 | 2019-10-03T14:52:43.000Z | 2022-01-17T08:55:10.000Z | #!/usr/bin/env python3
txt = "w1{1wq87g_9654g"
flag = ""
for i in range(len(txt)):
if i % 2 == 0:
flag += chr(ord(txt[i])-5)
else:
flag += chr(ord(txt[i])+2)
print("picoCTF{%s}"%flag) | 21 | 28 | 0.582011 | 36 | 189 | 3.027778 | 0.666667 | 0.036697 | 0.183486 | 0.238532 | 0.256881 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082278 | 0.164021 | 189 | 9 | 29 | 21 | 0.607595 | 0.111111 | 0 | 0 | 0 | 0 | 0.154762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7a889d2899f8d734aa120ca232dfcd1822083a3a | 168 | py | Python | fpb/max/cudamat.py | cloudmercato/python-fpb | 5da2773e3bb7068bfb9cde920c5b754eecdf342e | [
"BSD-3-Clause"
] | 3 | 2021-12-29T20:39:53.000Z | 2021-12-29T23:53:02.000Z | fpb/max/cudamat.py | cloudspectatordevelopment/python-fpb | 5da2773e3bb7068bfb9cde920c5b754eecdf342e | [
"BSD-3-Clause"
] | null | null | null | fpb/max/cudamat.py | cloudspectatordevelopment/python-fpb | 5da2773e3bb7068bfb9cde920c5b754eecdf342e | [
"BSD-3-Clause"
] | null | null | null | from fpb.base import cudamat
class Runner(cudamat.BaseCudamat1dRunner):
def run(self, data):
output = data.max(axis=1).asarray()[0]
return output
| 21 | 46 | 0.672619 | 22 | 168 | 5.136364 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.214286 | 168 | 7 | 47 | 24 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7a9642009ec9650aaa23d671bc5c265a95fbf32b | 320 | py | Python | commands/__init__.py | XanX3601/config_files | dfcefac2554943157027307b19286f42ae62286e | [
"Apache-2.0"
] | null | null | null | commands/__init__.py | XanX3601/config_files | dfcefac2554943157027307b19286f42ae62286e | [
"Apache-2.0"
] | null | null | null | commands/__init__.py | XanX3601/config_files | dfcefac2554943157027307b19286f42ae62286e | [
"Apache-2.0"
] | null | null | null | from .autoconf import autoconf
from .automake import automake
from .bash import bash
from .cmake import cmake
from .libtool import libtool
from .llvm import llvm
from .ncurses import ncurses
from .neovim import neovim
from .nodejs import node
from .openssl import openssl
from .vifm import vifm
from .ninja import ninja
| 24.615385 | 30 | 0.8125 | 48 | 320 | 5.416667 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 320 | 12 | 31 | 26.666667 | 0.955882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7a97a01d1ccab3b0f3208643cb286a29264aba64 | 1,234 | py | Python | tests/scheduler/__init__.py | drmoose/faber | f447d58f2b42ad496c155cc8b3491379ac97c6f8 | [
"BSL-1.0"
] | 14 | 2017-05-27T00:18:24.000Z | 2021-09-11T03:51:02.000Z | tests/scheduler/__init__.py | drmoose/faber | f447d58f2b42ad496c155cc8b3491379ac97c6f8 | [
"BSL-1.0"
] | 26 | 2017-07-16T17:20:57.000Z | 2021-02-08T02:49:53.000Z | tests/scheduler/__init__.py | stefanseefeld/constructor | 0f369a8a9e4de305e5379d9662b2e79bffd43910 | [
"BSL-1.0"
] | 3 | 2018-05-24T13:52:40.000Z | 2020-06-30T16:46:26.000Z | #
# Copyright (c) 2018 Stefan Seefeld
# All rights reserved.
#
# This file is part of Faber. It is made available under the
# Boost Software License, Version 1.0.
# (Consult LICENSE or http://www.boost.org/LICENSE_1_0.txt)
from faber.scheduler.artefact import *
from faber.scheduler.recipe import recipe
import os
cla... | 25.708333 | 93 | 0.672609 | 168 | 1,234 | 4.827381 | 0.505952 | 0.025894 | 0.04439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009231 | 0.209887 | 1,234 | 47 | 94 | 26.255319 | 0.822564 | 0.221232 | 0 | 0 | 0 | 0 | 0.001054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0.12 | 0.12 | 0.04 | 0.6 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7a9c047d27f7f60e88cf8a161e360644b7d76d9c | 237 | py | Python | chapter13/examples/example02.py | YordanIH/Intro_to_CS_w_Python | eebbb8efd7ef0d07be9bc45b6b1e8f20737ce01a | [
"MIT"
] | null | null | null | chapter13/examples/example02.py | YordanIH/Intro_to_CS_w_Python | eebbb8efd7ef0d07be9bc45b6b1e8f20737ce01a | [
"MIT"
] | null | null | null | chapter13/examples/example02.py | YordanIH/Intro_to_CS_w_Python | eebbb8efd7ef0d07be9bc45b6b1e8f20737ce01a | [
"MIT"
] | null | null | null | def find_largest(n: int, L: list) -> list:
"""Return the n largest values in L in order from smallest to largest.
>>> L= [3, 4, 7, -1, 2, 5]
>>> find_largest(3, L)
[4, 5, 7]
"""
copy=sorted(L)
return copy[-n:] | 29.625 | 74 | 0.540084 | 41 | 237 | 3.073171 | 0.560976 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 0.274262 | 237 | 8 | 75 | 29.625 | 0.674419 | 0.535865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
7aa3aea9376b3eafbeb4e0841af12014458ca0cd | 156 | py | Python | 'for' e 'range'.py | AlexandreCMoraes/exercicios-python | c42c41d829291eefa63e5616539ac9b8d5062bd7 | [
"MIT"
] | null | null | null | 'for' e 'range'.py | AlexandreCMoraes/exercicios-python | c42c41d829291eefa63e5616539ac9b8d5062bd7 | [
"MIT"
] | null | null | null | 'for' e 'range'.py | AlexandreCMoraes/exercicios-python | c42c41d829291eefa63e5616539ac9b8d5062bd7 | [
"MIT"
] | null | null | null | for i in range (10,20):#imprime do ao 19, pois sao 10 numeros
print(i)
for i in range (10,20,2):#agora com numero 2 determino o salto de numeros
print(i) | 31.2 | 73 | 0.711538 | 34 | 156 | 3.264706 | 0.647059 | 0.072072 | 0.108108 | 0.198198 | 0.27027 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0.110236 | 0.185897 | 156 | 5 | 74 | 31.2 | 0.76378 | 0.538462 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
7aa67f3fb231d3128f894e19ab16fbda184c7396 | 130 | py | Python | 4-deep-q-learning/framework/company.py | dh-ab93/OSS-SAKI | c869d2346286de83222a0664694de15c6d26d301 | [
"Apache-2.0"
] | null | null | null | 4-deep-q-learning/framework/company.py | dh-ab93/OSS-SAKI | c869d2346286de83222a0664694de15c6d26d301 | [
"Apache-2.0"
] | null | null | null | 4-deep-q-learning/framework/company.py | dh-ab93/OSS-SAKI | c869d2346286de83222a0664694de15c6d26d301 | [
"Apache-2.0"
] | 1 | 2020-02-24T20:51:18.000Z | 2020-02-24T20:51:18.000Z | from enum import Enum
class Company(Enum):
"""
Represents companies on the stock market
"""
A = "a"
B = "b"
| 13 | 44 | 0.561538 | 17 | 130 | 4.294118 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.323077 | 130 | 9 | 45 | 14.444444 | 0.829545 | 0.307692 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7ab56fcf10e31ad91646b7f599c5aff029414e2b | 3,222 | py | Python | shop/recommender.py | EHGWRabbit/buskets | 0d4a0fae0161709ec51c19debca6d2696b65922f | [
"MIT"
] | null | null | null | shop/recommender.py | EHGWRabbit/buskets | 0d4a0fae0161709ec51c19debca6d2696b65922f | [
"MIT"
] | null | null | null | shop/recommender.py | EHGWRabbit/buskets | 0d4a0fae0161709ec51c19debca6d2696b65922f | [
"MIT"
] | null | null | null | import redis
from django.conf import settings
from .models import Product
'''
#connecting to redis
#соединение с redis
r = redis.StrictRedis(host=settings.REDIS_HOST, port=settings.REDIS_PORT, db=settings.REDIS_DB)
class Recommender(object):
def get_product_key(self, id):
#get id for this Product
... | 42.394737 | 95 | 0.645251 | 387 | 3,222 | 5.232558 | 0.426357 | 0.039506 | 0.032099 | 0.027654 | 0.106667 | 0.065185 | 0.026667 | 0.026667 | 0 | 0 | 0 | 0.003915 | 0.286468 | 3,222 | 76 | 96 | 42.394737 | 0.876903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8f8d8979edf80f4975ceccaa7ff98deb7b3f94f0 | 184 | py | Python | mysite/dashboard/views.py | AmirNaghibi/dubhacks2018 | 7e17267d26f27a5a37c348d0c3099ce583fb862c | [
"MIT"
] | 1 | 2018-10-21T02:57:20.000Z | 2018-10-21T02:57:20.000Z | mysite/dashboard/views.py | AmirNaghibi/dubhacks2018 | 7e17267d26f27a5a37c348d0c3099ce583fb862c | [
"MIT"
] | null | null | null | mysite/dashboard/views.py | AmirNaghibi/dubhacks2018 | 7e17267d26f27a5a37c348d0c3099ce583fb862c | [
"MIT"
] | 3 | 2018-10-24T20:14:03.000Z | 2019-02-16T19:36:14.000Z | from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse
def index(request):
return render(
request,
'index.html',
) | 18.4 | 36 | 0.679348 | 22 | 184 | 5.681818 | 0.727273 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244565 | 184 | 10 | 37 | 18.4 | 0.899281 | 0.125 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
89015af9cac641b9298a2574b80b8c1a1e462431 | 3,707 | py | Python | mRNA Translator.py | DiceMast3r/mRNA_Translator | f18028518bea024ad2f997eb2b3825f9d2039c7d | [
"MIT"
] | null | null | null | mRNA Translator.py | DiceMast3r/mRNA_Translator | f18028518bea024ad2f997eb2b3825f9d2039c7d | [
"MIT"
] | null | null | null | mRNA Translator.py | DiceMast3r/mRNA_Translator | f18028518bea024ad2f997eb2b3825f9d2039c7d | [
"MIT"
] | null | null | null | stop_codon = ["UAA", "UAG", "UGA"]
amino_acid = ["Ala", "Arg", "Asn", "Asp", "Cys", "Glu", "Gln", "Gly", "His", "Ile", "Leu", "Lys",
"Met", "Phe", "Pro", "Ser", "Thr", "Trp", "Tyr", "Val"]
codon_U = ["UUU", "UUC", "UUA", "UUG",
"UCU", "UCC", "UCA", "UCG",
"UAU", "UAC", "UAA", "U... | 41.188889 | 98 | 0.508497 | 518 | 3,707 | 3.449807 | 0.250965 | 0.226637 | 0.244544 | 0.293788 | 0.566312 | 0.548405 | 0 | 0 | 0 | 0 | 0 | 0.020638 | 0.28109 | 3,707 | 89 | 99 | 41.651685 | 0.649906 | 0 | 0 | 0.241379 | 0 | 0 | 0.137369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.011494 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
890547bf054b613307ecfdfa6d3d1cd36636d10c | 363 | py | Python | Python/PycharmProjects/aula 7/desafio 010.py | MarcelaSamili/Desafios-do-curso-de-Python | f331e91821c0c25b3e32d2075254ef650292f280 | [
"MIT"
] | null | null | null | Python/PycharmProjects/aula 7/desafio 010.py | MarcelaSamili/Desafios-do-curso-de-Python | f331e91821c0c25b3e32d2075254ef650292f280 | [
"MIT"
] | null | null | null | Python/PycharmProjects/aula 7/desafio 010.py | MarcelaSamili/Desafios-do-curso-de-Python | f331e91821c0c25b3e32d2075254ef650292f280 | [
"MIT"
] | null | null | null | #Crie um programa que pergunte quanto dinheiro uma pesssoa tem na carteira, e mostre quantros dólares ela pode .
#considere US1,00 = R$ 5,65
r = float(input('Me diga quanto voce tem na carteira, em Reais, e eu digo quantos dólares você pode comprar: R$'))
d = r / 5.65
print('Estando 1 dólar a 5,65 reais, você poderá co... | 72.6 | 114 | 0.710744 | 67 | 363 | 3.850746 | 0.701493 | 0.034884 | 0.100775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046667 | 0.173554 | 363 | 5 | 115 | 72.6 | 0.813333 | 0.37741 | 0 | 0 | 0 | 0.666667 | 0.742222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
890813afe82f7bb3eed6f2fc4060a184b30e3bb8 | 550 | py | Python | util/etc.py | ornithophobe/MariBot | f3b07397de1c492b3d21d096a17396bf20827228 | [
"Apache-2.0"
] | null | null | null | util/etc.py | ornithophobe/MariBot | f3b07397de1c492b3d21d096a17396bf20827228 | [
"Apache-2.0"
] | null | null | null | util/etc.py | ornithophobe/MariBot | f3b07397de1c492b3d21d096a17396bf20827228 | [
"Apache-2.0"
] | 1 | 2022-01-22T18:48:19.000Z | 2022-01-22T18:48:19.000Z | import discord
from util.chat import GuildModel
def gm_from_ctx(ctx: discord.ext.commands.Context) -> GuildModel:
"""
Retrives the appropriate GuildModel object based on the provided
Context. GuildModel is used to store per-channel configuration,
and since discord.ext.commands is separated from the nor... | 39.285714 | 68 | 0.738182 | 80 | 550 | 5.025 | 0.65 | 0.029851 | 0.044776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192727 | 550 | 14 | 69 | 39.285714 | 0.905405 | 0.641818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
64ffdcb2eb55deacaf2124316e9248af8e6dda76 | 2,027 | py | Python | src/vonage/account.py | Nexmo/python-nexmo | c8a99a748d4778f7d93ba9976b2cd5d88d8eee88 | [
"Apache-2.0"
] | 1 | 2016-04-14T22:30:21.000Z | 2016-04-14T22:30:21.000Z | src/vonage/account.py | Nexmo/python-nexmo | c8a99a748d4778f7d93ba9976b2cd5d88d8eee88 | [
"Apache-2.0"
] | 1 | 2016-04-14T01:41:55.000Z | 2016-04-14T01:41:55.000Z | src/vonage/account.py | Nexmo/python-nexmo | c8a99a748d4778f7d93ba9976b2cd5d88d8eee88 | [
"Apache-2.0"
] | null | null | null | class Account:
def __init__(self, client):
self._client = client
def get_balance(self):
return self._client.get(self._client.host(), "/account/get-balance")
def topup(self, params=None, **kwargs):
return self._client.post(self._client.host(), "/account/top-up", params or kwargs)
... | 33.783333 | 95 | 0.610261 | 245 | 2,027 | 4.779592 | 0.191837 | 0.204953 | 0.150299 | 0.113578 | 0.627669 | 0.608881 | 0.608881 | 0.608881 | 0.608881 | 0.41076 | 0 | 0 | 0.252097 | 2,027 | 59 | 96 | 34.355932 | 0.772427 | 0 | 0 | 0.291667 | 0 | 0 | 0.176616 | 0.136655 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.208333 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
8f3145f4242d144b91bf373adff87811b16d0210 | 97 | py | Python | backend/solo_rog_api/apps.py | Jaryt/solo | fd3b7e32942308509da0af1dc768fbf5059c554b | [
"MIT"
] | 8 | 2020-01-18T19:57:40.000Z | 2022-03-05T01:20:18.000Z | backend/solo_rog_api/apps.py | Jaryt/solo | fd3b7e32942308509da0af1dc768fbf5059c554b | [
"MIT"
] | 208 | 2020-01-03T16:39:03.000Z | 2020-08-03T14:43:29.000Z | backend/solo_rog_api/apps.py | Jaryt/solo | fd3b7e32942308509da0af1dc768fbf5059c554b | [
"MIT"
] | 9 | 2020-01-08T16:02:35.000Z | 2021-09-13T12:19:49.000Z | from django.apps import AppConfig
class SoloRogApiConfig(AppConfig):
name = "solo_rog_api"
| 16.166667 | 34 | 0.773196 | 12 | 97 | 6.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 35 | 19.4 | 0.890244 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8f4f392b83739f1eafdd7120a87bae105d5ba43d | 644 | py | Python | MiscProductDataUtility.py | dipankargoswami/india-eq-productdata-restserver | be58e5ab48fa766d61aa28b43e6ff87e7842fa25 | [
"MIT"
] | null | null | null | MiscProductDataUtility.py | dipankargoswami/india-eq-productdata-restserver | be58e5ab48fa766d61aa28b43e6ff87e7842fa25 | [
"MIT"
] | null | null | null | MiscProductDataUtility.py | dipankargoswami/india-eq-productdata-restserver | be58e5ab48fa766d61aa28b43e6ff87e7842fa25 | [
"MIT"
] | null | null | null | from datetime import date, timedelta
def get_nse_bhavcopy_filename():
today = date.today()
if today.isoweekday() == 1:
today -= timedelta(days=3)
elif today.isoweekday() == 7:
today -= timedelta(days=2)
else:
today -= timedelta(days=1)
date_str = today.strftime('%d%b%Y')
... | 22.206897 | 42 | 0.60559 | 85 | 644 | 4.494118 | 0.4 | 0.219895 | 0.282723 | 0.13089 | 0.675393 | 0.675393 | 0.675393 | 0.675393 | 0.675393 | 0.675393 | 0 | 0.020576 | 0.245342 | 644 | 28 | 43 | 23 | 0.765432 | 0 | 0 | 0.7 | 0 | 0 | 0.065217 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.05 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8f5892d810d00e9b94a0efef766c0bf87769d5ee | 129 | py | Python | backend/wwt_aligner/__init__.py | pkgw/wwt-aligner | 06a7083e22dd318a050b6d6aeaec918dbd3425f9 | [
"MIT"
] | null | null | null | backend/wwt_aligner/__init__.py | pkgw/wwt-aligner | 06a7083e22dd318a050b6d6aeaec918dbd3425f9 | [
"MIT"
] | null | null | null | backend/wwt_aligner/__init__.py | pkgw/wwt-aligner | 06a7083e22dd318a050b6d6aeaec918dbd3425f9 | [
"MIT"
] | 1 | 2021-01-15T18:16:13.000Z | 2021-01-15T18:16:13.000Z | # Copyright 2020-2021 the .NET Foundation
# Licensed under the MIT License
import logging
logger = logging.getLogger(__name__)
| 18.428571 | 41 | 0.790698 | 17 | 129 | 5.764706 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0.147287 | 129 | 6 | 42 | 21.5 | 0.818182 | 0.542636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8f5d8c9fa1b1814e75150af0493925a9ebad75c7 | 8,526 | py | Python | ant_tracker/tracker/track.py | ChortJulio/AntTracker | a89fb7fedbb7a8f7d12b024387f6330180fa010f | [
"MIT"
] | 1 | 2021-06-16T22:11:09.000Z | 2021-06-16T22:11:09.000Z | ant_tracker/tracker/track.py | ChortJulio/AntTracker | a89fb7fedbb7a8f7d12b024387f6330180fa010f | [
"MIT"
] | 18 | 2021-05-17T21:56:49.000Z | 2021-07-08T12:53:22.000Z | ant_tracker/tracker/track.py | ChortJulio/AntTracker | a89fb7fedbb7a8f7d12b024387f6330180fa010f | [
"MIT"
] | 2 | 2021-05-17T16:26:00.000Z | 2021-05-31T15:06:48.000Z | from dataclasses import dataclass
from enum import auto
import numpy as np
from memoized_property import memoized_property
from typing import Dict, List, NewType, Optional, Tuple, Type, TypeVar, TypedDict
from .blob import Blob
from .common import Color, ColorImage, FrameNumber, SerializableEnum, Side
from .kellycolo... | 34.942623 | 114 | 0.638869 | 1,133 | 8,526 | 4.676964 | 0.189762 | 0.039441 | 0.035856 | 0.025477 | 0.207964 | 0.143046 | 0.119268 | 0.1087 | 0.102283 | 0.093225 | 0 | 0.008396 | 0.245602 | 8,526 | 243 | 115 | 35.08642 | 0.815454 | 0.11764 | 0 | 0.188235 | 0 | 0 | 0.02734 | 0.007273 | 0 | 0 | 0 | 0.004115 | 0 | 1 | 0.235294 | false | 0.017647 | 0.064706 | 0.123529 | 0.582353 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8f63fef04d222b069e0362ac53d7dc431538074e | 66 | py | Python | NPS Exercise Files/Chapter 4/4-7.py | coderXeno/eric-matthes-py-book-solutions | 791a5f82f9d3bebcd8be919d54a7b592664c24d5 | [
"MIT"
] | null | null | null | NPS Exercise Files/Chapter 4/4-7.py | coderXeno/eric-matthes-py-book-solutions | 791a5f82f9d3bebcd8be919d54a7b592664c24d5 | [
"MIT"
] | null | null | null | NPS Exercise Files/Chapter 4/4-7.py | coderXeno/eric-matthes-py-book-solutions | 791a5f82f9d3bebcd8be919d54a7b592664c24d5 | [
"MIT"
] | null | null | null | multiples = [number for number in range(3,31,3)]
print(multiples) | 33 | 49 | 0.742424 | 11 | 66 | 4.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.121212 | 66 | 2 | 50 | 33 | 0.775862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
8f74f19897a611e8ecb4c042b1ea500bea17b41d | 2,016 | py | Python | pyaz/cdn/waf/policy/rate_limit_rule/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/cdn/waf/policy/rate_limit_rule/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/cdn/waf/policy/rate_limit_rule/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from ..... pyaz_utils import _call_az
def set(action, duration, name, policy_name, priority, request_threshold, resource_group, disabled=None):
'''
Add a rate limit rule to a CDN WAF policy.
Required Parameters:
- action -- None
- duration -- None
- name -- The name of the rate limit rule.
... | 34.169492 | 128 | 0.679563 | 286 | 2,016 | 4.688811 | 0.178322 | 0.116331 | 0.107383 | 0.038777 | 0.719612 | 0.679344 | 0.656227 | 0.630127 | 0.630127 | 0.630127 | 0 | 0 | 0.224702 | 2,016 | 58 | 129 | 34.758621 | 0.857965 | 0.625496 | 0 | 0 | 0 | 0 | 0.254576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 1 | 0 | 0 | 3 |
56b073c481e08e5b2bbee73fe6549fb602ef6f23 | 2,404 | py | Python | others/autogradient/autogradient.py | fanshaoze/ML-algos | 5353e9908e4c3929788a69ecf4a1e84e887fc8df | [
"MIT"
] | 336 | 2017-06-11T14:13:41.000Z | 2022-03-28T12:22:59.000Z | others/autogradient/autogradient.py | fanshaoze/ML-algos | 5353e9908e4c3929788a69ecf4a1e84e887fc8df | [
"MIT"
] | 6 | 2017-11-02T11:20:03.000Z | 2019-12-31T08:03:47.000Z | others/autogradient/autogradient.py | fanshaoze/ML-algos | 5353e9908e4c3929788a69ecf4a1e84e887fc8df | [
"MIT"
] | 171 | 2017-06-11T14:37:50.000Z | 2022-03-28T06:56:43.000Z | #!/usr/bin/env python
import math
import numpy as np
class Op(object):
def __init__(self):
pass
def forward(self):
pass
def grad(self):
pass
class ConstantOp(Op):
def __init__(self, x):
self.x = x
def forward(self):
return self.x
def grad(self):
return 0
class CoefficientO... | 16.465753 | 72 | 0.592346 | 354 | 2,404 | 3.878531 | 0.158192 | 0.06555 | 0.064093 | 0.066278 | 0.563001 | 0.545521 | 0.528041 | 0.528041 | 0.528041 | 0.528041 | 0 | 0.021703 | 0.252496 | 2,404 | 145 | 73 | 16.57931 | 0.742348 | 0.051581 | 0 | 0.610526 | 0 | 0 | 0.052724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294737 | false | 0.031579 | 0.021053 | 0.105263 | 0.547368 | 0.042105 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
56c1770fe579cbc7dfb3067df9503c6fc34315fa | 1,647 | py | Python | .nix/pkgs/development/python-modules/nsf-test-lib/tests/test_0900_pgp_utils_initial_ctx.py | jraygauthier/nixos_secure_factory | 67adb93b153902226301d4a68e7b6e3a0af660c2 | [
"Apache-2.0"
] | 1 | 2021-04-17T10:13:42.000Z | 2021-04-17T10:13:42.000Z | .nix/pkgs/development/python-modules/nsf-test-lib/tests/test_0900_pgp_utils_initial_ctx.py | jraygauthier/nixos_secure_factory | 67adb93b153902226301d4a68e7b6e3a0af660c2 | [
"Apache-2.0"
] | 4 | 2019-10-21T17:40:17.000Z | 2021-11-11T13:46:20.000Z | .nix/pkgs/development/python-modules/nsf-test-lib/tests/test_0900_pgp_utils_initial_ctx.py | jraygauthier/nixos_secure_factory | 67adb93b153902226301d4a68e7b6e3a0af660c2 | [
"Apache-2.0"
] | 2 | 2019-10-10T18:32:01.000Z | 2021-08-24T16:02:09.000Z | import logging
from pathlib import Path
from nsft_pgp_utils.home_dir import create_and_assign_proper_permissions_to_gpg_home_dir
from nsft_pgp_utils.ctx_proc_types import mk_gpg_proc_ctx_for_user_home_dir
from test_lib.gpg_ctx_checks import (
check_minimal_gpg_home_dir_empty,
check_minimal_gpg_home_dir_w_secre... | 36.6 | 88 | 0.826958 | 280 | 1,647 | 4.175 | 0.185714 | 0.131737 | 0.112917 | 0.11976 | 0.81095 | 0.781865 | 0.704876 | 0.64414 | 0.573139 | 0.420017 | 0 | 0.002768 | 0.122647 | 1,647 | 44 | 89 | 37.431818 | 0.806228 | 0 | 0 | 0.235294 | 0 | 0 | 0.01275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.176471 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
56c3f8c729d3be44001b89336ed23cc9d1b78bdf | 25,415 | py | Python | app.py | PKU-Dragon-Team/bmdv-py3 | 0c0d609d1e4a36e194a0a1ce612a117588577243 | [
"MIT"
] | null | null | null | app.py | PKU-Dragon-Team/bmdv-py3 | 0c0d609d1e4a36e194a0a1ce612a117588577243 | [
"MIT"
] | null | null | null | app.py | PKU-Dragon-Team/bmdv-py3 | 0c0d609d1e4a36e194a0a1ce612a117588577243 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
import pymysql
pymysql.install_as_MySQLdb()
from flask import Flask, make_response
from json import dumps
from flask.ext.cors import CORS
import MySQLdb
import MySQLdb.converters
from config import HOST, USER, PASSWD, DATABASE
from get_stop import get_stop, get_delta, get_stop_... | 34.862826 | 119 | 0.634743 | 3,455 | 25,415 | 4.417077 | 0.074096 | 0.035384 | 0.046 | 0.058777 | 0.775375 | 0.735994 | 0.708473 | 0.664242 | 0.640587 | 0.605858 | 0 | 0.009534 | 0.240606 | 25,415 | 728 | 120 | 34.910714 | 0.781192 | 0.041314 | 0 | 0.560633 | 0 | 0.00703 | 0.282985 | 0.04146 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094903 | false | 0.003515 | 0.038664 | 0.001757 | 0.231986 | 0.00703 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
56f6e863bce92cc23516adcc12aeae55882390ba | 1,956 | py | Python | app/like/service/tests/site-packages/buzzblog/like_client.py | quyuyi/6365BuzzBlogApp | def9c033d56f65bb558cc1ee3260ac0d4229e690 | [
"Apache-2.0"
] | null | null | null | app/like/service/tests/site-packages/buzzblog/like_client.py | quyuyi/6365BuzzBlogApp | def9c033d56f65bb558cc1ee3260ac0d4229e690 | [
"Apache-2.0"
] | null | null | null | app/like/service/tests/site-packages/buzzblog/like_client.py | quyuyi/6365BuzzBlogApp | def9c033d56f65bb558cc1ee3260ac0d4229e690 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2020 Georgia Tech Center for Experimental Research in Computer
# Systems
from thrift.transport import TSocket
from thrift.transport import TTransport
from thrift.protocol import TBinaryProtocol
from buzzblog.gen import TLikeService
class Client:
def __init__(self, ip_address, port, timeout=10000):... | 33.724138 | 80 | 0.775562 | 270 | 1,956 | 5.211111 | 0.233333 | 0.164179 | 0.051173 | 0.094527 | 0.448472 | 0.4172 | 0.35892 | 0.35892 | 0.302061 | 0.158493 | 0 | 0.005351 | 0.140082 | 1,956 | 57 | 81 | 34.315789 | 0.831153 | 0.042945 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.625 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
56f82482f59f9f4f3d5972ef3244ce9c9a160bb5 | 116 | py | Python | lib/solutions/SUM/sum_solution.py | DPNT-Sourcecode/CHK-mfbf01 | f902a77128e586ddb947fa832b601ee837c54d25 | [
"Apache-2.0"
] | null | null | null | lib/solutions/SUM/sum_solution.py | DPNT-Sourcecode/CHK-mfbf01 | f902a77128e586ddb947fa832b601ee837c54d25 | [
"Apache-2.0"
] | null | null | null | lib/solutions/SUM/sum_solution.py | DPNT-Sourcecode/CHK-mfbf01 | f902a77128e586ddb947fa832b601ee837c54d25 | [
"Apache-2.0"
] | null | null | null | # noinspection PyShadowingBuiltins,PyUnusedLocal
def compute(x, y):
return x+y
a = 2
b = 3
print(compute(a,b)) | 14.5 | 48 | 0.706897 | 18 | 116 | 4.555556 | 0.722222 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.172414 | 116 | 8 | 49 | 14.5 | 0.833333 | 0.396552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
7127e4cf8b13bed011a93142ebc76a7b8f3509d6 | 604 | py | Python | python/models/user.py | domidemps/popote | fc3a4aa386f9225f9690d2743491952f67088c02 | [
"MIT"
] | 5 | 2019-09-29T19:48:43.000Z | 2022-02-10T10:07:46.000Z | python/models/user.py | domidemps/popote | fc3a4aa386f9225f9690d2743491952f67088c02 | [
"MIT"
] | 46 | 2019-09-29T17:42:03.000Z | 2022-02-13T18:14:06.000Z | python/models/user.py | domidemps/popote | fc3a4aa386f9225f9690d2743491952f67088c02 | [
"MIT"
] | null | null | null | from datetime import datetime
from uuid import UUID, uuid4
from pony.orm import PrimaryKey, Required
from .base import db
class User(db.Entity):
uuid: UUID = PrimaryKey(UUID, default=uuid4)
name: str = Required(str)
email: str = Required(str, unique=True)
password: str = Required(str)
active: bo... | 30.2 | 75 | 0.705298 | 79 | 604 | 5.253165 | 0.518987 | 0.079518 | 0.101205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00409 | 0.190397 | 604 | 19 | 76 | 31.789474 | 0.844581 | 0.094371 | 0 | 0 | 0 | 0 | 0.007394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.076923 | 0.307692 | 0 | 1 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
7130d185a268cbebf934ef0539c7f0f51bd61538 | 210 | py | Python | device/actuator/ISR/act_server/actions/report.py | seanbrhn3/openc2-oif-device | 805c55e44f59f7c86c5bf347a6fc3787e6903df4 | [
"Apache-2.0"
] | null | null | null | device/actuator/ISR/act_server/actions/report.py | seanbrhn3/openc2-oif-device | 805c55e44f59f7c86c5bf347a6fc3787e6903df4 | [
"Apache-2.0"
] | null | null | null | device/actuator/ISR/act_server/actions/report.py | seanbrhn3/openc2-oif-device | 805c55e44f59f7c86c5bf347a6fc3787e6903df4 | [
"Apache-2.0"
] | null | null | null | """
Report Target functions
"""
from ..utils import Dispatch, exceptions
Report = Dispatch("report")
@Report.register
def default(*extra_args, **extra_kwargs):
return exceptions.target_not_implemented()
| 17.5 | 46 | 0.752381 | 24 | 210 | 6.416667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 210 | 11 | 47 | 19.090909 | 0.836957 | 0.109524 | 0 | 0 | 0 | 0 | 0.03352 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7139562858f889b9f6223c4cf429ac2df6f0ec2c | 662 | py | Python | tests/factories.py | Jdsleppy/django_bread | dab28202d062ca620476e49e9679f030ee65ac0a | [
"Apache-2.0"
] | 14 | 2015-04-09T11:39:55.000Z | 2021-09-15T20:22:55.000Z | tests/factories.py | Jdsleppy/django_bread | dab28202d062ca620476e49e9679f030ee65ac0a | [
"Apache-2.0"
] | 65 | 2015-04-08T13:01:09.000Z | 2017-11-09T12:41:36.000Z | tests/factories.py | Jdsleppy/django_bread | dab28202d062ca620476e49e9679f030ee65ac0a | [
"Apache-2.0"
] | 1 | 2022-02-04T19:53:49.000Z | 2022-02-04T19:53:49.000Z | import factory
import factory.fuzzy
from .models import BreadLabelValueTestModel, BreadTestModel, BreadTestModel2
class BreadTestModel2Factory(factory.DjangoModelFactory):
FACTORY_FOR = BreadTestModel2
text = factory.fuzzy.FuzzyText(length=10)
class BreadTestModelFactory(factory.DjangoModelFactory):
F... | 26.48 | 77 | 0.800604 | 62 | 662 | 8.5 | 0.435484 | 0.113852 | 0.182163 | 0.199241 | 0.180266 | 0.125237 | 0 | 0 | 0 | 0 | 0 | 0.022453 | 0.125378 | 662 | 24 | 78 | 27.583333 | 0.887737 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.214286 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
853c34209b84641a0932a102fb0cba79ab892b81 | 708 | py | Python | Q01__/39_Word_Break/test.py | hsclinical/leetcode | 48a57f6a5d5745199c5685cd2c8f5c4fa293e54a | [
"Apache-2.0"
] | null | null | null | Q01__/39_Word_Break/test.py | hsclinical/leetcode | 48a57f6a5d5745199c5685cd2c8f5c4fa293e54a | [
"Apache-2.0"
] | null | null | null | Q01__/39_Word_Break/test.py | hsclinical/leetcode | 48a57f6a5d5745199c5685cd2c8f5c4fa293e54a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
from Solution import Solution
obj = Solution()
out = obj.wordBreak("aaaaaaa", ["aaaa","aaa"])
#out = obj.wordBreak("leetcode", ["leet","code"])
#out = obj.wordBreak("catsandog", ["cats", "dog", "sand", "and", "cat"])
#out = obj.wordBreak("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... | 59 | 264 | 0.781073 | 53 | 708 | 10.433962 | 0.566038 | 0.05425 | 0.135624 | 0.600362 | 0.618445 | 0.618445 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049435 | 708 | 11 | 265 | 64.363636 | 0.821694 | 0.834746 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 1 | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8540eeee39fae86e737dbcfa2043801f51fcd7ee | 336 | py | Python | test/unit/recursion/test_invert_binary_tree.py | JonezySins/algorithms | 9c47ca6c9d8ab1dfd7cde0c9b10d51a774863cb6 | [
"MIT"
] | 9 | 2020-11-06T18:18:01.000Z | 2022-03-22T09:35:25.000Z | test/unit/recursion/test_invert_binary_tree.py | JonezySins/algorithms | 9c47ca6c9d8ab1dfd7cde0c9b10d51a774863cb6 | [
"MIT"
] | 1 | 2021-12-09T19:30:37.000Z | 2021-12-09T19:30:37.000Z | test/unit/recursion/test_invert_binary_tree.py | JonezySins/algorithms | 9c47ca6c9d8ab1dfd7cde0c9b10d51a774863cb6 | [
"MIT"
] | 7 | 2022-01-14T12:11:23.000Z | 2022-03-22T09:35:26.000Z | from algorithms.recursion.invert_binary_tree import main
def test_run_invert_tree():
tree = main()
assert tree.val == 1
assert tree.left.val == 3
assert tree.left.right.val == 6
assert tree.left.left.val == 7
assert tree.right.val == 2
assert tree.right.right.val == 4
assert tree.righ... | 24 | 56 | 0.669643 | 53 | 336 | 4.150943 | 0.415094 | 0.318182 | 0.190909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026515 | 0.214286 | 336 | 13 | 57 | 25.846154 | 0.806818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.7 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8541e9031c74c3ee4b214c2abced7624911e2bc2 | 298 | py | Python | BloombergImport/trading_data_row_parser.py | SEPHIRONOVA/TradingDataAnalyzer | 314cb5bc5f5327ceb16d0ce4e283694eb3f16e99 | [
"MIT"
] | null | null | null | BloombergImport/trading_data_row_parser.py | SEPHIRONOVA/TradingDataAnalyzer | 314cb5bc5f5327ceb16d0ce4e283694eb3f16e99 | [
"MIT"
] | null | null | null | BloombergImport/trading_data_row_parser.py | SEPHIRONOVA/TradingDataAnalyzer | 314cb5bc5f5327ceb16d0ce4e283694eb3f16e99 | [
"MIT"
] | null | null | null | __author__ = 'raymond'
class TradingDataRowParser:
def __init__(self, spacing):
self.spacing = spacing
def split_by_ticker_symbol(self, row):
for ticker_start_index in range(0, len(row), self.spacing):
yield row[ticker_start_index:ticker_start_index + self.spacing], ticker_start_index
| 27.090909 | 86 | 0.781879 | 42 | 298 | 5.095238 | 0.5 | 0.205607 | 0.299065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003831 | 0.124161 | 298 | 10 | 87 | 29.8 | 0.816092 | 0 | 0 | 0 | 0 | 0 | 0.02349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8558f4e89484ad61997b21b2fe57e86d6a927390 | 625 | py | Python | diagrams/generic/ansible.py | kksat/diagrams | 80480656f5e35c22abe8ea0e1c20e6b32fabe0b6 | [
"MIT"
] | 1 | 2022-01-29T05:54:02.000Z | 2022-01-29T05:54:02.000Z | diagrams/generic/ansible.py | kksat/diagrams | 80480656f5e35c22abe8ea0e1c20e6b32fabe0b6 | [
"MIT"
] | null | null | null | diagrams/generic/ansible.py | kksat/diagrams | 80480656f5e35c22abe8ea0e1c20e6b32fabe0b6 | [
"MIT"
] | null | null | null | # This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Generic
class _Ansible(_Generic):
_type = "ansible"
_icon_dir = "resources/generic/ansible"
class Ansible(_Ansible):
_icon = "Ansible.png"
class Collection(_Ansible):
_icon = "Collection.png"
class Module(_Ansib... | 14.204545 | 68 | 0.6816 | 73 | 625 | 5.534247 | 0.383562 | 0.24505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2016 | 625 | 43 | 69 | 14.534884 | 0.809619 | 0.1184 | 0 | 0 | 1 | 0 | 0.220803 | 0.04562 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
855b6ad13e93a971718115df462f8c3041ae48db | 313 | py | Python | diamond_patterns/__meta__.py | iandennismiller/diamond | 497fc2f3fcd15098aed4c2888d2f6fcd64072400 | [
"MIT"
] | 1 | 2017-11-13T12:05:44.000Z | 2017-11-13T12:05:44.000Z | diamond_patterns/__meta__.py | iandennismiller/diamond | 497fc2f3fcd15098aed4c2888d2f6fcd64072400 | [
"MIT"
] | null | null | null | diamond_patterns/__meta__.py | iandennismiller/diamond | 497fc2f3fcd15098aed4c2888d2f6fcd64072400 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
__version__ = '0.5.3'
__project__ = 'diamond-patterns'
__author__ = 'Ian Dennis Miller'
__email__ = 'iandennismiller@gmail.com'
__url__ = 'https://diamond-patterns.readthedocs.io/'
__repo__ = 'https://github.com/iandennismiller/diamond-patterns/'
__copyright__ = '2019 Ian Dennis Miller'
| 31.3 | 65 | 0.738019 | 36 | 313 | 5.638889 | 0.722222 | 0.221675 | 0.147783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02847 | 0.102236 | 313 | 9 | 66 | 34.777778 | 0.69395 | 0.067093 | 0 | 0 | 0 | 0 | 0.610345 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
856ffa2f33feb4104cb17dfc820f78f22ab90489 | 3,698 | py | Python | api/app/tcxdata.py | mogmog/beetroute | 3436948a3c2cac600702d05a0de1243e6b5d8a83 | [
"MIT"
] | null | null | null | api/app/tcxdata.py | mogmog/beetroute | 3436948a3c2cac600702d05a0de1243e6b5d8a83 | [
"MIT"
] | null | null | null | api/app/tcxdata.py | mogmog/beetroute | 3436948a3c2cac600702d05a0de1243e6b5d8a83 | [
"MIT"
] | null | null | null | def data():
return """<?xml version='1.0' encoding='UTF-8'?>
<TrainingCenterDatabase xmlns:ns2="http://www.garmin.com/xmlschemas/UserProfile/v2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns4="http://www.garmin.com/xmlschemas/ProfileExtension/v1"
xmlns:ns... | 44.554217 | 91 | 0.494862 | 274 | 3,698 | 6.664234 | 0.408759 | 0.026835 | 0.042716 | 0.052574 | 0.41402 | 0.319277 | 0.260679 | 0.211391 | 0.211391 | 0.211391 | 0 | 0.094356 | 0.386696 | 3,698 | 82 | 92 | 45.097561 | 0.710758 | 0 | 1 | 0.268293 | 0 | 0 | 0.991888 | 0.338021 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012195 | true | 0 | 0 | 0.012195 | 0.02439 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8583a708a116ce27a289b9530b049a7dbe6724c6 | 464 | py | Python | pirates/creature/Animal.py | ksmit799/POTCO-PS | 520d38935ae8df4b452c733a82c94dddac01e275 | [
"Apache-2.0"
] | 8 | 2017-01-24T04:33:29.000Z | 2020-11-01T08:36:24.000Z | pirates/creature/Animal.py | ksmit799/Pirates-Online-Remake | 520d38935ae8df4b452c733a82c94dddac01e275 | [
"Apache-2.0"
] | 1 | 2017-03-02T18:05:17.000Z | 2017-03-14T06:47:10.000Z | pirates/creature/Animal.py | ksmit799/Pirates-Online-Remake | 520d38935ae8df4b452c733a82c94dddac01e275 | [
"Apache-2.0"
] | 11 | 2017-03-02T18:46:07.000Z | 2020-11-01T08:36:26.000Z | # File: A (Python 2.4)
from pirates.creature.Creature import Creature
class Animal(Creature):
def __init__(self, animationMixer = None):
Creature.__init__(self, animationMixer)
def initializeNametag3d(self):
pass
initializeNametag3d = report(types = [
'module',
... | 21.090909 | 63 | 0.663793 | 41 | 464 | 7.317073 | 0.609756 | 0.053333 | 0.146667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01983 | 0.239224 | 464 | 21 | 64 | 22.095238 | 0.830028 | 0.043103 | 0 | 0 | 0 | 0 | 0.038636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0.090909 | 0 | 0.545455 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
8587d8e4a4c9b7c68de6b7c233a0606fcc49e4a4 | 379 | py | Python | matdat/save_plot.py | Fumipo-Theta/matdat | cb55acd346acef5f192d71c835b8fbe5c957cc55 | [
"BSD-2-Clause"
] | null | null | null | matdat/save_plot.py | Fumipo-Theta/matdat | cb55acd346acef5f192d71c835b8fbe5c957cc55 | [
"BSD-2-Clause"
] | null | null | null | matdat/save_plot.py | Fumipo-Theta/matdat | cb55acd346acef5f192d71c835b8fbe5c957cc55 | [
"BSD-2-Clause"
] | null | null | null | import os
import matplotlib.pyplot as plt
def safe_filename(filename: str) -> str:
return filename.replace("/", "").replace("\\", "")
def actionSavePNG(directory, filename):
# パスが有効かどうかを検証し, ディレクトリがなければ作成する
if not os.path.isdir(directory):
os.makedirs(directory)
return lambda postfix="": plt... | 27.071429 | 91 | 0.704485 | 43 | 379 | 6.162791 | 0.581395 | 0.090566 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150396 | 379 | 13 | 92 | 29.153846 | 0.822981 | 0.079156 | 0 | 0 | 0 | 0 | 0.020173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
859b8faaf332432c329f0345d5c230ca9a401e13 | 139 | py | Python | python/testData/inspections/PyTypeCheckerInspection/NotImportedClassInDocString/a.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/inspections/PyTypeCheckerInspection/NotImportedClassInDocString/a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyTypeCheckerInspection/NotImportedClassInDocString/a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def f(x):
"""
:type x: p1.m1.Foo
"""
def test():
f(<warning descr="Expected type 'Foo', got 'int' instead">10</warning>)
| 15.444444 | 75 | 0.532374 | 21 | 139 | 3.52381 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0.244604 | 139 | 8 | 76 | 17.375 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.361905 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
85b260b72ae40acab975db57680cce80ba465154 | 1,089 | py | Python | Artificial_Neural_Networks/python/FeedForwardANN/__init__.py | dkaramit/ASAP | afade2737b332e7dbf0ea06eb4f31564a478ee40 | [
"MIT"
] | null | null | null | Artificial_Neural_Networks/python/FeedForwardANN/__init__.py | dkaramit/ASAP | afade2737b332e7dbf0ea06eb4f31564a478ee40 | [
"MIT"
] | null | null | null | Artificial_Neural_Networks/python/FeedForwardANN/__init__.py | dkaramit/ASAP | afade2737b332e7dbf0ea06eb4f31564a478ee40 | [
"MIT"
] | 1 | 2021-12-15T02:03:01.000Z | 2021-12-15T02:03:01.000Z | from .FFANN_const import FFANN_const
from .FFANN_init_params import init_params
from .FFANN_call import evaluate,call,inputSignal,calcSignal,feedForward
from .FFANN_backProp import backPropagation, derivative_bw
from .FFANN_derivatives import feedForwardDerivatives,mulM
from .FFANN_numerical_derivative import nu... | 36.3 | 265 | 0.885216 | 120 | 1,089 | 7.783333 | 0.408333 | 0.154176 | 0.023555 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078972 | 1,089 | 29 | 266 | 37.551724 | 0.931206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.058824 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
85bddd6ed096b938c79db74e2e05cc04a81ee66d | 175 | py | Python | playaibo/urls.py | shonan-py/django_practice | 6b74a4d0cd3fdb2e250cc323928af6278566728d | [
"MIT"
] | null | null | null | playaibo/urls.py | shonan-py/django_practice | 6b74a4d0cd3fdb2e250cc323928af6278566728d | [
"MIT"
] | 14 | 2020-01-19T08:30:15.000Z | 2022-03-20T11:28:12.000Z | playaibo/urls.py | shonan-py/django_practice | 6b74a4d0cd3fdb2e250cc323928af6278566728d | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.top, name='top'),
path('forecast', views.ForecastView.as_view(), name='forecast'),
]
| 19.444444 | 68 | 0.668571 | 22 | 175 | 5.272727 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 175 | 8 | 69 | 21.875 | 0.789116 | 0 | 0 | 0 | 0 | 0 | 0.108571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a44ae0b8d1c70474918e670cfd974c1883d08612 | 3,134 | py | Python | cpkt/types.py | ChrisRx/cpkt | 74a132072e6703cae3f18dcb329467c023685c3e | [
"BSD-2-Clause"
] | 1 | 2018-05-08T10:17:48.000Z | 2018-05-08T10:17:48.000Z | cpkt/types.py | ChrisRx/cpkt | 74a132072e6703cae3f18dcb329467c023685c3e | [
"BSD-2-Clause"
] | null | null | null | cpkt/types.py | ChrisRx/cpkt | 74a132072e6703cae3f18dcb329467c023685c3e | [
"BSD-2-Clause"
] | null | null | null | import socket
import struct
class Field(object):
def __new__(cls, field_format=None, default=None):
if field_format is None:
return BlankField()
else:
return BaseField(field_format, default)
class BaseField(object):
__slots__ = ['name', 'field_format', 'formatter', 'def... | 29.566038 | 77 | 0.653797 | 360 | 3,134 | 5.141667 | 0.183333 | 0.095084 | 0.053485 | 0.045921 | 0.443544 | 0.396002 | 0.379795 | 0.308482 | 0.288493 | 0.288493 | 0 | 0.008254 | 0.226867 | 3,134 | 105 | 78 | 29.847619 | 0.755675 | 0.044352 | 0 | 0.240506 | 0 | 0 | 0.041137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.240506 | false | 0 | 0.025316 | 0.113924 | 0.620253 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a44d4009deefb55c32cdea49573229bbf84198a5 | 1,445 | py | Python | delamo/abqtemplate.py | idealab-isu/de-la-mo-v2 | 344894a409af5bd793ad63178c63e2d696bba4e6 | [
"Apache-2.0"
] | 3 | 2019-07-23T12:15:23.000Z | 2019-08-19T19:08:56.000Z | delamo/abqtemplate.py | idealab-isu/de-la-mo-v2 | 344894a409af5bd793ad63178c63e2d696bba4e6 | [
"Apache-2.0"
] | null | null | null | delamo/abqtemplate.py | idealab-isu/de-la-mo-v2 | 344894a409af5bd793ad63178c63e2d696bba4e6 | [
"Apache-2.0"
] | 3 | 2019-07-11T22:24:26.000Z | 2019-07-15T18:06:44.000Z | # Copyright 2016-2018 Iowa State University Research Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | 18.766234 | 74 | 0.770934 | 197 | 1,445 | 5.619289 | 0.598985 | 0.054201 | 0.023487 | 0.028907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.163322 | 1,445 | 76 | 75 | 19.013158 | 0.90488 | 0.719031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.055556 | 0.833333 | 0 | 0.833333 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
a4624575c472b8e1c74bfc6a42f066a808e3cb9e | 280 | py | Python | app.py | Lolik-Bolik/Re-Id | 7e85b47e3bdd662ae9fe677ffe89494ca691bc8f | [
"MIT"
] | null | null | null | app.py | Lolik-Bolik/Re-Id | 7e85b47e3bdd662ae9fe677ffe89494ca691bc8f | [
"MIT"
] | null | null | null | app.py | Lolik-Bolik/Re-Id | 7e85b47e3bdd662ae9fe677ffe89494ca691bc8f | [
"MIT"
] | null | null | null | import dash
import dash_bootstrap_components as dbc
app = dash.Dash(__name__, suppress_callback_exceptions=True, external_stylesheets=[dbc.themes.BOOTSTRAP,
dbc.themes.CYBORG])
server = app.server | 46.666667 | 104 | 0.589286 | 27 | 280 | 5.777778 | 0.62963 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.35 | 280 | 6 | 105 | 46.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a47827bbcc1733ec93caa0a986d376b2b0a88ec5 | 207 | py | Python | framework/server/run.py | otbrown/wee_archie | 9dc86c74f54ce05ef2195e92dd914514bda8306b | [
"BSD-3-Clause"
] | 4 | 2019-01-29T11:14:39.000Z | 2021-10-29T18:32:01.000Z | framework/server/run.py | otbrown/wee_archie | 9dc86c74f54ce05ef2195e92dd914514bda8306b | [
"BSD-3-Clause"
] | 13 | 2019-02-18T15:18:52.000Z | 2022-03-11T23:57:45.000Z | framework/server/run.py | otbrown/wee_archie | 9dc86c74f54ce05ef2195e92dd914514bda8306b | [
"BSD-3-Clause"
] | 2 | 2019-03-02T23:41:53.000Z | 2019-07-09T10:17:37.000Z | """ Run.py - start the framework server
Runs the flask app in the server framework:
Using 0.0.0.0 (all listen) on port 5000.
"""
from framework import app
app.run(host='0.0.0.0', port=5000, threaded=True)
| 23 | 49 | 0.710145 | 39 | 207 | 3.769231 | 0.564103 | 0.081633 | 0.081633 | 0.054422 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091429 | 0.154589 | 207 | 8 | 50 | 25.875 | 0.748571 | 0.584541 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a48261378a2626e0280e5bde9727c5102b476785 | 378 | py | Python | lobster/commands/configuration.py | khurtado/lobster | cd7044b4b98bec2d8b5f81512adcf2a5dfca00f1 | [
"MIT"
] | 1 | 2018-03-06T19:33:17.000Z | 2018-03-06T19:33:17.000Z | lobster/commands/configuration.py | khurtado/lobster | cd7044b4b98bec2d8b5f81512adcf2a5dfca00f1 | [
"MIT"
] | 18 | 2018-03-08T09:55:57.000Z | 2020-08-10T19:19:04.000Z | lobster/commands/configuration.py | khurtado/lobster | cd7044b4b98bec2d8b5f81512adcf2a5dfca00f1 | [
"MIT"
] | 3 | 2018-03-06T19:33:20.000Z | 2019-02-25T22:50:23.000Z | import os
import sys
from lobster.core.command import Command
class Configuration(Command):
@property
def help(self):
return 'dump the configuration in python'
def setup(self, argparser):
pass
def run(self, args):
with open(os.path.join(args.config.workdir, 'config.py')) as ... | 21 | 72 | 0.648148 | 50 | 378 | 4.9 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23545 | 378 | 17 | 73 | 22.235294 | 0.847751 | 0 | 0 | 0 | 0 | 0 | 0.108466 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0.25 | 0.083333 | 0.666667 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
a4827a7f84b278bd592e4bb0dccb7c27163af159 | 855 | py | Python | plant_disease_classification_api/__init__.py | abdullahselek/plant-disease-classification-api | 336a75ba8167e64140dab1870bee2d8cabe9e92a | [
"MIT"
] | 6 | 2021-02-12T07:57:22.000Z | 2021-11-16T12:51:51.000Z | plant_disease_classification_api/__init__.py | abdullahselek/plant-disease-classification-api | 336a75ba8167e64140dab1870bee2d8cabe9e92a | [
"MIT"
] | null | null | null | plant_disease_classification_api/__init__.py | abdullahselek/plant-disease-classification-api | 336a75ba8167e64140dab1870bee2d8cabe9e92a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""ML API for plant disease classification."""
from __future__ import absolute_import
__author__ = "Abdullah Selek"
__email__ = "abdullahselek@gmail.com"
__copyright__ = "Copyright (c) 2020 Abdullah Selek"
__license__ = "MIT License"
__version__ = "0.1"
__url__ = "https://github.com/abdullahsel... | 37.173913 | 86 | 0.82924 | 103 | 855 | 6.349515 | 0.407767 | 0.183486 | 0.357798 | 0.310398 | 0.551988 | 0.457187 | 0.296636 | 0.180428 | 0.180428 | 0 | 0 | 0.007712 | 0.090058 | 855 | 22 | 87 | 38.863636 | 0.832905 | 0.071345 | 0 | 0 | 0 | 0 | 0.322335 | 0.029188 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a48a5dcf4c2762cb6a57540c237bfb8ef532ff1c | 77 | py | Python | code/abc047_a_04.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc047_a_04.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc047_a_04.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | l=sorted(map(int,input().split()))
print("Yes" if sum(l[:2])==l[2] else "No") | 38.5 | 42 | 0.597403 | 16 | 77 | 2.875 | 0.8125 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.064935 | 77 | 2 | 42 | 38.5 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a4a0a3cc440a18174aa98ed4283d3573967c9707 | 126 | py | Python | pdfworkshop/__main__.py | sinistro14/pdfworkshop | b012956360e1a07708421f37592b55e6dba7e2f8 | [
"MIT"
] | 4 | 2019-09-10T08:44:57.000Z | 2021-03-23T02:00:57.000Z | pdfworkshop/__main__.py | sinistro14/pdfworkshop | b012956360e1a07708421f37592b55e6dba7e2f8 | [
"MIT"
] | 2 | 2019-09-03T12:11:26.000Z | 2019-12-05T20:28:40.000Z | pdfworkshop/__main__.py | sinistro14/pdfworkshop | b012956360e1a07708421f37592b55e6dba7e2f8 | [
"MIT"
] | 1 | 2019-09-10T18:13:52.000Z | 2019-09-10T18:13:52.000Z | #!/usr/bin/env python3
from .cli import start
def main():
start()
if __name__ == "__main__":
start()
exit(0)
| 9.692308 | 26 | 0.587302 | 17 | 126 | 3.882353 | 0.823529 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.253968 | 126 | 12 | 27 | 10.5 | 0.680851 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f12767bb331be4d8c441cc47ab0585499612e069 | 335 | py | Python | PythonLearning/v0007(tabuada).py | JoaoG10110/Python | 495044d61bb8d6ec3542433a3f54dd1f8177cb08 | [
"MIT"
] | null | null | null | PythonLearning/v0007(tabuada).py | JoaoG10110/Python | 495044d61bb8d6ec3542433a3f54dd1f8177cb08 | [
"MIT"
] | null | null | null | PythonLearning/v0007(tabuada).py | JoaoG10110/Python | 495044d61bb8d6ec3542433a3f54dd1f8177cb08 | [
"MIT"
] | null | null | null | print('='*28)
print('Tabuada de um número inteiro')
print('='*28)
n = int(input('Insira um número: '))
print(f'{n}x1: {n*1}')
print(f'{n}x2: {n*2}')
print(f'{n}x3: {n*3}')
print(f'{n}x4: {n*4}')
print(f'{n}x5: {n*5}')
print(f'{n}x6: {n*6}')
print(f'{n}x7: {n*7}')
print(f'{n}x8: {n*8}')
print(f'{n}x9: {n*9}')
print(f'{n... | 22.333333 | 37 | 0.531343 | 76 | 335 | 2.342105 | 0.421053 | 0.337079 | 0.393258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086093 | 0.098507 | 335 | 14 | 38 | 23.928571 | 0.503311 | 0 | 0 | 0.142857 | 0 | 0 | 0.507463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.928571 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
f12f7d04b0fb77f9d9d747c409c33ab303395b1d | 145 | py | Python | djangocms_baseplugins/loginform/urls.py | benzkji/djangocms-baseplugins | 7f041a030ed93dcdec70e4ca777b841846b8f2f2 | [
"MIT"
] | 2 | 2019-04-14T01:31:22.000Z | 2020-03-05T13:06:57.000Z | djangocms_baseplugins/loginform/urls.py | benzkji/djangocms-baseplugins | 7f041a030ed93dcdec70e4ca777b841846b8f2f2 | [
"MIT"
] | 32 | 2017-04-04T09:28:06.000Z | 2021-08-18T16:23:02.000Z | djangocms_baseplugins/loginform/urls.py | bnzk/djangocms-baseplugins | 7f041a030ed93dcdec70e4ca777b841846b8f2f2 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from .views import LoginFormView
urlpatterns = [
url(r'^$', LoginFormView.as_view(), name='loginform'),
]
| 18.125 | 58 | 0.710345 | 18 | 145 | 5.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144828 | 145 | 7 | 59 | 20.714286 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0.075862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f147d5af49bdaf46bd944847164f0aa48a4014fe | 1,508 | py | Python | python/src/tests/helpers/test_find_cell_ids_in_same_hierarchy.py | biomage-ltd/worker | ddeaa14f7bf6405bdabbc48c671f1f2b4b2d58b0 | [
"MIT"
] | 11 | 2021-04-28T09:12:22.000Z | 2021-12-19T10:09:18.000Z | python/src/tests/helpers/test_find_cell_ids_in_same_hierarchy.py | biomage-ltd/worker | ddeaa14f7bf6405bdabbc48c671f1f2b4b2d58b0 | [
"MIT"
] | 68 | 2020-10-30T10:51:01.000Z | 2021-12-13T22:29:44.000Z | python/src/tests/helpers/test_find_cell_ids_in_same_hierarchy.py | biomage-ltd/worker | ddeaa14f7bf6405bdabbc48c671f1f2b4b2d58b0 | [
"MIT"
] | 1 | 2021-01-05T13:22:06.000Z | 2021-01-05T13:22:06.000Z | import json
import os
from worker.helpers.find_cell_ids_in_same_hierarchy import (
find_all_cell_ids_in_cell_sets, find_cell_ids_in_same_hierarchy)
class TestFindCellIdsInSameHierarchy:
def test_empty_cell_set_returns_no_cells_hierchy(self):
assert find_cell_ids_in_same_hierarchy("", []) == []
d... | 28.45283 | 77 | 0.578249 | 179 | 1,508 | 4.424581 | 0.318436 | 0.088384 | 0.113636 | 0.098485 | 0.823232 | 0.792929 | 0.727273 | 0.608586 | 0.292929 | 0.171717 | 0 | 0.048902 | 0.335544 | 1,508 | 52 | 78 | 29 | 0.741517 | 0 | 0 | 0.391304 | 0 | 0 | 0.05305 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 1 | 0.086957 | false | 0 | 0.065217 | 0 | 0.173913 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f152709921f207c7564a1fda112d2539f2fcb153 | 509 | py | Python | archive/src/play/view/ConsoleView.py | benjaminaaron/GO_DILab | 20630d1a1d513a25de20b2edaeeac097a1b53be4 | [
"MIT"
] | 8 | 2017-10-19T21:21:27.000Z | 2018-01-31T14:36:21.000Z | archive/src/play/view/ConsoleView.py | benjaminaaron/GO_DILab | 20630d1a1d513a25de20b2edaeeac097a1b53be4 | [
"MIT"
] | 9 | 2017-10-19T15:28:09.000Z | 2017-12-05T11:42:44.000Z | archive/src/play/view/ConsoleView.py | nathanaelbosch/GO_DILab | 20630d1a1d513a25de20b2edaeeac097a1b53be4 | [
"MIT"
] | 1 | 2018-04-23T17:36:35.000Z | 2018-04-23T17:36:35.000Z | from archive.src.play.view.View import View
class ConsoleView(View):
def __init__(self, game):
View.__init__(self, game)
def open(self, game_controller):
pass
def show_player_turn_start(self, name):
print('It\'s player ' + name + '\'s turn')
def show_player_turn_end(self, n... | 21.208333 | 51 | 0.618861 | 70 | 509 | 4.185714 | 0.471429 | 0.109215 | 0.081911 | 0.116041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257367 | 509 | 23 | 52 | 22.130435 | 0.775132 | 0.072692 | 0 | 0 | 0 | 0 | 0.040773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.071429 | 0.071429 | 0 | 0.571429 | 0.357143 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f160aa6a4ace0ce2113cf9e0dbfb1b8051eb267f | 278 | py | Python | poediscordbot/cogs/pob/output/aggregators/abstract_aggregator.py | Altyrost/poediscordbot | 8561de4cf377d14635774e2a72530538871f942f | [
"MIT"
] | 8 | 2019-10-01T16:58:35.000Z | 2022-02-08T21:54:43.000Z | poediscordbot/cogs/pob/output/aggregators/abstract_aggregator.py | Altyrost/poediscordbot | 8561de4cf377d14635774e2a72530538871f942f | [
"MIT"
] | 13 | 2019-07-31T08:35:24.000Z | 2021-09-08T03:47:27.000Z | poediscordbot/cogs/pob/output/aggregators/abstract_aggregator.py | Altyrost/poediscordbot | 8561de4cf377d14635774e2a72530538871f942f | [
"MIT"
] | 9 | 2019-12-07T10:39:43.000Z | 2022-02-04T15:20:20.000Z | from abc import ABC, abstractmethod
from poediscordbot.pob_xml_parser.models.build import Build
class AbstractAggregator(ABC):
def __init__(self, build: Build) -> None:
self.build = build
@abstractmethod
def get_output(self) -> (str, str):
pass
| 19.857143 | 59 | 0.694245 | 34 | 278 | 5.470588 | 0.588235 | 0.096774 | 0.150538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215827 | 278 | 13 | 60 | 21.384615 | 0.853211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.25 | 0 | 0.625 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f1646673bfc47a504030f072de7ff7fe5292f70c | 232 | py | Python | cytracepy/__init__.py | maxgenettiUCSC/cytracepy | 8aa3e06560e078acc8896f830cd01ba148bcfec2 | [
"MIT"
] | null | null | null | cytracepy/__init__.py | maxgenettiUCSC/cytracepy | 8aa3e06560e078acc8896f830cd01ba148bcfec2 | [
"MIT"
] | 1 | 2021-06-01T22:39:03.000Z | 2021-06-01T22:39:03.000Z | cytracepy/__init__.py | maxgenettiUCSC/cytracepy | 8aa3e06560e078acc8896f830cd01ba148bcfec2 | [
"MIT"
] | null | null | null | """CyTracePy contains functions for calculating a biologically relavant
distance between two trajectories using dynamic time warping. The package uses
formats that can be found at https://github.com/Stuartlab-UCSC/traj-formats.
""" | 58 | 78 | 0.814655 | 32 | 232 | 5.90625 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116379 | 232 | 4 | 79 | 58 | 0.921951 | 0.969828 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f164baf8aff4f494fb42542a3c08ee881ea8c360 | 1,224 | py | Python | tests/test_versions.py | paultag/syn | e015005116708d0c4d643a7a79c38afc596e92a5 | [
"MIT"
] | 1 | 2016-03-05T20:47:00.000Z | 2016-03-05T20:47:00.000Z | tests/test_versions.py | paultag/syn | e015005116708d0c4d643a7a79c38afc596e92a5 | [
"MIT"
] | null | null | null | tests/test_versions.py | paultag/syn | e015005116708d0c4d643a7a79c38afc596e92a5 | [
"MIT"
] | null | null | null | # Copyright (c) Syn AUTHORS, 2012, under the terms and conditions of the
# AUTHORS file.
from syn.versions import cmp_lt, cmp_gt, cmp_eq
def test_less_then():
v1 = "1"
v2 = "2"
assert cmp_lt(v1, v2)
v1 = "1.0"
v2 = "1.1"
assert cmp_lt(v1, v2)
v1 = "1.0.0"
v2 = "1.0.1"
assert cmp_l... | 18.268657 | 72 | 0.490196 | 232 | 1,224 | 2.469828 | 0.133621 | 0.298429 | 0.17452 | 0.204188 | 0.708551 | 0.652705 | 0.631763 | 0.596859 | 0.558464 | 0.558464 | 0 | 0.174447 | 0.334967 | 1,224 | 66 | 73 | 18.545455 | 0.529484 | 0.068627 | 0 | 0.877193 | 0 | 0 | 0.086192 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.052632 | false | 0 | 0.017544 | 0 | 0.070175 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
f167b511c62fa5d7c3175c1eed4c7dbfc796bf71 | 89 | py | Python | fibo.py | krishna-prasath/My_programs | 96bac29eb448beda2dda439ac7adea7a5343c066 | [
"bzip2-1.0.6"
] | null | null | null | fibo.py | krishna-prasath/My_programs | 96bac29eb448beda2dda439ac7adea7a5343c066 | [
"bzip2-1.0.6"
] | null | null | null | fibo.py | krishna-prasath/My_programs | 96bac29eb448beda2dda439ac7adea7a5343c066 | [
"bzip2-1.0.6"
] | null | null | null | a=0
b=1
n=10
print(1)
for i in range(n):
c=a+b
a=b
b=c
print(c)
| 8.9 | 19 | 0.426966 | 22 | 89 | 1.727273 | 0.545455 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0.41573 | 89 | 9 | 20 | 9.888889 | 0.634615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.222222 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f16f7c6e08da7d4fbdc8b70dc0dd74e3f1b34039 | 313 | py | Python | dask_kubernetes/tests/conftest.py | Timost/dask-kubernetes | b481bbbc6c1bb7d0719bc385c0537c4ba4a0ee57 | [
"BSD-3-Clause"
] | null | null | null | dask_kubernetes/tests/conftest.py | Timost/dask-kubernetes | b481bbbc6c1bb7d0719bc385c0537c4ba4a0ee57 | [
"BSD-3-Clause"
] | null | null | null | dask_kubernetes/tests/conftest.py | Timost/dask-kubernetes | b481bbbc6c1bb7d0719bc385c0537c4ba4a0ee57 | [
"BSD-3-Clause"
] | null | null | null | import pytest
def pytest_addoption(parser):
parser.addoption("--worker-image", help="Worker image to use for testing")
@pytest.fixture
def image_name(request):
worker_image = request.config.getoption("--worker-image")
if not worker_image:
return "daskdev/dask:dev"
return worker_image
| 22.357143 | 78 | 0.722045 | 41 | 313 | 5.390244 | 0.560976 | 0.298643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166134 | 313 | 13 | 79 | 24.076923 | 0.846743 | 0 | 0 | 0 | 0 | 0 | 0.239617 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f180d5fc606142f5e5f5ec873ba7499b37360dd8 | 93 | py | Python | python/py_package/sensor/sensor_base.py | haosulab/SAPIEN | 6bc3f4e2be910199b793f185aea5791d9f193e4c | [
"MIT"
] | 21 | 2021-10-13T11:56:45.000Z | 2022-03-30T16:09:21.000Z | python/py_package/sensor/sensor_base.py | haosulab/SAPIEN | 6bc3f4e2be910199b793f185aea5791d9f193e4c | [
"MIT"
] | 25 | 2021-10-20T20:14:37.000Z | 2022-03-30T05:55:15.000Z | python/py_package/sensor/sensor_base.py | haosulab/SAPIEN | 6bc3f4e2be910199b793f185aea5791d9f193e4c | [
"MIT"
] | 5 | 2021-10-31T17:43:52.000Z | 2022-03-01T09:45:53.000Z | from ..core import (
Entity
)
class SensorEntity:
def __init__(self):
pass
| 10.333333 | 23 | 0.602151 | 10 | 93 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.311828 | 93 | 8 | 24 | 11.625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
74b8277f10439e97c27f3a5c3f6eeb41829c7dda | 140 | py | Python | cursor/cursor_common.py | RunningIkkyu/io-share | 2cf46ea876c71bad3b739a0c56ad6f188a1c8278 | [
"MIT"
] | 2 | 2021-07-01T01:39:41.000Z | 2021-12-20T16:26:21.000Z | cursor/cursor_common.py | RunningIkkyu/ishare | 2cf46ea876c71bad3b739a0c56ad6f188a1c8278 | [
"MIT"
] | null | null | null | cursor/cursor_common.py | RunningIkkyu/ishare | 2cf46ea876c71bad3b739a0c56ad6f188a1c8278 | [
"MIT"
] | null | null | null | BORDOR_LEFT = "CURSOR_REACH_LEFT"
BORDOR_RIGHT = "CURSOR_REACH_RIGHT"
BORDOR_TOP = "CURSOR_REACH_TOP"
BORDOR_BOTTOM = "CURSOR_REACH_BOTTOM"
| 28 | 37 | 0.828571 | 20 | 140 | 5.2 | 0.35 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 140 | 4 | 38 | 35 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
74d77a798750243a98a040b8cfbd8e4b3895d46c | 237 | py | Python | docs/exampleProject/main.py | rmetcalf9/baseapp_for_restapi_backend_with_swagger | 15de62e65a39bc2e993e7b14003cb1a640351a17 | [
"MIT"
] | null | null | null | docs/exampleProject/main.py | rmetcalf9/baseapp_for_restapi_backend_with_swagger | 15de62e65a39bc2e993e7b14003cb1a640351a17 | [
"MIT"
] | 2 | 2018-04-26T09:52:13.000Z | 2018-05-31T17:07:12.000Z | docs/exampleProject/main.py | rmetcalf9/baseapp_for_restapi_backend_with_swagger | 15de62e65a39bc2e993e7b14003cb1a640351a17 | [
"MIT"
] | null | null | null | # Example project that uses baseapp_for_restapi_backend_with_swagger
import baseapp_for_restapi_backend_with_swagger
class AppObj(baseapp_for_restapi_backend_with_swagger.AppObjBaseClass):
pass
a = AppObj()
a.ttt()
| 16.928571 | 72 | 0.797468 | 31 | 237 | 5.612903 | 0.548387 | 0.172414 | 0.293103 | 0.413793 | 0.603448 | 0.603448 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156118 | 237 | 13 | 73 | 18.230769 | 0.87 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
74d7c7d7021db79ecf79cf9931143b7fe1d32a85 | 266 | py | Python | processes.py | jusewi/fachkurs_2017_project | fa4dfc64908d4c25d4ddb8fd2b9d73f0fd13a6cd | [
"MIT"
] | null | null | null | processes.py | jusewi/fachkurs_2017_project | fa4dfc64908d4c25d4ddb8fd2b9d73f0fd13a6cd | [
"MIT"
] | null | null | null | processes.py | jusewi/fachkurs_2017_project | fa4dfc64908d4c25d4ddb8fd2b9d73f0fd13a6cd | [
"MIT"
] | null | null | null | class Process:
"""
Parent for all cellular processes.
"""
def __init__(self, name, model):
self.name = name
self.model = model
def update(self):
"""
Has to be implemented by child class.
"""
pass
| 17.733333 | 45 | 0.518797 | 29 | 266 | 4.62069 | 0.689655 | 0.119403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.379699 | 266 | 14 | 46 | 19 | 0.812121 | 0.270677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
2d0aa378dbce95ee90baa73941e7bbcc722ba3e6 | 228 | py | Python | django_git_info/templatetags/django_git_info_tags.py | spapas/django-git | a62215d315263bce5d5d0afcfa14152601f76901 | [
"MIT"
] | 1 | 2019-03-15T10:32:21.000Z | 2019-03-15T10:32:21.000Z | django_git_info/templatetags/django_git_info_tags.py | spapas/django-git | a62215d315263bce5d5d0afcfa14152601f76901 | [
"MIT"
] | null | null | null | django_git_info/templatetags/django_git_info_tags.py | spapas/django-git | a62215d315263bce5d5d0afcfa14152601f76901 | [
"MIT"
] | 1 | 2016-03-25T03:57:49.000Z | 2016-03-25T03:57:49.000Z | from django import template
from django.template.defaultfilters import stringfilter
import django_git_info
register = template.Library()
@register.assignment_tag
def get_git_info():
return django_git_info.get_git_info() | 19 | 55 | 0.824561 | 31 | 228 | 5.774194 | 0.483871 | 0.156425 | 0.145251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 228 | 12 | 56 | 19 | 0.886139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
2d14da2deeb023923e9356b6bcf28296e1eb65bc | 24,293 | py | Python | rwslib/tests/test_builders_mdsol_modm.py | halbow/rwslib | 395b0a1dfaf98da1a5260c162325f794980cbaa2 | [
"MIT"
] | 20 | 2015-05-21T17:07:20.000Z | 2021-12-09T02:46:16.000Z | rwslib/tests/test_builders_mdsol_modm.py | halbow/rwslib | 395b0a1dfaf98da1a5260c162325f794980cbaa2 | [
"MIT"
] | 83 | 2015-01-09T08:48:21.000Z | 2022-03-28T11:09:34.000Z | rwslib/tests/test_builders_mdsol_modm.py | halbow/rwslib | 395b0a1dfaf98da1a5260c162325f794980cbaa2 | [
"MIT"
] | 20 | 2015-05-21T17:07:29.000Z | 2021-05-12T11:59:58.000Z | # -*- coding: utf-8 -*-
import random
import uuid
from unittest import TestCase
from faker import Faker
from rwslib.builders.admindata import Location
from rwslib.builders.constants import QueryStatusType
from rwslib.builders.clinicaldata import ClinicalData, FormData, ItemData, ItemGroupData, MdsolQuery, StudyEvent... | 46.807322 | 119 | 0.590005 | 2,514 | 24,293 | 5.559666 | 0.093874 | 0.071904 | 0.058596 | 0.033054 | 0.770194 | 0.742649 | 0.685913 | 0.665379 | 0.644702 | 0.634757 | 0 | 0.016434 | 0.296135 | 24,293 | 518 | 120 | 46.897683 | 0.800983 | 0.060511 | 0 | 0.73253 | 0 | 0 | 0.139755 | 0.009862 | 0 | 0 | 0 | 0 | 0.212048 | 1 | 0.106024 | false | 0 | 0.024096 | 0.00241 | 0.151807 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2d428759716ad4069395766c0be9d9e3e53263dd | 433 | py | Python | src/testproject/sdk/exceptions/__init__.py | bbornhau/python-opensdk | f6f6baf202598c9d234b3314f8e44fbd10a0f427 | [
"Apache-2.0"
] | 38 | 2021-02-04T06:38:13.000Z | 2022-03-25T05:41:28.000Z | src/testproject/sdk/exceptions/__init__.py | bbornhau/python-opensdk | f6f6baf202598c9d234b3314f8e44fbd10a0f427 | [
"Apache-2.0"
] | 47 | 2020-07-08T05:13:03.000Z | 2021-02-01T10:17:58.000Z | src/testproject/sdk/exceptions/__init__.py | bbornhau/python-opensdk | f6f6baf202598c9d234b3314f8e44fbd10a0f427 | [
"Apache-2.0"
] | 17 | 2021-02-28T23:46:17.000Z | 2022-01-26T05:02:59.000Z | from .sdkexception import SdkException
from .agentconnectexception import AgentConnectException
from .invalidtokenexception import InvalidTokenException
from .obsoleteversionexception import ObsoleteVersionException
from .missingbrowserexception import MissingBrowserException
__all__ = [
"SdkException",
"Agent... | 30.928571 | 62 | 0.831409 | 26 | 433 | 13.692308 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115473 | 433 | 13 | 63 | 33.307692 | 0.929504 | 0 | 0 | 0 | 0 | 0 | 0.233256 | 0.205543 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7419a9a0853b27735471f83e98b1c4442ffa6df4 | 13,526 | py | Python | mcdm/__init__.py | goncaloperes/mcdm | 2316d06adee76c4d82aef43522d31505d0f431e6 | [
"MIT"
] | null | null | null | mcdm/__init__.py | goncaloperes/mcdm | 2316d06adee76c4d82aef43522d31505d0f431e6 | [
"MIT"
] | null | null | null | mcdm/__init__.py | goncaloperes/mcdm | 2316d06adee76c4d82aef43522d31505d0f431e6 | [
"MIT"
] | null | null | null | # Copyright (c) 2020-2021 Dimitrios-Georgios Akestoridis
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify,... | 35.501312 | 78 | 0.545616 | 1,619 | 13,526 | 4.436689 | 0.298332 | 0.017541 | 0.022971 | 0.023667 | 0.225811 | 0.182793 | 0.160936 | 0.117778 | 0.113462 | 0.113462 | 0 | 0.173431 | 0.225861 | 13,526 | 380 | 79 | 35.594737 | 0.511699 | 0.92592 | 0 | 0 | 0 | 0 | 0.038919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.904762 | 0 | 0.904762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
741d28d7e7b70eeb251f85ed422c485772f05923 | 567 | py | Python | src/url_manager.py | flyeek/crawler | 5e9b360f9d9251dbdad35f6288e71f35a18bf7d5 | [
"MIT"
] | null | null | null | src/url_manager.py | flyeek/crawler | 5e9b360f9d9251dbdad35f6288e71f35a18bf7d5 | [
"MIT"
] | null | null | null | src/url_manager.py | flyeek/crawler | 5e9b360f9d9251dbdad35f6288e71f35a18bf7d5 | [
"MIT"
] | null | null | null | class UrlManager:
def __init__(self):
self.pending_urls = set()
self.crawled_urls = set()
def has_pending_url(self):
return len(self.pending_urls) != 0
def add_url(self, url):
if url is None or len(url) == 0:
return
if url in self.crawled_urls:
... | 23.625 | 42 | 0.567901 | 79 | 567 | 3.860759 | 0.291139 | 0.144262 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005305 | 0.335097 | 567 | 23 | 43 | 24.652174 | 0.803714 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0 | 0.052632 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
742e5b34214aa59cda1cc8552dd819a47530083d | 110 | py | Python | Python Fundamentals/Data types and Variables/Lab/Task01.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | 1 | 2022-03-16T10:23:04.000Z | 2022-03-16T10:23:04.000Z | Python Fundamentals/List Basics/Lab/Task01.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | Python Fundamentals/List Basics/Lab/Task01.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | first_name = input()
second_name = input()
delimiter = input()
print(f"{first_name}{delimiter}{second_name}") | 22 | 46 | 0.736364 | 15 | 110 | 5.133333 | 0.466667 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 110 | 5 | 46 | 22 | 0.77 | 0 | 0 | 0 | 0 | 0 | 0.324324 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
74454e973b7052b6e66eaac02f7792234a2db596 | 662 | py | Python | src/DCMT4Lib/MT4Funs/MT4FunsBase.py | dcitdev/MT4PY3Wrapper | e4e37a9f77bcd69caf80ff6ec91e435943fad9da | [
"MIT"
] | null | null | null | src/DCMT4Lib/MT4Funs/MT4FunsBase.py | dcitdev/MT4PY3Wrapper | e4e37a9f77bcd69caf80ff6ec91e435943fad9da | [
"MIT"
] | null | null | null | src/DCMT4Lib/MT4Funs/MT4FunsBase.py | dcitdev/MT4PY3Wrapper | e4e37a9f77bcd69caf80ff6ec91e435943fad9da | [
"MIT"
] | null | null | null | import DCMT4Wrapper
from DCMT4Lib.CommonTools.DataStructure import *
from DCMT4Lib.CommonTools.DataAssignHelper import DataAssignHelper
from DCMT4Lib.CommonTools.CommonDefine import *
from DCMT4Lib.CommonTools.EnumDefine import *
class MT4FunsBase(object):
def __init__(self, logger, wHD, Send_Msg_To_MT4):
... | 33.1 | 66 | 0.740181 | 83 | 662 | 5.53012 | 0.385542 | 0.104575 | 0.200436 | 0.104575 | 0.139434 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024209 | 0.188822 | 662 | 19 | 67 | 34.842105 | 0.83054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.3125 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
744631b4e959a0ed3e490d30f7d9339c56101630 | 97 | py | Python | phoenixback/pheonixrest/apps.py | omidrk/PhoenixPRJ | ffbe67a09f2dcaf868169488fa4c0557aaa1a912 | [
"MIT"
] | null | null | null | phoenixback/pheonixrest/apps.py | omidrk/PhoenixPRJ | ffbe67a09f2dcaf868169488fa4c0557aaa1a912 | [
"MIT"
] | null | null | null | phoenixback/pheonixrest/apps.py | omidrk/PhoenixPRJ | ffbe67a09f2dcaf868169488fa4c0557aaa1a912 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PheonixrestConfig(AppConfig):
name = 'pheonixrest'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
74524aaeb49f0d165ce802410f4d74b67290db0b | 151 | py | Python | Python/Itertools/itertools_permutations.py | rho2/HackerRank | 4d9cdfcabeb20212db308d8e4f2ac1b8ebf7d266 | [
"MIT"
] | null | null | null | Python/Itertools/itertools_permutations.py | rho2/HackerRank | 4d9cdfcabeb20212db308d8e4f2ac1b8ebf7d266 | [
"MIT"
] | null | null | null | Python/Itertools/itertools_permutations.py | rho2/HackerRank | 4d9cdfcabeb20212db308d8e4f2ac1b8ebf7d266 | [
"MIT"
] | null | null | null | from itertools import permutations
word, k = input().strip().split()
p = [''.join(a) for a in permutations(word, int(k))]
print('\n'.join(sorted(p))) | 25.166667 | 52 | 0.662252 | 24 | 151 | 4.166667 | 0.75 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119205 | 151 | 6 | 53 | 25.166667 | 0.75188 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
7462912ebff75f0ec8b4c68bca3c16b9e526d18d | 4,434 | py | Python | micro_orm/fields/__init__.py | RooYnnER/micro-orm | 7ec329072a71565696fe27f44ff08412c708ff29 | [
"MIT"
] | null | null | null | micro_orm/fields/__init__.py | RooYnnER/micro-orm | 7ec329072a71565696fe27f44ff08412c708ff29 | [
"MIT"
] | null | null | null | micro_orm/fields/__init__.py | RooYnnER/micro-orm | 7ec329072a71565696fe27f44ff08412c708ff29 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from datetime import datetime
import json
from .exceptions import *
class AbstractField(object):
def __init__(self, dialect_name=None, nullable=False, primary_key=False):
self.dialect_name = dialect_name
self.nullable = nullable
self.primary_key = primary_key
... | 28.063291 | 119 | 0.636897 | 568 | 4,434 | 4.841549 | 0.137324 | 0.075273 | 0.070909 | 0.035636 | 0.616364 | 0.521818 | 0.446182 | 0.391636 | 0.333455 | 0.333455 | 0 | 0.003662 | 0.260938 | 4,434 | 157 | 120 | 28.242038 | 0.83552 | 0.004736 | 0 | 0.495146 | 0 | 0 | 0.022444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.252427 | false | 0 | 0.029126 | 0.106796 | 0.582524 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
746f04ca8d334a779718c540aa362e2be96845d0 | 86 | py | Python | tests/fixtures/basic_user_module.py | solarnz/toast | 6799002c2e6246740917b0d154fe739eddc3403b | [
"BSD-3-Clause"
] | 2 | 2015-01-21T17:32:25.000Z | 2015-03-24T22:58:54.000Z | tests/fixtures/basic_user_module.py | solarnz/toast | 6799002c2e6246740917b0d154fe739eddc3403b | [
"BSD-3-Clause"
] | null | null | null | tests/fixtures/basic_user_module.py | solarnz/toast | 6799002c2e6246740917b0d154fe739eddc3403b | [
"BSD-3-Clause"
] | null | null | null | def main(grains):
return {
'states': ['vim'],
'pillars': {}
}
| 14.333333 | 26 | 0.406977 | 7 | 86 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.383721 | 86 | 5 | 27 | 17.2 | 0.660377 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
747df2af281de00f14cd6245f6a8e95164d8dd2d | 2,543 | py | Python | pyalgotrade/providers/interactivebrokers/ibbar.py | tibkiss/pyalgotrade | 4979315281c362dcba2e6d53da27dc4a7377ebec | [
"Apache-2.0"
] | 2 | 2015-04-03T10:29:14.000Z | 2017-01-21T05:55:00.000Z | pyalgotrade/providers/interactivebrokers/ibbar.py | tibkiss/pyalgotrade | 4979315281c362dcba2e6d53da27dc4a7377ebec | [
"Apache-2.0"
] | null | null | null | pyalgotrade/providers/interactivebrokers/ibbar.py | tibkiss/pyalgotrade | 4979315281c362dcba2e6d53da27dc4a7377ebec | [
"Apache-2.0"
] | null | null | null | # PyAlgoTrade
#
# Related materials
# Interactive Brokers API: http://www.interactivebrokers.com/en/software/api/api.htm
# IbPy: http://code.google.com/p/ibpy/
#
# Copyright 2012 Gabriel Martin Becedillas Ruiz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in... | 34.364865 | 146 | 0.675973 | 343 | 2,543 | 4.930029 | 0.446064 | 0.035482 | 0.015376 | 0.018924 | 0.044944 | 0.044944 | 0.044944 | 0.044944 | 0 | 0 | 0 | 0.011483 | 0.212348 | 2,543 | 73 | 147 | 34.835616 | 0.832751 | 0.598112 | 0 | 0 | 0 | 0.058824 | 0.094818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0.117647 | 0.647059 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
747e42f8ff2544732bed99c8f718038b861c6e49 | 3,481 | py | Python | dalme_public/migrations/0003_bibliography.py | DALME/dalme | 46f9a0011fdb75c5098b552104fc73b1062e16e9 | [
"BSD-3-Clause"
] | 6 | 2019-05-07T01:06:04.000Z | 2021-02-19T20:45:09.000Z | dalme_public/migrations/0003_bibliography.py | DALME/dalme | 46f9a0011fdb75c5098b552104fc73b1062e16e9 | [
"BSD-3-Clause"
] | 23 | 2018-09-14T18:01:42.000Z | 2021-12-29T17:25:18.000Z | dalme_public/migrations/0003_bibliography.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-08 20:36
import dalme_public.blocks
from django.db import migrations, models
import django.db.models.deletion
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.documents.blocks
import wagtail.embeds.blocks
import wagtail.images.blocks
class Migration(migratio... | 96.694444 | 1,930 | 0.705832 | 392 | 3,481 | 6.191327 | 0.372449 | 0.13597 | 0.196127 | 0.117841 | 0.177173 | 0.126906 | 0.094767 | 0.044499 | 0.044499 | 0 | 0 | 0.012322 | 0.114048 | 3,481 | 35 | 1,931 | 99.457143 | 0.774643 | 0.012927 | 0 | 0 | 1 | 0 | 0.200349 | 0.022132 | 0.034483 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.275862 | 0 | 0.37931 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7492d43c7c52c90452dbb3063c8f0eacaa15cbdb | 14,239 | py | Python | src/olympia/devhub/tests/test_views_subscription.py | eviljeff/olympia | 03330ef8377cdb2dbfc333f457612d521c800e2b | [
"BSD-3-Clause"
] | null | null | null | src/olympia/devhub/tests/test_views_subscription.py | eviljeff/olympia | 03330ef8377cdb2dbfc333f457612d521c800e2b | [
"BSD-3-Clause"
] | 26 | 2020-11-02T07:38:13.000Z | 2020-11-09T09:48:32.000Z | src/olympia/devhub/tests/test_views_subscription.py | eviljeff/olympia | 03330ef8377cdb2dbfc333f457612d521c800e2b | [
"BSD-3-Clause"
] | null | null | null | import datetime
from unittest import mock
from waffle.testutils import override_switch
from olympia.amo.tests import TestCase, addon_factory, user_factory
from olympia.amo.urlresolvers import reverse
from olympia.constants.promoted import VERIFIED
from olympia.promoted.models import PromotedAddon, PromotedSubscriptio... | 39.443213 | 79 | 0.699698 | 1,734 | 14,239 | 5.477509 | 0.118224 | 0.079175 | 0.035586 | 0.041167 | 0.78585 | 0.762897 | 0.713624 | 0.674984 | 0.650558 | 0.623079 | 0 | 0.008631 | 0.210689 | 14,239 | 360 | 80 | 39.552778 | 0.836462 | 0.049301 | 0 | 0.59144 | 0 | 0 | 0.14457 | 0.103635 | 0 | 0 | 0 | 0 | 0.241245 | 1 | 0.097276 | false | 0 | 0.027237 | 0 | 0.151751 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
74a41e0be50a800d3dd17b895eb876af1e3b28c0 | 235 | py | Python | tests/test_compile.py | UnvLabs/Python | 27e26983199fd732854bdfb699efb7cf2f803f22 | [
"MIT"
] | 1 | 2022-01-10T05:46:45.000Z | 2022-01-10T05:46:45.000Z | tests/test_compile.py | UnvLabs/Python | 27e26983199fd732854bdfb699efb7cf2f803f22 | [
"MIT"
] | null | null | null | tests/test_compile.py | UnvLabs/Python | 27e26983199fd732854bdfb699efb7cf2f803f22 | [
"MIT"
] | null | null | null | from unv import compile
def test_compile():
assert (
compile(
"""
import print from 'standard'
print("Hello, World!")
"""
)
== """
from standard import print
print("Hello, World!")
"""
)
| 12.368421 | 28 | 0.52766 | 23 | 235 | 5.347826 | 0.478261 | 0.178862 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.323404 | 235 | 18 | 29 | 13.055556 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0.297143 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | true | 0 | 0.2 | 0 | 0.3 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7774717710293d3474414368bfbf357c777bd477 | 152 | py | Python | en/027/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | en/027/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | en/027/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | # Make a program that reads a person's full name, then showing the first and last name separately.
Ex: Ana Maria de Souza (first = Ana; last = Souza).
| 38 | 98 | 0.730263 | 27 | 152 | 4.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197368 | 152 | 3 | 99 | 50.666667 | 0.909836 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7777b14c74276986fffe8c78aceaf4c6aaf73de1 | 484 | py | Python | hatpehda/reg_mock.py | guilhembn/Multi-Agent-HTN-Planning | 1ef0109f628b5de5540f7df18037226941eeaa7b | [
"Apache-2.0"
] | 1 | 2022-02-26T07:46:39.000Z | 2022-02-26T07:46:39.000Z | hatpehda/reg_mock.py | guilhembn/HATPEHDA | 9c1bdb9142e08e4cd6a60f93aaf2ee5358d42aee | [
"Apache-2.0"
] | 1 | 2021-04-08T17:14:24.000Z | 2021-04-08T17:14:24.000Z | hatpehda/reg_mock.py | guilhembn/HATPEHDA | 9c1bdb9142e08e4cd6a60f93aaf2ee5358d42aee | [
"Apache-2.0"
] | null | null | null | from collections import namedtuple
class REGHandler:
MockREGAnswer = namedtuple("MockREGAnswer", ["success"])
def __init__(self):
print("WARNING: Running a mocked REG Handler.")
def cleanup(self):
print("WARNING: Running a mocked REG Handler (cleanup simulated).")
def get_re(self, ag... | 32.266667 | 75 | 0.694215 | 56 | 484 | 5.892857 | 0.535714 | 0.109091 | 0.172727 | 0.181818 | 0.351515 | 0.351515 | 0.351515 | 0.242424 | 0 | 0 | 0 | 0 | 0.200413 | 484 | 14 | 76 | 34.571429 | 0.852713 | 0 | 0 | 0 | 0 | 0 | 0.35124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0 | 0.7 | 0.3 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
777b77b0392751dd7fe44d9c157982f19dc9af55 | 159 | py | Python | tests/utils/response_schemas.py | maticardenas/python_api_testing | 43930ea18d6c51a1fde88ffdb34bd2f20f026114 | [
"MIT"
] | null | null | null | tests/utils/response_schemas.py | maticardenas/python_api_testing | 43930ea18d6c51a1fde88ffdb34bd2f20f026114 | [
"MIT"
] | null | null | null | tests/utils/response_schemas.py | maticardenas/python_api_testing | 43930ea18d6c51a1fde88ffdb34bd2f20f026114 | [
"MIT"
] | null | null | null |
person_schema = {
"fname": {'type': 'string'},
"lname": {'type': 'string'},
"person_id": {'type': 'number'},
"timestamp": {'type': 'string'}
} | 22.714286 | 36 | 0.509434 | 15 | 159 | 5.266667 | 0.6 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201258 | 159 | 7 | 37 | 22.714286 | 0.622047 | 0 | 0 | 0 | 0 | 0 | 0.427673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7783c65f41b350bf70285cb76d55f77de8990d70 | 114 | py | Python | idx_rule.py | danielkaifeng/sl_ais_server | 356d5667560c1665a67f0c156b2261e682f671a4 | [
"MIT"
] | null | null | null | idx_rule.py | danielkaifeng/sl_ais_server | 356d5667560c1665a67f0c156b2261e682f671a4 | [
"MIT"
] | null | null | null | idx_rule.py | danielkaifeng/sl_ais_server | 356d5667560c1665a67f0c156b2261e682f671a4 | [
"MIT"
] | null | null | null | #coding=utf-8
def filter_idx(idx):
#有其它疾病出现,不显示正常心电图
if 4 in idx and len(idx) > 1:
idx.remove(4)
return idx
| 14.25 | 30 | 0.684211 | 22 | 114 | 3.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.184211 | 114 | 7 | 31 | 16.285714 | 0.784946 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
77a4a451401f60249e86a4baefb265b20aae9ad4 | 109 | py | Python | hoss/console.py | WyssCenter/hoss-client | b9bdebd9df12f88a86cb9aded16b2b3877b97378 | [
"MIT"
] | null | null | null | hoss/console.py | WyssCenter/hoss-client | b9bdebd9df12f88a86cb9aded16b2b3877b97378 | [
"MIT"
] | null | null | null | hoss/console.py | WyssCenter/hoss-client | b9bdebd9df12f88a86cb9aded16b2b3877b97378 | [
"MIT"
] | 1 | 2022-02-24T15:30:39.000Z | 2022-02-24T15:30:39.000Z | from rich.console import Console
# Create a shared console instance for the application
console = Console()
| 21.8 | 54 | 0.798165 | 15 | 109 | 5.8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155963 | 109 | 4 | 55 | 27.25 | 0.945652 | 0.477064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
77deb547e07b7e6df6ef5d0bb676f23496e629e3 | 133 | py | Python | mBugTranslations/mBugTranslations.py | SkyLined/mBugId | 781bfe9a120e55630a91ce1e86b39ad0dee031ec | [
"CC-BY-4.0"
] | 22 | 2016-08-11T14:50:55.000Z | 2021-06-06T09:39:26.000Z | mBugTranslations/mBugTranslations.py | SkyLined/mBugId | 781bfe9a120e55630a91ce1e86b39ad0dee031ec | [
"CC-BY-4.0"
] | 19 | 2016-09-07T05:54:40.000Z | 2020-07-02T07:46:38.000Z | mBugTranslations/mBugTranslations.py | SkyLined/mBugId | 781bfe9a120e55630a91ce1e86b39ad0dee031ec | [
"CC-BY-4.0"
] | 11 | 2016-09-03T22:42:50.000Z | 2018-10-01T18:28:59.000Z | from .fApplyBugTranslationsToBugReport import fApplyBugTranslationsToBugReport;
__all__ = [
"fApplyBugTranslationsToBugReport",
];
| 26.6 | 79 | 0.849624 | 6 | 133 | 18.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082707 | 133 | 4 | 80 | 33.25 | 0.893443 | 0 | 0 | 0 | 0 | 0 | 0.240602 | 0.240602 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
77ec35da7c359e8b99a60ee1dafa42767c8846cd | 1,048 | py | Python | setexample.py | chandrugcg77/test_Oct | 075a57aead248159b11b44ca98db88b42733dfdf | [
"MIT"
] | null | null | null | setexample.py | chandrugcg77/test_Oct | 075a57aead248159b11b44ca98db88b42733dfdf | [
"MIT"
] | null | null | null | setexample.py | chandrugcg77/test_Oct | 075a57aead248159b11b44ca98db88b42733dfdf | [
"MIT"
] | null | null | null | set_example={"ATGCT","ATAGTATA","ATGCT"} #set will remove the duplicate members
print(set_example)
set_example={"YC1","YC2","YC3","YC3"}
print(set_example)
t_cell_epitopes={"LPVLQV","FGDSVE","VEKGVLPQLEQ","ARTAPH","EIPVA"}
b_cell_epitopes={"ARTAPH","IQYG","EIPVA"}
#all the available epitopes
#union operation
all_e... | 26.2 | 79 | 0.789122 | 173 | 1,048 | 4.514451 | 0.289017 | 0.291933 | 0.216389 | 0.107554 | 0.553137 | 0.553137 | 0.463508 | 0.399488 | 0.25096 | 0.072983 | 0 | 0.014583 | 0.083969 | 1,048 | 40 | 80 | 26.2 | 0.798958 | 0.284351 | 0 | 0.434783 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
77f4cf78a8f6d0a360de795fee3f7c528158107f | 1,599 | py | Python | GuardAgent/swagger_client/GuardAgentSecurityContext.py | jicarretero/SimpleDataModelsImplementation | 6029894b9c94d1eef82e91d66f05e762e39ae8d3 | [
"Apache-2.0"
] | null | null | null | GuardAgent/swagger_client/GuardAgentSecurityContext.py | jicarretero/SimpleDataModelsImplementation | 6029894b9c94d1eef82e91d66f05e762e39ae8d3 | [
"Apache-2.0"
] | null | null | null | GuardAgent/swagger_client/GuardAgentSecurityContext.py | jicarretero/SimpleDataModelsImplementation | 6029894b9c94d1eef82e91d66f05e762e39ae8d3 | [
"Apache-2.0"
] | null | null | null | #from swagger_server.models.configurations import Configurations
#from swagger_server.models.configuration import Configuration
class GuardAgentSecurityContext(object):
class __GuardAgentSecurityContext:
def __init__(self):
# self._time_between_probes=Configuration("time_between_probes", "int", "Tim... | 39 | 130 | 0.694184 | 176 | 1,599 | 5.954545 | 0.25 | 0.125954 | 0.114504 | 0.080153 | 0.227099 | 0.093511 | 0.093511 | 0.093511 | 0.093511 | 0.093511 | 0 | 0.00321 | 0.220763 | 1,599 | 41 | 131 | 39 | 0.837881 | 0.298311 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0.037037 | 0 | 0.148148 | 0.666667 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7acc4dc207438ec674486beda74899ca6de16c5a | 428 | py | Python | run.py | morelab/labmanager | b44f97f26f224e4a94c7981e5cc84f3b5c8cc440 | [
"BSD-2-Clause"
] | 2 | 2015-11-05T01:43:19.000Z | 2017-10-19T15:28:53.000Z | run.py | morelab/labmanager | b44f97f26f224e4a94c7981e5cc84f3b5c8cc440 | [
"BSD-2-Clause"
] | 3 | 2021-03-22T17:12:12.000Z | 2021-12-13T19:39:20.000Z | run.py | morelab/labmanager | b44f97f26f224e4a94c7981e5cc84f3b5c8cc440 | [
"BSD-2-Clause"
] | 6 | 2016-03-08T09:32:16.000Z | 2022-01-06T09:53:37.000Z | # -*-*- encoding: utf-8 -*-*-
#
# gateway4labs is free software: you can redistribute it and/or modify
# it under the terms of the BSD 2-Clause License
# gateway4labs is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A P... | 25.176471 | 70 | 0.738318 | 64 | 428 | 4.8125 | 0.78125 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.186916 | 428 | 16 | 71 | 26.75 | 0.873563 | 0.757009 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7ad4c9095f06a38b7e7e88961a0468bf3872c86a | 231 | py | Python | ex28.py | amolborcar/learnpythonthehardway | e816fbc3f826d646168e57277274466b139d8d4e | [
"MIT"
] | null | null | null | ex28.py | amolborcar/learnpythonthehardway | e816fbc3f826d646168e57277274466b139d8d4e | [
"MIT"
] | null | null | null | ex28.py | amolborcar/learnpythonthehardway | e816fbc3f826d646168e57277274466b139d8d4e | [
"MIT"
] | null | null | null | '''
1. True y
2. False y
3. False y
4. True y
5. True y
6. False n
7. False y
8. True y
9. False y
10. False y
11. True y
12. False y
13. True y
14. False y
15. False y
16. True n
17. True y
18. True y
19. False y
20. False y
'''
| 9.625 | 11 | 0.614719 | 60 | 231 | 2.366667 | 0.4 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184524 | 0.272727 | 231 | 23 | 12 | 10.043478 | 0.660714 | 0.95671 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7adcd4a3053d15f33c486a501dae002ec4ac4961 | 174 | py | Python | apps/skill_tree/models.py | RIDPrivates/RIDAssistant | e892e4e0a41b5dbde1dc07a34c3b007d056166bd | [
"MIT"
] | null | null | null | apps/skill_tree/models.py | RIDPrivates/RIDAssistant | e892e4e0a41b5dbde1dc07a34c3b007d056166bd | [
"MIT"
] | null | null | null | apps/skill_tree/models.py | RIDPrivates/RIDAssistant | e892e4e0a41b5dbde1dc07a34c3b007d056166bd | [
"MIT"
] | null | null | null |
from django.conf import settings
from apps.core.models import BaseModel
from django.db import models
class SkillTree(BaseModel):
name = models.CharField(max_length=64) | 21.75 | 42 | 0.798851 | 25 | 174 | 5.52 | 0.68 | 0.144928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.132184 | 174 | 8 | 42 | 21.75 | 0.900662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7ae5726d5db720d1f77034d0d50ddfda45703f3b | 295 | py | Python | sync.py | equitypay/api-server | 6830501351c944c075e4792f941b23c9ff63e029 | [
"MIT"
] | 1 | 2021-11-07T10:05:23.000Z | 2021-11-07T10:05:23.000Z | sync.py | equitypay/api-server | 6830501351c944c075e4792f941b23c9ff63e029 | [
"MIT"
] | null | null | null | sync.py | equitypay/api-server | 6830501351c944c075e4792f941b23c9ff63e029 | [
"MIT"
] | null | null | null | from apscheduler.schedulers.blocking import BlockingScheduler
from server.sync import sync_blocks
from server.sync import sync_peers
background = BlockingScheduler()
background.add_job(sync_blocks, "interval", seconds=5)
background.add_job(sync_peers, "interval", minutes=1)
background.start()
| 32.777778 | 61 | 0.833898 | 38 | 295 | 6.315789 | 0.5 | 0.083333 | 0.116667 | 0.166667 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.077966 | 295 | 8 | 62 | 36.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.054237 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7aead350ca31eb320b877a02ace6697fc6d2bb11 | 3,584 | py | Python | scaletix/worker.py | Grindizer/scaletix | 79128d964668097142e6306efac10c7b36041b21 | [
"BSD-3-Clause"
] | 1 | 2017-10-16T20:42:54.000Z | 2017-10-16T20:42:54.000Z | scaletix/worker.py | Grindizer/scaletix | 79128d964668097142e6306efac10c7b36041b21 | [
"BSD-3-Clause"
] | null | null | null | scaletix/worker.py | Grindizer/scaletix | 79128d964668097142e6306efac10c7b36041b21 | [
"BSD-3-Clause"
] | null | null | null |
from multiprocessing import Process
import os
import socket
from struct import pack, unpack
from twisted.internet import reactor
from twisted.python import log
from zope.component import adapter
from zope.interface import implementer
from scaletix.interface import IWorker, IUsageStat
__author__ = 'nacim'
#TODO: hand... | 29.866667 | 113 | 0.655971 | 446 | 3,584 | 5.130045 | 0.331839 | 0.034965 | 0.042832 | 0.031469 | 0.043706 | 0.034528 | 0 | 0 | 0 | 0 | 0 | 0.010105 | 0.226842 | 3,584 | 120 | 114 | 29.866667 | 0.81559 | 0.182757 | 0 | 0.025641 | 0 | 0 | 0.018525 | 0 | 0 | 0 | 0 | 0.008333 | 0 | 1 | 0.25641 | false | 0 | 0.128205 | 0.102564 | 0.551282 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bb062d44ee758e2b0568396ccf809c4c82633db4 | 63 | py | Python | NewClass/__init__.py | Alberto-X3/Alberto-X3 | 268d1f1f8a59121d972c24335c5c26846bed2030 | [
"MIT"
] | 1 | 2021-03-04T21:34:31.000Z | 2021-03-04T21:34:31.000Z | NewClass/__init__.py | Alberto-X3/Alberto-X3 | 268d1f1f8a59121d972c24335c5c26846bed2030 | [
"MIT"
] | null | null | null | NewClass/__init__.py | Alberto-X3/Alberto-X3 | 268d1f1f8a59121d972c24335c5c26846bed2030 | [
"MIT"
] | null | null | null | __author__ = "Albert Unruh"
from .AttrDict import AttrDict
| 15.75 | 31 | 0.746032 | 7 | 63 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 32 | 21 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.