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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ef12e5396cb7ac53d9411d769fc7e09685ed7b82 | 1,453 | py | Python | personal_portfolio/vendor/migrations/0007_dokumenvendor.py | numbstudent/ghvms | 6d5f93c76498e0fa167b0ce7dfed53764242626f | [
"MIT"
] | null | null | null | personal_portfolio/vendor/migrations/0007_dokumenvendor.py | numbstudent/ghvms | 6d5f93c76498e0fa167b0ce7dfed53764242626f | [
"MIT"
] | null | null | null | personal_portfolio/vendor/migrations/0007_dokumenvendor.py | numbstudent/ghvms | 6d5f93c76498e0fa167b0ce7dfed53764242626f | [
"MIT"
] | null | null | null | # Generated by Django 3.1.6 on 2021-02-19 09:56
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('vendor', '0006_penanngun... | 41.514286 | 121 | 0.594632 | 149 | 1,453 | 5.624161 | 0.449664 | 0.196897 | 0.275656 | 0.301909 | 0.354415 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017447 | 0.250516 | 1,453 | 34 | 122 | 42.735294 | 0.752066 | 0.03097 | 0 | 0 | 1 | 0 | 0.13798 | 0.025605 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.107143 | 0 | 0.214286 | 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 |
ef4703a0ec5d9f7b3535f5414fa7cb780bb80386 | 43,558 | py | Python | Dataset/dataset.py | bigheiniu/BigData-MDA-WS | c93c32f1f36412e825d32f4d560ee3399a6f902c | [
"MIT"
] | null | null | null | Dataset/dataset.py | bigheiniu/BigData-MDA-WS | c93c32f1f36412e825d32f4d560ee3399a6f902c | [
"MIT"
] | null | null | null | Dataset/dataset.py | bigheiniu/BigData-MDA-WS | c93c32f1f36412e825d32f4d560ee3399a6f902c | [
"MIT"
] | null | null | null | import torch
import pandas as pd
from Util import data_split, data_split_val
import spacy
import numpy as np
import pickle
# nlp = spacy.load('en_core_web_sm')
import json
import dateparser
# from bson.int64 import Int64
from datetime import datetime
from sklearn.feature_extraction.text import CountVectorizer
from scip... | 47.552402 | 151 | 0.56194 | 5,464 | 43,558 | 4.163799 | 0.053807 | 0.04747 | 0.045888 | 0.018461 | 0.788537 | 0.752582 | 0.720672 | 0.686695 | 0.676058 | 0.664103 | 0 | 0.004567 | 0.336517 | 43,558 | 916 | 152 | 47.552402 | 0.782664 | 0.056316 | 0 | 0.580247 | 0 | 0 | 0.049185 | 0.008429 | 0 | 0 | 0 | 0 | 0.006859 | 1 | 0.038409 | false | 0 | 0.02332 | 0.010974 | 0.106996 | 0.021948 | 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 |
ef614b3b670b9951813a4742b0c5f045775a3eea | 362 | py | Python | journey11/src/interface/swarmenv.py | parrisma/AI-intuition | 3b081696b1d226815e029cbb536fac5e4d3de9a7 | [
"MIT"
] | null | null | null | journey11/src/interface/swarmenv.py | parrisma/AI-intuition | 3b081696b1d226815e029cbb536fac5e4d3de9a7 | [
"MIT"
] | 4 | 2020-04-26T18:18:22.000Z | 2020-05-16T14:47:32.000Z | journey11/src/interface/swarmenv.py | parrisma/AI-intuition | 3b081696b1d226815e029cbb536fac5e4d3de9a7 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from journey11.src.interface.agent import Agent
from journey11.src.lib.purevirtual import purevirtual
class SwarmEnv(ABC):
@abstractmethod
@purevirtual
def associate(self,
participant: Agent) -> None:
"""
Associate the given participant... | 24.133333 | 55 | 0.660221 | 38 | 362 | 6.289474 | 0.605263 | 0.142259 | 0.133891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015094 | 0.267956 | 362 | 14 | 56 | 25.857143 | 0.886792 | 0.129834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.333333 | 0 | 0.555556 | 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 |
324997acd650dbeb4851af952ca1286e8318d9f9 | 149 | py | Python | task 1.py | IMDCGP105-1819/portfolio-s184286 | e5485f640f341090823bbcaabe287376a048b2c4 | [
"MIT"
] | null | null | null | task 1.py | IMDCGP105-1819/portfolio-s184286 | e5485f640f341090823bbcaabe287376a048b2c4 | [
"MIT"
] | null | null | null | task 1.py | IMDCGP105-1819/portfolio-s184286 | e5485f640f341090823bbcaabe287376a048b2c4 | [
"MIT"
] | null | null | null | def remove_dups(L1,L2):
for e in L1:
if e in L2:
L1.remove(e)
L1=[1,2,3,4]
L2=[1,2,5,6]
remove_dups(L1,L2)
print(L1)
print(L2)
| 12.416667 | 24 | 0.557047 | 34 | 149 | 2.382353 | 0.470588 | 0.246914 | 0.296296 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171171 | 0.255034 | 149 | 11 | 25 | 13.545455 | 0.558559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.111111 | 0.222222 | 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 |
32666bb4d39991d63353cbcfd25ff28b492cec7a | 3,087 | py | Python | daiquiri/query/tests/test_permissions.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 14 | 2018-12-23T18:35:02.000Z | 2021-12-15T04:55:12.000Z | daiquiri/query/tests/test_permissions.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 40 | 2018-12-20T12:44:05.000Z | 2022-03-21T11:35:20.000Z | daiquiri/query/tests/test_permissions.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 5 | 2019-05-16T08:03:35.000Z | 2021-08-23T20:03:11.000Z | from django.contrib.auth.models import User
from django.test import TestCase
from daiquiri.query.process import check_permissions
class QueryPermissionsTestCase(TestCase):
databases = ('default', 'data', 'tap', 'oai')
fixtures = (
'auth.json',
'metadata.json'
)
users = (
('... | 28.850467 | 82 | 0.555232 | 297 | 3,087 | 5.59596 | 0.178451 | 0.108303 | 0.135379 | 0.156438 | 0.720217 | 0.720217 | 0.720217 | 0.694946 | 0.694946 | 0.665463 | 0 | 0 | 0.2977 | 3,087 | 106 | 83 | 29.122642 | 0.766605 | 0 | 0 | 0.560976 | 0 | 0 | 0.186265 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 1 | 0.073171 | false | 0 | 0.036585 | 0 | 0.158537 | 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 |
326f9738cea416da84c9424de6cd2255956dd8bb | 109 | py | Python | api/response.py | owensengoku/twitter-api | 564fbcfb76232251d7f6b73e47a630b5270c4ef0 | [
"Apache-2.0"
] | null | null | null | api/response.py | owensengoku/twitter-api | 564fbcfb76232251d7f6b73e47a630b5270c4ef0 | [
"Apache-2.0"
] | null | null | null | api/response.py | owensengoku/twitter-api | 564fbcfb76232251d7f6b73e47a630b5270c4ef0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
def response_message(msg):
data = {
'message': msg
}
return data | 15.571429 | 26 | 0.513761 | 12 | 109 | 4.583333 | 0.75 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.321101 | 109 | 7 | 27 | 15.571429 | 0.72973 | 0.192661 | 0 | 0 | 0 | 0 | 0.08046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 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 |
326fe44016aa4aafaaca22d319f492b57ffd6486 | 4,243 | py | Python | scripts/nnds.py | tiagocesarsantos/Probability-Collectives | 961eae2908c7fc8e688d9d4c771e7f3aba78b2d8 | [
"MIT"
] | null | null | null | scripts/nnds.py | tiagocesarsantos/Probability-Collectives | 961eae2908c7fc8e688d9d4c771e7f3aba78b2d8 | [
"MIT"
] | null | null | null | scripts/nnds.py | tiagocesarsantos/Probability-Collectives | 961eae2908c7fc8e688d9d4c771e7f3aba78b2d8 | [
"MIT"
] | null | null | null | import numpy as np
import math
alpha = 1.0
agents = 3
mi = 3
T = 0.1
epsilon = 0.0001
np.set_printoptions(formatter={'float': lambda x: "{0:0.3f}".format(x)})
def function_sphere(comb_strategy):
sum_ = 0.0
for i in range(0, len(comb_strategy)):
sum_ = sum_ + math.pow(comb_strategy[i], 2.0)
return sum_
d... | 19.026906 | 226 | 0.438605 | 726 | 4,243 | 2.464187 | 0.125344 | 0.150922 | 0.145333 | 0.261599 | 0.450531 | 0.384572 | 0.278368 | 0.264952 | 0.23924 | 0.23924 | 0 | 0.169492 | 0.304737 | 4,243 | 222 | 227 | 19.112613 | 0.436949 | 0.016498 | 0 | 0.075269 | 0 | 0 | 0.021936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.021505 | null | null | 0.064516 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3289fa8f3392fa4e76dcc35803bfc552b68ad2b9 | 162 | py | Python | tests/test_main.py | andela-ojoloko/Todo-Api | eef0bbf89d5c40249316211dfc9d5b8385775ad7 | [
"MIT"
] | null | null | null | tests/test_main.py | andela-ojoloko/Todo-Api | eef0bbf89d5c40249316211dfc9d5b8385775ad7 | [
"MIT"
] | null | null | null | tests/test_main.py | andela-ojoloko/Todo-Api | eef0bbf89d5c40249316211dfc9d5b8385775ad7 | [
"MIT"
] | null | null | null | from .base import BaseTestCase
class TestMain(BaseTestCase):
def test_app_get(self):
response = self.client.get('/')
self.assert200(response) | 27 | 39 | 0.691358 | 19 | 162 | 5.789474 | 0.736842 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023077 | 0.197531 | 162 | 6 | 40 | 27 | 0.823077 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3299b2b36c7cafa1fd6d8428f5ac38f1ae6a59a3 | 149 | py | Python | celery_worker.py | wizlif/flask-vuejs | fc48065665d2f66ca8899468c8e132e86e75fe1b | [
"MIT"
] | 2 | 2019-12-31T18:20:51.000Z | 2020-05-15T11:20:56.000Z | celery_worker.py | wizlif/flask-vuejs | fc48065665d2f66ca8899468c8e132e86e75fe1b | [
"MIT"
] | 5 | 2021-03-09T08:02:07.000Z | 2022-03-08T21:09:55.000Z | celery_worker.py | wizlif/flask-vuejs | fc48065665d2f66ca8899468c8e132e86e75fe1b | [
"MIT"
] | 1 | 2019-12-31T18:20:54.000Z | 2019-12-31T18:20:54.000Z | #!/usr/bin/env python
import os
from app import celery, create_app
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
app.app_context().push()
| 24.833333 | 56 | 0.751678 | 25 | 149 | 4.32 | 0.68 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100671 | 149 | 5 | 57 | 29.8 | 0.80597 | 0.134228 | 0 | 0 | 0 | 0 | 0.148438 | 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 |
32c0abf4efd0855d9a21df98f89e75f80af4f82a | 88 | py | Python | challenge1/imageIO.py | IrinaDmt/SchoolExercises | 8c692fae194e7bc5deb576e75df140e091875ead | [
"Apache-2.0"
] | 2 | 2016-09-06T11:31:00.000Z | 2016-09-06T11:31:52.000Z | challenge1/imageIO.py | irinaid/SchoolExercises | 8c692fae194e7bc5deb576e75df140e091875ead | [
"Apache-2.0"
] | null | null | null | challenge1/imageIO.py | irinaid/SchoolExercises | 8c692fae194e7bc5deb576e75df140e091875ead | [
"Apache-2.0"
] | null | null | null | from PIL import Image
im = Image.open("pencils.jpg")
im.save("new_image.jpg", "JPEG")
| 14.666667 | 32 | 0.693182 | 15 | 88 | 4 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 5 | 33 | 17.6 | 0.779221 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 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 |
0875dc019499a8de828a2c2c0ad7a63e2717c159 | 1,471 | py | Python | challenges/quicksort/test_quicksort.py | asakatida/data-structures-and-algorithms.py | 587d1a66a6c15a3c7d7786275608f065687e1810 | [
"MIT"
] | null | null | null | challenges/quicksort/test_quicksort.py | asakatida/data-structures-and-algorithms.py | 587d1a66a6c15a3c7d7786275608f065687e1810 | [
"MIT"
] | 2 | 2020-09-24T13:13:49.000Z | 2021-06-25T15:15:35.000Z | challenges/quicksort/test_quicksort.py | grandquista/data-structures-and-algorithms.py | 587d1a66a6c15a3c7d7786275608f065687e1810 | [
"MIT"
] | null | null | null | from random import shuffle
from .quicksort import quicksort
def quicksort_test(input):
"""
Helper to compare sort methods.
"""
output = quicksort(input)
return output, sorted(output)
def test_empty_quicksort():
"""
Test empty array with quicksort.
"""
left, right = quicksort_tes... | 20.150685 | 76 | 0.605031 | 188 | 1,471 | 4.606383 | 0.228723 | 0.225173 | 0.145497 | 0.177829 | 0.490762 | 0.41455 | 0.334873 | 0.242494 | 0.242494 | 0.140878 | 0 | 0.031746 | 0.271924 | 1,471 | 72 | 77 | 20.430556 | 0.776844 | 0.183549 | 0 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 1 | 0.258065 | false | 0 | 0.064516 | 0 | 0.354839 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 3 |
088d487da4c4ddbbcc71cf298a31d48e439a9aef | 48 | py | Python | packages/qsmstoken/qsmstoken/clients/aliyunsms/api_sdk/aliyun-python-sdk-core/aliyunsdkcore/__init__.py | lianxiaopang/camel-store-api | b8021250bf3d8cf7adc566deebdba55225148316 | [
"Apache-2.0"
] | 12 | 2020-02-01T01:52:01.000Z | 2021-04-28T15:06:43.000Z | packages/qsmstoken/qsmstoken/clients/aliyunsms/api_sdk/aliyun-python-sdk-core/aliyunsdkcore/__init__.py | lianxiaopang/camel-store-api | b8021250bf3d8cf7adc566deebdba55225148316 | [
"Apache-2.0"
] | 5 | 2020-02-06T08:07:58.000Z | 2020-06-02T13:03:45.000Z | packages/qsmstoken/qsmstoken/clients/aliyunsms/api_sdk/aliyun-python-sdk-core/aliyunsdkcore/__init__.py | lianxiaopang/camel-store-api | b8021250bf3d8cf7adc566deebdba55225148316 | [
"Apache-2.0"
] | 11 | 2020-02-03T13:07:46.000Z | 2020-11-29T01:44:06.000Z | __author__ = 'alex jiang'
__version__ = '2.3.1'
| 16 | 25 | 0.6875 | 7 | 48 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.145833 | 48 | 2 | 26 | 24 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
089b914cd22f60c17c0860db50359c8bb241aba1 | 424 | py | Python | taobao-tianmao/Qimen/top/api/rest/WarehouseinfoSynchronizeRequest.py | ScottLeeF/python-example | 0b230ba80fe5020d70329a9d73e058013f0ca111 | [
"Apache-2.0"
] | null | null | null | taobao-tianmao/Qimen/top/api/rest/WarehouseinfoSynchronizeRequest.py | ScottLeeF/python-example | 0b230ba80fe5020d70329a9d73e058013f0ca111 | [
"Apache-2.0"
] | 7 | 2021-03-19T02:12:42.000Z | 2022-03-12T00:25:28.000Z | taobao-tianmao/Qimen/top/api/rest/WarehouseinfoSynchronizeRequest.py | ScottLeeF/python-example | 0b230ba80fe5020d70329a9d73e058013f0ca111 | [
"Apache-2.0"
] | null | null | null | '''
Created by auto_sdk on 2019.10.23
'''
from top.api.base import RestApi
class WarehouseinfoSynchronizeRequest(RestApi):
def __init__(self, domain='gw.api.taobao.com', port=80):
RestApi.__init__(self, domain, port)
self.ownerCode = None
self.ownerName = None
self.wareh... | 26.5 | 61 | 0.662736 | 49 | 424 | 5.55102 | 0.693878 | 0.058824 | 0.102941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.233491 | 424 | 15 | 62 | 28.266667 | 0.806154 | 0.07783 | 0 | 0 | 0 | 0 | 0.149457 | 0.103261 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 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 |
089f0f24393eb158f47525478c9c23e838cffffc | 347 | py | Python | choice.py | vitohugo1207/RollDice | 51b226f9c8928dbf7646e22345881d412e7d6e92 | [
"MIT"
] | null | null | null | choice.py | vitohugo1207/RollDice | 51b226f9c8928dbf7646e22345881d412e7d6e92 | [
"MIT"
] | null | null | null | choice.py | vitohugo1207/RollDice | 51b226f9c8928dbf7646e22345881d412e7d6e92 | [
"MIT"
] | null | null | null | from random import choice
class choiceClass():
def __init__(self, choiceOne):
self.choiceOne = choiceOne
def strForList(self):
self.choiceOne = list(self.choiceOne.split(","))
def dataShow():
print(f'')
def choiceDef(self):
self.strForList()
chos... | 23.133333 | 57 | 0.599424 | 35 | 347 | 5.828571 | 0.514286 | 0.318627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285303 | 347 | 15 | 58 | 23.133333 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0.002994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0 | 0.545455 | 0.090909 | 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 |
08b513f931462701313ea62a319f5cdeff221830 | 414 | py | Python | src/charma/movies/related_countries/api.py | mononobi/charma-server | ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced | [
"BSD-3-Clause"
] | 1 | 2020-01-16T23:36:10.000Z | 2020-01-16T23:36:10.000Z | src/charma/movies/related_countries/api.py | mononobi/imovie-server | ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced | [
"BSD-3-Clause"
] | 24 | 2020-06-08T18:27:04.000Z | 2021-06-06T12:01:39.000Z | src/charma/movies/related_countries/api.py | mononobi/charma-server | ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced | [
"BSD-3-Clause"
] | 1 | 2020-12-20T05:29:04.000Z | 2020-12-20T05:29:04.000Z | # -*- coding: utf-8 -*-
"""
movies related countries api module.
"""
from pyrin.api.router.decorators import api
from pyrin.core.enumerations import HTTPMethodEnum
import charma.movies.related_countries.services as related_country_services
# Usage:
# you could implement different api functions here and call corresp... | 27.6 | 98 | 0.794686 | 54 | 414 | 5.981481 | 0.703704 | 0.080495 | 0.136223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00274 | 0.118357 | 414 | 14 | 99 | 29.571429 | 0.882192 | 0.538647 | 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 |
08c253a7dc0426174b6ab4620f1d2199d3d84388 | 50 | py | Python | ex047.py | carlosvcerqueira/Projetos-Python | 2fb91a0be8abf436af6a1d57fb2a1eafd0d30394 | [
"MIT"
] | null | null | null | ex047.py | carlosvcerqueira/Projetos-Python | 2fb91a0be8abf436af6a1d57fb2a1eafd0d30394 | [
"MIT"
] | null | null | null | ex047.py | carlosvcerqueira/Projetos-Python | 2fb91a0be8abf436af6a1d57fb2a1eafd0d30394 | [
"MIT"
] | null | null | null | for n in range(0, 51, 2):
print(n, end=' ')
| 16.666667 | 26 | 0.48 | 10 | 50 | 2.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0.3 | 50 | 2 | 27 | 25 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 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 |
08e5cc33f96ef2f525893ea1410672f6a2861e75 | 1,081 | py | Python | backend/about/serializers.py | Sasha-hk/STETI | 654362c0a16cf88c99d02d9534ac0ee81c84d4ba | [
"MIT"
] | 9 | 2021-09-18T20:53:18.000Z | 2022-02-28T22:23:04.000Z | backend/about/serializers.py | Sasha-hk/STETI | 654362c0a16cf88c99d02d9534ac0ee81c84d4ba | [
"MIT"
] | 74 | 2021-11-13T11:55:27.000Z | 2021-12-03T19:08:28.000Z | backend/about/serializers.py | Sasha-hk/STETI | 654362c0a16cf88c99d02d9534ac0ee81c84d4ba | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import *
class AboutSerializer(serializers.ModelSerializer):
class Meta:
model = About
fields = "__all__"
class AdministrationSerializer(serializers.ModelSerializer):
class Meta:
model = Administration
fields = "__all__"
... | 22.061224 | 71 | 0.682701 | 88 | 1,081 | 8.079545 | 0.397727 | 0.255978 | 0.305204 | 0.344585 | 0.452883 | 0.171589 | 0.171589 | 0 | 0 | 0 | 0 | 0.002439 | 0.241443 | 1,081 | 48 | 72 | 22.520833 | 0.864634 | 0 | 0 | 0.46875 | 0 | 0 | 0.068455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
08f039cfca347691bbe998a6a8dccfd83001d61c | 23 | py | Python | main/perl-parse-yapp/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | null | null | null | main/perl-parse-yapp/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | null | null | null | main/perl-parse-yapp/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | null | null | null | pkgname = "Parse-Yapp"
| 11.5 | 22 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
08f12a58903dab0fdcee07dc8fb28e8a19a4cbd0 | 1,548 | py | Python | titania/trainers/generic_managers.py | nathan-az/titania | 98e49e73a66fc98ca0aba4d56f362ae574fd6fbe | [
"Apache-2.0"
] | null | null | null | titania/trainers/generic_managers.py | nathan-az/titania | 98e49e73a66fc98ca0aba4d56f362ae574fd6fbe | [
"Apache-2.0"
] | null | null | null | titania/trainers/generic_managers.py | nathan-az/titania | 98e49e73a66fc98ca0aba4d56f362ae574fd6fbe | [
"Apache-2.0"
] | null | null | null | from abc import ABC, abstractmethod
import cloudpickle
import pandas as pd
import pyspark
class BaseModelManager(ABC):
@abstractmethod
def __init__(self, *args, **kwargs):
raise NotImplementedError
@abstractmethod
def train(self, *args, **kwargs):
raise NotImplementedError
@abst... | 25.8 | 72 | 0.638889 | 169 | 1,548 | 5.769231 | 0.242604 | 0.122051 | 0.194872 | 0.210256 | 0.568205 | 0.475897 | 0.475897 | 0.475897 | 0.225641 | 0.225641 | 0 | 0 | 0.25646 | 1,548 | 59 | 73 | 26.237288 | 0.847089 | 0 | 0 | 0.533333 | 0 | 0 | 0.002584 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.244444 | false | 0 | 0.088889 | 0 | 0.377778 | 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 |
3ebf966bbba8d58ad38aff6600c932dd9f9d9d7d | 3,693 | py | Python | locker.py | fevenMwoldu/passwordLocker | 56939563ec85aa564ea55174b738d20eb3abc75c | [
"MIT"
] | null | null | null | locker.py | fevenMwoldu/passwordLocker | 56939563ec85aa564ea55174b738d20eb3abc75c | [
"MIT"
] | null | null | null | locker.py | fevenMwoldu/passwordLocker | 56939563ec85aa564ea55174b738d20eb3abc75c | [
"MIT"
] | null | null | null | import random
class User:
'''
class that generates new instances of User
'''
user_list = [] # Empty user list
def __init__(self, first_name, password):
'''
__init__ method that helps us define properties for our objects.
'''
self.first_name = first_name
... | 27.154412 | 105 | 0.607636 | 427 | 3,693 | 5.088993 | 0.199063 | 0.040497 | 0.022089 | 0.016567 | 0.4289 | 0.316613 | 0.201565 | 0.201565 | 0.201565 | 0.201565 | 0 | 0.004794 | 0.322231 | 3,693 | 135 | 106 | 27.355556 | 0.863364 | 0.326835 | 0 | 0.314815 | 1 | 0 | 0.035543 | 0.035543 | 0 | 0 | 0 | 0 | 0 | 1 | 0.240741 | false | 0.166667 | 0.018519 | 0 | 0.518519 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3ec7d5b9f63e6a876cf96a85c4bbbb3bf011fcac | 417 | py | Python | 7term/TT/compiler/lab4/Label.py | nik-sergeson/bsuir-informatics-labs | 14805fb83b8e2324580b6253158565068595e804 | [
"Apache-2.0"
] | null | null | null | 7term/TT/compiler/lab4/Label.py | nik-sergeson/bsuir-informatics-labs | 14805fb83b8e2324580b6253158565068595e804 | [
"Apache-2.0"
] | null | null | null | 7term/TT/compiler/lab4/Label.py | nik-sergeson/bsuir-informatics-labs | 14805fb83b8e2324580b6253158565068595e804 | [
"Apache-2.0"
] | null | null | null | class Label(object):
def __init__(self):
self.label = LabelGenerator.get_next()
def __str__(self):
return self.label
def __eq__(self, other):
return self.label == other.label
class LabelGenerator(object):
_next_label = 0
@classmethod
def get_next(cls):
next_l... | 20.85 | 46 | 0.630695 | 52 | 417 | 4.634615 | 0.346154 | 0.186722 | 0.149378 | 0.124481 | 0.149378 | 0.149378 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.266187 | 417 | 19 | 47 | 21.947368 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.019185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3ec8db205e1458b0d97dbaddf4b12e01786bcf8a | 211 | py | Python | src/distribucion.py | binary-hideout/simulacion-cine | f091a67e5c3c2d7936fae7b8207bbf97bfb137d5 | [
"MIT"
] | null | null | null | src/distribucion.py | binary-hideout/simulacion-cine | f091a67e5c3c2d7936fae7b8207bbf97bfb137d5 | [
"MIT"
] | null | null | null | src/distribucion.py | binary-hideout/simulacion-cine | f091a67e5c3c2d7936fae7b8207bbf97bfb137d5 | [
"MIT"
] | null | null | null | from random import random
def distribucion(sd: float, m: float) -> float:
suma = sum(random() for _ in range(12))
normal = m + (sd * (suma - 6))
return normal if normal > 0 else distribucion(sd, m)
| 30.142857 | 56 | 0.63981 | 32 | 211 | 4.1875 | 0.625 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.232227 | 211 | 6 | 57 | 35.166667 | 0.802469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3ec9e98b0bd7a966cec7ae9473935a608fcde180 | 57 | py | Python | cpeptools/metrics/rmsd.py | hjuinj/cpeptools | ef164ffa2a1316abd9bae5c44a113cc928aca195 | [
"MIT"
] | 4 | 2020-04-07T00:35:44.000Z | 2022-01-04T12:27:03.000Z | cpeptools/metrics/rmsd.py | hjuinj/cpeptools | ef164ffa2a1316abd9bae5c44a113cc928aca195 | [
"MIT"
] | null | null | null | cpeptools/metrics/rmsd.py | hjuinj/cpeptools | ef164ffa2a1316abd9bae5c44a113cc928aca195 | [
"MIT"
] | 2 | 2021-02-04T19:30:40.000Z | 2021-12-09T10:17:57.000Z | raise NotImplementedError("Is this actually necessary?")
| 28.5 | 56 | 0.824561 | 6 | 57 | 7.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 57 | 1 | 57 | 57 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3edbcfe7151a625cb9c5322ce19da0c8b0508acf | 78 | py | Python | Flask/08-Social-Blog-Project/01-Basic-Setup/puppycompanyblog/__init__.py | Sandy1811/python-for-all | fdb6878d93502773ba8da809c2de1b33c96fb9a0 | [
"Apache-2.0"
] | 1 | 2019-08-07T08:05:32.000Z | 2019-08-07T08:05:32.000Z | Flask/08-Social-Blog-Project/01-Basic-Setup/puppycompanyblog/__init__.py | Sandy1811/demandforecasting | fdb6878d93502773ba8da809c2de1b33c96fb9a0 | [
"Apache-2.0"
] | 8 | 2021-02-08T20:32:03.000Z | 2022-03-11T23:56:31.000Z | Flask/08-Social-Blog-Project/01-Basic-Setup/puppycompanyblog/__init__.py | Sandy1811/demandforecasting | fdb6878d93502773ba8da809c2de1b33c96fb9a0 | [
"Apache-2.0"
] | null | null | null | # puppycompanyblog/__init__.py
from flask import Flask
app = Flask(__name__)
| 15.6 | 30 | 0.794872 | 10 | 78 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 78 | 4 | 31 | 19.5 | 0.794118 | 0.358974 | 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 |
3eec3a688476545667bca40025dcb5bb3d36eda7 | 456 | py | Python | Sorting/MergeSort/merge_sort_test.py | mhd53/Algorithms | 81324825827ac776d45844d79f4aa75a4ad5af11 | [
"MIT"
] | null | null | null | Sorting/MergeSort/merge_sort_test.py | mhd53/Algorithms | 81324825827ac776d45844d79f4aa75a4ad5af11 | [
"MIT"
] | null | null | null | Sorting/MergeSort/merge_sort_test.py | mhd53/Algorithms | 81324825827ac776d45844d79f4aa75a4ad5af11 | [
"MIT"
] | null | null | null | from __future__ import annotations
import pytest
from mergeSort import *
def test_merge_sort():
l = [10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
mergeSort(l)
assert l == [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
l2 = [100, 200, 100, 203, 100, 40, 30, 1, 22, 21, 37, 1000, 101]
mergeSort(l2)
assert l2 == [1, 21, 22, ... | 22.8 | 76 | 0.578947 | 80 | 456 | 3.1 | 0.4625 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266862 | 0.252193 | 456 | 19 | 77 | 24 | 0.460411 | 0 | 0 | 0.153846 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.076923 | false | 0 | 0.307692 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
41283d9e2f4474f213d191a18e69c27274559a80 | 260 | py | Python | exercicios curso em video/ex076.py | Nilton-Miguel/Prog_Python3 | 4cabcb1a30dde6ababce3cb8d1fbb7d417cb1d8b | [
"MIT"
] | null | null | null | exercicios curso em video/ex076.py | Nilton-Miguel/Prog_Python3 | 4cabcb1a30dde6ababce3cb8d1fbb7d417cb1d8b | [
"MIT"
] | null | null | null | exercicios curso em video/ex076.py | Nilton-Miguel/Prog_Python3 | 4cabcb1a30dde6ababce3cb8d1fbb7d417cb1d8b | [
"MIT"
] | null | null | null | lista = ("Lápis", 1.00, "Borracha", 2.50, "Caneta BIC", 1.00, "Resma de papel", 20.00, "Elásticos", 0.50)
print("")
for g in range(0, len(lista), 2):
print(f"{lista[g]:.<40}", end=" ")
print("R$", end="")
print(f"{lista[g + 1]:>6.2f}")
| 26 | 106 | 0.507692 | 44 | 260 | 3 | 0.613636 | 0.045455 | 0.166667 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11165 | 0.207692 | 260 | 9 | 107 | 28.888889 | 0.529126 | 0 | 0 | 0 | 0 | 0 | 0.334661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 |
f5e3a91ca990ffaad198bacee1980064ff0bb3c8 | 420 | py | Python | tests/test_implementation/test_function.py | diarts/overload | 4a84de5c5284bc9c36a93b1a25ec1c30c8110d76 | [
"MIT"
] | null | null | null | tests/test_implementation/test_function.py | diarts/overload | 4a84de5c5284bc9c36a93b1a25ec1c30c8110d76 | [
"MIT"
] | null | null | null | tests/test_implementation/test_function.py | diarts/overload | 4a84de5c5284bc9c36a93b1a25ec1c30c8110d76 | [
"MIT"
] | null | null | null | import pytest
from .data import TEST_FUNCTION_IMPLEMENTATION_COMPARE
@pytest.mark.implementation
@pytest.mark.parametrize(
'implementation,named,unnamed,compare_result',
TEST_FUNCTION_IMPLEMENTATION_COMPARE,
)
def test_function_implementation_compare(implementation, named, unnamed,
... | 30 | 72 | 0.75 | 41 | 420 | 7.390244 | 0.365854 | 0.277228 | 0.257426 | 0.326733 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 420 | 13 | 73 | 32.307692 | 0.883382 | 0 | 0 | 0 | 0 | 0 | 0.102381 | 0.102381 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.2 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eb1e5fb52e912c47aa133a4fb44bee402f4191f5 | 149 | py | Python | src/__init__.py | Geektrovert/ProgressDown | 6111fe357098e2a8bb961257acc916ff0a74c1f1 | [
"MIT"
] | 11 | 2019-08-18T09:02:52.000Z | 2019-08-29T00:10:22.000Z | src/__init__.py | Geektrovert/ProgressDown | 6111fe357098e2a8bb961257acc916ff0a74c1f1 | [
"MIT"
] | 8 | 2019-08-18T10:51:59.000Z | 2020-05-09T21:01:59.000Z | src/__init__.py | YAS-opensource/ProgRace | 6111fe357098e2a8bb961257acc916ff0a74c1f1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
from flask import Flask
from src.routers import blueprint
app = Flask(__name__)
app.register_blueprint(blueprint) | 14.9 | 33 | 0.791946 | 22 | 149 | 5.136364 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127517 | 149 | 10 | 34 | 14.9 | 0.869231 | 0.134228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.4 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
eb3ee0c67fc2561c20d76fb746c7266f29b49bee | 190 | py | Python | pylabutils/__init__.py | mariogarcc/pylabutils | 98146f83716a2cef52fce1734d4d9ab4cbae7f22 | [
"MIT"
] | 1 | 2019-02-11T10:21:55.000Z | 2019-02-11T10:21:55.000Z | pylabutils/__init__.py | mariogarcc/pylabutils | 98146f83716a2cef52fce1734d4d9ab4cbae7f22 | [
"MIT"
] | 1 | 2019-02-19T16:05:35.000Z | 2019-02-19T16:23:21.000Z | pylabutils/__init__.py | mariogarcc/pylabutils | 98146f83716a2cef52fce1734d4d9ab4cbae7f22 | [
"MIT"
] | 2 | 2018-10-12T15:32:47.000Z | 2019-02-17T16:18:10.000Z | from . import numfit
from .numfit import *
from . import utils
from .utils import *
from ._tools._colors import color_dict
__all__ = []
__all__ += numfit.__all__
__all__ += utils.__all__
| 15.833333 | 38 | 0.742105 | 25 | 190 | 4.72 | 0.36 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 190 | 11 | 39 | 17.272727 | 0.746835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
de1c538131146973427810d17f2141c836b31d27 | 2,483 | py | Python | CUADERNOS DE TRABAJO/CUADERNO 3/ej 2 cuaderno 3 suma componentes lista.py | lauram15a/Fundamentos_de_programacion | baf321658d4be57dfd50db569ed8d5ca379a9f0c | [
"MIT"
] | null | null | null | CUADERNOS DE TRABAJO/CUADERNO 3/ej 2 cuaderno 3 suma componentes lista.py | lauram15a/Fundamentos_de_programacion | baf321658d4be57dfd50db569ed8d5ca379a9f0c | [
"MIT"
] | null | null | null | CUADERNOS DE TRABAJO/CUADERNO 3/ej 2 cuaderno 3 suma componentes lista.py | lauram15a/Fundamentos_de_programacion | baf321658d4be57dfd50db569ed8d5ca379a9f0c | [
"MIT"
] | null | null | null | #LAURA MAMBRILLA MORENO
#Ej 2 Cuaderno 3
"""
Escribe un subprograma que calcule el producto de dos números enteros leídos
desde el teclado sin utilizar el operador de multiplicación *. Ej: si recibe 2 y 3
devuelve 6; si recibe 2 y 0 devuelve 0; si recibe -3 y 2 dará -6. El programa no
asumirá que los números son mayor... | 27.285714 | 112 | 0.577124 | 349 | 2,483 | 3.979943 | 0.269341 | 0.172786 | 0.230382 | 0.143988 | 0.437725 | 0.404608 | 0.404608 | 0.387329 | 0.354212 | 0.287977 | 0 | 0.019952 | 0.33387 | 2,483 | 90 | 113 | 27.588889 | 0.819831 | 0.285139 | 0 | 0.733333 | 0 | 0 | 0.024928 | 0 | 0 | 0 | 0 | 0.011111 | 0 | 1 | 0.05 | false | 0 | 0 | 0 | 0.233333 | 0.066667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
de8dfbaef777afc8dcd654c62c18e4272e9d77a2 | 746 | py | Python | tests/old/test_targetwrite.py | richardt94/landshark | e4f347857a750d050d2cd568c6bcbd8f4a6c1f7f | [
"Apache-2.0"
] | 10 | 2019-03-05T23:53:58.000Z | 2021-12-17T08:27:05.000Z | tests/old/test_targetwrite.py | richardt94/landshark | e4f347857a750d050d2cd568c6bcbd8f4a6c1f7f | [
"Apache-2.0"
] | 7 | 2019-03-05T05:39:02.000Z | 2020-02-03T01:10:40.000Z | tests/old/test_targetwrite.py | richardt94/landshark | e4f347857a750d050d2cd568c6bcbd8f4a6c1f7f | [
"Apache-2.0"
] | 8 | 2019-03-23T22:55:25.000Z | 2021-01-12T05:14:31.000Z | # """Tests for target writing importer module."""
# from landshark.importers import targetwrite
# def test_write_targetfile(mocker):
# """Checks that the writer calls the correct functions."""
# call = mocker.mock_module.call
# m_open = mocker.patch('landshark.importers.targetwrite.tables.open_file')
# ... | 39.263158 | 79 | 0.678284 | 92 | 746 | 5.315217 | 0.619565 | 0.110429 | 0.0818 | 0.118609 | 0.163599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206434 | 746 | 18 | 80 | 41.444444 | 0.826014 | 0.953083 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.055556 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
decb3efb6d5c18bf980b05697bde2a43b3f11648 | 919 | py | Python | djangoprj/test_runner.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | djangoprj/test_runner.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | djangoprj/test_runner.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | from django.test import TransactionTestCase
from django.test.runner import DiscoverRunner
from unittest.suite import TestSuite
class IntegrationTestRunner(DiscoverRunner):
def build_suite(self, *args, **kwargs):
suite = super().build_suite(*args, **kwargs)
tests = [t for t in suite._tests if self... | 28.71875 | 66 | 0.68988 | 109 | 919 | 5.66055 | 0.311927 | 0.06483 | 0.045381 | 0.055105 | 0.453809 | 0.453809 | 0.453809 | 0.453809 | 0.453809 | 0.453809 | 0 | 0 | 0.206746 | 919 | 31 | 67 | 29.645161 | 0.846365 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.095238 | 0.142857 | 0.095238 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
defa4e3392c24ab1f010fd87da0f6446d08d3b6b | 219 | py | Python | bitmovin_api_sdk/models/prewarmed_encoder_pool_action.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/models/prewarmed_encoder_pool_action.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/models/prewarmed_encoder_pool_action.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | # coding: utf-8
from enum import Enum
from six import string_types, iteritems
from bitmovin_api_sdk.common.poscheck import poscheck_model
class PrewarmedEncoderPoolAction(Enum):
START = "START"
STOP = "STOP"
| 19.909091 | 59 | 0.771689 | 29 | 219 | 5.689655 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.159817 | 219 | 10 | 60 | 21.9 | 0.891304 | 0.059361 | 0 | 0 | 0 | 0 | 0.044118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
defc1ba85a27600db39d4e6f84009744add6d8b6 | 9,126 | py | Python | INT_headerstack/udp_scripts/send_udp_flows.py | vksysd/P4_INT | ddf51610cbdcc1e79f493df42f87a37f320360b6 | [
"Apache-2.0"
] | 10 | 2020-09-04T16:20:34.000Z | 2022-03-28T03:51:32.000Z | INT_headerstack/udp_scripts/send_udp_flows.py | ZengXin2021/P4_INT | ddf51610cbdcc1e79f493df42f87a37f320360b6 | [
"Apache-2.0"
] | 5 | 2018-11-25T03:42:33.000Z | 2019-04-29T03:42:06.000Z | INT_headerstack/udp_scripts/send_udp_flows.py | ZengXin2021/P4_INT | ddf51610cbdcc1e79f493df42f87a37f320360b6 | [
"Apache-2.0"
] | 3 | 2020-10-23T03:43:21.000Z | 2022-03-06T12:24:13.000Z | import client
import threading
import sys
import time
from datetime import datetime
#elephant flows
total_packets_sent_thread1 = 0
total_packets_sent_thread2 = 0
total_packets_sent_thread3 = 0
total_packets_sent_thread4 = 0
total_exp_time = 450
end_t2 = 0
num_threads = 2;
if len(sys.argv) < 2:
print ("./server.py... | 41.481818 | 137 | 0.769012 | 1,370 | 9,126 | 4.676642 | 0.084672 | 0.136725 | 0.182301 | 0.046356 | 0.795692 | 0.769627 | 0.727954 | 0.688622 | 0.600749 | 0.573591 | 0 | 0.040444 | 0.141135 | 9,126 | 219 | 138 | 41.671233 | 0.776984 | 0.145957 | 0 | 0.456044 | 0 | 0 | 0.154014 | 0.045162 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021978 | false | 0 | 0.027473 | 0 | 0.054945 | 0.197802 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
722f12824a145d41fb606429c0a0e1eb9755e4ee | 849 | py | Python | zemfrog/globals.py | aprilahijriyan/zemfrog | 0a4ebc303caa8fadf89ca0cc8569de60c61f3252 | [
"MIT"
] | null | null | null | zemfrog/globals.py | aprilahijriyan/zemfrog | 0a4ebc303caa8fadf89ca0cc8569de60c61f3252 | [
"MIT"
] | null | null | null | zemfrog/globals.py | aprilahijriyan/zemfrog | 0a4ebc303caa8fadf89ca0cc8569de60c61f3252 | [
"MIT"
] | null | null | null | from flask import current_app
from flask_marshmallow import EXTENSION_NAME
from werkzeug.local import LocalProxy
def _get_db():
db = current_app.extensions["sqlalchemy"].db
return db
def _get_apispec():
spec = current_app.extensions["apispec"]
return spec
def _get_celery():
cel... | 20.214286 | 49 | 0.709069 | 102 | 849 | 5.568627 | 0.22549 | 0.123239 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206125 | 849 | 41 | 50 | 20.707317 | 0.84273 | 0 | 0 | 0 | 0 | 0 | 0.042079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 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 |
a0d110bae248b0706b4366a18096aa5201a24e40 | 1,724 | py | Python | python/pySimE/space/exp/OrbitalTransferOpt/NewtonCotesQuadrature.py | ProkopHapala/SimpleSimulationEngine | 240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5 | [
"MIT"
] | 26 | 2016-12-04T04:45:12.000Z | 2022-03-24T09:39:28.000Z | python/pySimE/space/exp/OrbitalTransferOpt/NewtonCotesQuadrature.py | Aki78/FlightAI | 9c5480f2392c9c89b9fee4902db0c4cde5323a6c | [
"MIT"
] | null | null | null | python/pySimE/space/exp/OrbitalTransferOpt/NewtonCotesQuadrature.py | Aki78/FlightAI | 9c5480f2392c9c89b9fee4902db0c4cde5323a6c | [
"MIT"
] | 2 | 2019-02-09T12:31:06.000Z | 2019-04-28T02:24:50.000Z | #!/usr/bin/env python
from pylab import *
#def f1(t): return (1-(1-(1.5*t)**2)**2)**2
def f1(t): return ( (0.138-t)*(0.5454-t)*(0.8354-t) )**2.0
def f1(t): return ( t*(t-1)*(0.138-t)*(0.5454-t)*(0.8354-t) )**2.0
#def f1(t): return ( 1/(0.1+(0.1-t)*(0.8-t)*(0.6-t))-10 )
ts = arange(0,1,0.001);
NCC = [
[ ... | 37.478261 | 175 | 0.513921 | 337 | 1,724 | 2.62908 | 0.293769 | 0.020316 | 0.027088 | 0.054176 | 0.172686 | 0.069977 | 0.069977 | 0.069977 | 0.069977 | 0.069977 | 0 | 0.44745 | 0.24942 | 1,724 | 46 | 176 | 37.478261 | 0.237249 | 0.081787 | 0 | 0 | 0 | 0 | 0.016477 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.037037 | null | null | 0.074074 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a0e404b88b315c426d6cdc370a7fc7152bc5eda6 | 659 | py | Python | moha/vm/utils/sorted_set.py | mohalang/moha | 3b4e3a32cf82dce2a42330ab871a250fc8613e39 | [
"Apache-2.0"
] | 5 | 2017-01-11T08:38:09.000Z | 2021-01-12T02:44:53.000Z | moha/vm/utils/sorted_set.py | mohalang/moha | 3b4e3a32cf82dce2a42330ab871a250fc8613e39 | [
"Apache-2.0"
] | null | null | null | moha/vm/utils/sorted_set.py | mohalang/moha | 3b4e3a32cf82dce2a42330ab871a250fc8613e39 | [
"Apache-2.0"
] | 1 | 2019-09-16T08:57:56.000Z | 2019-09-16T08:57:56.000Z | # -*- coding: utf-8 -*-
NOT_FOUND = -1
class SortedSet(object):
def __init__(self):
self.keys = []
self.keys_to_index = {}
def get(self, key):
if key in self.keys_to_index:
return self.keys_to_index[key]
else:
return NOT_FOUND
def add(self, key):... | 20.59375 | 42 | 0.538695 | 87 | 659 | 3.873563 | 0.344828 | 0.237389 | 0.178042 | 0.267062 | 0.31454 | 0.261128 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.358118 | 659 | 31 | 43 | 21.258065 | 0.789598 | 0.031866 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0 | 0.090909 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 3 |
9d25c9ea22af5908aac4a07f9c79b29870d13940 | 2,308 | py | Python | pysnmp/BW-ClientManagementAccessServerFault.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/BW-ClientManagementAccessServerFault.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/BW-ClientManagementAccessServerFault.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module BW-ClientManagementAccessServerFault (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BW-ClientManagementAccessServerFault
# Produced by pysmi-0.3.4 at Mon Apr 29 17:25:02 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# U... | 115.4 | 477 | 0.79636 | 215 | 2,308 | 8.539535 | 0.548837 | 0.087691 | 0.044118 | 0.090414 | 0.429194 | 0.321351 | 0.321351 | 0.321351 | 0.321351 | 0.321351 | 0 | 0.049486 | 0.071924 | 2,308 | 19 | 478 | 121.473684 | 0.807656 | 0.158579 | 0 | 0 | 0 | 0 | 0.341956 | 0.052768 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.583333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9d2daeac645f8d5f22fa02ce148130246a47b3fb | 1,684 | py | Python | flask_toolkit/shared/repository.py | Creditas/flask-toolkit | 830354b4e2c0f9fdac1d000dcc760226b704628a | [
"MIT"
] | 3 | 2018-07-31T16:11:17.000Z | 2021-08-14T17:03:44.000Z | flask_toolkit/shared/repository.py | Creditas/flask-toolkit | 830354b4e2c0f9fdac1d000dcc760226b704628a | [
"MIT"
] | 6 | 2018-07-11T14:34:09.000Z | 2019-11-29T13:53:13.000Z | flask_toolkit/shared/repository.py | Creditas/flask-toolkit | 830354b4e2c0f9fdac1d000dcc760226b704628a | [
"MIT"
] | null | null | null | import logging
from sqlalchemy.exc import DataError
from flask_toolkit.shared.exceptions import ObjectDoesNotExistException
from flask_toolkit.infra.domain_event import bus
from .storage import Storage
class Repository(object):
_entity = None
def __init__(self):
try:
self.session = Storag... | 26.3125 | 82 | 0.631829 | 198 | 1,684 | 5.237374 | 0.363636 | 0.077146 | 0.072324 | 0.057859 | 0.063645 | 0.063645 | 0.063645 | 0 | 0 | 0 | 0 | 0 | 0.269596 | 1,684 | 63 | 83 | 26.730159 | 0.843089 | 0 | 0 | 0.086957 | 0 | 0 | 0.031473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.23913 | false | 0 | 0.108696 | 0.130435 | 0.608696 | 0.021739 | 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 |
9d387fe375936544fb33e2cc0758b493c0a8a407 | 259 | py | Python | lib/emulator/nn/relu.py | amohant4/myFramework | 90794ee1752c47a09db0330ac9d009d2808e00e7 | [
"MIT"
] | null | null | null | lib/emulator/nn/relu.py | amohant4/myFramework | 90794ee1752c47a09db0330ac9d009d2808e00e7 | [
"MIT"
] | null | null | null | lib/emulator/nn/relu.py | amohant4/myFramework | 90794ee1752c47a09db0330ac9d009d2808e00e7 | [
"MIT"
] | null | null | null | """
Created on Tue May 11 12:02:00 2018
@Author: Abinash Mohanty
"""
from emulator.operation import Operation
class relu(Operation):
def __init__(self, i):
super(relu, self).__init__([i])
self.shape = i.get_shape()
def compute(self, i):
return i
| 17.266667 | 41 | 0.694981 | 40 | 259 | 4.275 | 0.675 | 0.05848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055814 | 0.169884 | 259 | 14 | 42 | 18.5 | 0.739535 | 0.23166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9d5ad22ab4216114352442e04f9d01f3613678de | 195 | py | Python | bin/bes_find.py | reconstruir/bes | 82ff54b2dadcaef6849d7de424787f1dedace85c | [
"Apache-2.0"
] | null | null | null | bin/bes_find.py | reconstruir/bes | 82ff54b2dadcaef6849d7de424787f1dedace85c | [
"Apache-2.0"
] | null | null | null | bin/bes_find.py | reconstruir/bes | 82ff54b2dadcaef6849d7de424787f1dedace85c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#-*- coding:utf-8; mode:python; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*-
from bes.fs.scripts import find_cli
if __name__ == '__main__':
find_cli.run()
| 24.375 | 90 | 0.682051 | 33 | 195 | 3.727273 | 0.848485 | 0.113821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017647 | 0.128205 | 195 | 7 | 91 | 27.857143 | 0.705882 | 0.558974 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
19ddb23675673fd367f2c910b06f17a99cdee6a6 | 296 | py | Python | src/coinbase/config.py | zorgulle/coinbasepy | cc9a23fd64b6729b36b18e774edcd08bdc56961a | [
"MIT"
] | null | null | null | src/coinbase/config.py | zorgulle/coinbasepy | cc9a23fd64b6729b36b18e774edcd08bdc56961a | [
"MIT"
] | null | null | null | src/coinbase/config.py | zorgulle/coinbasepy | cc9a23fd64b6729b36b18e774edcd08bdc56961a | [
"MIT"
] | null | null | null | import os
from pickle import TRUE
class Dev:
SCOPE = "wallet:accounts:read"
REDIRECT_URI = os.environ.get("REDIRECT_URI")
CALLBACK_URL = os.environ.get("CALLBACK_URL")
CLIENT_ID = os.environ.get("CLIENT_ID")
CLIENT_SECRET = os.environ.get("CLIENT_SECRET")
DEBUG = TRUE
| 22.769231 | 51 | 0.702703 | 42 | 296 | 4.761905 | 0.5 | 0.18 | 0.24 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179054 | 296 | 12 | 52 | 24.666667 | 0.823045 | 0 | 0 | 0 | 0 | 0 | 0.222973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 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 |
19ddb3bc29790e1dfa39a2c7f5b0a91557bf460b | 3,969 | py | Python | thenewboston_node/business_logic/tests/test_blockchain_base/test_get_root_account_file.py | AbhayAysola/thenewboston-node | 8a24cfd814eed590a7a1066e45b8b4877501aa35 | [
"MIT"
] | null | null | null | thenewboston_node/business_logic/tests/test_blockchain_base/test_get_root_account_file.py | AbhayAysola/thenewboston-node | 8a24cfd814eed590a7a1066e45b8b4877501aa35 | [
"MIT"
] | null | null | null | thenewboston_node/business_logic/tests/test_blockchain_base/test_get_root_account_file.py | AbhayAysola/thenewboston-node | 8a24cfd814eed590a7a1066e45b8b4877501aa35 | [
"MIT"
] | null | null | null | from unittest import mock
import pytest
from thenewboston_node.business_logic.tests import factories
from thenewboston_node.business_logic.utils.iter import get_generator
arf_1 = factories.AccountRootFileFactory(last_block_number=10) # type: ignore
arf_2 = factories.AccountRootFileFactory(last_block_number=20) # t... | 41.778947 | 114 | 0.81028 | 579 | 3,969 | 5.041451 | 0.112263 | 0.150737 | 0.12333 | 0.089072 | 0.805413 | 0.671463 | 0.632408 | 0.602604 | 0.602604 | 0.602604 | 0 | 0.012147 | 0.108088 | 3,969 | 94 | 115 | 42.223404 | 0.812429 | 0.006299 | 0 | 0.285714 | 0 | 0 | 0.074854 | 0.074854 | 0 | 0 | 0 | 0 | 0.196429 | 1 | 0.214286 | false | 0 | 0.071429 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 3 |
19f156159e8e9e86503932fbaea48ba7b36afaf0 | 343 | py | Python | main.py | calderov/tessellate | d28ac04104a4a23de71e056c671951bd3cb6f631 | [
"MIT"
] | null | null | null | main.py | calderov/tessellate | d28ac04104a4a23de71e056c671951bd3cb6f631 | [
"MIT"
] | null | null | null | main.py | calderov/tessellate | d28ac04104a4a23de71e056c671951bd3cb6f631 | [
"MIT"
] | null | null | null | import sys
from tessellate import tessellate
sys.setrecursionlimit(100000)
if __name__ == '__main__':
# Some nice settings are cannyMinThreshold = 100, cannyMaxThreshold = 200 and pointsCountThreshold = 1 to 7
tessellate('ExampleInputs/johanes.jpg', 'output.png', cannyMinThreshold = 50, cannyMaxThreshold = 150, poi... | 38.111111 | 129 | 0.790087 | 37 | 343 | 7.108108 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.125364 | 343 | 8 | 130 | 42.875 | 0.81 | 0.306122 | 0 | 0 | 0 | 0 | 0.182203 | 0.105932 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
c2220d6d157717ede40ef94dbd99452e7a79377f | 1,441 | py | Python | torchsupport/flex/tasks/gan/losses.py | coding-ecoli/torchsupport | a8de0e8db4f4b9cfd4ac93c0fa6923fe9151b309 | [
"MIT"
] | 18 | 2019-05-02T16:32:15.000Z | 2021-04-16T09:33:54.000Z | torchsupport/flex/tasks/gan/losses.py | coding-ecoli/torchsupport | a8de0e8db4f4b9cfd4ac93c0fa6923fe9151b309 | [
"MIT"
] | 5 | 2019-10-14T13:46:49.000Z | 2021-06-08T11:48:34.000Z | torchsupport/flex/tasks/gan/losses.py | coding-ecoli/torchsupport | a8de0e8db4f4b9cfd4ac93c0fa6923fe9151b309 | [
"MIT"
] | 12 | 2019-05-12T21:34:24.000Z | 2021-07-15T14:14:16.000Z | import torch
import torch.nn as nn
import torch.nn.functional as func
class CriticLoss:
def __init__(self, ctx=None):
self.ctx = ctx
def critic(self, real, fake):
return 0.0
def generator(self, real):
return 0.0
def relativistic(real, fake):
real = real - fake.mean(dim=0, keepdim=True)
fake = ... | 24.423729 | 51 | 0.664816 | 208 | 1,441 | 4.423077 | 0.201923 | 0.078261 | 0.056522 | 0.073913 | 0.513043 | 0.430435 | 0.184783 | 0.184783 | 0.095652 | 0 | 0 | 0.013021 | 0.200555 | 1,441 | 58 | 52 | 24.844828 | 0.78559 | 0 | 0 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.065217 | 0.130435 | 0.608696 | 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 |
c229872608a264acc8fa12f6a14e69727cbebb55 | 386,212 | py | Python | Data/scigrid-de/pypower/scigrid_2011_01_09_00.py | thanever/SOC | 9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4 | [
"MIT"
] | null | null | null | Data/scigrid-de/pypower/scigrid_2011_01_09_00.py | thanever/SOC | 9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4 | [
"MIT"
] | null | null | null | Data/scigrid-de/pypower/scigrid_2011_01_09_00.py | thanever/SOC | 9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4 | [
"MIT"
] | null | null | null | from numpy import array
def scigrid_2011_01_09_00():
ppc = {"version": '2'}
ppc["baseMVA"] = 100.0
ppc["bus"] = array([
[586, 3, 0, 0, 0, 0, 0, 1.0, 0, 220.0, 0, 1.1, 0.9 ],
[589, 2, 0, 0, 0, 0, 0, 1.0, 0, 380.0, 0, 1.1, 0.9 ],
[590, 2, 0, 0, 0, 0, 0, 1.0, 0, 380.0, 0, 1.1,... | 71.007906 | 137 | 0.464305 | 73,555 | 386,212 | 2.437564 | 0.084862 | 0.192599 | 0.172559 | 0.180329 | 0.460281 | 0.4597 | 0.4355 | 0.423096 | 0.362012 | 0.360774 | 0 | 0.670598 | 0.31173 | 386,212 | 5,439 | 138 | 71.007906 | 0.003905 | 0 | 0 | 0.000919 | 0 | 0 | 0.00035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000184 | false | 0 | 0.000184 | 0 | 0.000552 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c23ed10c09823f656ea310949aa51324c5ad5d72 | 85 | py | Python | scripts-test/test-notify.py | caralbgsx/git-github.com-qpython-android-qpython | 1fc94b775507778c88893748309c76b77fb4b4f4 | [
"Apache-2.0"
] | 3 | 2019-10-27T10:28:09.000Z | 2020-02-13T16:07:26.000Z | scripts-test/test-notify.py | caralbgsx/git-github.com-qpython-android-qpython | 1fc94b775507778c88893748309c76b77fb4b4f4 | [
"Apache-2.0"
] | null | null | null | scripts-test/test-notify.py | caralbgsx/git-github.com-qpython-android-qpython | 1fc94b775507778c88893748309c76b77fb4b4f4 | [
"Apache-2.0"
] | 1 | 2021-04-17T03:52:17.000Z | 2021-04-17T03:52:17.000Z | import androidhelper
droid = androidhelper.Android()
droid.notify('Hello','QPython')
| 21.25 | 31 | 0.788235 | 9 | 85 | 7.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 85 | 3 | 32 | 28.333333 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 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 |
df9e7dfe10c0e751f1e674eb0a6e256e75aab8c5 | 438 | py | Python | modules/templates/BRCMS/Standard/config.py | himansu1997/eden | 1e2cf2b00f55da46b1ce3e6b7ad44b5345d7a1dc | [
"MIT"
] | 205 | 2015-01-20T08:26:09.000Z | 2022-03-27T19:59:33.000Z | modules/templates/BRCMS/Standard/config.py | himansu1997/eden | 1e2cf2b00f55da46b1ce3e6b7ad44b5345d7a1dc | [
"MIT"
] | 249 | 2015-02-10T09:56:35.000Z | 2022-03-23T19:54:36.000Z | modules/templates/BRCMS/Standard/config.py | himansu1997/eden | 1e2cf2b00f55da46b1ce3e6b7ad44b5345d7a1dc | [
"MIT"
] | 231 | 2015-02-10T09:33:17.000Z | 2022-02-18T19:56:05.000Z | # -*- coding: utf-8 -*-
# =============================================================================
def config(settings):
"""
BRCMS: Sahana Beneficiary Registry and Case Management System
"""
# PrePopulate data
settings.base.prepopulate.append("BRCMS/Standard")
settings.base.prepopulat... | 31.285714 | 79 | 0.436073 | 31 | 438 | 6.129032 | 0.677419 | 0.126316 | 0.242105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002632 | 0.13242 | 438 | 13 | 80 | 33.692308 | 0.497368 | 0.586758 | 0 | 0 | 0 | 0 | 0.208861 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dfae50fdef23ac3a251ff0ab32db320f905c857b | 46 | py | Python | data/snippets/py/CLEAR_GETTER_SETTER_CODE.py | netcharm/ironclad | 5892c43b540b216d638e0fed2e6cf3fd8289fdfc | [
"PSF-2.0"
] | null | null | null | data/snippets/py/CLEAR_GETTER_SETTER_CODE.py | netcharm/ironclad | 5892c43b540b216d638e0fed2e6cf3fd8289fdfc | [
"PSF-2.0"
] | null | null | null | data/snippets/py/CLEAR_GETTER_SETTER_CODE.py | netcharm/ironclad | 5892c43b540b216d638e0fed2e6cf3fd8289fdfc | [
"PSF-2.0"
] | null | null | null |
_ironclad_getter = _ironclad_setter = None
| 15.333333 | 43 | 0.782609 | 5 | 46 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 44 | 23 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dfb2e48d25ee93230b9ae5c0a15fd2ad861635be | 237 | py | Python | graphql_subscriptions/__init__.py | hballard/graphql-python-subscriptions | 25f256bec0c3b083c1879697f6c3caba8000555a | [
"MIT"
] | 92 | 2017-02-24T22:00:31.000Z | 2021-06-27T14:14:03.000Z | graphql_subscriptions/__init__.py | hballard/graphql-python-subscriptions | 25f256bec0c3b083c1879697f6c3caba8000555a | [
"MIT"
] | 15 | 2017-02-16T03:08:12.000Z | 2019-12-05T07:46:28.000Z | graphql_subscriptions/__init__.py | hballard/graphql-python-subscriptions | 25f256bec0c3b083c1879697f6c3caba8000555a | [
"MIT"
] | 11 | 2017-05-16T15:47:15.000Z | 2021-02-16T20:23:19.000Z | from __future__ import absolute_import
from .subscription_manager import RedisPubsub, SubscriptionManager
from .subscription_transport_ws import SubscriptionServer
__all__ = ['RedisPubsub', 'SubscriptionManager', 'SubscriptionServer']
| 33.857143 | 70 | 0.85654 | 21 | 237 | 9.095238 | 0.571429 | 0.167539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084388 | 237 | 6 | 71 | 39.5 | 0.880184 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dfbc33d95c806894e83967a94ed34c2d9f3db34e | 1,244 | py | Python | test/system/test_tasks.py | pyohannes/dayplan | 58fcd8d749954f321d188bc32dcdc194af82c9ca | [
"BSD-2-Clause"
] | null | null | null | test/system/test_tasks.py | pyohannes/dayplan | 58fcd8d749954f321d188bc32dcdc194af82c9ca | [
"BSD-2-Clause"
] | 48 | 2017-09-23T12:42:04.000Z | 2018-05-17T17:13:52.000Z | test/system/test_tasks.py | pyohannes/dayplan | 58fcd8d749954f321d188bc32dcdc194af82c9ca | [
"BSD-2-Clause"
] | null | null | null | from dpltest import assert_dpl_cmd_error, assert_dpl_cmd_ok
def test_task_id_conflict():
assert_dpl_cmd_error(["tasks", "--strict"],
"""2017-09-09
#1 Task 1
2017-09-10
#1 Task 2
08:00
""")
def test_task_id_invalid_1():
assert_dpl_cmd_error(["tasks"],
"""2017-09-09
#0 Task 1
08:00
""")... | 15.746835 | 68 | 0.567524 | 204 | 1,244 | 3.235294 | 0.176471 | 0.127273 | 0.163636 | 0.081818 | 0.772727 | 0.684848 | 0.642424 | 0.540909 | 0.369697 | 0.369697 | 0 | 0.189495 | 0.219453 | 1,244 | 78 | 69 | 15.948718 | 0.490216 | 0 | 0 | 0.285714 | 0 | 0 | 0.199426 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.25 | true | 0 | 0.035714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dfce2e22bbce0a705a27544df2d1d6e42be599f3 | 309 | py | Python | tests/envs/crazy_env.py | jtoy/sensenet | adaf5d22ffe37f5d5d5b889b4d00760588629ec4 | [
"MIT"
] | 59 | 2017-11-24T16:56:18.000Z | 2022-02-25T19:33:51.000Z | tests/envs/crazy_env.py | VicksD1996/sensenet | adaf5d22ffe37f5d5d5b889b4d00760588629ec4 | [
"MIT"
] | 31 | 2017-11-24T19:11:47.000Z | 2018-07-02T19:25:08.000Z | tests/envs/crazy_env.py | VicksD1996/sensenet | adaf5d22ffe37f5d5d5b889b4d00760588629ec4 | [
"MIT"
] | 22 | 2017-11-25T11:01:45.000Z | 2022-02-25T19:33:52.000Z | import sensenet
from sensenet.envs.handroid.hand_env import HandEnv
from sensenet import spaces
class CrazyEnv(HandEnv):
def __init__(self,options={}):
self.action_space = spaces.Discrete(1)
def step(self,action):
return [0],0,True,[42]
def reset(self,opts={}):
return [0]
| 28.090909 | 51 | 0.679612 | 42 | 309 | 4.857143 | 0.619048 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.197411 | 309 | 10 | 52 | 30.9 | 0.798387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.3 | 0.2 | 0.9 | 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 |
dfeb51025b1c9591bd1f259d6104cf3f6afb1ef9 | 164 | py | Python | project/apps/tickets/serializers/__init__.py | Mansilla1/tickets-system | af10003a2ed3d33ee33f001edca867ceda3cffb8 | [
"MIT"
] | null | null | null | project/apps/tickets/serializers/__init__.py | Mansilla1/tickets-system | af10003a2ed3d33ee33f001edca867ceda3cffb8 | [
"MIT"
] | 2 | 2020-02-12T02:52:41.000Z | 2020-06-05T21:19:32.000Z | project/apps/tickets/serializers/__init__.py | Mansilla1/tickets-system | af10003a2ed3d33ee33f001edca867ceda3cffb8 | [
"MIT"
] | null | null | null | from .tickets_serializer import (
TicketsCreateSerializer,
TicketsListSerializer,
)
__all__ = [
TicketsCreateSerializer,
TicketsListSerializer,
]
| 14.909091 | 33 | 0.75 | 9 | 164 | 13.111111 | 0.777778 | 0.745763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189024 | 164 | 10 | 34 | 16.4 | 0.887218 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dfec2890e1a9c4a77a1b8f9fd98e62eab9a50d09 | 131 | py | Python | src/pytezos/operation/__init__.py | konchunas/pytezos | 65576d18bdf1956fae8ea21241b6c43a38921b83 | [
"MIT"
] | 98 | 2019-02-07T16:33:38.000Z | 2022-03-31T15:53:41.000Z | src/pytezos/operation/__init__.py | konchunas/pytezos | 65576d18bdf1956fae8ea21241b6c43a38921b83 | [
"MIT"
] | 152 | 2019-05-20T16:38:56.000Z | 2022-03-30T14:24:38.000Z | src/pytezos/operation/__init__.py | konchunas/pytezos | 65576d18bdf1956fae8ea21241b6c43a38921b83 | [
"MIT"
] | 34 | 2019-07-25T12:03:51.000Z | 2021-11-11T22:23:38.000Z | DEFAULT_BRANCH_OFFSET = 50
DEFAULT_BURN_RESERVE = 100
DEFAULT_GAS_RESERVE = 100
DEFAULT_OPERATIONS_TTL = 5
MAX_OPERATIONS_TTL = 60
| 21.833333 | 26 | 0.847328 | 20 | 131 | 5.05 | 0.65 | 0.19802 | 0.336634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 0.114504 | 131 | 5 | 27 | 26.2 | 0.775862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5f0f108cef9e1910567916bd34497186e09202c4 | 2,114 | py | Python | exatomic/__init__.py | tjduigna/exatomic | 3e27233084588bc6a58b63fc81aaf5a6b67a968d | [
"Apache-2.0"
] | null | null | null | exatomic/__init__.py | tjduigna/exatomic | 3e27233084588bc6a58b63fc81aaf5a6b67a968d | [
"Apache-2.0"
] | 1 | 2017-05-25T21:05:40.000Z | 2017-05-25T23:54:15.000Z | exatomic/__init__.py | tjduigna/exatomic | 3e27233084588bc6a58b63fc81aaf5a6b67a968d | [
"Apache-2.0"
] | 1 | 2017-05-25T20:48:33.000Z | 2017-05-25T20:48:33.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2015-2018, Exa Analytics Development Team
# Distributed under the terms of the Apache License 2.0
"""
A unified data anlaysis and visualization platform for computational and
theoretical chemists, physicists, etc. Support for molecular geometry and
orbital visualization is ... | 37.087719 | 82 | 0.715705 | 250 | 2,114 | 5.792 | 0.592 | 0.053177 | 0.035912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.152318 | 2,114 | 56 | 83 | 37.75 | 0.799107 | 0.725639 | 0 | 0 | 0 | 0 | 0.137525 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 1 | 0.071429 | false | 0 | 0.428571 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5f14334e828689a18a14c6bdba064faa69b71277 | 542 | py | Python | integrationtest/vm/timeout/suite_teardown.py | sherry546/zstack-woodpecker | 54a37459f2d72ce6820974feaa6eb55772c3d2ce | [
"Apache-2.0"
] | 2 | 2016-03-23T08:45:44.000Z | 2017-06-26T02:40:46.000Z | integrationtest/vm/basic/suite_teardown.py | KevinDavidMitnick/zstack-woodpecker | 96257faaf3c362168d008bdb47002025ad669b24 | [
"Apache-2.0"
] | null | null | null | integrationtest/vm/basic/suite_teardown.py | KevinDavidMitnick/zstack-woodpecker | 96257faaf3c362168d008bdb47002025ad669b24 | [
"Apache-2.0"
] | 2 | 2020-03-12T03:11:28.000Z | 2021-07-26T01:57:58.000Z | '''
Integration Test Teardown case
@author: Youyk
'''
import zstackwoodpecker.setup_actions as setup_actions
from zstackwoodpecker import test_util
from zstackwoodpecker import clean_util
import suite_setup
import zstackwoodpecker.test_lib as test_lib
def test():
clean_util.cleanup_all_vms_violently()
clean... | 25.809524 | 54 | 0.819188 | 73 | 542 | 5.684932 | 0.465753 | 0.108434 | 0.115663 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118081 | 542 | 20 | 55 | 27.1 | 0.868201 | 0.084871 | 0 | 0 | 0 | 0 | 0.043121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | true | 0.083333 | 0.416667 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
5f207ad2bfcbf8240a16ec84d0e9a3e3f0449d41 | 207 | py | Python | backend/app.py | sovheiv/Minimalistic-Dictionary | 440a5b5ba34253b438a0a024f37096142c4be730 | [
"MIT"
] | null | null | null | backend/app.py | sovheiv/Minimalistic-Dictionary | 440a5b5ba34253b438a0a024f37096142c4be730 | [
"MIT"
] | null | null | null | backend/app.py | sovheiv/Minimalistic-Dictionary | 440a5b5ba34253b438a0a024f37096142c4be730 | [
"MIT"
] | null | null | null | from flask import Flask
from flask_cors import CORS
def create_app():
app = Flask(import_name=__name__)
CORS(app)
from endpoints import admin
app.register_blueprint(admin)
return app
| 15.923077 | 37 | 0.724638 | 29 | 207 | 4.896552 | 0.448276 | 0.126761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 207 | 12 | 38 | 17.25 | 0.876543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.5 | 0 | 0.75 | 0.125 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
a0291f1a00cd7a43b7b03d92c845f7366ac91591 | 83 | py | Python | main.py | imtiyazshamim/wikipedia-web-scraping | 7709932bef6f44791709b2e3225a03a0850d33d9 | [
"Apache-2.0"
] | null | null | null | main.py | imtiyazshamim/wikipedia-web-scraping | 7709932bef6f44791709b2e3225a03a0850d33d9 | [
"Apache-2.0"
] | null | null | null | main.py | imtiyazshamim/wikipedia-web-scraping | 7709932bef6f44791709b2e3225a03a0850d33d9 | [
"Apache-2.0"
] | null | null | null | import wikipedia
output=wikipedia.summary("Tamil Nadu",sentences=3)
print(output) | 27.666667 | 51 | 0.807229 | 11 | 83 | 6.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.072289 | 83 | 3 | 52 | 27.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 |
a03cdc5207f454699dac1a875993d5ddefd5218f | 3,409 | py | Python | src/skjold/sources/pyup.py | ghtyrant/skjold | 1ce7dee2ef410ded3a4f4f045838317dcaf9a686 | [
"MIT"
] | null | null | null | src/skjold/sources/pyup.py | ghtyrant/skjold | 1ce7dee2ef410ded3a4f4f045838317dcaf9a686 | [
"MIT"
] | null | null | null | src/skjold/sources/pyup.py | ghtyrant/skjold | 1ce7dee2ef410ded3a4f4f045838317dcaf9a686 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import json
import os
from collections import defaultdict
from typing import Tuple, List, Dict, Callable
import requests
import semver
from skjold.models import SecurityAdvisorySource, SecurityAdvisory
from skjold.tasks import register_source
class PyUpSecurityAdvisory(SecurityAdvisory):
... | 28.647059 | 94 | 0.64007 | 397 | 3,409 | 5.335013 | 0.289673 | 0.062323 | 0.055241 | 0.032106 | 0.041549 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000782 | 0.25022 | 3,409 | 118 | 95 | 28.889831 | 0.827856 | 0.030801 | 0 | 0.136364 | 0 | 0.011364 | 0.05665 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 1 | 0.204545 | false | 0 | 0.090909 | 0.147727 | 0.534091 | 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 |
a044edb09885d448dff688521fcf5b8afc3ec46e | 99 | py | Python | level2/run_test.py | ismtabo/coding-contest-2018 | ca90a7c2c8a64b91821120714d4b9d36b12baf9b | [
"MIT"
] | 1 | 2018-04-28T20:02:38.000Z | 2018-04-28T20:02:38.000Z | level2/run_test.py | ismtabo/coding-contest-2018 | ca90a7c2c8a64b91821120714d4b9d36b12baf9b | [
"MIT"
] | null | null | null | level2/run_test.py | ismtabo/coding-contest-2018 | ca90a7c2c8a64b91821120714d4b9d36b12baf9b | [
"MIT"
] | null | null | null | import os
for i in [0, 1, 2, 3, 4]:
os.system(f"python main.py < lvl2-{i}.inp > lvl2-{i}.outp") | 33 | 63 | 0.575758 | 22 | 99 | 2.590909 | 0.818182 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 0.191919 | 99 | 3 | 63 | 33 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.45 | 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 |
a046ac7b8e3eb5eaff2ce12c6ad1915e7b7f358e | 133 | py | Python | app/custom_functions.py | guagua43/covid-vaccine-warrior | 7296ad38cc361b639ce0cea6f8b0fe00b7936356 | [
"MIT"
] | 2 | 2021-06-27T15:01:30.000Z | 2021-07-01T12:49:13.000Z | app/custom_functions.py | guagua43/covid-vaccine-warrior | 7296ad38cc361b639ce0cea6f8b0fe00b7936356 | [
"MIT"
] | null | null | null | app/custom_functions.py | guagua43/covid-vaccine-warrior | 7296ad38cc361b639ce0cea6f8b0fe00b7936356 | [
"MIT"
] | 2 | 2021-06-22T23:11:06.000Z | 2021-06-27T16:37:11.000Z | def calculate_dist_in_mile(dist_km):
convert_factor = 0.621371
dist_miles = convert_factor * dist_km
return dist_miles
| 22.166667 | 41 | 0.75188 | 20 | 133 | 4.55 | 0.6 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 0.195489 | 133 | 5 | 42 | 26.6 | 0.785047 | 0 | 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 |
a047cafe2211cf035fb8bb5cb46610c75fedb6ee | 2,159 | py | Python | swiper/swiper.py | hnzlmnn/dora | 1c7375491af03d3ea8557e68b18afc6f916f65d7 | [
"BSD-3-Clause"
] | 6 | 2020-03-10T14:57:42.000Z | 2021-05-19T19:14:54.000Z | swiper/swiper.py | hnzlmnn/dora | 1c7375491af03d3ea8557e68b18afc6f916f65d7 | [
"BSD-3-Clause"
] | null | null | null | swiper/swiper.py | hnzlmnn/dora | 1c7375491af03d3ea8557e68b18afc6f916f65d7 | [
"BSD-3-Clause"
] | 3 | 2020-03-08T16:02:11.000Z | 2020-07-24T10:56:01.000Z | import binascii
import re
import uuid
class Swiper:
__INSTANCE = None
def __init__(self, domain: str):
host: bytes = domain.encode("ascii")
host = host[:-1] if host[-1] == b"." else host
host = host[1:] if host[0] == b"." else host
self.schema = re.compile(rb"(?:([a-zA-Z0-9_\-... | 37.224138 | 128 | 0.593793 | 292 | 2,159 | 4.260274 | 0.267123 | 0.038585 | 0.054662 | 0.064309 | 0.293408 | 0.262058 | 0.184887 | 0.144695 | 0.09164 | 0.09164 | 0 | 0.02214 | 0.246874 | 2,159 | 57 | 129 | 37.877193 | 0.742927 | 0 | 0 | 0.044444 | 0 | 0.066667 | 0.188976 | 0.04817 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.066667 | 0.133333 | 0.555556 | 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 |
a0650fbe8830f8aacc7b2bdaf8201bb03b812ac4 | 52 | py | Python | python/config/passwords.py | caiovini/logs_linux | 13dbb3ac317d99d75177ae9f04c0672239acaa54 | [
"MIT"
] | null | null | null | python/config/passwords.py | caiovini/logs_linux | 13dbb3ac317d99d75177ae9f04c0672239acaa54 | [
"MIT"
] | null | null | null | python/config/passwords.py | caiovini/logs_linux | 13dbb3ac317d99d75177ae9f04c0672239acaa54 | [
"MIT"
] | null | null | null | passwordDev = "dev123"
passwordTomcat = "tomcat123"
| 17.333333 | 28 | 0.769231 | 4 | 52 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.115385 | 52 | 2 | 29 | 26 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 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 |
a09c23f7569a6d70df256d34a1df01f1d577a901 | 715 | py | Python | application/plugins/setextent/setextent.py | nicenboim/scribeui | c2ee5de433a24241f93afac63166399ca67ea5c5 | [
"MIT"
] | null | null | null | application/plugins/setextent/setextent.py | nicenboim/scribeui | c2ee5de433a24241f93afac63166399ca67ea5c5 | [
"MIT"
] | null | null | null | application/plugins/setextent/setextent.py | nicenboim/scribeui | c2ee5de433a24241f93afac63166399ca67ea5c5 | [
"MIT"
] | null | null | null | from flask import Flask, Blueprint, request, session, render_template, jsonify, g, url_for, current_app
from jinja2 import TemplateNotFound
plugin = Blueprint('setextent', __name__, static_folder='static')
#Anything specified in the app's routes will appear as pluginname/your-route
#In this case, the path will be plu... | 37.631579 | 103 | 0.767832 | 106 | 715 | 5.084906 | 0.537736 | 0.033395 | 0.051948 | 0.051948 | 0.282004 | 0.282004 | 0.152134 | 0.152134 | 0.152134 | 0.152134 | 0 | 0.001616 | 0.134266 | 715 | 18 | 104 | 39.722222 | 0.869144 | 0.381818 | 0 | 0 | 0 | 0 | 0.200913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.2 | 0.3 | 0.8 | 0.2 | 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 |
a0acd5e0c11fd5d9f91e6894d1c1bceaa262f43c | 61,234 | py | Python | fonts/FreeSansOblique24pt7b.py | cnobile2012/Python-TFT | 812a87e6f694eae338c3d9579ea98eae636f8f99 | [
"MIT"
] | null | null | null | fonts/FreeSansOblique24pt7b.py | cnobile2012/Python-TFT | 812a87e6f694eae338c3d9579ea98eae636f8f99 | [
"MIT"
] | null | null | null | fonts/FreeSansOblique24pt7b.py | cnobile2012/Python-TFT | 812a87e6f694eae338c3d9579ea98eae636f8f99 | [
"MIT"
] | null | null | null | FreeSansOblique24pt7bBitmaps = [
0x01, 0xE0, 0x3C, 0x0F, 0x81, 0xE0, 0x3C, 0x07, 0x80, 0xF0, 0x3C, 0x07,
0x80, 0xF0, 0x1E, 0x03, 0xC0, 0xF0, 0x1E, 0x03, 0xC0, 0x78, 0x0F, 0x03,
0xC0, 0x78, 0x0F, 0x01, 0xE0, 0x38, 0x07, 0x00, 0xE0, 0x18, 0x03, 0x00,
0x00, 0x00, 0x00, 0x00, 0xF0, 0x1E, 0x07, 0x80, 0xF0, 0... | 72.810939 | 75 | 0.604876 | 9,549 | 61,234 | 3.878731 | 0.033721 | 0.163076 | 0.060586 | 0.036719 | 0.590151 | 0.451536 | 0.354447 | 0.29008 | 0.257681 | 0.226578 | 0 | 0.487159 | 0.231865 | 61,234 | 840 | 76 | 72.897619 | 0.300281 | 0.014208 | 0 | 0.002392 | 0 | 0 | 0 | 0 | 0 | 0 | 0.58495 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
26121910001d0dd5493bdfb59b1c696c7eb0d2f8 | 310 | py | Python | Python/Flask_MySQL/Lecture_Project/server.py | handtjaxon1/Coding-Dojo-Development | 9cca0ae84749984a164541c476dc445b29b498b9 | [
"MIT"
] | null | null | null | Python/Flask_MySQL/Lecture_Project/server.py | handtjaxon1/Coding-Dojo-Development | 9cca0ae84749984a164541c476dc445b29b498b9 | [
"MIT"
] | null | null | null | Python/Flask_MySQL/Lecture_Project/server.py | handtjaxon1/Coding-Dojo-Development | 9cca0ae84749984a164541c476dc445b29b498b9 | [
"MIT"
] | null | null | null | from flask_app import app # Don't forget this line!
# HIGHLY RECOMMENDED THAT YOU CREATE YOUR CONTROLLER FILES THAT YOU'LL NEED, THEN IMPORT THEM HERE IMMEDIATELY!
from flask_app.controllers import players, teams # For each controller, import each file here!
if __name__ == "__main__":
app.run(debug=True) | 51.666667 | 111 | 0.777419 | 48 | 310 | 4.8125 | 0.729167 | 0.077922 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154839 | 310 | 6 | 112 | 51.666667 | 0.881679 | 0.570968 | 0 | 0 | 0 | 0 | 0.061538 | 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 |
261d2c174d707e9450cd0b7fd3995fbb4fec6e28 | 112 | py | Python | scripts/hello_world_Oliver.py | breezage/Hacktoberfest-1 | 6f6d52248c79c0e72fd13b599500318fce3f9ab0 | [
"MIT"
] | null | null | null | scripts/hello_world_Oliver.py | breezage/Hacktoberfest-1 | 6f6d52248c79c0e72fd13b599500318fce3f9ab0 | [
"MIT"
] | null | null | null | scripts/hello_world_Oliver.py | breezage/Hacktoberfest-1 | 6f6d52248c79c0e72fd13b599500318fce3f9ab0 | [
"MIT"
] | 1 | 2019-10-24T06:45:21.000Z | 2019-10-24T06:45:21.000Z | // LANGUAGE: Python
// AUTHOR: Justin Oliver
// GITHUB: https://github.com/justinoliver
print('Hello, World!')
| 18.666667 | 42 | 0.705357 | 13 | 112 | 6.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116071 | 112 | 5 | 43 | 22.4 | 0.79798 | 0 | 0 | 0 | 0 | 0 | 0.116071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 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 |
261e56d032da9753a6df368b172f9a116e5ba7b0 | 227 | py | Python | 100exs/ex003_Somando.py | JuanHaddad/exs-python-cursoemvideo | f6f39d86e3ab43bc3073eaeaafdd94030fad3d67 | [
"MIT"
] | null | null | null | 100exs/ex003_Somando.py | JuanHaddad/exs-python-cursoemvideo | f6f39d86e3ab43bc3073eaeaafdd94030fad3d67 | [
"MIT"
] | null | null | null | 100exs/ex003_Somando.py | JuanHaddad/exs-python-cursoemvideo | f6f39d86e3ab43bc3073eaeaafdd94030fad3d67 | [
"MIT"
] | null | null | null | # Crie um programa que leia dois números e mostre a soma entre eles.
n1 = float(input('Digite um primeiro número: '))
n2 = float(input('Digite um segundo número: '))
s = n1 + n2
print(f'A soma desses dois números é {s:.1f} !') | 37.833333 | 68 | 0.69163 | 40 | 227 | 3.925 | 0.675 | 0.140127 | 0.203822 | 0.229299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026882 | 0.180617 | 227 | 6 | 69 | 37.833333 | 0.817204 | 0.290749 | 0 | 0 | 0 | 0 | 0.56875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
263b46e97746827911983a615c29a51538911707 | 290 | py | Python | confprint/_exceptions.py | lewiuberg/confprint | d092875b5bdac358c427d071371a9df991c0c6ab | [
"MIT"
] | 1 | 2022-02-09T08:11:34.000Z | 2022-02-09T08:11:34.000Z | confprint/_exceptions.py | lewiuberg/confprint | d092875b5bdac358c427d071371a9df991c0c6ab | [
"MIT"
] | 10 | 2021-10-17T05:59:47.000Z | 2022-02-03T15:14:55.000Z | confprint/_exceptions.py | lewiuberg/confprint | d092875b5bdac358c427d071371a9df991c0c6ab | [
"MIT"
] | null | null | null | """Exceptions for the confprint package.
Custom exceptions used by confprint for more helpful error messages.
"""
class confprintException(Exception):
"""Base class for all confprint exceptions."""
class PropertyError(confprintException):
"""Selection of properties failed."""
| 22.307692 | 68 | 0.755172 | 31 | 290 | 7.064516 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148276 | 290 | 12 | 69 | 24.166667 | 0.88664 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 1 | 1 | 0 | 3 |
266bf3554d987f98336ff2ce7238a3c30221771a | 71 | py | Python | scripts/class-2/first_program.py | GabrielMMelo/python4teens | 287f79ada2f8ded669f6e26210e1407202e8ff80 | [
"CC-BY-4.0"
] | 2 | 2021-04-15T13:23:16.000Z | 2022-02-01T18:31:58.000Z | scripts/class-2/first_program.py | GabrielMMelo/python4teens | 287f79ada2f8ded669f6e26210e1407202e8ff80 | [
"CC-BY-4.0"
] | null | null | null | scripts/class-2/first_program.py | GabrielMMelo/python4teens | 287f79ada2f8ded669f6e26210e1407202e8ff80 | [
"CC-BY-4.0"
] | null | null | null | name = input("Por favor, insira seu nome: ")
print("Olá,", name, "!")
| 17.75 | 44 | 0.591549 | 10 | 71 | 4.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 3 | 45 | 23.666667 | 0.711864 | 0 | 0 | 0 | 0 | 0 | 0.464789 | 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 |
268048f1b17b3f3448b397831e219fda6d6cd46a | 528 | py | Python | Xian/week 5/1. Hello Alias name.py | Eurydia/Xian-assignment | 4a7e4bcd3d4999ea7429054fec1792064c96ff30 | [
"MIT"
] | null | null | null | Xian/week 5/1. Hello Alias name.py | Eurydia/Xian-assignment | 4a7e4bcd3d4999ea7429054fec1792064c96ff30 | [
"MIT"
] | null | null | null | Xian/week 5/1. Hello Alias name.py | Eurydia/Xian-assignment | 4a7e4bcd3d4999ea7429054fec1792064c96ff30 | [
"MIT"
] | null | null | null |
'''
Write a program to receive the first and last name of user then print out the message "Hello,
name and surname" and the alias name which derived from the first 2 characters of the first and last
name.
Input: receive first and last name of user.
Output: display 2 lines as follows
The first line shows: "Hello", you... | 33 | 100 | 0.725379 | 97 | 528 | 3.948454 | 0.381443 | 0.125326 | 0.156658 | 0.208877 | 0.35248 | 0.344648 | 0.229765 | 0.229765 | 0.229765 | 0.229765 | 0 | 0.011601 | 0.183712 | 528 | 16 | 101 | 33 | 0.87703 | 0.842803 | 0 | 0 | 0 | 0 | 0.36 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
26876eed52422a8aded02dd3fc10340df7a499cb | 1,353 | py | Python | 012/app.py | hugozamian/estudo_python | e6be6501a882e9d3b858067a84e8f93180462ef2 | [
"MIT"
] | null | null | null | 012/app.py | hugozamian/estudo_python | e6be6501a882e9d3b858067a84e8f93180462ef2 | [
"MIT"
] | null | null | null | 012/app.py | hugozamian/estudo_python | e6be6501a882e9d3b858067a84e8f93180462ef2 | [
"MIT"
] | null | null | null | # Como manipular arquivos em Python - ler, criar, alterar e deletar arquivos
# open("caminho", "r") -> passar 2 parametros = caminho do arquivo, modo como o arquivo serah aberto (pode ser dividido em 5 modos, vide abaixo)
# Mode
# r - leitura
# a - Append / incrementar no arquivo
# w - escrita (deleta o que existe no... | 30.75 | 144 | 0.717664 | 211 | 1,353 | 4.597156 | 0.540284 | 0.041237 | 0.034021 | 0.03299 | 0.039175 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01966 | 0.172949 | 1,353 | 43 | 145 | 31.465116 | 0.847185 | 0.849224 | 0 | 0 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
268aa6f7d10d9ed5c82f2b5fa727cbff501b8395 | 627 | py | Python | VideoSearchEngine/ObjectDetection/DarknetModels/layers.py | AkshatSh/VideoSearchEngine | 57f64b241b8a7bbc377ce7826e1206f679f41def | [
"MIT"
] | 49 | 2018-05-22T09:06:18.000Z | 2022-02-26T10:03:43.000Z | VideoSearchEngine/ObjectDetection/DarknetModels/layers.py | AkshatSh/VideoSearchEngine | 57f64b241b8a7bbc377ce7826e1206f679f41def | [
"MIT"
] | 17 | 2018-05-18T21:14:36.000Z | 2019-06-06T09:17:18.000Z | VideoSearchEngine/ObjectDetection/DarknetModels/layers.py | AkshatSh/VideoSearchEngine | 57f64b241b8a7bbc377ce7826e1206f679f41def | [
"MIT"
] | 18 | 2018-06-06T22:14:26.000Z | 2021-11-23T08:59:31.000Z | from __future__ import division
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
import numpy as np
class MaxPoolStride1(nn.Module):
def __init__(self):
super(MaxPoolStride1, self).__init__()
def forward(self, x):
x = F.max_pool2d(F.pad... | 23.222222 | 76 | 0.682616 | 85 | 627 | 4.694118 | 0.411765 | 0.080201 | 0.082707 | 0.112782 | 0.16792 | 0.120301 | 0 | 0 | 0 | 0 | 0 | 0.018072 | 0.205742 | 627 | 27 | 77 | 23.222222 | 0.783133 | 0 | 0 | 0.105263 | 0 | 0 | 0.014331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.315789 | 0 | 0.736842 | 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 |
13fd217b7d86a28f01f3202edacefd22d951a848 | 1,715 | py | Python | api/src/service/SampleSpeakService.py | SamuelJansen/ai-voice-api | 5752fb9b1287945c0b074687552b0fcb205ed27a | [
"MIT"
] | 2 | 2022-02-07T12:22:13.000Z | 2022-03-04T02:42:55.000Z | api/src/service/SampleSpeakService.py | SamuelJansen/voice-api | 6e143e01ad3e06d4f836646f024d3ca06cb37efa | [
"MIT"
] | null | null | null | api/src/service/SampleSpeakService.py | SamuelJansen/voice-api | 6e143e01ad3e06d4f836646f024d3ca06cb37efa | [
"MIT"
] | null | null | null | from python_framework import Service, ServiceMethod, ConverterStatic, GlobalException
from dto import SpeakDto, ApiKeyDataDto
import SampleSpeak
@Service()
class SampleSpeakService :
@ServiceMethod(requestClass=[ApiKeyDataDto.ApiKeyDataDto])
def findOrCreate(self, currentApiKey):
if self.notExistsBy... | 39.883721 | 113 | 0.742274 | 140 | 1,715 | 9.085714 | 0.3 | 0.04717 | 0.062893 | 0.097484 | 0.345912 | 0.205975 | 0.13522 | 0.13522 | 0.13522 | 0.13522 | 0 | 0 | 0.163848 | 1,715 | 42 | 114 | 40.833333 | 0.887029 | 0 | 0 | 0.125 | 0 | 0 | 0.018659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.09375 | 0.15625 | 0.59375 | 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 |
cd26122379cf4d531a8d3d195f6aabf8bdd3d339 | 170 | py | Python | search/urls.py | wendell1101/EcommerceProject---Django | 008396c283f887db528ca5c07de61a794feeb83b | [
"MIT"
] | null | null | null | search/urls.py | wendell1101/EcommerceProject---Django | 008396c283f887db528ca5c07de61a794feeb83b | [
"MIT"
] | null | null | null | search/urls.py | wendell1101/EcommerceProject---Django | 008396c283f887db528ca5c07de61a794feeb83b | [
"MIT"
] | null | null | null | from django.urls import path
from .views import SearchProductListView
app_name = 'search'
urlpatterns = [
path('', SearchProductListView.as_view(), name="query"),
]
| 21.25 | 60 | 0.741176 | 19 | 170 | 6.526316 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135294 | 170 | 7 | 61 | 24.285714 | 0.843537 | 0 | 0 | 0 | 0 | 0 | 0.064706 | 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 |
cd433157279fd3ab17e5e61242e6418ac0c2baa6 | 310 | py | Python | WebClassApp/categorias/serializers.py | jesuscol96/WebClassApp | 092bde4cb16f09f3efafc32af904715fae59773a | [
"MIT"
] | null | null | null | WebClassApp/categorias/serializers.py | jesuscol96/WebClassApp | 092bde4cb16f09f3efafc32af904715fae59773a | [
"MIT"
] | null | null | null | WebClassApp/categorias/serializers.py | jesuscol96/WebClassApp | 092bde4cb16f09f3efafc32af904715fae59773a | [
"MIT"
] | null | null | null | from rest_framework import serializers
from django.contrib.auth.models import User
from .models import *
class CategoriesSerializer(serializers.ModelSerializer):
class Meta:
model= Categories
fields = ['pk','name','description','view_count','deleted_at','created_at','updated_at']
| 34.444444 | 97 | 0.729032 | 35 | 310 | 6.314286 | 0.742857 | 0.108597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 310 | 8 | 98 | 38.75 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.188742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.714286 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
cd5b3e66ec1475f1b38e055c972c5faae3e5f2d3 | 5,471 | py | Python | api/models.py | lunamagic1978/DQP | 5ca135f56a25f79d27436dc9ea844cb5b6a6b4a2 | [
"Apache-2.0"
] | null | null | null | api/models.py | lunamagic1978/DQP | 5ca135f56a25f79d27436dc9ea844cb5b6a6b4a2 | [
"Apache-2.0"
] | null | null | null | api/models.py | lunamagic1978/DQP | 5ca135f56a25f79d27436dc9ea844cb5b6a6b4a2 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from datetime import datetime
# Create your models here.
class ApiNameSpace(models.Model):
namespace = models.CharField(max_length=100)
def __str__(self):
return self.namespace
class ApiProject(models.Model):
project_name = models.CharField(max_length=1000)
na... | 47.163793 | 107 | 0.748492 | 689 | 5,471 | 5.716981 | 0.133527 | 0.175171 | 0.210206 | 0.280274 | 0.78954 | 0.675806 | 0.63671 | 0.447829 | 0.415588 | 0.104849 | 0 | 0.030405 | 0.128313 | 5,471 | 116 | 108 | 47.163793 | 0.795555 | 0.026138 | 0 | 0.113636 | 0 | 0 | 0.00507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.022727 | 0.045455 | 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 |
cd5e0a6142a11eeca41821b8c60694b0a8bd9145 | 77 | py | Python | Python/kurosc/kurosc/version.py | chriswilly/kuramoto-osc | 76c2e64052a39d55f13c7ae3b39ef6b24ad82099 | [
"MIT"
] | 1 | 2021-04-29T04:15:46.000Z | 2021-04-29T04:15:46.000Z | Python/kurosc/kurosc/version.py | chriswilly/kuramoto-osc | 76c2e64052a39d55f13c7ae3b39ef6b24ad82099 | [
"MIT"
] | 1 | 2021-04-27T00:42:23.000Z | 2021-05-15T04:31:58.000Z | Python/kurosc/kurosc/version.py | chriswilly/kuramoto-osc | 76c2e64052a39d55f13c7ae3b39ef6b24ad82099 | [
"MIT"
] | null | null | null | __version_info__ = (0,1,0)
__version__ = '.'.join(map(str,__version_info__))
| 25.666667 | 49 | 0.727273 | 11 | 77 | 3.818182 | 0.636364 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.077922 | 77 | 2 | 50 | 38.5 | 0.549296 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 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 |
26982c888b28a3877e085d37b4049fb3f947eaae | 280 | py | Python | project1_code/metrics.py | rachelbrown347/CS294-26_code | 72a20a9ab75345091d2a743b13857d7a88adf9be | [
"MIT"
] | 1 | 2022-03-12T00:55:52.000Z | 2022-03-12T00:55:52.000Z | project1_code/metrics.py | rachelbrown347/CS294-26_code | 72a20a9ab75345091d2a743b13857d7a88adf9be | [
"MIT"
] | null | null | null | project1_code/metrics.py | rachelbrown347/CS294-26_code | 72a20a9ab75345091d2a743b13857d7a88adf9be | [
"MIT"
] | null | null | null | import numpy as np
def rms(a, b):
i_avg = np.mean((a + b).ravel())
return np.sqrt(((((a + b) - i_avg)**2).ravel().sum())/a.size)
def ncc(a, b):
return ((a/np.linalg.norm(a)) * (b/np.linalg.norm(b))).ravel().sum()
def l2corr(a, b):
return -((a-b)**2).sum().sum() | 25.454545 | 72 | 0.535714 | 54 | 280 | 2.740741 | 0.388889 | 0.094595 | 0.040541 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012931 | 0.171429 | 280 | 11 | 73 | 25.454545 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 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 |
269eb32e07607279f0baa288c9f0c50092aa2eb6 | 682 | py | Python | backend/app/app/schemas/__init__.py | tgogos/NEF_emulator | be126a1967e11148f02f526be4ab192b6ce6df68 | [
"Apache-2.0"
] | 10 | 2022-01-27T12:13:45.000Z | 2022-03-22T10:44:37.000Z | backend/app/app/schemas/__init__.py | EVOLVED-5G/NEF_emulator | bcbce43bf1226a4ddd81db8662c982460cff2583 | [
"Apache-2.0"
] | 6 | 2022-01-28T14:22:17.000Z | 2022-02-09T13:31:45.000Z | backend/app/app/schemas/__init__.py | EVOLVED-5G/NEF_emulator | bcbce43bf1226a4ddd81db8662c982460cff2583 | [
"Apache-2.0"
] | 2 | 2022-01-27T12:04:18.000Z | 2022-01-27T12:18:59.000Z | from .path import Path, PathCreate, PathUpdate, PathInDB, PathInDBBase, Paths
from .msg import Msg
from .token import Token, TokenPayload
from .user import User, UserCreate, UserInDB, UserUpdate
from .gNB import gNB, gNBCreate, gNBInDB, gNBUpdate
from .Cell import Cell, CellCreate, CellInDB, CellUpdate
from .UE import ... | 68.2 | 169 | 0.851906 | 67 | 682 | 8.656716 | 0.597015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095308 | 682 | 10 | 170 | 68.2 | 0.940032 | 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 |
26a69621ec7322f9bb6977b0af48d70da3ebcf8c | 162 | py | Python | blog/users/urls.py | zsyJame/blog | 9e0c41ebab83b23501cc20bd4da579dfe7e3d1f0 | [
"MIT"
] | null | null | null | blog/users/urls.py | zsyJame/blog | 9e0c41ebab83b23501cc20bd4da579dfe7e3d1f0 | [
"MIT"
] | null | null | null | blog/users/urls.py | zsyJame/blog | 9e0c41ebab83b23501cc20bd4da579dfe7e3d1f0 | [
"MIT"
] | null | null | null | from django.urls import path
from views import RegisterView
urlpatterns = [
# path的第一个参数:路由
# 第二个参数: 视图参数名
path('register/',RegisterView.as_view()),
] | 23.142857 | 45 | 0.709877 | 19 | 162 | 6 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179012 | 162 | 7 | 46 | 23.142857 | 0.857143 | 0.160494 | 0 | 0 | 0 | 0 | 0.067164 | 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 |
26c08bc0d0f5684b27e9762fbb09e6dc39675bff | 4,298 | py | Python | src/boardgame_framework/serializers/yaml/__init__.py | RabidCicada/boardgame_framework | eaba69b6125bbcda12c78d3c801eb166151de1cd | [
"Apache-2.0"
] | 1 | 2018-07-26T04:57:55.000Z | 2018-07-26T04:57:55.000Z | src/boardgame_framework/serializers/yaml/__init__.py | RabidCicada/boardgame_framework | eaba69b6125bbcda12c78d3c801eb166151de1cd | [
"Apache-2.0"
] | 1 | 2019-09-16T20:55:34.000Z | 2019-09-16T22:12:10.000Z | src/boardgame_framework/serializers/yaml/__init__.py | RabidCicada/boardgame_framework | eaba69b6125bbcda12c78d3c801eb166151de1cd | [
"Apache-2.0"
] | null | null | null | import ruamel.yaml
import io
from boardgame_framework.cell import CellMgr, Cell
from boardgame_framework.coord import CoordinateSystem, CoordinateSystemMgr, RectCoord, CubedCoord, HexCoord, HexCoordinateSystem, RectCoordinateSystem
class MyYAML(ruamel.yaml.YAML):
def dump(self, data, stream=None, **kw):
i... | 38.720721 | 151 | 0.780596 | 496 | 4,298 | 6.479839 | 0.118952 | 0.050404 | 0.072806 | 0.092408 | 0.500311 | 0.359365 | 0.323584 | 0.211886 | 0.211886 | 0.211886 | 0 | 0 | 0.104002 | 4,298 | 110 | 152 | 39.072727 | 0.834588 | 0.079107 | 0 | 0.116883 | 0 | 0 | 0.034954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.246753 | false | 0 | 0.051948 | 0.116883 | 0.558442 | 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 |
26c4bfdf76861da76fa2e9c7fef78cfe1f621e11 | 266 | py | Python | moto/packages/boto/cloudformation/stack.py | orenmazor/moto | 4778377e8ecaf729d26602a2c5202b72c1438503 | [
"Apache-2.0"
] | 5,460 | 2015-01-01T01:11:17.000Z | 2022-03-31T23:45:38.000Z | moto/packages/boto/cloudformation/stack.py | orenmazor/moto | 4778377e8ecaf729d26602a2c5202b72c1438503 | [
"Apache-2.0"
] | 4,475 | 2015-01-05T19:37:30.000Z | 2022-03-31T13:55:12.000Z | moto/packages/boto/cloudformation/stack.py | orenmazor/moto | 4778377e8ecaf729d26602a2c5202b72c1438503 | [
"Apache-2.0"
] | 1,831 | 2015-01-14T00:00:44.000Z | 2022-03-31T20:30:04.000Z | class Output(object):
def __init__(self, connection=None):
self.connection = connection
self.description = None
self.key = None
self.value = None
def __repr__(self):
return 'Output:"%s"="%s"' % (self.key, self.value)
| 26.6 | 58 | 0.593985 | 31 | 266 | 4.83871 | 0.451613 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274436 | 266 | 9 | 59 | 29.555556 | 0.777202 | 0 | 0 | 0 | 0 | 0 | 0.06015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
26cf8ee916a5a6dacac1b902d2344dbabd398d13 | 637 | py | Python | gr/model/usuario/NivelAcesso.py | Aresjr/Guerreiro | c378836d8d5b41cba8585170459a070eed673356 | [
"Apache-2.0"
] | null | null | null | gr/model/usuario/NivelAcesso.py | Aresjr/Guerreiro | c378836d8d5b41cba8585170459a070eed673356 | [
"Apache-2.0"
] | 4 | 2020-07-11T00:20:57.000Z | 2020-08-06T11:58:23.000Z | gr/model/usuario/NivelAcesso.py | Aresjr/Guerreiro | c378836d8d5b41cba8585170459a070eed673356 | [
"Apache-2.0"
] | null | null | null | from app import db
class NivelAcesso(db.Model):
id = db.Column(db.Integer, primary_key=True)
descricao = db.Column(db.String(128))
# FUNCIONÁRIO
fazAtividades = db.Column(db.Boolean, default=True)
fazTeste = db.Column(db.Boolean, default=False)
# ADM
criaCargo = db.Column(db.Boolean, de... | 25.48 | 57 | 0.689168 | 83 | 637 | 5.26506 | 0.373494 | 0.183066 | 0.228833 | 0.311213 | 0.519451 | 0.464531 | 0 | 0 | 0 | 0 | 0 | 0.005792 | 0.186813 | 637 | 24 | 58 | 26.541667 | 0.837838 | 0.051805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 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 |
26ea9441b4930171d30efc55943f7c09a2ddec46 | 31,534 | py | Python | tests/examples/minlplib/maxmineig2.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 2 | 2021-07-03T13:19:10.000Z | 2022-02-06T10:48:13.000Z | tests/examples/minlplib/maxmineig2.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 1 | 2021-07-04T14:52:14.000Z | 2021-07-15T10:17:11.000Z | tests/examples/minlplib/maxmineig2.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | null | null | null | # NLP written by GAMS Convert at 04/21/18 13:52:30
#
# Equation counts
# Total E G L N X C B
# 112 112 0 0 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 58.288355 | 120 | 0.589522 | 6,457 | 31,534 | 2.879046 | 0.068608 | 0.053254 | 0.150619 | 0.215169 | 0.748628 | 0.644164 | 0.643518 | 0.643088 | 0.642173 | 0.427004 | 0 | 0.236964 | 0.191159 | 31,534 | 540 | 121 | 58.396296 | 0.491884 | 0.021501 | 0 | 0.152709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002463 | 0 | 0.002463 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
26f9dad419fbb07db70ed3e3db8006a527e330ce | 196 | py | Python | useful_files/get_version.py | tiiuae/libsurvive | b966a6c0942889f7a4d6a34dd21488bb9a06ffc6 | [
"MIT"
] | 377 | 2016-12-03T06:44:50.000Z | 2020-02-09T21:48:46.000Z | useful_files/get_version.py | tiiuae/libsurvive | b966a6c0942889f7a4d6a34dd21488bb9a06ffc6 | [
"MIT"
] | 100 | 2020-02-12T02:42:52.000Z | 2022-03-26T13:41:38.000Z | useful_files/get_version.py | tiiuae/libsurvive | b966a6c0942889f7a4d6a34dd21488bb9a06ffc6 | [
"MIT"
] | 62 | 2016-12-03T06:38:02.000Z | 2020-02-04T19:21:14.000Z | import subprocess
version = subprocess.check_output(["git", "describe", "--tags", "--long"]).strip().decode('utf-8').replace("-", ".")[1:]
version = version[:version.rfind("g")-1]
print(version) | 32.666667 | 120 | 0.647959 | 24 | 196 | 5.25 | 0.75 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0.071429 | 196 | 6 | 121 | 32.666667 | 0.675824 | 0 | 0 | 0 | 0 | 0 | 0.15736 | 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 |
f81993caaa8b4dd4565c8f345ddad59c9af55f0b | 284 | py | Python | fintoc/managers/webhook_endpoints_manager.py | KnowYourselves/fintoc-python | 7b61850db6bb029aafd6fbf8e37b46e1188474a9 | [
"BSD-3-Clause"
] | 80 | 2020-05-10T13:41:26.000Z | 2022-01-14T14:20:40.000Z | fintoc/managers/webhook_endpoints_manager.py | nmassardot/fintoc-python | 5560e1f06ede0ff155d4274d3d8cf91e40e53710 | [
"BSD-3-Clause"
] | 23 | 2020-05-27T22:48:06.000Z | 2022-01-04T13:40:09.000Z | fintoc/managers/webhook_endpoints_manager.py | nmassardot/fintoc-python | 5560e1f06ede0ff155d4274d3d8cf91e40e53710 | [
"BSD-3-Clause"
] | 8 | 2020-09-22T16:13:32.000Z | 2021-12-11T19:58:58.000Z | """Module to hold the webhook_endpoints manager."""
from fintoc.mixins import ManagerMixin
class WebhookEndpointsManager(ManagerMixin):
"""Represents a webhook_endpoints manager."""
resource = "webhook_endpoint"
methods = ["all", "get", "create", "update", "delete"]
| 23.666667 | 58 | 0.714789 | 29 | 284 | 6.896552 | 0.827586 | 0.16 | 0.23 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151408 | 284 | 11 | 59 | 25.818182 | 0.829876 | 0.299296 | 0 | 0 | 0 | 0 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f81bb8e2dbca4bebfd09633922e9416f15355181 | 897 | py | Python | chemmltoolkit/features/moleculeFeaturiser.py | Andy-Wilkinson/ChemMLToolk | 83efc7ea66d2def860a3e04ccd70d77fb689fddc | [
"MIT"
] | 1 | 2019-10-30T03:43:24.000Z | 2019-10-30T03:43:24.000Z | chemmltoolkit/features/moleculeFeaturiser.py | Andy-Wilkinson/ChemMLToolk | 83efc7ea66d2def860a3e04ccd70d77fb689fddc | [
"MIT"
] | 2 | 2021-11-28T21:09:30.000Z | 2021-11-28T21:09:39.000Z | chemmltoolkit/features/moleculeFeaturiser.py | Andy-Wilkinson/ChemMLToolkit | 83efc7ea66d2def860a3e04ccd70d77fb689fddc | [
"MIT"
] | null | null | null | from typing import List
from chemmltoolkit.features.featuriser import Featuriser
from rdkit.Chem import MolFromSmiles
from rdkit.Chem import Mol
class MoleculeFeaturiser(Featuriser):
"""Generator for molecule-based features.
Args:
features: A list of features to generate.
"""
def __init__(sel... | 25.628571 | 58 | 0.64437 | 101 | 897 | 5.574257 | 0.405941 | 0.026643 | 0.0373 | 0.067496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275362 | 897 | 34 | 59 | 26.382353 | 0.866154 | 0.322185 | 0 | 0 | 0 | 0 | 0.003899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f82d4b5b65ee98022efbbb62708310f2b4b3bf54 | 210 | py | Python | day_2/random_package.py | anishLearnsToCode/python-workshop-7 | 2d5933be2629600f5f9e8efea58403421737a299 | [
"MIT"
] | 4 | 2020-12-22T14:28:22.000Z | 2021-09-15T20:28:15.000Z | day_2/random_package.py | anishLearnsToCode/python-workshop-7 | 2d5933be2629600f5f9e8efea58403421737a299 | [
"MIT"
] | null | null | null | day_2/random_package.py | anishLearnsToCode/python-workshop-7 | 2d5933be2629600f5f9e8efea58403421737a299 | [
"MIT"
] | null | null | null | import random
a, b = -100, 100
# print(int((b - a) * random.random() + a))
x, y = random.randint(a, b), random.randint(a, b)
print(x)
print(y)
"""
(0, 1)
(0, b - a)
(0, b - a) + a
(a, b - a + a)
(a, b)
"""
| 11.666667 | 49 | 0.485714 | 42 | 210 | 2.428571 | 0.285714 | 0.098039 | 0.27451 | 0.294118 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.238095 | 210 | 17 | 50 | 12.352941 | 0.575 | 0.195238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f831e44af83b833c594505335f927271499847c5 | 1,259 | py | Python | prediction/migrations/0001_initial.py | enisteper1/AWS-Deployed-ML | 555f9b6ad72728bee079fdea4dd5ee91deacc75f | [
"Apache-2.0"
] | null | null | null | prediction/migrations/0001_initial.py | enisteper1/AWS-Deployed-ML | 555f9b6ad72728bee079fdea4dd5ee91deacc75f | [
"Apache-2.0"
] | null | null | null | prediction/migrations/0001_initial.py | enisteper1/AWS-Deployed-ML | 555f9b6ad72728bee079fdea4dd5ee91deacc75f | [
"Apache-2.0"
] | null | null | null | # Generated by Django 4.0.3 on 2022-03-05 11:34
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Data',
fields=[
('id', models.BigAutoField(... | 39.34375 | 117 | 0.574265 | 137 | 1,259 | 5.175182 | 0.452555 | 0.232722 | 0.341326 | 0.06488 | 0.09591 | 0.09591 | 0.09591 | 0 | 0 | 0 | 0 | 0.058888 | 0.271644 | 1,259 | 31 | 118 | 40.612903 | 0.714286 | 0.035743 | 0 | 0 | 1 | 0 | 0.086634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.041667 | 0.041667 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f834b8bde430fc75fca576b891b290071848c6f4 | 51 | py | Python | _/0349_09_Code/046.py | paullewallencom/javascript-978-1-8495-1034-9 | 7e539d042c644931a9ef2418f66d260a1c6892eb | [
"Apache-2.0"
] | null | null | null | _/0349_09_Code/046.py | paullewallencom/javascript-978-1-8495-1034-9 | 7e539d042c644931a9ef2418f66d260a1c6892eb | [
"Apache-2.0"
] | null | null | null | _/0349_09_Code/046.py | paullewallencom/javascript-978-1-8495-1034-9 | 7e539d042c644931a9ef2418f66d260a1c6892eb | [
"Apache-2.0"
] | null | null | null | candidates.sort(lambda a, b: -cmp(a[1], b[1]))
| 25.5 | 50 | 0.568627 | 10 | 51 | 2.9 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.176471 | 51 | 1 | 51 | 51 | 0.642857 | 0 | 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 |
f88ce4f1e4a47332ebef12fa951da327d8992849 | 1,667 | py | Python | FrozenYoghourt/__init__.py | pmont056/FrozenYoghourt | 32f9254464a8a2774af9b9fd4bf61acb3f177293 | [
"MIT"
] | 3 | 2022-02-15T07:57:40.000Z | 2022-03-11T16:58:59.000Z | FrozenYoghourt/__init__.py | pmont056/FrozenYoghourt | 32f9254464a8a2774af9b9fd4bf61acb3f177293 | [
"MIT"
] | 18 | 2022-02-12T05:34:26.000Z | 2022-03-12T17:17:34.000Z | FrozenYoghourt/__init__.py | pmont056/FrozenYoghourt | 32f9254464a8a2774af9b9fd4bf61acb3f177293 | [
"MIT"
] | null | null | null | import numpy as np
import scipy
from sympy import *
from sympy.physics.quantum import TensorProduct
from functools import reduce
from qiskit.quantum_info import *
from scipy.optimize import minimize
from numpy.testing import assert_array_almost_equal as aae
from typing import *
import matplotlib.pyplot as plt
import py... | 30.87037 | 82 | 0.684463 | 196 | 1,667 | 5.770408 | 0.44898 | 0.114943 | 0.233422 | 0.102564 | 0.058355 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012186 | 0.212358 | 1,667 | 54 | 82 | 30.87037 | 0.8492 | 0.162567 | 0 | 0.108108 | 0 | 0 | 0.359792 | 0.139466 | 0 | 0 | 0 | 0 | 0.027027 | 1 | 0.054054 | false | 0 | 0.756757 | 0 | 0.810811 | 0.054054 | 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 |
f8902f3c81388d7644c6818e5d6828a4790c2f09 | 237 | py | Python | accounts/urls.py | staeff/time-of-your-life | 2c6a5bd2c064983f1d196c1ea349c36e5c041576 | [
"MIT"
] | 16 | 2021-09-28T19:30:37.000Z | 2021-10-03T12:48:35.000Z | accounts/urls.py | staeff/time-of-your-life | 2c6a5bd2c064983f1d196c1ea349c36e5c041576 | [
"MIT"
] | 1 | 2021-10-02T20:22:59.000Z | 2021-10-02T20:22:59.000Z | accounts/urls.py | staeff/time-of-your-life | 2c6a5bd2c064983f1d196c1ea349c36e5c041576 | [
"MIT"
] | 6 | 2021-09-29T07:24:49.000Z | 2021-10-01T21:40:38.000Z | from django.urls import path
from .views import SignupPageView, ProfileView
urlpatterns = [
path('signup/', SignupPageView.as_view(), name='account_signup'),
path('profile/<slug:pk>/', ProfileView.as_view(), name='profile'),
]
| 26.333333 | 70 | 0.7173 | 28 | 237 | 5.964286 | 0.607143 | 0.071856 | 0.11976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122363 | 237 | 8 | 71 | 29.625 | 0.802885 | 0 | 0 | 0 | 0 | 0 | 0.194093 | 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 |
f896e4424b79781a199bff43d11a90aa848be664 | 834 | py | Python | dialow/request.py | SiLeader/pydialogflow | 53ec43dbe8afea3c6068ea60573738c48436e502 | [
"Apache-2.0"
] | null | null | null | dialow/request.py | SiLeader/pydialogflow | 53ec43dbe8afea3c6068ea60573738c48436e502 | [
"Apache-2.0"
] | null | null | null | dialow/request.py | SiLeader/pydialogflow | 53ec43dbe8afea3c6068ea60573738c48436e502 | [
"Apache-2.0"
] | null | null | null | from .session import Session
class Request:
def __init__(self, req):
self.__session = Session(req)
self.__request = req
self.__result = req["queryResult"]
def has_slot(self, name) -> bool:
if "parameters" in self.__result:
return name in self.__result["parameters"]... | 25.272727 | 64 | 0.601918 | 95 | 834 | 4.989474 | 0.368421 | 0.105485 | 0.050633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291367 | 834 | 32 | 65 | 26.0625 | 0.80203 | 0 | 0 | 0.12 | 0 | 0 | 0.105516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.04 | 0.12 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f8b368344adb9fdf26b8972dbfb79fe854662c67 | 125 | py | Python | home/urls.py | mdpe-ir/mdCms | 69aea3687a2b9d7846b196c00a0cd3866c54fd4c | [
"BSD-3-Clause-Attribution"
] | 1 | 2021-03-09T19:03:35.000Z | 2021-03-09T19:03:35.000Z | home/urls.py | mdpe-ir/mdCms | 69aea3687a2b9d7846b196c00a0cd3866c54fd4c | [
"BSD-3-Clause-Attribution"
] | null | null | null | home/urls.py | mdpe-ir/mdCms | 69aea3687a2b9d7846b196c00a0cd3866c54fd4c | [
"BSD-3-Clause-Attribution"
] | 1 | 2021-11-13T06:04:33.000Z | 2021-11-13T06:04:33.000Z | from django.urls import path
from .views import *
app_name = 'home'
urlpatterns = [
path('<slug>', index, name='home'),
]
| 17.857143 | 36 | 0.664 | 17 | 125 | 4.823529 | 0.705882 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168 | 125 | 6 | 37 | 20.833333 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.112 | 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 |
f8b3bd70933a0a4728996ec82d94bbea7b0e4202 | 149 | py | Python | app/articles/urls.py | hbyyy/newsmailing | 53f7bbff438a5dcd19708dc8738d4407d156dd7f | [
"MIT"
] | null | null | null | app/articles/urls.py | hbyyy/newsmailing | 53f7bbff438a5dcd19708dc8738d4407d156dd7f | [
"MIT"
] | 7 | 2020-06-19T15:32:07.000Z | 2021-08-23T20:49:39.000Z | app/articles/urls.py | hbyyy/newsmailing | 53f7bbff438a5dcd19708dc8738d4407d156dd7f | [
"MIT"
] | null | null | null | from django.urls import path
from .views import TestArticleView
urlpatterns = [
path('testview/', TestArticleView.as_view(), name='testview'),
] | 24.833333 | 66 | 0.744966 | 17 | 149 | 6.470588 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127517 | 149 | 6 | 67 | 24.833333 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.113333 | 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 |
f8cb4d0248390d59a9788db153e3ef6446209d8c | 173 | py | Python | config/get_config.py | jaselnik/Weather-AioHttp-Server | 7745d5710e8d4f136930e2e40b1b9066e5ae2941 | [
"MIT"
] | 1 | 2019-07-18T18:57:55.000Z | 2019-07-18T18:57:55.000Z | config/get_config.py | tamkovich/Weather-AioHttp-Server | 7745d5710e8d4f136930e2e40b1b9066e5ae2941 | [
"MIT"
] | null | null | null | config/get_config.py | tamkovich/Weather-AioHttp-Server | 7745d5710e8d4f136930e2e40b1b9066e5ae2941 | [
"MIT"
] | null | null | null | import os
import yaml
def get_config(Loader):
with open(os.path.join("config", "base.yaml"), "r") as file:
config = yaml.load(file, Loader)
return config
| 17.3 | 64 | 0.647399 | 26 | 173 | 4.269231 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213873 | 173 | 9 | 65 | 19.222222 | 0.816176 | 0 | 0 | 0 | 0 | 0 | 0.092486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f8cb5e501c535f1f05976b1f9511a4a4ff4d4c6e | 650 | py | Python | toolbox/__init__.py | lauralwatkins/toolbox | 7da2de1859e7683ec368f486274548806c10e3b4 | [
"BSD-2-Clause"
] | null | null | null | toolbox/__init__.py | lauralwatkins/toolbox | 7da2de1859e7683ec368f486274548806c10e3b4 | [
"BSD-2-Clause"
] | null | null | null | toolbox/__init__.py | lauralwatkins/toolbox | 7da2de1859e7683ec368f486274548806c10e3b4 | [
"BSD-2-Clause"
] | 1 | 2020-06-11T19:52:12.000Z | 2020-06-11T19:52:12.000Z | #!/usr/bin/env python
from .asymgauss import asymgauss
from .clip2d import clip2d
from .cov_ellipse import cov_ellipse
from .covar import covar
from .ellipse import ellipse
from .fit_gauss import fit_gauss
from .fmttime import fmttime
from .into_pixels import into_pixels
from .into_vorbins import into_vorbins
from .li... | 29.545455 | 56 | 0.841538 | 88 | 650 | 6.125 | 0.306818 | 0.037106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010508 | 0.121538 | 650 | 21 | 57 | 30.952381 | 0.93345 | 0.030769 | 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 |
3e1c540289ce3f54209c3cb06968e9a5f0c61d2d | 2,756 | py | Python | test/unit/agent/tanks/config.py | dp92987/nginx-amplify-agent | 1b2eed6eab52a82f35974928d75044451b4bedaf | [
"BSD-2-Clause"
] | 308 | 2015-11-17T13:15:33.000Z | 2022-03-24T12:03:40.000Z | test/unit/agent/tanks/config.py | dp92987/nginx-amplify-agent | 1b2eed6eab52a82f35974928d75044451b4bedaf | [
"BSD-2-Clause"
] | 211 | 2015-11-16T15:27:41.000Z | 2022-03-28T16:20:15.000Z | test/unit/agent/tanks/config.py | dp92987/nginx-amplify-agent | 1b2eed6eab52a82f35974928d75044451b4bedaf | [
"BSD-2-Clause"
] | 80 | 2015-11-16T18:20:30.000Z | 2022-03-02T12:47:56.000Z | # -*- coding: utf-8 -*-
from hamcrest import *
from test.base import BaseTestCase
from test.unit.agent.common.config.app import TestingConfig
from amplify.agent.tanks.config import ConfigTank
__author__ = "Grant Hulegaard"
__copyright__ = "Copyright (C) Nginx, Inc. All rights reserved."
__license__ = ""
__maintaine... | 36.746667 | 83 | 0.715167 | 358 | 2,756 | 5.134078 | 0.212291 | 0.146899 | 0.190424 | 0.206746 | 0.599021 | 0.599021 | 0.599021 | 0.599021 | 0.599021 | 0.552231 | 0 | 0.004429 | 0.180697 | 2,756 | 74 | 84 | 37.243243 | 0.809566 | 0.066401 | 0 | 0.422222 | 0 | 0 | 0.080765 | 0.018338 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.111111 | false | 0 | 0.088889 | 0 | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3e3e319468d50a5a34a8dc2a193398d08093ab10 | 99 | py | Python | src/fractal/demon/alpha/nature.py | jedhsu/fractal | 97833ddc5063fae72352cf590738fef508c02f0c | [
"MIT"
] | null | null | null | src/fractal/demon/alpha/nature.py | jedhsu/fractal | 97833ddc5063fae72352cf590738fef508c02f0c | [
"MIT"
] | null | null | null | src/fractal/demon/alpha/nature.py | jedhsu/fractal | 97833ddc5063fae72352cf590738fef508c02f0c | [
"MIT"
] | null | null | null | """
*Alpha Nature*
"""
class BrightNature:
mcts_params: MonteCarloTreeSearchParameters,
| 11 | 48 | 0.69697 | 7 | 99 | 9.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191919 | 99 | 8 | 49 | 12.375 | 0.85 | 0 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.