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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d59c19fd2fff21b7ad3207a10324591c16483b6b | 149 | py | Python | posts/models.py | grace0927/postmattic | db08c235e49f6db5669a650951867fc948e1843e | [
"MIT"
] | null | null | null | posts/models.py | grace0927/postmattic | db08c235e49f6db5669a650951867fc948e1843e | [
"MIT"
] | null | null | null | posts/models.py | grace0927/postmattic | db08c235e49f6db5669a650951867fc948e1843e | [
"MIT"
] | null | null | null | from django.db import models
class NavItem(models.Model):
title = models.CharField(max_length=200)
link = models.CharField(max_length=300)
| 21.285714 | 44 | 0.751678 | 21 | 149 | 5.238095 | 0.714286 | 0.272727 | 0.327273 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047244 | 0.147651 | 149 | 6 | 45 | 24.833333 | 0.818898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
896c1ee10e3a3800c5a5336d35d22ac41f2395d7 | 428 | py | Python | tasks_queue/worker_manager.py | Aviah/django-queue | 65c6cfcbcfde08f6af34216b8bdc9c6f869699e3 | [
"MIT"
] | 9 | 2017-01-19T03:39:40.000Z | 2020-11-27T04:35:48.000Z | tasks_queue/worker_manager.py | Aviah/django-queue | 65c6cfcbcfde08f6af34216b8bdc9c6f869699e3 | [
"MIT"
] | null | null | null | tasks_queue/worker_manager.py | Aviah/django-queue | 65c6cfcbcfde08f6af34216b8bdc9c6f869699e3 | [
"MIT"
] | 6 | 2017-02-13T19:00:12.000Z | 2021-11-24T07:51:02.000Z | from .worker import Worker
def start():
global worker_thread
worker_thread = Worker(logger_name='main')
def put_task(task):
return worker_thread.put_task_on_queue(task)
def stop():
return worker_thread.stop_thread()
def ping():
return worker_thread.ping()
def waiting():
... | 16.461538 | 48 | 0.67757 | 54 | 428 | 5.092593 | 0.388889 | 0.305455 | 0.327273 | 0.174545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228972 | 428 | 26 | 49 | 16.461538 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.009324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.071429 | 0.357143 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
897868fafee0ee230ceb67eb513471677ce620bd | 3,594 | py | Python | tests/test_find_items1.py | esputnix/logger-app | c1700c4d48d07f5981b9915b1c52908e56d97cb0 | [
"MIT-0"
] | null | null | null | tests/test_find_items1.py | esputnix/logger-app | c1700c4d48d07f5981b9915b1c52908e56d97cb0 | [
"MIT-0"
] | null | null | null | tests/test_find_items1.py | esputnix/logger-app | c1700c4d48d07f5981b9915b1c52908e56d97cb0 | [
"MIT-0"
] | null | null | null | import boto3
from boto3.dynamodb.conditions import Key
dynamodb = boto3.resource('dynamodb', region_name='us-east-1') # , endpoint_url="https://a5lgfuj6sa.execute-api.us-east-1.amazonaws.com/Stage"
table = dynamodb.Table('logger-app-SampleTable-1KRQESO09KSGU')
def find_by_timestamp(timestamp):
response ... | 47.92 | 142 | 0.688648 | 373 | 3,594 | 6.55496 | 0.193029 | 0.138241 | 0.147239 | 0.294479 | 0.723926 | 0.723926 | 0.723926 | 0.723926 | 0.723926 | 0.723926 | 0 | 0.028238 | 0.142738 | 3,594 | 75 | 143 | 47.92 | 0.765336 | 0.715359 | 0 | 0.333333 | 0 | 0 | 0.118006 | 0.036623 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.133333 | 0 | 0.333333 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
899b13695ea951192521760324f08ea90831c77b | 193 | py | Python | tests/classes/password_user.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 50 | 2021-08-18T08:08:04.000Z | 2022-03-20T07:23:26.000Z | tests/classes/password_user.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 1 | 2021-11-23T02:12:29.000Z | 2021-11-23T13:35:26.000Z | tests/classes/password_user.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 8 | 2021-07-01T02:39:15.000Z | 2021-12-10T02:20:18.000Z | from __future__ import annotations
from jsonclasses import jsonclass, types
@jsonclass
class PasswordUser:
name: str = types.str.required
password: str = types.str.writeonly.required
| 21.444444 | 48 | 0.782383 | 23 | 193 | 6.391304 | 0.608696 | 0.108844 | 0.14966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15544 | 193 | 8 | 49 | 24.125 | 0.90184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9829abe94819bae2f2c7026f520909b848752aa5 | 3,166 | py | Python | laia/utils/phoc_test.py | basbeu/PyLaia | d14458484b56622204b1730a7d53220c5d0f1bc1 | [
"MIT"
] | 2 | 2020-09-10T13:31:17.000Z | 2021-07-31T09:44:17.000Z | laia/utils/phoc_test.py | basbeu/PyLaia | d14458484b56622204b1730a7d53220c5d0f1bc1 | [
"MIT"
] | 1 | 2020-12-06T18:11:52.000Z | 2020-12-06T18:19:38.000Z | laia/utils/phoc_test.py | basbeu/PyLaia | d14458484b56622204b1730a7d53220c5d0f1bc1 | [
"MIT"
] | 2 | 2020-04-20T13:40:56.000Z | 2020-10-17T11:59:55.000Z | import unittest
from laia.utils.phoc import unigram_phoc, new_unigram_phoc
class UnigramPHOCTest(unittest.TestCase):
def test_level_1(self):
d = {"1": 0, "2": 1, "3": 2, "4": 3, "5": 4}
phoc = unigram_phoc("12345", unigram_map=d, unigram_levels=[1])
self.assertEqual(phoc, (1, 1, 1, 1, 1)... | 36.390805 | 80 | 0.569488 | 493 | 3,166 | 3.46856 | 0.081136 | 0.05731 | 0.061404 | 0.05614 | 0.925146 | 0.925146 | 0.925146 | 0.924561 | 0.919298 | 0.908772 | 0 | 0.121542 | 0.246368 | 3,166 | 86 | 81 | 36.813953 | 0.595138 | 0 | 0 | 0.533333 | 0 | 0 | 0.042009 | 0 | 0 | 0 | 0 | 0 | 0.283333 | 1 | 0.133333 | false | 0 | 0.033333 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9835176f2dcf51a54848c4201fa6240d60d37cf5 | 30,383 | py | Python | airflow/tests/test_sync_documents_to_kernel_operations.py | robertatakenaka/opac-airflow | 3f3fd0fdf98e4a0f262aa6a093aa3cc25c56d4be | [
"BSD-2-Clause"
] | null | null | null | airflow/tests/test_sync_documents_to_kernel_operations.py | robertatakenaka/opac-airflow | 3f3fd0fdf98e4a0f262aa6a093aa3cc25c56d4be | [
"BSD-2-Clause"
] | null | null | null | airflow/tests/test_sync_documents_to_kernel_operations.py | robertatakenaka/opac-airflow | 3f3fd0fdf98e4a0f262aa6a093aa3cc25c56d4be | [
"BSD-2-Clause"
] | null | null | null | import os
import copy
import tempfile
import builtins
import json
from unittest import TestCase, main
from unittest.mock import patch, Mock
from airflow import DAG
from operations.sync_documents_to_kernel_operations import (
list_documents,
delete_documents,
register_update_documents,
link_documents_t... | 41.450205 | 105 | 0.628838 | 3,499 | 30,383 | 5.030294 | 0.080309 | 0.063746 | 0.107153 | 0.116471 | 0.835862 | 0.797512 | 0.772513 | 0.736549 | 0.705074 | 0.65519 | 0 | 0.05756 | 0.274956 | 30,383 | 732 | 106 | 41.506831 | 0.741432 | 0.027088 | 0 | 0.529321 | 0 | 0.00463 | 0.311012 | 0.242282 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.046296 | false | 0 | 0.015432 | 0 | 0.067901 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
984a8293129051da7196eb077614884e052d022c | 45 | py | Python | FlowNet2_src/__init__.py | AnonymousAuthors444/VEC_VAD | 0072bf857030e621e2f9c12689407b81e45ed603 | [
"MIT"
] | 90 | 2018-02-08T01:58:52.000Z | 2020-03-21T00:55:34.000Z | FlowNet2_src/__init__.py | AnonymousAuthors444/VEC_VAD | 0072bf857030e621e2f9c12689407b81e45ed603 | [
"MIT"
] | 20 | 2020-09-24T09:55:04.000Z | 2022-03-21T05:49:22.000Z | FlowNet2_src/__init__.py | AnonymousAuthors444/VEC_VAD | 0072bf857030e621e2f9c12689407b81e45ed603 | [
"MIT"
] | 33 | 2018-02-28T04:44:10.000Z | 2020-03-11T23:46:46.000Z | from .models import *
from .flowlib import *
| 15 | 22 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 23 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
988296fedb2496c532f92b717c471ea5c4269b10 | 3,621 | py | Python | home/migrations/0001_initial.py | SamuelM333/juliebakes | 4e873b0fa2374345b318b3a2ebdb21a43e53d56c | [
"Apache-2.0"
] | 1 | 2020-04-20T05:36:56.000Z | 2020-04-20T05:36:56.000Z | home/migrations/0001_initial.py | SamuelM333/juliebakes | 4e873b0fa2374345b318b3a2ebdb21a43e53d56c | [
"Apache-2.0"
] | null | null | null | home/migrations/0001_initial.py | SamuelM333/juliebakes | 4e873b0fa2374345b318b3a2ebdb21a43e53d56c | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.0.8 on 2018-08-18 15:06
from django.db import migrations, models
import django.db.models.deletion
import wagtail.core.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
('wagtailimages', '0021_image_file_hash'),
('wagtailcore', '0040_page_d... | 47.025974 | 191 | 0.596796 | 363 | 3,621 | 5.749311 | 0.212121 | 0.047437 | 0.057499 | 0.063728 | 0.822233 | 0.818879 | 0.785338 | 0.764734 | 0.715381 | 0.543364 | 0 | 0.019917 | 0.26512 | 3,621 | 76 | 192 | 47.644737 | 0.764374 | 0.012428 | 0 | 0.521739 | 1 | 0 | 0.173195 | 0.049804 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.101449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
988d308ff208a865e1503a79e28b0a515fb9a91e | 24 | py | Python | easymd/models/losses/__init__.py | zhiqi-li/Panoptic-SegFormer | cdb9b68059e9ef825a3f7079c37aa835b1711227 | [
"Apache-2.0"
] | 97 | 2021-11-20T17:09:24.000Z | 2022-03-31T03:03:38.000Z | easymd/models/losses/__init__.py | zhiqi-li/Panoptic-SegFormer | cdb9b68059e9ef825a3f7079c37aa835b1711227 | [
"Apache-2.0"
] | 3 | 2021-12-04T10:01:04.000Z | 2022-02-25T06:18:57.000Z | easymd/models/losses/__init__.py | zhiqi-li/Panoptic-SegFormer | cdb9b68059e9ef825a3f7079c37aa835b1711227 | [
"Apache-2.0"
] | 9 | 2021-12-03T08:39:04.000Z | 2022-03-27T14:09:04.000Z | from .dice_loss import * | 24 | 24 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f4874e61563ca23b1db3d789034d15631b1dbcb | 72 | py | Python | play.py | aagnone3/audio-effects | 7211d414e87e0293bb882eab790be68aa1bc4dec | [
"Apache-2.0"
] | 1 | 2018-07-17T07:00:55.000Z | 2018-07-17T07:00:55.000Z | play.py | aagnone3/audio-effects | 7211d414e87e0293bb882eab790be68aa1bc4dec | [
"Apache-2.0"
] | null | null | null | play.py | aagnone3/audio-effects | 7211d414e87e0293bb882eab790be68aa1bc4dec | [
"Apache-2.0"
] | null | null | null | from audio_helpers import play_audio
import sys
play_audio(sys.argv[1])
| 18 | 36 | 0.833333 | 13 | 72 | 4.384615 | 0.615385 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.097222 | 72 | 3 | 37 | 24 | 0.861538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f633c05dc1c90a0587e54581fa9fdba3a93e044 | 205 | py | Python | dask_cloudprovider/aws/tests/test_ecs.py | moti-jfrog/dask-cloudprovider | fcc6cf37933d5098d3f0a9ed55e3437ca3cd6e98 | [
"BSD-3-Clause"
] | 102 | 2019-08-05T16:11:11.000Z | 2022-03-27T08:10:49.000Z | dask_cloudprovider/aws/tests/test_ecs.py | moti-jfrog/dask-cloudprovider | fcc6cf37933d5098d3f0a9ed55e3437ca3cd6e98 | [
"BSD-3-Clause"
] | 269 | 2019-08-05T15:42:43.000Z | 2022-03-29T13:48:02.000Z | dask_cloudprovider/aws/tests/test_ecs.py | moti-jfrog/dask-cloudprovider | fcc6cf37933d5098d3f0a9ed55e3437ca3cd6e98 | [
"BSD-3-Clause"
] | 76 | 2019-08-05T15:46:00.000Z | 2022-03-27T06:40:30.000Z | import pytest
aiobotocore = pytest.importorskip("aiobotocore")
def test_import():
from dask_cloudprovider.aws import ECSCluster # noqa
from dask_cloudprovider.aws import FargateCluster # noqa
| 22.777778 | 61 | 0.780488 | 23 | 205 | 6.826087 | 0.565217 | 0.101911 | 0.267516 | 0.305732 | 0.382166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156098 | 205 | 8 | 62 | 25.625 | 0.907514 | 0.043902 | 0 | 0 | 0 | 0 | 0.056995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 1 | 0 | 1.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7fa4333609d5582ed1631faa5160bbb95d9eb53d | 301 | py | Python | libs/group/handlers/__init__.py | PushDotGame/telegram-forward-bot | 40a54aff1a8b10e79fa8a6f611e2371c79869340 | [
"Apache-2.0"
] | 1 | 2020-07-09T02:26:14.000Z | 2020-07-09T02:26:14.000Z | libs/group/handlers/__init__.py | PushDotGame/telegram-bots | 40a54aff1a8b10e79fa8a6f611e2371c79869340 | [
"Apache-2.0"
] | null | null | null | libs/group/handlers/__init__.py | PushDotGame/telegram-bots | 40a54aff1a8b10e79fa8a6f611e2371c79869340 | [
"Apache-2.0"
] | null | null | null | from . import private_command_start
from . import group_command_serve
from . import group_command_kick
from . import group_command_rules
from . import group_command_game
from . import group_command_resp
from . import group_text
from . import new_chat_members
from . import left_chat_member
| 27.363636 | 36 | 0.813953 | 44 | 301 | 5.181818 | 0.386364 | 0.394737 | 0.394737 | 0.482456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156146 | 301 | 10 | 37 | 30.1 | 0.897638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7faa6bb4f6da5afa868efbd54c6eea21beb3b098 | 41 | py | Python | strongr/configdomain/service/__init__.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | strongr/configdomain/service/__init__.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | strongr/configdomain/service/__init__.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | from .configservice import ConfigService
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6a972792c44c6a405489408dd017b392054d10c | 198 | py | Python | src/django_ixctl/rest/urls/ixctl.py | fullctl/ixctl | e46dc18269c08f031f22aac5934968ce357dba8f | [
"Apache-2.0"
] | null | null | null | src/django_ixctl/rest/urls/ixctl.py | fullctl/ixctl | e46dc18269c08f031f22aac5934968ce357dba8f | [
"Apache-2.0"
] | 39 | 2021-01-11T15:26:30.000Z | 2021-10-19T16:07:21.000Z | src/django_ixctl/rest/urls/ixctl.py | fullctl/ixctl | e46dc18269c08f031f22aac5934968ce357dba8f | [
"Apache-2.0"
] | 1 | 2021-11-06T20:18:50.000Z | 2021-11-06T20:18:50.000Z | from django.urls import include, path
import django_ixctl.rest.route.ixctl
import django_ixctl.rest.views.ixctl
urlpatterns = [
path("", include(django_ixctl.rest.route.ixctl.router.urls)),
]
| 22 | 65 | 0.772727 | 28 | 198 | 5.357143 | 0.428571 | 0.22 | 0.3 | 0.28 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 198 | 8 | 66 | 24.75 | 0.847458 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f6dd204f6872ac39806aa6830fa413144f759250 | 7,670 | py | Python | tests/test_api.py | punck/kvapp | af3325c6a15132d04c8bccabdbb16310572306c3 | [
"MIT"
] | null | null | null | tests/test_api.py | punck/kvapp | af3325c6a15132d04c8bccabdbb16310572306c3 | [
"MIT"
] | null | null | null | tests/test_api.py | punck/kvapp | af3325c6a15132d04c8bccabdbb16310572306c3 | [
"MIT"
] | null | null | null | import kvapp_pkg.KVServer as kvs
import pytest
pytest.token = None
def test_auth():
"""
Test if a token is returned
"""
server = kvs.KVServer()
app = server.get_app()
with app.test_client() as test_client:
response = test_client.get('/api/auth')
assert response.status_code == 20... | 29.5 | 152 | 0.650065 | 1,036 | 7,670 | 4.616795 | 0.071429 | 0.1129 | 0.062722 | 0.075267 | 0.92996 | 0.92557 | 0.88271 | 0.875392 | 0.835041 | 0.835041 | 0 | 0.009288 | 0.19987 | 7,670 | 260 | 153 | 29.5 | 0.770083 | 0.102216 | 0 | 0.664122 | 0 | 0 | 0.151753 | 0 | 0 | 0 | 0 | 0 | 0.282443 | 1 | 0.137405 | false | 0 | 0.015267 | 0 | 0.152672 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6e1b5cf2b4962f8bdc88b6e5720d0b7b068ad46 | 25,527 | py | Python | scripts/Mtb_pipeline.py | jodyphelan/pathogenseq | 2e04190f25063d722ef653e819b94eb66407ea8d | [
"MIT"
] | null | null | null | scripts/Mtb_pipeline.py | jodyphelan/pathogenseq | 2e04190f25063d722ef653e819b94eb66407ea8d | [
"MIT"
] | null | null | null | scripts/Mtb_pipeline.py | jodyphelan/pathogenseq | 2e04190f25063d722ef653e819b94eb66407ea8d | [
"MIT"
] | 1 | 2018-05-11T14:54:51.000Z | 2018-05-11T14:54:51.000Z | #! /usr/bin/env python
from __future__ import division
import sys
import pathogenseq as ps
import argparse
import json
mtb_tax = "77643,1765,33892,410289,413996,561275,717522,998089,998090,998091,998092,1195237,1195465,1195466,1195467,1195468,1195469,1206780,233413,669465,1354193,1384084,1389959,1438822,1438823,1773,8... | 500.529412 | 24,131 | 0.865985 | 3,296 | 25,527 | 6.68841 | 0.953277 | 0.001588 | 0.001497 | 0.001361 | 0.002268 | 0 | 0 | 0 | 0 | 0 | 0 | 0.830316 | 0.00474 | 25,527 | 50 | 24,132 | 510.54 | 0.037393 | 0.000823 | 0 | 0 | 0 | 0.027778 | 0.959381 | 0.946952 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.138889 | 0 | 0.138889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63ee26109b2561e8e3cf749a059f991cfba03e0c | 32 | py | Python | fairseq_module/__init__.py | abefetterman/softadam | ce48e7b4d9a891d3f5d4f5c58f6a430340f3aef4 | [
"MIT"
] | null | null | null | fairseq_module/__init__.py | abefetterman/softadam | ce48e7b4d9a891d3f5d4f5c58f6a430340f3aef4 | [
"MIT"
] | null | null | null | fairseq_module/__init__.py | abefetterman/softadam | ce48e7b4d9a891d3f5d4f5c58f6a430340f3aef4 | [
"MIT"
] | null | null | null | from .softadam_fairseq import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12059c6fb85c1d46397d809a563addb4587fb028 | 20 | py | Python | tests.py | dollardhingra/covid19indiaresources | 49cd7b1bcfa3ffc84f95818a50cea0d72481e2c9 | [
"MIT"
] | null | null | null | tests.py | dollardhingra/covid19indiaresources | 49cd7b1bcfa3ffc84f95818a50cea0d72481e2c9 | [
"MIT"
] | null | null | null | tests.py | dollardhingra/covid19indiaresources | 49cd7b1bcfa3ffc84f95818a50cea0d72481e2c9 | [
"MIT"
] | null | null | null | # TODO : Write these | 20 | 20 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0.9 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1239a439b7cc536552758c7c3b3866ae8f34aebf | 220 | py | Python | spammers/__init__.py | Spacqq1/Discord-Spammer | 10f63b7847b1390ddf43cc8b548dd680ae3c4587 | [
"MIT"
] | 51 | 2021-07-10T20:32:30.000Z | 2022-03-29T18:55:40.000Z | spammers/__init__.py | Spacqq1/Discord-Spammer | 10f63b7847b1390ddf43cc8b548dd680ae3c4587 | [
"MIT"
] | 9 | 2021-07-10T20:18:24.000Z | 2022-03-07T06:27:43.000Z | spammers/__init__.py | Spacqq1/Discord-Spammer | 10f63b7847b1390ddf43cc8b548dd680ae3c4587 | [
"MIT"
] | 36 | 2021-08-01T06:56:36.000Z | 2022-03-28T11:17:27.000Z | from .assetsManager import *
from .banner import *
from .color import *
from .friendRequester import *
from .guildLeaver import *
from .guildJoiner import *
from .messageSpammer import *
from .voicechannelJoiner import * | 27.5 | 33 | 0.786364 | 24 | 220 | 7.208333 | 0.416667 | 0.404624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140909 | 220 | 8 | 33 | 27.5 | 0.915344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
126fb162a11afe9913464915a7af86931aeaa0cf | 1,337 | py | Python | benchmarks/test_calibration.py | trickeydan/zoloto | d82e2f442d8ac1e5f4203c1299e88e09c5e34071 | [
"BSD-3-Clause"
] | 7 | 2019-08-09T10:05:14.000Z | 2021-11-14T17:37:50.000Z | benchmarks/test_calibration.py | trickeydan/zoloto | d82e2f442d8ac1e5f4203c1299e88e09c5e34071 | [
"BSD-3-Clause"
] | 226 | 2019-06-20T09:48:23.000Z | 2022-02-20T00:43:52.000Z | benchmarks/test_calibration.py | trickeydan/zoloto | d82e2f442d8ac1e5f4203c1299e88e09c5e34071 | [
"BSD-3-Clause"
] | 9 | 2019-07-19T10:55:47.000Z | 2020-07-23T19:16:47.000Z | from pathlib import Path
from typing import Callable
from zoloto.calibration import (
CalibrationParameters,
parse_calibration_file,
save_calibrations,
)
def test_save_calibrations_json(
benchmark: Callable,
fake_calibration_params: CalibrationParameters,
make_temp_file: Callable[[str], Path]... | 29.711111 | 88 | 0.770381 | 154 | 1,337 | 6.24026 | 0.162338 | 0.116545 | 0.174818 | 0.133195 | 0.817898 | 0.80333 | 0.80333 | 0.80333 | 0.80333 | 0.80333 | 0 | 0 | 0.138369 | 1,337 | 44 | 89 | 30.386364 | 0.834201 | 0 | 0 | 0.571429 | 0 | 0 | 0.013463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114286 | false | 0 | 0.085714 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89c6337e7bec5b056b516820a39fee7116d60b0d | 121 | py | Python | dis_snek/models/events/__init__.py | LordOfPolls/Dis-Snek | 008340ca00bf46e6f9a773aea7b24691533216fa | [
"MIT"
] | 34 | 2021-08-03T13:58:14.000Z | 2021-10-04T11:09:44.000Z | dis_snek/models/events/__init__.py | LordOfPolls/Dis-Snek | 008340ca00bf46e6f9a773aea7b24691533216fa | [
"MIT"
] | 6 | 2021-08-05T12:58:33.000Z | 2021-10-04T01:18:07.000Z | dis_snek/models/events/__init__.py | LordOfPolls/Dis-Snek | 008340ca00bf46e6f9a773aea7b24691533216fa | [
"MIT"
] | 9 | 2021-07-30T14:10:45.000Z | 2021-10-03T17:36:26.000Z | from dis_snek.models.events.discord import * # noqa : F401
from dis_snek.models.events.internal import * # noqa : F401
| 40.333333 | 60 | 0.752066 | 18 | 121 | 4.944444 | 0.555556 | 0.157303 | 0.247191 | 0.382022 | 0.516854 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0.14876 | 121 | 2 | 61 | 60.5 | 0.805825 | 0.190083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
89e8164163f7f794d7b1a431ea2e63a7e7f6436c | 99 | py | Python | terrascript/triton/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/triton/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/triton/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/triton/__init__.py
import terrascript
class triton(terrascript.Provider):
pass
| 14.142857 | 35 | 0.787879 | 11 | 99 | 6.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 6 | 36 | 16.5 | 0.860465 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d642b1ec931830d36741d7868dbc2284a7790484 | 49 | py | Python | python/oxford_asl/__init__.py | pauldmccarthy/oxford_asl | 112ca520e974e6aca74fedf5a4befd1ce8bd6816 | [
"Apache-2.0"
] | 6 | 2017-06-27T18:59:59.000Z | 2019-12-30T08:27:47.000Z | python/oxford_asl/__init__.py | pauldmccarthy/oxford_asl | 112ca520e974e6aca74fedf5a4befd1ce8bd6816 | [
"Apache-2.0"
] | 14 | 2017-08-22T12:09:11.000Z | 2020-12-16T22:32:07.000Z | python/oxford_asl/__init__.py | pauldmccarthy/oxford_asl | 112ca520e974e6aca74fedf5a4befd1ce8bd6816 | [
"Apache-2.0"
] | 6 | 2018-05-03T14:44:54.000Z | 2020-08-26T10:31:22.000Z | from ._version import __version__, __timestamp__
| 24.5 | 48 | 0.857143 | 5 | 49 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6569769563abafdf4cdc9303704ae73c9b16c2a | 28 | py | Python | micro-benchmark/snippets/returns/nested_import_call/to_import2.py | WenJinfeng/PyCG | b45e8e04fe697d8301cf27222a8f37646d69f168 | [
"Apache-2.0"
] | 121 | 2020-12-16T20:31:37.000Z | 2022-03-21T20:32:43.000Z | micro-benchmark/snippets/returns/nested_import_call/to_import2.py | WenJinfeng/PyCG | b45e8e04fe697d8301cf27222a8f37646d69f168 | [
"Apache-2.0"
] | 24 | 2021-03-13T00:04:00.000Z | 2022-03-21T17:28:11.000Z | micro-benchmark/snippets/returns/nested_import_call/to_import2.py | WenJinfeng/PyCG | b45e8e04fe697d8301cf27222a8f37646d69f168 | [
"Apache-2.0"
] | 19 | 2021-03-23T10:58:47.000Z | 2022-03-24T19:46:50.000Z | def return_func():
pass
| 9.333333 | 18 | 0.642857 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 19 | 14 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c3b505c947e4cbfb39307237ee8b6a27fb9970d8 | 228 | py | Python | class9/mytest/__init__.py | agonzo777/pynet | 8b2c2bbd71ea001ba0dc2acb20a4d46c7ddeaa12 | [
"Apache-2.0"
] | null | null | null | class9/mytest/__init__.py | agonzo777/pynet | 8b2c2bbd71ea001ba0dc2acb20a4d46c7ddeaa12 | [
"Apache-2.0"
] | null | null | null | class9/mytest/__init__.py | agonzo777/pynet | 8b2c2bbd71ea001ba0dc2acb20a4d46c7ddeaa12 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from mytest.simple import func1
from mytest.whatever import func2
from mytest.world import func3, Myclass, negative, MyChildClass
__all__ = ('func1','func2','func3','Myclass','negative','MyChildClass')
| 22.8 | 71 | 0.758772 | 29 | 228 | 5.827586 | 0.586207 | 0.177515 | 0.236686 | 0.378698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.105263 | 228 | 9 | 72 | 25.333333 | 0.79902 | 0.087719 | 0 | 0 | 0 | 0 | 0.204878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3c13caa586b86127dcc4709357e2cc174e2764d | 93 | py | Python | mpol/context_processors.py | kingsdigitallab/mpol-django | 4977a6dc2d21f77b79b4e37b7c7c62d34976e9d3 | [
"MIT"
] | 2 | 2016-07-26T09:31:05.000Z | 2019-09-18T05:53:42.000Z | kdl/context_processors.py | kingsdigitallab/kdl-django | 14836dae329616d1cf1ad5b8c24508b6588b1300 | [
"MIT"
] | null | null | null | kdl/context_processors.py | kingsdigitallab/kdl-django | 14836dae329616d1cf1ad5b8c24508b6588b1300 | [
"MIT"
] | null | null | null | from django.conf import settings as s
def settings(request):
return {'GA_ID': s.GA_ID}
| 15.5 | 37 | 0.709677 | 16 | 93 | 4 | 0.75 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182796 | 93 | 5 | 38 | 18.6 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.053763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7f1a49c0b68e0d86ba0bf16cc28173f7e982fa40 | 1,418 | py | Python | A2-神经网络基本原理简明教程/helper_class1/visualizer.py | Tester-JasonWang/AI-learning | b13324f14489e9aa60fb2118f9c066ed3f3ad03b | [
"Apache-2.0"
] | null | null | null | A2-神经网络基本原理简明教程/helper_class1/visualizer.py | Tester-JasonWang/AI-learning | b13324f14489e9aa60fb2118f9c066ed3f3ad03b | [
"Apache-2.0"
] | null | null | null | A2-神经网络基本原理简明教程/helper_class1/visualizer.py | Tester-JasonWang/AI-learning | b13324f14489e9aa60fb2118f9c066ed3f3ad03b | [
"Apache-2.0"
] | null | null | null | import numpy as np
from matplotlib import pyplot as plt
def draw_two_category_points(x1, x2, y, xlabel='x1', ylabel='x2', title=None, show=False, is_predicate=False):
colors = ['b', 'r']
shapes = ['s', 'x']
assert (x1.shape[0] == x2.shape[0] == y.shape[0])
count = x1.shape[0]
for i in ran... | 31.511111 | 113 | 0.539492 | 216 | 1,418 | 3.49537 | 0.25 | 0.063576 | 0.042384 | 0.068874 | 0.855629 | 0.855629 | 0.855629 | 0.855629 | 0.855629 | 0.855629 | 0 | 0.04541 | 0.285614 | 1,418 | 44 | 114 | 32.227273 | 0.699901 | 0 | 0 | 0.684211 | 0 | 0 | 0.014556 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.052632 | false | 0 | 0.052632 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f1d258d0144899a3ae0dfef98d63577553ec84b | 149 | py | Python | xpdacq/tests/test_devices.py | xpdAcq/xpdAcq | ad850df65c185c50b2bd7daf44148480a8ec42dd | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2017-12-11T17:28:03.000Z | 2020-05-05T20:51:15.000Z | xpdacq/tests/test_devices.py | xpdAcq/xpdAcq | ad850df65c185c50b2bd7daf44148480a8ec42dd | [
"BSD-2-Clause-FreeBSD"
] | 521 | 2016-02-06T23:27:47.000Z | 2022-02-02T21:25:37.000Z | xpdacq/tests/test_devices.py | xpdAcq/xpdAcq | ad850df65c185c50b2bd7daf44148480a8ec42dd | [
"BSD-2-Clause-FreeBSD"
] | 15 | 2016-02-08T03:49:03.000Z | 2022-03-30T00:25:40.000Z | import xpdacq.devices as devices
def test_CalibrationData():
"""Test the class can be constructed"""
devices.CalibrationData(name="calib")
| 21.285714 | 43 | 0.738255 | 18 | 149 | 6.055556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154362 | 149 | 6 | 44 | 24.833333 | 0.865079 | 0.221477 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
616658d7b847cac305e1e6e59266596b547711d3 | 70 | py | Python | light_cnns/mobile_real_time_network/__init__.py | murufeng/awesome_lightweight_networks | dfa19bd7ee491a7b7ade360175244c81b3c0e322 | [
"MIT"
] | 318 | 2021-08-15T10:33:27.000Z | 2022-03-31T16:42:50.000Z | light_cnns/mobile_real_time_network/__init__.py | x779250919/awesome_lightweight_networks | dfa19bd7ee491a7b7ade360175244c81b3c0e322 | [
"MIT"
] | 6 | 2021-11-16T06:27:34.000Z | 2022-02-08T07:57:52.000Z | light_cnns/mobile_real_time_network/__init__.py | x779250919/awesome_lightweight_networks | dfa19bd7ee491a7b7ade360175244c81b3c0e322 | [
"MIT"
] | 67 | 2021-11-01T13:06:48.000Z | 2022-03-24T12:59:41.000Z | from .lcnet import *
from .parnet import *
from .peleenet import *
| 17.5 | 24 | 0.7 | 9 | 70 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 70 | 3 | 25 | 23.333333 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
617e5e8c134ab5dd87f27a67c22321926750c46e | 4,877 | py | Python | datahub/dbmaintenance/test/commands/test_update_company_headquarter_type.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 6 | 2019-12-02T16:11:24.000Z | 2022-03-18T10:02:02.000Z | datahub/dbmaintenance/test/commands/test_update_company_headquarter_type.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 1,696 | 2019-10-31T14:08:37.000Z | 2022-03-29T12:35:57.000Z | datahub/dbmaintenance/test/commands/test_update_company_headquarter_type.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 9 | 2019-11-22T12:42:03.000Z | 2021-09-03T14:25:05.000Z | from io import BytesIO
from uuid import UUID
import pytest
from django.core.management import call_command
from reversion.models import Version
from datahub.company.test.factories import CompanyFactory
from datahub.core.constants import HeadquarterType
pytestmark = pytest.mark.django_db
def test_run(s3_stubber, ca... | 29.920245 | 94 | 0.694279 | 594 | 4,877 | 5.422559 | 0.175084 | 0.116423 | 0.110835 | 0.116423 | 0.83235 | 0.83235 | 0.83235 | 0.786402 | 0.769326 | 0.769326 | 0 | 0.020082 | 0.203609 | 4,877 | 162 | 95 | 30.104938 | 0.809217 | 0.039163 | 0 | 0.656489 | 0 | 0 | 0.196788 | 0.136617 | 0 | 0 | 0 | 0 | 0.114504 | 1 | 0.022901 | false | 0 | 0.053435 | 0 | 0.076336 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
617f9ddd06739388f23d91b9df351bfd3a3a186f | 24,241 | py | Python | tests/test_testbench_object_upload.py | noahdietz/storage-testbench | b122e47b69cabcdf981969068df0e9d805f129a3 | [
"Apache-2.0"
] | 4 | 2021-08-20T12:27:11.000Z | 2022-01-24T12:20:19.000Z | tests/test_testbench_object_upload.py | noahdietz/storage-testbench | b122e47b69cabcdf981969068df0e9d805f129a3 | [
"Apache-2.0"
] | 260 | 2021-06-29T00:50:44.000Z | 2022-03-30T12:25:26.000Z | tests/test_testbench_object_upload.py | noahdietz/storage-testbench | b122e47b69cabcdf981969068df0e9d805f129a3 | [
"Apache-2.0"
] | 11 | 2021-06-14T16:25:31.000Z | 2022-03-22T19:42:49.000Z | #!/usr/bin/env python3
#
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 40.741176 | 88 | 0.590735 | 2,682 | 24,241 | 5.211782 | 0.104027 | 0.069752 | 0.085563 | 0.05151 | 0.827729 | 0.805552 | 0.794964 | 0.788167 | 0.771641 | 0.760266 | 0 | 0.015511 | 0.271276 | 24,241 | 594 | 89 | 40.809764 | 0.775771 | 0.063611 | 0 | 0.676647 | 0 | 0 | 0.207212 | 0.0854 | 0 | 0 | 0 | 0 | 0.221557 | 1 | 0.031936 | false | 0 | 0.011976 | 0 | 0.0499 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
61b6a049eab2a8c488bf61e35c70b3d05f42770a | 37,885 | py | Python | results/plots.py | alfarias/framework-ga | 1ad4b5072d63f042922c7bb39daf6301558d8db8 | [
"MIT"
] | null | null | null | results/plots.py | alfarias/framework-ga | 1ad4b5072d63f042922c7bb39daf6301558d8db8 | [
"MIT"
] | null | null | null | results/plots.py | alfarias/framework-ga | 1ad4b5072d63f042922c7bb39daf6301558d8db8 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import csv
import numpy as np
m1 = 10
m2 = 20
m3 = 30
n1 = 3000
n2 = 4000
n3 = 6000
attempt = 5
# Armazena os valores normalizados da palavra-alvo
with open('target_word_10.csv', 'r') as arq:
reader = csv.reader(arq, delimiter=',')
target_normalized_data_10 = []
for p in ra... | 38.816598 | 165 | 0.70875 | 6,678 | 37,885 | 3.572627 | 0.02366 | 0.093889 | 0.145863 | 0.086931 | 0.975606 | 0.948822 | 0.8831 | 0.848059 | 0.8043 | 0.712968 | 0 | 0.100049 | 0.185826 | 37,885 | 976 | 166 | 38.816598 | 0.673432 | 0.03215 | 0 | 0.539424 | 0 | 0 | 0.082844 | 0.029991 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001252 | false | 0 | 0.003755 | 0 | 0.006258 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f64026e56baa6b04976b7a1a9289fab8f2ef44cd | 2,723 | py | Python | test_bgui.py | Remwrath/bgui | ae0773037e214aa67a5439b10380bc9af1791b8c | [
"MIT"
] | 40 | 2015-02-04T02:38:12.000Z | 2022-01-31T03:14:35.000Z | test_bgui.py | UnidayStudio/bgui | c286f6ea165bf2bcfde0ea721db824e7807e1554 | [
"MIT"
] | 2 | 2018-08-25T16:28:19.000Z | 2021-12-19T12:56:47.000Z | test_bgui.py | UnidayStudio/bgui | c286f6ea165bf2bcfde0ea721db824e7807e1554 | [
"MIT"
] | 17 | 2015-02-05T00:02:56.000Z | 2022-01-11T21:51:49.000Z | #!/usr/bin/env python
import unittest
import gc
import bgui
class TestMemoryLeaks(unittest.TestCase):
def setUp(self):
self.system = bgui.System()
def test_memory_leak_widget(self):
w = bgui.Widget(self.system)
self.system = None
gc.collect()
self.assertListEqual(gc.g... | 27.785714 | 79 | 0.634594 | 334 | 2,723 | 5.032934 | 0.224551 | 0.136823 | 0.085068 | 0.111243 | 0.733492 | 0.721594 | 0.721594 | 0.721594 | 0.721594 | 0.721594 | 0 | 0.001954 | 0.248256 | 2,723 | 97 | 80 | 28.072165 | 0.819248 | 0.019831 | 0 | 0.571429 | 0 | 0 | 0.125984 | 0.017248 | 0 | 0 | 0 | 0.010309 | 0.157143 | 1 | 0.171429 | false | 0 | 0.042857 | 0 | 0.228571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f66ab8cb1c6ac85e75c6b299e53e20254be7712e | 15,449 | py | Python | meraki_cloud_simulator/merakicloudsimulator/sample_alert_messages.py | thealarsen/CiscoDevNet-Express | f841a8978006b4eecb125687e2e0d0c8a2aa6571 | [
"MIT"
] | 90 | 2018-04-07T00:39:23.000Z | 2020-06-09T02:44:02.000Z | meraki_cloud_simulator/merakicloudsimulator/sample_alert_messages.py | thealarsen/CiscoDevNet-Express | f841a8978006b4eecb125687e2e0d0c8a2aa6571 | [
"MIT"
] | 38 | 2018-04-06T18:11:36.000Z | 2020-05-11T23:36:24.000Z | meraki_cloud_simulator/merakicloudsimulator/sample_alert_messages.py | thealarsen/CiscoDevNet-Express | f841a8978006b4eecb125687e2e0d0c8a2aa6571 | [
"MIT"
] | 143 | 2018-04-20T00:17:24.000Z | 2020-06-12T15:07:42.000Z | alert_messages = {
"settingsChanged":{
"version": "0.1",
"sharedSecret": "foo",
"sentAt": "2019-07-19T06:20:39.656975Z",
"organizationId": "00000001",
"organizationName": "Miles Monitoring Inc.",
"organizationUrl": "https://n1.meraki.com/o//manage/organization/overvie... | 40.87037 | 89 | 0.554534 | 1,521 | 15,449 | 5.60881 | 0.186062 | 0.051694 | 0.073145 | 0.090025 | 0.765209 | 0.749033 | 0.741062 | 0.741062 | 0.732622 | 0.67495 | 0 | 0.159554 | 0.25678 | 15,449 | 378 | 90 | 40.87037 | 0.583435 | 0 | 0 | 0.589947 | 0 | 0 | 0.617346 | 0.065049 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9cbee53bf25e5ac9594bebeb098c716c152d51b8 | 6,513 | py | Python | src/models.py | Machine-Listeners-Valencia/DCASE2021-Task1 | c11e9a92c1a4259a3b3ec6543f203b5d2a62c924 | [
"MIT"
] | 2 | 2022-01-26T07:25:58.000Z | 2022-03-14T12:20:44.000Z | src/models.py | Machine-Listeners-Valencia/DCASE2021-Task1 | c11e9a92c1a4259a3b3ec6543f203b5d2a62c924 | [
"MIT"
] | null | null | null | src/models.py | Machine-Listeners-Valencia/DCASE2021-Task1 | c11e9a92c1a4259a3b3ec6543f203b5d2a62c924 | [
"MIT"
] | 1 | 2021-08-23T17:59:33.000Z | 2021-08-23T17:59:33.000Z | from modules import network_module, freq_split
import config
if config.tf:
from tensorflow.keras.layers import (Dense, BatchNormalization, Activation, GlobalAveragePooling2D,
Flatten, GlobalMaxPooling2D, Input, Lambda, concatenate)
from tensorflow.keras.models import Mo... | 38.767857 | 117 | 0.55489 | 733 | 6,513 | 4.656207 | 0.15689 | 0.03516 | 0.036918 | 0.038969 | 0.841488 | 0.838265 | 0.822151 | 0.789335 | 0.770876 | 0.770876 | 0 | 0.014985 | 0.344235 | 6,513 | 167 | 118 | 39 | 0.784126 | 0.004606 | 0 | 0.635593 | 0 | 0 | 0.050116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025424 | false | 0 | 0.050847 | 0 | 0.110169 | 0.025424 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9cdda78267fc39122a022bc134529b8796117947 | 5,829 | py | Python | wnba/endpoints/team.py | rozzac90/wnba | 8e60bf915c482759b372a457ab519de6ddf531ec | [
"MIT"
] | 3 | 2018-07-23T17:02:57.000Z | 2019-05-24T18:18:35.000Z | wnba/endpoints/team.py | rozzac90/wnba | 8e60bf915c482759b372a457ab519de6ddf531ec | [
"MIT"
] | null | null | null | wnba/endpoints/team.py | rozzac90/wnba | 8e60bf915c482759b372a457ab519de6ddf531ec | [
"MIT"
] | 1 | 2018-07-23T22:54:53.000Z | 2018-07-23T22:54:53.000Z |
import pandas as pd
from wnba import enums
from wnba.utils import clean_locals
from wnba.endpoints.baseendpoint import BaseEndpoint
class Team(BaseEndpoint):
def team_roster(self, season, team_abbrev):
def clean_data(raw_data):
base_info = {k: v for k, v in raw_data.get('t', {}).items() if ... | 56.592233 | 131 | 0.674044 | 790 | 5,829 | 4.856962 | 0.155696 | 0.062549 | 0.018765 | 0.045869 | 0.887412 | 0.880636 | 0.87412 | 0.87412 | 0.87412 | 0.87412 | 0 | 0.001807 | 0.240522 | 5,829 | 102 | 132 | 57.147059 | 0.86492 | 0.546234 | 0 | 0.393939 | 0 | 0 | 0.053235 | 0.037632 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.121212 | 0 | 0.393939 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
144f2c7c55d5858e1e081d9c82ec6bd5be63e511 | 1,442 | py | Python | sampledb/models/component_authentication.py | NicolasCARPi/sampledb | d6fd0f4d28d05010d7e0c022fbf2576e25435077 | [
"MIT"
] | null | null | null | sampledb/models/component_authentication.py | NicolasCARPi/sampledb | d6fd0f4d28d05010d7e0c022fbf2576e25435077 | [
"MIT"
] | null | null | null | sampledb/models/component_authentication.py | NicolasCARPi/sampledb | d6fd0f4d28d05010d7e0c022fbf2576e25435077 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
"""
import enum
import sqlalchemy.dialects.postgresql as postgresql
from .. import db
@enum.unique
class ComponentAuthenticationType(enum.Enum):
TOKEN = 1
class ComponentAuthentication(db.Model):
__tablename__ = "component_authentications"
id = db.Column(db.Integer, primary_key=Tr... | 28.84 | 72 | 0.70527 | 169 | 1,442 | 5.727811 | 0.260355 | 0.066116 | 0.061983 | 0.049587 | 0.764463 | 0.764463 | 0.764463 | 0.764463 | 0.764463 | 0.764463 | 0 | 0.005029 | 0.172677 | 1,442 | 49 | 73 | 29.428571 | 0.80637 | 0.009015 | 0 | 0.6875 | 0 | 0 | 0.091614 | 0.038055 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.09375 | 0.0625 | 0.78125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1450f8e0ff9c69ecc1cd8d45c8b08bf295577594 | 129 | py | Python | src/domain/errors/invalid_image_to_convert_to_bgr_color_space_failure.py | OzielFilho/ProjetoFinalPdi | c9e6fe415f1a985d6eeac204580d3ab623026665 | [
"MIT"
] | null | null | null | src/domain/errors/invalid_image_to_convert_to_bgr_color_space_failure.py | OzielFilho/ProjetoFinalPdi | c9e6fe415f1a985d6eeac204580d3ab623026665 | [
"MIT"
] | null | null | null | src/domain/errors/invalid_image_to_convert_to_bgr_color_space_failure.py | OzielFilho/ProjetoFinalPdi | c9e6fe415f1a985d6eeac204580d3ab623026665 | [
"MIT"
] | null | null | null | from domain.errors.image_failure import ImageFailure
class InvalidImageToConvertToBgrColorSpaceFailure(ImageFailure):
pass
| 21.5 | 64 | 0.860465 | 11 | 129 | 10 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 129 | 5 | 65 | 25.8 | 0.948276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1afedef7ee9b1b6ea4f7b3147a2ddb40d09c71b1 | 52 | py | Python | tests/test_import.py | giovp/spatial-alignment | b03a6508ba581246a3f6367217b2f8df5dcd15d4 | [
"MIT"
] | 14 | 2022-01-11T14:51:17.000Z | 2022-02-26T20:46:58.000Z | tests/test_import.py | giovp/spatial-alignment | b03a6508ba581246a3f6367217b2f8df5dcd15d4 | [
"MIT"
] | 3 | 2022-01-26T17:16:24.000Z | 2022-02-24T13:22:39.000Z | tests/test_import.py | giovp/spatial-alignment | b03a6508ba581246a3f6367217b2f8df5dcd15d4 | [
"MIT"
] | 1 | 2022-02-23T09:54:37.000Z | 2022-02-23T09:54:37.000Z | def test_import():
from gpsa import VariationalGPSA | 26 | 33 | 0.826923 | 7 | 52 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 2 | 33 | 26 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
211e62fa8e9d97fb7b95e9eabd8e2defd78b7f5f | 45,800 | py | Python | podpac/core/coordinates/test/test_array_coordinates1d.py | creare-com/podpac | 7feb5c957513c146ce73ba1c36c630284f513a6e | [
"Apache-2.0"
] | 46 | 2018-04-06T19:54:32.000Z | 2022-02-08T02:00:02.000Z | podpac/core/coordinates/test/test_array_coordinates1d.py | creare-com/podpac | 7feb5c957513c146ce73ba1c36c630284f513a6e | [
"Apache-2.0"
] | 474 | 2018-04-05T22:21:09.000Z | 2022-02-24T14:21:16.000Z | podpac/core/coordinates/test/test_array_coordinates1d.py | creare-com/podpac | 7feb5c957513c146ce73ba1c36c630284f513a6e | [
"Apache-2.0"
] | 4 | 2019-04-11T17:49:53.000Z | 2020-11-29T22:36:53.000Z | from datetime import datetime
import json
import pytest
import traitlets as tl
import numpy as np
import xarray as xr
from numpy.testing import assert_equal
import podpac
from podpac.core.coordinates.utils import make_coord_array
from podpac.core.coordinates.array_coordinates1d import ArrayCoordinates1d
from podpac.c... | 34.802432 | 105 | 0.573231 | 6,457 | 45,800 | 3.991172 | 0.039027 | 0.052423 | 0.038182 | 0.073183 | 0.835901 | 0.787862 | 0.754686 | 0.7231 | 0.688914 | 0.669279 | 0 | 0.111667 | 0.275764 | 45,800 | 1,315 | 106 | 34.828897 | 0.66527 | 0.031856 | 0 | 0.667343 | 0 | 0 | 0.044035 | 0 | 0 | 0 | 0 | 0 | 0.557809 | 1 | 0.06288 | false | 0 | 0.013185 | 0 | 0.084179 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21647fd285b78277b0fdbdbfef58529203479b9f | 46 | py | Python | flask_unchained/bundles/oauth/views/__init__.py | briancappello/flask-unchained | bff296b5c808f5b1db10f7dddb81054600545749 | [
"MIT"
] | 69 | 2018-10-10T01:59:11.000Z | 2022-03-29T17:29:30.000Z | flask_unchained/bundles/oauth/views/__init__.py | briancappello/flask-unchained | bff296b5c808f5b1db10f7dddb81054600545749 | [
"MIT"
] | 18 | 2018-11-17T12:42:02.000Z | 2021-05-22T18:45:27.000Z | flask_unchained/bundles/oauth/views/__init__.py | briancappello/flask-unchained | bff296b5c808f5b1db10f7dddb81054600545749 | [
"MIT"
] | 7 | 2018-10-12T16:20:25.000Z | 2021-10-06T12:18:21.000Z | from .oauth_controller import OAuthController
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b49d4b2c26efc5b916b87089e1d89e648eb823ef | 4,989 | py | Python | tests/api/v1/business/test_delete.py | rogerokello/weConnect-api | e1fb136864842781063a60bae0764defb99e47c6 | [
"MIT"
] | 1 | 2019-04-18T19:56:31.000Z | 2019-04-18T19:56:31.000Z | tests/api/v1/business/test_delete.py | rogerokello/weconnect-practice | e1fb136864842781063a60bae0764defb99e47c6 | [
"MIT"
] | 6 | 2018-02-19T14:17:00.000Z | 2018-07-08T08:38:02.000Z | tests/api/v1/business/test_delete.py | rogerokello/weConnect-api | e1fb136864842781063a60bae0764defb99e47c6 | [
"MIT"
] | 1 | 2018-02-26T13:05:49.000Z | 2018-02-26T13:05:49.000Z | import unittest
import json
from app import create_app, db
from tests.api.v1 import BaseTestCase
class BusinessTestCase(BaseTestCase):
"""Test case for the business endpoint """
def test_delete_by_id(self):
"""Test the API can remove a business given an id (DELETE request)"""
# register a test... | 42.279661 | 112 | 0.567849 | 541 | 4,989 | 5.12939 | 0.166359 | 0.083243 | 0.077838 | 0.097297 | 0.858739 | 0.850811 | 0.809009 | 0.778739 | 0.778739 | 0.778739 | 0 | 0.009816 | 0.346562 | 4,989 | 118 | 113 | 42.279661 | 0.841411 | 0.26839 | 0 | 0.627119 | 0 | 0 | 0.105833 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 1 | 0.067797 | false | 0 | 0.067797 | 0 | 0.152542 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b4cdf75b81e859c0dbb5ec0171a56114e335eb90 | 8,710 | py | Python | unittests/tools/test_sslyze_parser.py | dant24/django-DefectDojo | caf5c91b3f8870d5f466dfaaf5a3a096f8812ad9 | [
"BSD-3-Clause"
] | 2 | 2022-03-29T11:37:23.000Z | 2022-03-31T18:32:35.000Z | unittests/tools/test_sslyze_parser.py | dant24/django-DefectDojo | caf5c91b3f8870d5f466dfaaf5a3a096f8812ad9 | [
"BSD-3-Clause"
] | 39 | 2022-01-13T23:52:59.000Z | 2022-03-28T21:22:27.000Z | unittests/tools/test_sslyze_parser.py | dant24/django-DefectDojo | caf5c91b3f8870d5f466dfaaf5a3a096f8812ad9 | [
"BSD-3-Clause"
] | null | null | null | from os import path
from ..dojo_test_case import DojoTestCase
from dojo.tools.sslyze.parser import SslyzeParser
from dojo.models import Test
class TestSslyzeJSONParser(DojoTestCase):
def test_parse_json_file_with_one_target_has_zero_vuln_old(self):
testfile = open(path.join(path.dirname(__file__), "../sc... | 47.336957 | 184 | 0.72147 | 1,171 | 8,710 | 5.01281 | 0.134073 | 0.099659 | 0.044293 | 0.035434 | 0.882964 | 0.881601 | 0.841056 | 0.83322 | 0.825383 | 0.825383 | 0 | 0.035939 | 0.17899 | 8,710 | 183 | 185 | 47.595628 | 0.784925 | 0.010218 | 0 | 0.656051 | 0 | 0.025478 | 0.334842 | 0.160343 | 0 | 0 | 0 | 0 | 0.248408 | 1 | 0.076433 | false | 0 | 0.025478 | 0 | 0.11465 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b4e34f96f5fe296e421cf14f943fb94a43d74b98 | 163 | py | Python | titles/admin.py | sh4rpy/yamdb_api | ac463482421732c2bd7187882e340ea8d379be66 | [
"BSD-3-Clause"
] | null | null | null | titles/admin.py | sh4rpy/yamdb_api | ac463482421732c2bd7187882e340ea8d379be66 | [
"BSD-3-Clause"
] | 6 | 2020-07-25T19:53:31.000Z | 2021-09-22T19:30:12.000Z | titles/admin.py | sh4rpy/yamdb_api | ac463482421732c2bd7187882e340ea8d379be66 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import Title, Category, Genre
admin.site.register(Title)
admin.site.register(Category)
admin.site.register(Genre)
| 18.111111 | 42 | 0.803681 | 23 | 163 | 5.695652 | 0.478261 | 0.206107 | 0.389313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09816 | 163 | 8 | 43 | 20.375 | 0.891156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
37285ea38a4cfd21b8a88bc9884632cab06bbc3a | 9,411 | py | Python | tests/unit/test_class_statute_auction_detail.py | oncase/python-comprasnet | 5cc974873a8c1025d3f572703bf0af02c3d88b59 | [
"Apache-2.0"
] | 2 | 2018-04-27T00:15:03.000Z | 2018-05-23T21:32:29.000Z | tests/unit/test_class_statute_auction_detail.py | oncase/python-comprasnet | 5cc974873a8c1025d3f572703bf0af02c3d88b59 | [
"Apache-2.0"
] | 6 | 2018-04-29T22:03:47.000Z | 2018-05-19T00:46:14.000Z | tests/unit/test_class_statute_auction_detail.py | oncase/python-comprasnet | 5cc974873a8c1025d3f572703bf0af02c3d88b59 | [
"Apache-2.0"
] | 3 | 2019-10-09T13:11:48.000Z | 2020-06-19T07:31:41.000Z | import codecs
import os
import pytest
from collections import namedtuple
from unittest import mock
import requests
from comprasnet.pages.statuse_auction_detail import StatuseAuctionDetail
@pytest.fixture
def statuse_detail():
return StatuseAuctionDetail(uasg_code=160478, auction_code=32018)
def test_class_att... | 46.132353 | 91 | 0.533843 | 808 | 9,411 | 6.138614 | 0.183168 | 0.084677 | 0.096774 | 0.153226 | 0.805645 | 0.785685 | 0.765323 | 0.729839 | 0.729839 | 0.716532 | 0 | 0.029421 | 0.328233 | 9,411 | 203 | 92 | 46.359606 | 0.755141 | 0 | 0 | 0.672043 | 0 | 0 | 0.456381 | 0.249602 | 0 | 0 | 0 | 0 | 0.037634 | 1 | 0.026882 | false | 0 | 0.037634 | 0.005376 | 0.069892 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2eabb32ad5c4d464fc532ffe5aae04869364b8c5 | 3,893 | py | Python | src/unet.py | eoinoconn/Pneumothorax-Segmentation | 8c0fac6b7f5f43ff083d66e0821f14985c7a2a4f | [
"MIT"
] | null | null | null | src/unet.py | eoinoconn/Pneumothorax-Segmentation | 8c0fac6b7f5f43ff083d66e0821f14985c7a2a4f | [
"MIT"
] | null | null | null | src/unet.py | eoinoconn/Pneumothorax-Segmentation | 8c0fac6b7f5f43ff083d66e0821f14985c7a2a4f | [
"MIT"
] | null | null | null | import tensorflow as tf
def unet(pretrained_weights = None, input_size = (1024,1024,1)):
inputs = tf.keras.layers.Input(input_size)
conv1 = tf.keras.layers.Conv2D(64, 3, activation = 'relu', padding = 'same', kernel_initializer = 'he_normal')(inputs)
conv1 = tf.keras.layers.Conv2D(64, 3, activation = 'relu... | 86.511111 | 164 | 0.689699 | 527 | 3,893 | 4.994307 | 0.127135 | 0.106383 | 0.192629 | 0.173252 | 0.792553 | 0.75038 | 0.733663 | 0.733663 | 0.680471 | 0.680471 | 0 | 0.067817 | 0.136399 | 3,893 | 45 | 165 | 86.511111 | 0.715051 | 0 | 0 | 0 | 0 | 0 | 0.102209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0.026316 | 0 | 0.078947 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2eb7aca1259b112e3f095af2c817ee5e445a05a0 | 157 | py | Python | dpdt/transformation/__init__.py | TimeWz667/PyDemography | 5f17759c1efd7aecf948cbadf1e6d1e97721fa63 | [
"MIT"
] | null | null | null | dpdt/transformation/__init__.py | TimeWz667/PyDemography | 5f17759c1efd7aecf948cbadf1e6d1e97721fa63 | [
"MIT"
] | null | null | null | dpdt/transformation/__init__.py | TimeWz667/PyDemography | 5f17759c1efd7aecf948cbadf1e6d1e97721fa63 | [
"MIT"
] | null | null | null | from dpdt.transformation.aggregate import as_simulation_input_agg
from dpdt.transformation.agegroup import as_simulation_input_agp
__author__ = 'TimeWz667'
| 31.4 | 65 | 0.878981 | 20 | 157 | 6.4 | 0.65 | 0.125 | 0.34375 | 0.359375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02069 | 0.076433 | 157 | 4 | 66 | 39.25 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.057325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ec452bb7eb1abcd181bba821e732089e0b83005 | 84 | py | Python | easy/tests/__init__.py | tugcanolgun/SWE599 | be11f4ce831684f35660e78c7dc42961e2df7ceb | [
"Apache-2.0"
] | 3 | 2019-01-18T11:37:36.000Z | 2019-04-29T02:46:55.000Z | easy/tests/__init__.py | tugcanolgun/SWE599 | be11f4ce831684f35660e78c7dc42961e2df7ceb | [
"Apache-2.0"
] | 8 | 2020-02-12T02:28:30.000Z | 2022-03-12T00:07:35.000Z | easy/tests/__init__.py | sreevani8/hotel-management-system | e37e3ffbbfac61523187d662317e7a5d0ea80c36 | [
"Apache-2.0"
] | null | null | null | from .index import *
from .booking import *
from .room import *
from .user import *
| 16.8 | 22 | 0.714286 | 12 | 84 | 5 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 84 | 4 | 23 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ed05e856a7a9756bd5346da69e9fb4dc4770eef | 37 | py | Python | wsu/tools/simx/simx/python/simx/sync/__init__.py | tinyos-io/tinyos-3.x-contrib | 3aaf036722a2afc0c0aad588459a5c3e00bd3c01 | [
"BSD-3-Clause",
"MIT"
] | 1 | 2020-02-28T20:35:09.000Z | 2020-02-28T20:35:09.000Z | wsu/tools/simx/simx/python/simx/sync/__init__.py | tinyos-io/tinyos-3.x-contrib | 3aaf036722a2afc0c0aad588459a5c3e00bd3c01 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | wsu/tools/simx/simx/python/simx/sync/__init__.py | tinyos-io/tinyos-3.x-contrib | 3aaf036722a2afc0c0aad588459a5c3e00bd3c01 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | from time_control import TimeControl
| 18.5 | 36 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ee974ca91ef4ff29b060be4e68b4d799b87102a | 238 | py | Python | core/apps/accounts/translation.py | myworkshopproject/myworkshop | 44946bda1e454f784d6b86b0748a5fc0c80f257f | [
"MIT"
] | null | null | null | core/apps/accounts/translation.py | myworkshopproject/myworkshop | 44946bda1e454f784d6b86b0748a5fc0c80f257f | [
"MIT"
] | 7 | 2020-03-21T09:03:26.000Z | 2021-03-22T15:21:50.000Z | core/apps/accounts/translation.py | myworkshopproject/myworkshop | 44946bda1e454f784d6b86b0748a5fc0c80f257f | [
"MIT"
] | null | null | null | import simple_history
from django.contrib.auth.models import Group
from accounts.models import User
simple_history.register(Group, app="accounts")
simple_history.register(User, excluded_fields=["date_joined", "last_login", "password"])
| 29.75 | 88 | 0.815126 | 32 | 238 | 5.875 | 0.625 | 0.207447 | 0.223404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07563 | 238 | 7 | 89 | 34 | 0.854545 | 0 | 0 | 0 | 0 | 0 | 0.155462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
259f6d6d9a5edfa0d3daa1d98b27631c65f96422 | 128 | py | Python | bibxml/__init__.py | stefanomunarini/bibxml-service | 4c3f6922f8a5c84cf63755e687f61862da0f4ad4 | [
"BSD-3-Clause"
] | null | null | null | bibxml/__init__.py | stefanomunarini/bibxml-service | 4c3f6922f8a5c84cf63755e687f61862da0f4ad4 | [
"BSD-3-Clause"
] | null | null | null | bibxml/__init__.py | stefanomunarini/bibxml-service | 4c3f6922f8a5c84cf63755e687f61862da0f4ad4 | [
"BSD-3-Clause"
] | null | null | null | """Django project module."""
from django.core import checks
from .env_checker import env_checker
checks.register(env_checker)
| 18.285714 | 36 | 0.796875 | 18 | 128 | 5.5 | 0.555556 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 128 | 6 | 37 | 21.333333 | 0.868421 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25e3aa9a52ddea75cb70db96f64dc930b7addd97 | 1,682 | py | Python | Python/packages/databricks-test/tests/fs_notebook.py | anandmrya/DataOps | 1a671c707e27b30030687a2a88e5fa94374ce780 | [
"MIT"
] | 42 | 2019-12-04T04:10:53.000Z | 2022-03-31T13:04:17.000Z | Python/packages/databricks-test/tests/fs_notebook.py | anandmrya/DataOps | 1a671c707e27b30030687a2a88e5fa94374ce780 | [
"MIT"
] | 2 | 2020-02-25T11:24:34.000Z | 2020-03-05T06:12:59.000Z | Python/packages/databricks-test/tests/fs_notebook.py | anandmrya/DataOps | 1a671c707e27b30030687a2a88e5fa94374ce780 | [
"MIT"
] | 18 | 2020-01-25T06:25:08.000Z | 2021-11-16T08:40:09.000Z | # Databricks notebook source
# Instrument for unit tests. This is only executed in local unit tests, not in Databricks.
if 'dbutils' not in locals():
import databricks_test
databricks_test.inject_variables()
# COMMAND ----------
res = dbutils.fs.help()
res = dbutils.fs.cp("dbfs://src", "dst")
assert isinsta... | 29.508772 | 90 | 0.691439 | 253 | 1,682 | 4.58498 | 0.256917 | 0.155172 | 0.186207 | 0.22069 | 0.744828 | 0.744828 | 0.744828 | 0.712069 | 0.680172 | 0.469828 | 0 | 0.00208 | 0.142687 | 1,682 | 56 | 91 | 30.035714 | 0.802358 | 0.079667 | 0 | 0.435897 | 0 | 0 | 0.093264 | 0 | 0 | 0 | 0 | 0 | 0.435897 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.025641 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
25ed4436e624da5ab20d9cb90e6cc4855c236de5 | 15,317 | py | Python | pytorch/optoth/pad.py | VLOGroup/optox | f9d61d64aa7bb44080601517539ba5aefd75d365 | [
"MIT"
] | 7 | 2020-06-17T21:05:46.000Z | 2021-03-28T03:52:53.000Z | pytorch/optoth/pad.py | khammernik/optox | ae8bf1b4c1bfeb1e2fea24f549182d5610e09d82 | [
"MIT"
] | 4 | 2021-01-26T12:43:41.000Z | 2022-02-10T00:01:41.000Z | pytorch/optoth/pad.py | khammernik/optox | ae8bf1b4c1bfeb1e2fea24f549182d5610e09d82 | [
"MIT"
] | 4 | 2020-09-16T10:03:48.000Z | 2022-01-05T01:22:14.000Z | import numpy as np
import torch
import unittest
import _ext.th_pad_operator
__all__ = ['pad2d',
'pad2d_transpose',
'pad2d_symmetric',
'pad2d_symmetric_transpose',
'pad3d',
'pad3d_tranpose',
'pad3d_symmetric',
'pad3d_symmetric_transpose']
d... | 34.420225 | 148 | 0.618398 | 2,189 | 15,317 | 4.204203 | 0.077661 | 0.021297 | 0.031294 | 0.05998 | 0.941323 | 0.905574 | 0.887102 | 0.844507 | 0.83212 | 0.799305 | 0 | 0.031483 | 0.230659 | 15,317 | 444 | 149 | 34.497748 | 0.749491 | 0.171705 | 0 | 0.666667 | 0 | 0 | 0.052256 | 0.004013 | 0 | 0 | 0 | 0 | 0.05303 | 1 | 0.189394 | false | 0 | 0.015152 | 0.015152 | 0.325758 | 0.037879 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d32d2b9d664e0207fba5fa1daa121fe206ea4c38 | 135 | py | Python | libraries/polyglotFunctions/legacyCode/TypeofExample.py | jarble/EngScript | c30365f5ca42657e71aa5ac6f7fe15d52f384f6a | [
"MIT"
] | 8 | 2015-02-11T03:28:42.000Z | 2021-02-22T11:41:07.000Z | examples/libraries/polyglotFunctions/legacyCode/TypeofExample.py | jarble/Polyglot-code-generator | bd46b9d2325b72428d915c5907c7439c7fa8a9ee | [
"MIT"
] | null | null | null | examples/libraries/polyglotFunctions/legacyCode/TypeofExample.py | jarble/Polyglot-code-generator | bd46b9d2325b72428d915c5907c7439c7fa8a9ee | [
"MIT"
] | 2 | 2015-02-05T15:46:57.000Z | 2015-10-31T15:06:41.000Z | module([
puts(concatenateStrings([typeOf(theObject="1"), '""'])),
puts(concatenateStrings([typeOf(theObject='"A string"'), '""']))
])
| 22.5 | 64 | 0.651852 | 12 | 135 | 7.333333 | 0.666667 | 0.5 | 0.636364 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.059259 | 135 | 5 | 65 | 27 | 0.685039 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d35d75fdcedd66e3d18babd5d7e2388ed73a346d | 7,731 | py | Python | tests/test_jeans.py | gusbeane/galpy | d6db971285f163456c81775fc2fdc7d75189762c | [
"BSD-3-Clause"
] | 147 | 2015-01-01T14:06:17.000Z | 2022-03-24T14:47:41.000Z | tests/test_jeans.py | gusbeane/galpy | d6db971285f163456c81775fc2fdc7d75189762c | [
"BSD-3-Clause"
] | 269 | 2015-01-07T15:58:31.000Z | 2022-03-30T18:42:08.000Z | tests/test_jeans.py | gusbeane/galpy | d6db971285f163456c81775fc2fdc7d75189762c | [
"BSD-3-Clause"
] | 110 | 2015-02-08T10:57:24.000Z | 2021-12-28T07:56:49.000Z | # Tests of the galpy.df.jeans module: Jeans equations
import numpy
from galpy.df import jeans
# Test sigmar: radial velocity dispersion from the spherical Jeans equation
# For log halo, constant beta: sigma(r) = vc/sqrt(2.-2*beta)
def test_sigmar_wlog_constbeta():
from galpy.potential import LogarithmicHaloPotenti... | 82.244681 | 360 | 0.711422 | 1,280 | 7,731 | 4.272656 | 0.071094 | 0.029256 | 0.040227 | 0.038215 | 0.919729 | 0.91461 | 0.906199 | 0.906199 | 0.906199 | 0.905833 | 0 | 0.039043 | 0.135299 | 7,731 | 93 | 361 | 83.129032 | 0.779058 | 0.171647 | 0 | 0.442623 | 0 | 0.081967 | 0.304737 | 0.068538 | 0 | 0 | 0 | 0 | 0.295082 | 1 | 0.081967 | false | 0 | 0.131148 | 0 | 0.295082 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d39f412b42561547ccb64bc23f27eeb6ad7ebc4e | 10,155 | py | Python | tests/unit/controllers/test_user_education_controller.py | Maxcutex/pm_api | de1e1a07feecd1be7bb86a87b4ffed012a05aec0 | [
"MIT"
] | null | null | null | tests/unit/controllers/test_user_education_controller.py | Maxcutex/pm_api | de1e1a07feecd1be7bb86a87b4ffed012a05aec0 | [
"MIT"
] | null | null | null | tests/unit/controllers/test_user_education_controller.py | Maxcutex/pm_api | de1e1a07feecd1be7bb86a87b4ffed012a05aec0 | [
"MIT"
] | null | null | null | """Unit tests for the user education controller.
"""
from datetime import datetime
from unittest.mock import patch, MagicMock
from app.controllers.user_education_controller import UserEducationController
from app.models import User
from app.models.permission import Permission
from app.models.user_education import User... | 36.66065 | 85 | 0.624914 | 1,039 | 10,155 | 5.73051 | 0.120308 | 0.216157 | 0.122775 | 0.084649 | 0.799798 | 0.775277 | 0.759825 | 0.751764 | 0.746389 | 0.709607 | 0 | 0.013582 | 0.296701 | 10,155 | 276 | 86 | 36.793478 | 0.820078 | 0.065387 | 0 | 0.671569 | 0 | 0 | 0.078304 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.053922 | false | 0 | 0.053922 | 0 | 0.112745 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3a2914b220d0e55ade9064ff01596cf0c6b067c | 131 | py | Python | src/jaggpy/__init__.py | rdehaan/jaggpy | ee5a942d347dda83738fb156365d58a4e08ebd08 | [
"MIT"
] | 3 | 2021-09-02T09:24:28.000Z | 2022-01-15T16:32:53.000Z | src/jaggpy/__init__.py | rdehaan/jaggpy | ee5a942d347dda83738fb156365d58a4e08ebd08 | [
"MIT"
] | null | null | null | src/jaggpy/__init__.py | rdehaan/jaggpy | ee5a942d347dda83738fb156365d58a4e08ebd08 | [
"MIT"
] | null | null | null | from .classes import Scenario, Solver
from .asp_solver import ASPSolver
from .bf_solver import BFSolver
from .parser import Parser
| 26.2 | 37 | 0.832061 | 19 | 131 | 5.631579 | 0.526316 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129771 | 131 | 4 | 38 | 32.75 | 0.938596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f0be74de926db5dc0201531de6f3e95ddb60c00 | 3,778 | py | Python | research_proj/viz_results.py | MirceaM11/tournament | f0e30cef0a8dce6579f90b2ca54207d4857ca85d | [
"MIT"
] | null | null | null | research_proj/viz_results.py | MirceaM11/tournament | f0e30cef0a8dce6579f90b2ca54207d4857ca85d | [
"MIT"
] | null | null | null | research_proj/viz_results.py | MirceaM11/tournament | f0e30cef0a8dce6579f90b2ca54207d4857ca85d | [
"MIT"
] | null | null | null |
import seaborn as sns
import pandas as pd
import matplotlib.pyplot as plt
# dev = None
tft_vs_def_none = pd.Series([0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995, 0.995,... | 188.9 | 1,026 | 0.65405 | 885 | 3,778 | 2.759322 | 0.223729 | 0.1638 | 0.202703 | 0.324324 | 0.299754 | 0.28665 | 0.28665 | 0.28665 | 0.28665 | 0.28665 | 0 | 0.634535 | 0.118581 | 3,778 | 20 | 1,027 | 188.9 | 0.098799 | 0.005294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.230769 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9f2f0769f10aa762161653f6cdf8f4aefa33d128 | 48 | py | Python | esteem/tests/motest.py | ldgibson/esteem | c8a01f1696a750273aa0df79716c6b5dabab9f2e | [
"MIT"
] | null | null | null | esteem/tests/motest.py | ldgibson/esteem | c8a01f1696a750273aa0df79716c6b5dabab9f2e | [
"MIT"
] | null | null | null | esteem/tests/motest.py | ldgibson/esteem | c8a01f1696a750273aa0df79716c6b5dabab9f2e | [
"MIT"
] | 1 | 2021-12-29T05:34:48.000Z | 2021-12-29T05:34:48.000Z | import os.path as op
from .testdata import MAT
| 12 | 25 | 0.770833 | 9 | 48 | 4.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 3 | 26 | 16 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f8740d68162e7729924e8c2272fe01e5f9f061b | 111 | py | Python | elasticfeeds/activity/__init__.py | qlands/elasticfeeds | a1c41a31d56b082cb57c52768ea290abb925d812 | [
"BSD-3-Clause"
] | 15 | 2018-12-18T00:36:55.000Z | 2021-08-30T02:30:00.000Z | elasticfeeds/activity/__init__.py | qlands/elasticfeeds | a1c41a31d56b082cb57c52768ea290abb925d812 | [
"BSD-3-Clause"
] | null | null | null | elasticfeeds/activity/__init__.py | qlands/elasticfeeds | a1c41a31d56b082cb57c52768ea290abb925d812 | [
"BSD-3-Clause"
] | 3 | 2019-10-18T14:21:30.000Z | 2021-05-22T18:31:39.000Z | from .actor import *
from .object import *
from .origin import *
from .target import *
from .activity import *
| 18.5 | 23 | 0.72973 | 15 | 111 | 5.4 | 0.466667 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18018 | 111 | 5 | 24 | 22.2 | 0.89011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c7ce7e1da208cf15c175bae6e3552f05b9d0f35 | 103 | py | Python | BluePrint/ComplexBlue/Seller/views.py | bestwishfang/FlaskFrameWork | e5f2af0b82be6d5b32febadc244a72aadceaa58b | [
"MIT"
] | null | null | null | BluePrint/ComplexBlue/Seller/views.py | bestwishfang/FlaskFrameWork | e5f2af0b82be6d5b32febadc244a72aadceaa58b | [
"MIT"
] | 3 | 2020-04-30T15:16:56.000Z | 2022-02-13T08:02:39.000Z | BluePrint/ComplexBlue/Seller/views.py | bestwishfang/FlaskFrameWork | e5f2af0b82be6d5b32febadc244a72aadceaa58b | [
"MIT"
] | null | null | null | from Seller import seller
@seller.route('/seller/')
def index():
return 'This is Seller index.'
| 12.875 | 34 | 0.679612 | 14 | 103 | 5 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 103 | 7 | 35 | 14.714286 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.284314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4c811bcc1a6b3a1ce031220e18cb26446c0967a7 | 149 | py | Python | app/db_connectors/sqlite_connector.py | tanvi1801/Project-2 | b9176ea10d1634ea67da599a31224b310e497420 | [
"Apache-2.0"
] | null | null | null | app/db_connectors/sqlite_connector.py | tanvi1801/Project-2 | b9176ea10d1634ea67da599a31224b310e497420 | [
"Apache-2.0"
] | null | null | null | app/db_connectors/sqlite_connector.py | tanvi1801/Project-2 | b9176ea10d1634ea67da599a31224b310e497420 | [
"Apache-2.0"
] | 1 | 2021-08-13T20:00:04.000Z | 2021-08-13T20:00:04.000Z | class SQLAlchemyConnector():
def __init__(self):
pass
def select_all(self):
pass
def create_table(self):
pass
| 13.545455 | 28 | 0.583893 | 16 | 149 | 5.0625 | 0.625 | 0.296296 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33557 | 149 | 10 | 29 | 14.9 | 0.818182 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
4cc714ae59926e716770a4b25f2dad5ed0b6b796 | 23 | py | Python | cron_converter/__init__.py | zevaverbach/cron-converter | 6d6584cb994de276161afa1fdab98c34f33e213e | [
"MIT"
] | 5 | 2021-02-02T02:39:50.000Z | 2021-11-15T09:29:10.000Z | cron_converter/__init__.py | zevaverbach/cron-converter | 6d6584cb994de276161afa1fdab98c34f33e213e | [
"MIT"
] | 3 | 2021-09-14T08:19:21.000Z | 2021-09-24T02:39:32.000Z | cron_converter/__init__.py | zevaverbach/cron-converter | 6d6584cb994de276161afa1fdab98c34f33e213e | [
"MIT"
] | 2 | 2021-06-09T08:13:57.000Z | 2021-07-07T04:17:55.000Z | from .cron import Cron
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ce3a191b18fb9e5803628417a67971997ee1828 | 70 | py | Python | bubblebox/resources/__init__.py | akashdhruv/BubbleBox | 65d0b4f740eb6a6ab984098da50f87eeb8ae3833 | [
"MIT"
] | null | null | null | bubblebox/resources/__init__.py | akashdhruv/BubbleBox | 65d0b4f740eb6a6ab984098da50f87eeb8ae3833 | [
"MIT"
] | 2 | 2021-11-11T05:35:58.000Z | 2022-02-13T17:00:18.000Z | bubblebox/resources/__init__.py | akashdhruv/BubbleBox | 65d0b4f740eb6a6ab984098da50f87eeb8ae3833 | [
"MIT"
] | null | null | null | """Initialize resources"""
from . import read
from . import stencils
| 14 | 26 | 0.728571 | 8 | 70 | 6.375 | 0.75 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 4 | 27 | 17.5 | 0.864407 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cf0d132bb9c3ee92ca79f872c2357ffdd0c4798 | 41 | py | Python | zipf/factories/zipf_from_text/__init__.py | LucaCappelletti94/zipf | 956c3a1d56958384a02d5bb4671c6883cd9a25e3 | [
"MIT"
] | 3 | 2018-11-07T01:56:09.000Z | 2020-05-31T12:24:09.000Z | zipf/factories/zipf_from_text/__init__.py | LucaCappelletti94/zipf | 956c3a1d56958384a02d5bb4671c6883cd9a25e3 | [
"MIT"
] | 1 | 2018-05-15T15:58:06.000Z | 2018-05-15T15:58:06.000Z | zipf/factories/zipf_from_text/__init__.py | LucaCappelletti94/zipf | 956c3a1d56958384a02d5bb4671c6883cd9a25e3 | [
"MIT"
] | null | null | null | from .zipf_from_text import ZipfFromText
| 20.5 | 40 | 0.878049 | 6 | 41 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98020233373c4595f8c51007cb29078023da8046 | 174 | py | Python | rosys/test/__init__.py | zauberzeug/rosys | 10271c88ffd5dcc4fb8eec93d46fe4144a9e40d8 | [
"MIT"
] | 1 | 2022-02-20T08:21:07.000Z | 2022-02-20T08:21:07.000Z | rosys/test/__init__.py | zauberzeug/rosys | 10271c88ffd5dcc4fb8eec93d46fe4144a9e40d8 | [
"MIT"
] | 1 | 2022-03-08T12:46:09.000Z | 2022-03-08T12:46:09.000Z | rosys/test/__init__.py | zauberzeug/rosys | 10271c88ffd5dcc4fb8eec93d46fe4144a9e40d8 | [
"MIT"
] | null | null | null | import pytest
pytest.register_assert_rewrite('rosys.test.helper') # nopep8
from .runtime import TestRuntime
from .helper import assert_point, assert_pose, automate_drive_to
| 34.8 | 64 | 0.83908 | 24 | 174 | 5.833333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.091954 | 174 | 4 | 65 | 43.5 | 0.879747 | 0.034483 | 0 | 0 | 0 | 0 | 0.10241 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e23bb92d248cd7350234b0dd1e65149494f2a965 | 200 | py | Python | tests/conftest.py | zael13/grow_easily_server | ca87bd6fefaffcda5308d6fef2fe3b33db5f9cb1 | [
"MIT"
] | null | null | null | tests/conftest.py | zael13/grow_easily_server | ca87bd6fefaffcda5308d6fef2fe3b33db5f9cb1 | [
"MIT"
] | null | null | null | tests/conftest.py | zael13/grow_easily_server | ca87bd6fefaffcda5308d6fef2fe3b33db5f9cb1 | [
"MIT"
] | null | null | null | import pytest
from grow_easily_server.app import create_app
from grow_easily_server.settings import TestConfig
@pytest.yield_fixture(scope='function')
def app():
return create_app(TestConfig)
| 18.181818 | 50 | 0.815 | 28 | 200 | 5.571429 | 0.571429 | 0.102564 | 0.179487 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115 | 200 | 10 | 51 | 20 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2c4ed202a7f1dc3324472b48e4387d8c928dec02 | 1,374 | py | Python | python/gui/auto_additions/qgsadvanceddigitizingdockwidget.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | python/gui/auto_additions/qgsadvanceddigitizingdockwidget.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | python/gui/auto_additions/qgsadvanceddigitizingdockwidget.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | # The following has been generated automatically from src/gui/qgsadvanceddigitizingdockwidget.h
QgsAdvancedDigitizingDockWidget.CadCapacities.baseClass = QgsAdvancedDigitizingDockWidget
CadCapacities = QgsAdvancedDigitizingDockWidget # dirty hack since SIP seems to introduce the flags in module
# monkey patching scope... | 105.692308 | 423 | 0.866812 | 93 | 1,374 | 12.505376 | 0.451613 | 0.438521 | 0.202923 | 0.193465 | 0.392089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062591 | 1,374 | 12 | 424 | 114.5 | 0.90295 | 0.138282 | 0 | 0 | 1 | 0 | 0.129771 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c5794471c7ab2fcf2a9b43e675a9edc93de9fd3 | 91 | py | Python | src/log.py | thibaultyou/grid-bot | 9c360c00ec3e87eb639fb5e2ee755d2dec77bcc9 | [
"MIT"
] | 4 | 2022-03-06T03:51:03.000Z | 2022-03-08T14:19:31.000Z | src/log.py | thibaultyou/grid-bot | 9c360c00ec3e87eb639fb5e2ee755d2dec77bcc9 | [
"MIT"
] | null | null | null | src/log.py | thibaultyou/grid-bot | 9c360c00ec3e87eb639fb5e2ee755d2dec77bcc9 | [
"MIT"
] | null | null | null | import json
def format_log(obj):
return json.dumps(obj, indent=4, sort_keys=True) | 18.2 | 52 | 0.703297 | 15 | 91 | 4.133333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.186813 | 91 | 5 | 52 | 18.2 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2cc5e4232afb328b0e135fc0ed3a48a184af5bc0 | 96 | py | Python | exercises/practice/dominoes/dominoes.py | exercism-bot/z3 | 5e32374acd1fa31f15919aa09880f04f1f17f975 | [
"MIT"
] | 6 | 2021-02-16T18:12:57.000Z | 2021-03-18T16:44:26.000Z | exercises/practice/dominoes/dominoes.py | exercism-bot/z3 | 5e32374acd1fa31f15919aa09880f04f1f17f975 | [
"MIT"
] | 38 | 2021-02-16T15:17:49.000Z | 2021-08-24T07:28:39.000Z | exercises/practice/dominoes/dominoes.py | exercism-bot/z3 | 5e32374acd1fa31f15919aa09880f04f1f17f975 | [
"MIT"
] | 7 | 2021-02-17T14:04:33.000Z | 2021-06-01T08:16:50.000Z | from z3 import *
def possible_chain(dominoes):
# TODO: Write your code here
pass
| 12 | 32 | 0.645833 | 13 | 96 | 4.692308 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.291667 | 96 | 7 | 33 | 13.714286 | 0.882353 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
2cce3d98f30da5e2c867b0f7011bbe31d66a778e | 67 | py | Python | logger/__init__.py | mrdvince/ajime | d75df750c2500aac64540aa5fa4e7f9a95836100 | [
"MIT"
] | null | null | null | logger/__init__.py | mrdvince/ajime | d75df750c2500aac64540aa5fa4e7f9a95836100 | [
"MIT"
] | null | null | null | logger/__init__.py | mrdvince/ajime | d75df750c2500aac64540aa5fa4e7f9a95836100 | [
"MIT"
] | null | null | null | from .logger import * # noqa
from .visualization import * # noqa
| 22.333333 | 36 | 0.701493 | 8 | 67 | 5.875 | 0.625 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 67 | 2 | 37 | 33.5 | 0.886792 | 0.134328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e2badfc9f7bb3454bb205a7444f7bfe0dddf5b04 | 180 | py | Python | audiotracks/admin.py | amorilla/django-audiotracks | bd1af61fce82a5b3ea1171da18e465ef03f79c82 | [
"MIT"
] | 30 | 2015-04-16T04:56:30.000Z | 2021-02-26T05:28:54.000Z | audiotracks/admin.py | amorilla/django-audiotracks | bd1af61fce82a5b3ea1171da18e465ef03f79c82 | [
"MIT"
] | 2 | 2016-05-29T09:41:40.000Z | 2016-07-12T17:47:06.000Z | audiotracks/admin.py | amorilla/django-audiotracks | bd1af61fce82a5b3ea1171da18e465ef03f79c82 | [
"MIT"
] | 10 | 2015-07-16T12:57:41.000Z | 2021-12-05T22:06:22.000Z | from django.contrib import admin
from audiotracks.models import get_track_model
class TrackAdmin(admin.ModelAdmin):
pass
admin.site.register(get_track_model(), TrackAdmin)
| 18 | 50 | 0.811111 | 24 | 180 | 5.916667 | 0.666667 | 0.112676 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 180 | 9 | 51 | 20 | 0.893082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
3933b6679410a8e540452f24dd2f0f1508b8a4ba | 4,079 | py | Python | main_store/migrations/0001_initial.py | Melto007/medical_store_project | 3d208159c6addc298d9a6351c7c8ef3f8a144916 | [
"MIT"
] | null | null | null | main_store/migrations/0001_initial.py | Melto007/medical_store_project | 3d208159c6addc298d9a6351c7c8ef3f8a144916 | [
"MIT"
] | null | null | null | main_store/migrations/0001_initial.py | Melto007/medical_store_project | 3d208159c6addc298d9a6351c7c8ef3f8a144916 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.1 on 2020-11-16 03:57
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 47.988235 | 143 | 0.596225 | 435 | 4,079 | 5.386207 | 0.17931 | 0.040973 | 0.047802 | 0.075117 | 0.762697 | 0.75032 | 0.75032 | 0.75032 | 0.75032 | 0.675203 | 0 | 0.009003 | 0.264771 | 4,079 | 84 | 144 | 48.559524 | 0.772257 | 0.011032 | 0 | 0.597403 | 1 | 0 | 0.103671 | 0.017113 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038961 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
39352c4f506e0329bf5496ab1ea191f9d99388f5 | 393 | py | Python | strings/tests/test_longest_substring_without_duplicates.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | strings/tests/test_longest_substring_without_duplicates.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | strings/tests/test_longest_substring_without_duplicates.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | 3 | 2020-10-07T20:24:45.000Z | 2020-12-16T04:53:19.000Z | from strings.longest_substring_without_duplicates import longest_substring_without_duplicates
def test_longest_substring_without_duplicates():
assert longest_substring_without_duplicates('abcabcbb') == 3
assert longest_substring_without_duplicates('abc') == 3
assert longest_substring_without_duplicates('a... | 43.666667 | 93 | 0.826972 | 45 | 393 | 6.733333 | 0.355556 | 0.369637 | 0.531353 | 0.762376 | 0.524752 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0.011331 | 0.101781 | 393 | 8 | 94 | 49.125 | 0.847026 | 0 | 0 | 0 | 0 | 0 | 0.050891 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1a731b3049974307744d1c12dc0bc0db96a9c088 | 71 | py | Python | pypugly/__init__.py | zerotk/pypugly | 1312426276465a16f7e490a4d78a73fb5a92f58c | [
"MIT"
] | 2 | 2016-02-24T12:53:48.000Z | 2016-02-28T05:11:00.000Z | pypugly/__init__.py | zerotk/pypugly | 1312426276465a16f7e490a4d78a73fb5a92f58c | [
"MIT"
] | null | null | null | pypugly/__init__.py | zerotk/pypugly | 1312426276465a16f7e490a4d78a73fb5a92f58c | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from ._pypugly import generate
| 17.75 | 38 | 0.859155 | 9 | 71 | 6.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 71 | 3 | 39 | 23.666667 | 0.887097 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ab1e9360e41aa422ae5d3030cfa3986f016c603 | 10,690 | py | Python | backend/tests/test_integration.py | methodpark/digitaleswarten | 024c0b88df54e9727925b202e139b3c5b2ce73d6 | [
"Apache-2.0"
] | 10 | 2020-03-20T19:14:43.000Z | 2020-10-29T21:31:40.000Z | backend/tests/test_integration.py | methodpark/digitaleswarten | 024c0b88df54e9727925b202e139b3c5b2ce73d6 | [
"Apache-2.0"
] | 41 | 2020-03-20T20:27:55.000Z | 2020-03-24T21:49:37.000Z | backend/tests/test_integration.py | methodpark/digitaleswarten | 024c0b88df54e9727925b202e139b3c5b2ce73d6 | [
"Apache-2.0"
] | 1 | 2020-03-21T09:31:51.000Z | 2020-03-21T09:31:51.000Z | import json
import os
import pytest
import requests
class TestBackendIntegration:
host_name = os.getenv('BACKEND_HOSTNAME', default='backend')
host = f'http://{host_name}:5000'
@pytest.fixture
def place_id(self):
place_response = requests.post(f'{self.host}/places', json={'placeName': 'TestPra... | 54.820513 | 114 | 0.637886 | 1,261 | 10,690 | 5.1023 | 0.072165 | 0.06963 | 0.057352 | 0.095586 | 0.852502 | 0.831831 | 0.807118 | 0.790333 | 0.771215 | 0.733292 | 0 | 0.007981 | 0.22638 | 10,690 | 194 | 115 | 55.103093 | 0.770012 | 0 | 0 | 0.555556 | 0 | 0 | 0.266723 | 0.192721 | 0 | 0 | 0 | 0 | 0.197531 | 1 | 0.166667 | false | 0 | 0.024691 | 0 | 0.240741 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46ee417c21cc53676a82a048c6b75ccfe8375fb9 | 169 | py | Python | pau/context_processors.py | Sapphio/alpha | e3841a9bb0b9baa0dadc94e49db50461a8c0c32e | [
"MIT"
] | 66 | 2015-01-25T09:30:34.000Z | 2021-11-08T09:58:46.000Z | pau/context_processors.py | 0xMF/alpha | e3841a9bb0b9baa0dadc94e49db50461a8c0c32e | [
"MIT"
] | 4 | 2020-06-06T00:48:33.000Z | 2021-12-13T20:36:58.000Z | pau/context_processors.py | 0xMF/alpha | e3841a9bb0b9baa0dadc94e49db50461a8c0c32e | [
"MIT"
] | 15 | 2015-01-27T14:50:03.000Z | 2017-10-24T07:27:47.000Z | from functools import partial
from paucore.utils.web import smart_reverse
def url_for(request):
return {
'url_for': partial(smart_reverse, request)
}
| 16.9 | 50 | 0.715976 | 22 | 169 | 5.318182 | 0.636364 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207101 | 169 | 9 | 51 | 18.777778 | 0.873134 | 0 | 0 | 0 | 0 | 0 | 0.04142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
201ef3218e86e9d6125995968d4612e4298b7ca3 | 41 | py | Python | builder_engine/custom_components/layers.py | DiablosWhisper/machine_learning_toolpack | 3f4b82b549a3d70b95fc7a2c01959cd99d2b88b9 | [
"Apache-2.0"
] | null | null | null | builder_engine/custom_components/layers.py | DiablosWhisper/machine_learning_toolpack | 3f4b82b549a3d70b95fc7a2c01959cd99d2b88b9 | [
"Apache-2.0"
] | null | null | null | builder_engine/custom_components/layers.py | DiablosWhisper/machine_learning_toolpack | 3f4b82b549a3d70b95fc7a2c01959cd99d2b88b9 | [
"Apache-2.0"
] | null | null | null | from tensorflow.keras.layers import Layer | 41 | 41 | 0.878049 | 6 | 41 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2021db0947d3a1fa258dc7091ed2cb072cb09205 | 19 | py | Python | tools/Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/nn/utils/__init__.py | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | tools/Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/nn/utils/__init__.py | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | tools/Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/nn/utils/__init__.py | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.000Z | from .rnn import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
64c151b974fd870b2d684ace2aaea42b167f4bdd | 7,580 | py | Python | tests/test_metaflows.py | diarmuidw/PyKazoo | 4b6e22c56400c6da1cdd6949c27b687b51712017 | [
"MIT"
] | 3 | 2015-10-16T07:45:38.000Z | 2016-05-19T18:11:42.000Z | tests/test_metaflows.py | diarmuidw/PyKazoo | 4b6e22c56400c6da1cdd6949c27b687b51712017 | [
"MIT"
] | 35 | 2015-08-29T17:33:05.000Z | 2021-06-06T15:53:52.000Z | tests/test_metaflows.py | diarmuidw/PyKazoo | 4b6e22c56400c6da1cdd6949c27b687b51712017 | [
"MIT"
] | 10 | 2015-08-29T17:33:51.000Z | 2021-06-04T20:54:56.000Z | import pykazoo.metaflows
import pykazoo.restrequest
from unittest import TestCase
from unittest.mock import create_autospec
mock_rest_request = create_autospec(pykazoo.restrequest.RestRequest)
class TestMetaflows(TestCase):
def setUp(self):
self.mock_rest_request = mock_rest_request
self.metaflo... | 49.220779 | 79 | 0.529815 | 705 | 7,580 | 5.320567 | 0.062411 | 0.082111 | 0.097041 | 0.101306 | 0.889896 | 0.870701 | 0.859504 | 0.768328 | 0.7518 | 0.715543 | 0 | 0.008465 | 0.407784 | 7,580 | 153 | 80 | 49.542484 | 0.827133 | 0 | 0 | 0.53719 | 0 | 0 | 0.041557 | 0.006069 | 0 | 0 | 0 | 0 | 0.14876 | 1 | 0.157025 | false | 0 | 0.033058 | 0 | 0.198347 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
64d16f3a28a3a23f9a2f21de4ffb674f79cf385c | 432 | py | Python | scripts/move-cats-and-dogs.py | kcarnold/clubdl | 34939275de019a352f1373c04f8b04ef894ad1fd | [
"MIT"
] | null | null | null | scripts/move-cats-and-dogs.py | kcarnold/clubdl | 34939275de019a352f1373c04f8b04ef894ad1fd | [
"MIT"
] | null | null | null | scripts/move-cats-and-dogs.py | kcarnold/clubdl | 34939275de019a352f1373c04f8b04ef894ad1fd | [
"MIT"
] | null | null | null | import os
for i in range(1000): os.rename('other/cat.{}.jpg'.format(i), 'train/cats/cat.{:04}.jpg'.format(i))
for i in range(1000): os.rename('other/dog.{}.jpg'.format(i), 'train/dogs/dog.{:04}.jpg'.format(i))
for i in range(1000, 2000): os.rename('other/dog.{}.jpg'.format(i), 'validation/dogs/dog.{:04}.jpg'.format(i))... | 72 | 110 | 0.662037 | 80 | 432 | 3.575 | 0.2375 | 0.251748 | 0.27972 | 0.153846 | 0.867133 | 0.867133 | 0.776224 | 0.594406 | 0.451049 | 0.356643 | 0 | 0.079208 | 0.064815 | 432 | 5 | 111 | 86.4 | 0.628713 | 0 | 0 | 0 | 0 | 0 | 0.393519 | 0.24537 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b38d691be6bf38c5e893edead2eff32a1a19f028 | 28 | py | Python | api/wsgi.py | Lapikud/AttendanceTracker | 24f4073d6ed3ae9a8741f68570dc76b438f50ef1 | [
"MIT"
] | null | null | null | api/wsgi.py | Lapikud/AttendanceTracker | 24f4073d6ed3ae9a8741f68570dc76b438f50ef1 | [
"MIT"
] | 5 | 2017-10-07T19:08:27.000Z | 2017-10-08T14:40:33.000Z | api/wsgi.py | Lapikud/AttendanceTracker | 24f4073d6ed3ae9a8741f68570dc76b438f50ef1 | [
"MIT"
] | null | null | null | from api import application
| 14 | 27 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b3d90c0035918802840f65c131938ae468799359 | 31 | py | Python | Diena_5_strings/string_fun.py | edzya/Python_RTU_08_20 | d2921d998c611c18328dd523daf976a27ce858c1 | [
"MIT"
] | 8 | 2020-08-31T16:10:54.000Z | 2021-11-24T06:37:37.000Z | Diena_5_strings/string_fun.py | edzya/Python_RTU_08_20 | d2921d998c611c18328dd523daf976a27ce858c1 | [
"MIT"
] | 8 | 2021-06-08T22:30:29.000Z | 2022-03-12T00:48:55.000Z | Diena_5_strings/string_fun.py | edzya/Python_RTU_08_20 | d2921d998c611c18328dd523daf976a27ce858c1 | [
"MIT"
] | 12 | 2020-09-28T17:06:52.000Z | 2022-02-17T12:12:46.000Z | print("Having fun with string") | 31 | 31 | 0.774194 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b3f24ff25fbb0cceca4b3c17852884da5d9516b0 | 2,857 | py | Python | tests/test_appsync/test_appsync_tags.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | tests/test_appsync/test_appsync_tags.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 1 | 2022-02-19T02:10:45.000Z | 2022-02-19T02:15:52.000Z | tests/test_appsync/test_appsync_tags.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | import boto3
import sure # noqa # pylint: disable=unused-import
from moto import mock_appsync
@mock_appsync
def test_create_graphql_api_with_tags():
client = boto3.client("appsync", region_name="ap-southeast-1")
api = client.create_graphql_api(
name="api1", authenticationType="API_KEY", tags={"key":... | 32.83908 | 86 | 0.661183 | 367 | 2,857 | 4.956403 | 0.158038 | 0.06597 | 0.04398 | 0.061572 | 0.869709 | 0.849918 | 0.790544 | 0.731171 | 0.731171 | 0.71083 | 0 | 0.019544 | 0.140357 | 2,857 | 86 | 87 | 33.22093 | 0.721091 | 0.012251 | 0 | 0.610169 | 0 | 0 | 0.192976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101695 | false | 0 | 0.050847 | 0 | 0.152542 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
80826eca67ca2890cc5eac1b0d467f9463c7ffa9 | 37 | py | Python | pji/entry/script/__init__.py | HansBug/pji | 449d171cea0c03f4c302da886988f36f70e34ee6 | [
"Apache-2.0"
] | null | null | null | pji/entry/script/__init__.py | HansBug/pji | 449d171cea0c03f4c302da886988f36f70e34ee6 | [
"Apache-2.0"
] | null | null | null | pji/entry/script/__init__.py | HansBug/pji | 449d171cea0c03f4c302da886988f36f70e34ee6 | [
"Apache-2.0"
] | null | null | null | from .execute import load_pji_script
| 18.5 | 36 | 0.864865 | 6 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
809009229e22274362e5624612ec1933aa04b1cb | 130 | py | Python | tests/test_connection.py | Hironsan/uecda-pyclient | d7e4c2e0233798891ca5b976913f7d4774e59ac5 | [
"MIT"
] | 3 | 2016-11-11T07:11:12.000Z | 2020-11-30T03:52:22.000Z | tests/test_connection.py | Hironsan/uecda-pyclient | d7e4c2e0233798891ca5b976913f7d4774e59ac5 | [
"MIT"
] | 15 | 2016-10-13T12:39:43.000Z | 2016-11-06T14:17:29.000Z | tests/test_connection.py | Hironsan/uecda-pyclient | d7e4c2e0233798891ca5b976913f7d4774e59ac5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from src.connection import Connection
class ConnectionTest(unittest.TestCase):
pass
| 16.25 | 40 | 0.738462 | 15 | 130 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.153846 | 130 | 7 | 41 | 18.571429 | 0.863636 | 0.161538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
809e8a8715a116229c01c102f7ae7fad948e6ec8 | 4,371 | py | Python | baselines/common/vec_env/vec_frame_stack.py | Jiankai-Sun/Modular-Decision | cca6a2dbcd5b3603858d58c4ccb0d94335af0ca0 | [
"MIT"
] | 17 | 2020-11-09T02:25:19.000Z | 2022-03-31T14:23:31.000Z | baselines/common/vec_env/vec_frame_stack.py | UnsignedIG/modulardecision | cca6a2dbcd5b3603858d58c4ccb0d94335af0ca0 | [
"MIT"
] | 1 | 2021-03-29T08:29:45.000Z | 2021-03-29T08:29:45.000Z | baselines/common/vec_env/vec_frame_stack.py | UnsignedIG/modulardecision | cca6a2dbcd5b3603858d58c4ccb0d94335af0ca0 | [
"MIT"
] | 2 | 2020-12-24T16:29:45.000Z | 2021-12-10T05:48:45.000Z | from . import VecEnvWrapper
import numpy as np
from gym import spaces
class VecFrameStack(VecEnvWrapper):
"""
Vectorized environment base class
"""
#def __init__(self, venv, nstack):
def __init__(self, venv, nstack):
#
self.venv = venv
self.nstack = nstack
# @Lanxin... | 35.827869 | 96 | 0.569206 | 535 | 4,371 | 4.547664 | 0.162617 | 0.126593 | 0.082203 | 0.072339 | 0.933827 | 0.925606 | 0.925606 | 0.925606 | 0.925606 | 0.925606 | 0 | 0.019955 | 0.289179 | 4,371 | 121 | 97 | 36.123967 | 0.763116 | 0.634409 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.1 | 0 | 0.366667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
80ebc8f3844e816bef3e315f4cba75bdac1eafd4 | 47 | py | Python | rtp/__init__.py | LyuOnLine/rtp-analyzer | e872a590b2fa482abe81e003b105f02cf001f3e8 | [
"BSD-2-Clause"
] | null | null | null | rtp/__init__.py | LyuOnLine/rtp-analyzer | e872a590b2fa482abe81e003b105f02cf001f3e8 | [
"BSD-2-Clause"
] | null | null | null | rtp/__init__.py | LyuOnLine/rtp-analyzer | e872a590b2fa482abe81e003b105f02cf001f3e8 | [
"BSD-2-Clause"
] | null | null | null | from .rtp import *
from .rtpdump_file import *
| 15.666667 | 27 | 0.744681 | 7 | 47 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 28 | 23.5 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80f139561404ea40e4a32a0ba644f83fdf28fa8f | 25 | py | Python | src/functional/maybe.py | felipefsfs/py-funcs | 968103978cddb23a7f1c657a886a3f6663613e5b | [
"MIT"
] | null | null | null | src/functional/maybe.py | felipefsfs/py-funcs | 968103978cddb23a7f1c657a886a3f6663613e5b | [
"MIT"
] | null | null | null | src/functional/maybe.py | felipefsfs/py-funcs | 968103978cddb23a7f1c657a886a3f6663613e5b | [
"MIT"
] | null | null | null | def id(arg):
return arg | 12.5 | 12 | 0.68 | 5 | 25 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 2 | 13 | 12.5 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0384cc0f6d8c632fbe8e60aee7b33c7caaa2f6b2 | 57 | py | Python | raisim_gym/__init__.py | feracero/raisimGym | c445ae56ed9b6a90839a5fa09db266e426e7b886 | [
"MIT"
] | 150 | 2019-06-23T01:57:39.000Z | 2021-07-16T04:21:56.000Z | raisim_gym/__init__.py | feracero/raisimGym | c445ae56ed9b6a90839a5fa09db266e426e7b886 | [
"MIT"
] | 51 | 2019-06-26T17:58:44.000Z | 2020-12-30T07:18:22.000Z | raisim_gym/__init__.py | feracero/raisimGym | c445ae56ed9b6a90839a5fa09db266e426e7b886 | [
"MIT"
] | 44 | 2019-06-26T17:46:20.000Z | 2020-11-11T08:55:39.000Z | from . import algo
from . import archi
from . import env
| 14.25 | 19 | 0.736842 | 9 | 57 | 4.666667 | 0.555556 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 57 | 3 | 20 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0392dc9508424cc2e3c6d9c44711e9c59c5ed23b | 74 | py | Python | src/sabr_pkg/__init__.py | AlexS28/SABER | 91f74319a41f473b8e8f9eff6b7d9b604b94c7da | [
"BSD-3-Clause"
] | 4 | 2021-10-06T11:06:53.000Z | 2022-03-13T22:00:18.000Z | src/sabr_pkg/__init__.py | AlexS28/SABER | 91f74319a41f473b8e8f9eff6b7d9b604b94c7da | [
"BSD-3-Clause"
] | null | null | null | src/sabr_pkg/__init__.py | AlexS28/SABER | 91f74319a41f473b8e8f9eff6b7d9b604b94c7da | [
"BSD-3-Clause"
] | null | null | null | import MPC_ugv_Simple
import ROS_interface
import SMPC_uav
import SMPC_ugv | 18.5 | 21 | 0.905405 | 13 | 74 | 4.769231 | 0.615385 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 4 | 22 | 18.5 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
03b2db5bf3b3012bc6168e9b10cda247bd7ceb95 | 20,228 | py | Python | tests/test_api.py | jaswdr/querido-diario-api | 6f325a564f0568bd5398728df54dc1ef8758e780 | [
"MIT"
] | null | null | null | tests/test_api.py | jaswdr/querido-diario-api | 6f325a564f0568bd5398728df54dc1ef8758e780 | [
"MIT"
] | null | null | null | tests/test_api.py | jaswdr/querido-diario-api | 6f325a564f0568bd5398728df54dc1ef8758e780 | [
"MIT"
] | null | null | null | from datetime import date, timedelta
from unittest.mock import MagicMock
from unittest import TestCase, expectedFailure
from fastapi.testclient import TestClient
from api import app, configure_api_app
from gazettes import GazetteAccessInterface, GazetteRequest
@GazetteAccessInterface.register
class MockGazetteAcces... | 41.621399 | 99 | 0.573166 | 1,984 | 20,228 | 5.535282 | 0.078125 | 0.072118 | 0.072846 | 0.063376 | 0.896376 | 0.879712 | 0.865507 | 0.845292 | 0.840011 | 0.83136 | 0 | 0.032779 | 0.313773 | 20,228 | 485 | 100 | 41.707216 | 0.758375 | 0 | 0 | 0.639821 | 0 | 0 | 0.12631 | 0 | 0 | 0 | 0 | 0 | 0.167785 | 1 | 0.069351 | false | 0.002237 | 0.013423 | 0 | 0.089485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
03b5746bda97a683b04cb21b98de8a858d01a5aa | 5,311 | py | Python | Computerorietierte_Mathematik/U8/run7_3.py | qiaw99/Data-Structure | 3b1cdce96d4f35329ccfec29c03de57378ef0552 | [
"MIT"
] | 1 | 2019-10-29T08:21:41.000Z | 2019-10-29T08:21:41.000Z | Computerorietierte_Mathematik/U8/run7_3.py | qiaw99/Data-Structure | 3b1cdce96d4f35329ccfec29c03de57378ef0552 | [
"MIT"
] | null | null | null | Computerorietierte_Mathematik/U8/run7_3.py | qiaw99/Data-Structure | 3b1cdce96d4f35329ccfec29c03de57378ef0552 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import matplotlib.pyplot as plt
import numpy as np
# n ist das minimum zwischen a und b. Dann müssen wir uns zuerst für das minimum entscheiden.
# kmin = n - 1 + 1 = n
# kmax = 2(n - 1) + 1 = 2n - 1
def ggT_tumb(a, b):
ggt = 1
counter = 1
temp = a if a <= b el... | 23.396476 | 93 | 0.469403 | 804 | 5,311 | 3.053483 | 0.139303 | 0.098982 | 0.058656 | 0.035845 | 0.756008 | 0.756008 | 0.756008 | 0.724236 | 0.724236 | 0.724236 | 0 | 0.119099 | 0.389757 | 5,311 | 226 | 94 | 23.5 | 0.638383 | 0.058558 | 0 | 0.756614 | 0 | 0 | 0.068793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.010582 | 0 | 0.068783 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
03d38eb6b960c5a87096aaa2ed8ded5e3575f367 | 201 | py | Python | app/models/all.py | KrusnikViers/zordon | 585dca256255ceb94f99dc5b221176e59ff511cf | [
"MIT"
] | 2 | 2017-07-16T10:35:57.000Z | 2019-02-13T13:50:41.000Z | app/models/all.py | IlyaDobrynin/Zordon | 1252f107995a48108cc2dbd8710013747128239a | [
"MIT"
] | 73 | 2017-07-05T08:53:27.000Z | 2020-07-07T17:11:18.000Z | app/models/all.py | IlyaDobrynin/Zordon | 1252f107995a48108cc2dbd8710013747128239a | [
"MIT"
] | 2 | 2018-11-28T12:55:58.000Z | 2019-02-13T14:07:06.000Z | from app.models.group import Group
from app.models.pending_actions import PendingAction
from app.models.request import Request
from app.models.response import Response
from app.models.user import User
| 33.5 | 52 | 0.850746 | 31 | 201 | 5.483871 | 0.354839 | 0.205882 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099502 | 201 | 5 | 53 | 40.2 | 0.939227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
03e042c6b11ab6479a11b2a52836ccb119c3ef78 | 209 | py | Python | python/taichi/profiler/__init__.py | nasnoisaac/taichi | 11f8777d878e7afe336b1e0e3e1f2fd00013693d | [
"MIT"
] | null | null | null | python/taichi/profiler/__init__.py | nasnoisaac/taichi | 11f8777d878e7afe336b1e0e3e1f2fd00013693d | [
"MIT"
] | null | null | null | python/taichi/profiler/__init__.py | nasnoisaac/taichi | 11f8777d878e7afe336b1e0e3e1f2fd00013693d | [
"MIT"
] | null | null | null | from taichi.profiler.kernelprofiler import \
KernelProfiler # import for docstring-gen
from taichi.profiler.kernelprofiler import get_default_kernel_profiler
from taichi.profiler.scoped_profiler import *
| 41.8 | 70 | 0.84689 | 25 | 209 | 6.92 | 0.48 | 0.17341 | 0.312139 | 0.369942 | 0.439306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 209 | 4 | 71 | 52.25 | 0.925134 | 0.114833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
206c3549603dcb406cdcec389ef2e29a4013ab91 | 713,429 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_fib_common_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_fib_common_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_fib_common_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 55.150665 | 385 | 0.502382 | 65,402 | 713,429 | 5.299226 | 0.015626 | 0.070333 | 0.087916 | 0.097599 | 0.962144 | 0.954793 | 0.947516 | 0.935931 | 0.925195 | 0.898263 | 0 | 0.035963 | 0.345214 | 713,429 | 12,935 | 386 | 55.154928 | 0.705951 | 0 | 0 | 0.671524 | 0 | 0.027613 | 0.447809 | 0.352119 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00072 | 0 | 0.00072 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
206f816414189f18fecc176204a68d4841452718 | 29 | py | Python | tex2tex/__init__.py | diSimplex/tex2tex | f262a6b16b8e41b3c2701f0a85b89f16c12e4fbc | [
"Apache-2.0"
] | null | null | null | tex2tex/__init__.py | diSimplex/tex2tex | f262a6b16b8e41b3c2701f0a85b89f16c12e4fbc | [
"Apache-2.0"
] | null | null | null | tex2tex/__init__.py | diSimplex/tex2tex | f262a6b16b8e41b3c2701f0a85b89f16c12e4fbc | [
"Apache-2.0"
] | null | null | null | from .tex2tex import tex2tex
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20da6be17aa291d89e6281bbde5bd385986053fe | 3,878 | py | Python | Main.py | ischmidt707/WumpusWorld | 8c898675a95d9f4f29f291aaf0fce1d40933ade5 | [
"MIT"
] | null | null | null | Main.py | ischmidt707/WumpusWorld | 8c898675a95d9f4f29f291aaf0fce1d40933ade5 | [
"MIT"
] | null | null | null | Main.py | ischmidt707/WumpusWorld | 8c898675a95d9f4f29f291aaf0fce1d40933ade5 | [
"MIT"
] | null | null | null | """
Core experiment manager that instantiates the other classes.
Statistics will be tracked here.
"""
from WumpWorld import *
from Agent import *
from ReactiveAgent import *
class Main:
def __init__(self):
self.agentWorlds = []
self.PosXarr = []
self.PosYarr = []
self.arrowsarr = [... | 36.933333 | 103 | 0.601857 | 412 | 3,878 | 5.61165 | 0.174757 | 0.038927 | 0.069204 | 0.023789 | 0.835208 | 0.797145 | 0.797145 | 0.750433 | 0.750433 | 0.731834 | 0 | 0.01935 | 0.293708 | 3,878 | 105 | 104 | 36.933333 | 0.824754 | 0.023981 | 0 | 0.617978 | 0 | 0 | 0.005029 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022472 | false | 0 | 0.033708 | 0 | 0.067416 | 0.044944 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
454b6868f859f417b784424846fc6aa5984a85ef | 27 | py | Python | hyperion/filter/__init__.py | christopherlovell/hyperion | f65c253abf0bdf174a9302666bc2fec57f7ae7da | [
"BSD-2-Clause"
] | 37 | 2015-01-29T20:58:04.000Z | 2022-03-10T23:36:39.000Z | hyperion/filter/__init__.py | christopherlovell/hyperion | f65c253abf0bdf174a9302666bc2fec57f7ae7da | [
"BSD-2-Clause"
] | 83 | 2015-01-07T11:04:08.000Z | 2022-02-16T16:26:33.000Z | hyperion/filter/__init__.py | christopherlovell/hyperion | f65c253abf0bdf174a9302666bc2fec57f7ae7da | [
"BSD-2-Clause"
] | 17 | 2015-04-21T13:17:41.000Z | 2021-12-06T02:42:20.000Z | from .filter import Filter
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4571a621b121e0175d87e131c5cc11ce0b0bdc12 | 32 | py | Python | deep_nilmtk/trainers/utils/__init__.py | DBRTII/Deep-NILMtk | cf6c50ec9891c17f9c626e23c0e1b6f488fefcb3 | [
"MIT"
] | 1 | 2022-03-18T08:56:18.000Z | 2022-03-18T08:56:18.000Z | deep_nilmtk/trainers/utils/__init__.py | DBRTII/Deep-NILMtk | cf6c50ec9891c17f9c626e23c0e1b6f488fefcb3 | [
"MIT"
] | null | null | null | deep_nilmtk/trainers/utils/__init__.py | DBRTII/Deep-NILMtk | cf6c50ec9891c17f9c626e23c0e1b6f488fefcb3 | [
"MIT"
] | null | null | null | from .hparams_optimizer import * | 32 | 32 | 0.84375 | 4 | 32 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.