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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
317a20a44096a918c27596143b2d6e3d161826ea | 15,906 | py | Python | test/unit/common/middleware/test_domain_remap.py | 10088/swift | 93c432342bffce7a87902d7d8e9850eeddbb1a7c | [
"Apache-2.0"
] | null | null | null | test/unit/common/middleware/test_domain_remap.py | 10088/swift | 93c432342bffce7a87902d7d8e9850eeddbb1a7c | [
"Apache-2.0"
] | null | null | null | test/unit/common/middleware/test_domain_remap.py | 10088/swift | 93c432342bffce7a87902d7d8e9850eeddbb1a7c | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2010-2012 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 46.104348 | 79 | 0.609644 | 1,894 | 15,906 | 4.89018 | 0.10982 | 0.059382 | 0.082056 | 0.086914 | 0.832218 | 0.788815 | 0.774779 | 0.739905 | 0.735478 | 0.729756 | 0 | 0.008392 | 0.243367 | 15,906 | 344 | 80 | 46.238372 | 0.761197 | 0.046963 | 0 | 0.625 | 0 | 0 | 0.191347 | 0.027873 | 0 | 0 | 0 | 0 | 0.185606 | 1 | 0.147727 | false | 0.007576 | 0.018939 | 0 | 0.200758 | 0.003788 | 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 |
3195583c729da5728d6fd40305164b8f19634937 | 130 | py | Python | dj_lab/mysite/news/admin.py | ch1huizong/lab | c1622f94ca5c8a716cb5769fa6213060eb7c140d | [
"MIT"
] | null | null | null | dj_lab/mysite/news/admin.py | ch1huizong/lab | c1622f94ca5c8a716cb5769fa6213060eb7c140d | [
"MIT"
] | null | null | null | dj_lab/mysite/news/admin.py | ch1huizong/lab | c1622f94ca5c8a716cb5769fa6213060eb7c140d | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Reporter)
admin.site.register(models.Article)
| 16.25 | 36 | 0.807692 | 18 | 130 | 5.833333 | 0.555556 | 0.171429 | 0.32381 | 0.438095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 130 | 7 | 37 | 18.571429 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
319bfeddf2c27f81ab0660b2211b3ac9cd26bcc3 | 2,120 | py | Python | leetcode/python/searchInRotatedSortedArray.py | yaoxuanw007/forfun | db50bd40852d49bd68bae03ceb43cb4a901c6d37 | [
"MIT"
] | null | null | null | leetcode/python/searchInRotatedSortedArray.py | yaoxuanw007/forfun | db50bd40852d49bd68bae03ceb43cb4a901c6d37 | [
"MIT"
] | null | null | null | leetcode/python/searchInRotatedSortedArray.py | yaoxuanw007/forfun | db50bd40852d49bd68bae03ceb43cb4a901c6d37 | [
"MIT"
] | null | null | null | # https://oj.leetcode.com/problems/search-in-rotated-sorted-array/
# Only work for the array in ascending order
class Solution:
# @param A, a list of integers
# @param target, an integer to be searched
# @return an integer
def search(self, A, target):
left, right = 0, len(A) - 1
while left <= right:
... | 26.835443 | 66 | 0.482547 | 325 | 2,120 | 3.147692 | 0.169231 | 0.062561 | 0.093842 | 0.082111 | 0.809384 | 0.773216 | 0.711632 | 0.652004 | 0.652004 | 0.638319 | 0 | 0.056188 | 0.378774 | 2,120 | 78 | 67 | 27.179487 | 0.720577 | 0.144811 | 0 | 0.707692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.092308 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ee27514875356ce737eb5951a1ccc38b62b4f0e | 235 | py | Python | event/views.py | Nadiahansen15/django-denmark.org | d3be44764367a7c1059d7a0e896fbbc56ce1771f | [
"MIT"
] | null | null | null | event/views.py | Nadiahansen15/django-denmark.org | d3be44764367a7c1059d7a0e896fbbc56ce1771f | [
"MIT"
] | 1 | 2021-05-03T09:27:59.000Z | 2021-05-03T09:27:59.000Z | event/views.py | Nadiahansen15/django-denmark.org | d3be44764367a7c1059d7a0e896fbbc56ce1771f | [
"MIT"
] | null | null | null | from django.shortcuts import render, get_object_or_404
from django.utils import timezone
from django.shortcuts import redirect
# Create your views here.
def getLandingPage(request):
return render(request, 'event/landingpage.html') | 33.571429 | 54 | 0.817021 | 32 | 235 | 5.90625 | 0.71875 | 0.15873 | 0.201058 | 0.26455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014423 | 0.114894 | 235 | 7 | 55 | 33.571429 | 0.894231 | 0.097872 | 0 | 0 | 0 | 0 | 0.104265 | 0.104265 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9efa8a75ffe54a5aa57bd8271ab8b2e5ccd982de | 40 | py | Python | algorithms/simpleArraySum.py | marismarcosta/hackerrank | 3580b4fe0094e2a13f9a7efeeb0e072810be9ebf | [
"MIT"
] | null | null | null | algorithms/simpleArraySum.py | marismarcosta/hackerrank | 3580b4fe0094e2a13f9a7efeeb0e072810be9ebf | [
"MIT"
] | 3 | 2020-09-27T22:57:05.000Z | 2020-09-29T23:07:44.000Z | algorithms/simpleArraySum.py | marismarcosta/hackerrank-challenges | 3580b4fe0094e2a13f9a7efeeb0e072810be9ebf | [
"MIT"
] | 1 | 2020-11-06T21:16:19.000Z | 2020-11-06T21:16:19.000Z | def simpleArraySum(ar):
return sum(ar) | 20 | 23 | 0.75 | 6 | 40 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 2 | 24 | 20 | 0.857143 | 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 |
7362f8dd640949750651dd93185e0930d7819213 | 172 | py | Python | test/args/model_lists.py | pvandyken/cluster_utils | 801bebb299bec8b71cb9c237a5a4daff9c9e33fe | [
"MIT"
] | null | null | null | test/args/model_lists.py | pvandyken/cluster_utils | 801bebb299bec8b71cb9c237a5a4daff9c9e33fe | [
"MIT"
] | null | null | null | test/args/model_lists.py | pvandyken/cluster_utils | 801bebb299bec8b71cb9c237a5a4daff9c9e33fe | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from kslurm.args.arg_types import PositionalArg
def positional_models(num: int):
return [PositionalArg() for _ in range(num)]
| 21.5 | 48 | 0.790698 | 23 | 172 | 5.565217 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 172 | 7 | 49 | 24.571429 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 |
b40c7bc24cacbc03844c5291a64661634da308c5 | 151 | py | Python | tests/test_sitemap.py | vndmtrx/flask-staticsite | a1d80578b810088ce29fa48aa73a84aac178f248 | [
"Apache-2.0"
] | 2 | 2018-10-21T18:17:20.000Z | 2021-11-27T12:25:17.000Z | tests/test_sitemap.py | vndmtrx/flask-staticsite | a1d80578b810088ce29fa48aa73a84aac178f248 | [
"Apache-2.0"
] | null | null | null | tests/test_sitemap.py | vndmtrx/flask-staticsite | a1d80578b810088ce29fa48aa73a84aac178f248 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import unittest
class TestSitemap(unittest.TestCase):
pass
| 16.777778 | 39 | 0.735099 | 19 | 151 | 5.578947 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.145695 | 151 | 8 | 40 | 18.875 | 0.813953 | 0.278146 | 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 |
b443d7db2cd3cb03bba239ad069270dd96d5b878 | 68 | py | Python | CodingBat/Warmup-1/sum_double.py | arthxvr/coding--python | 1e91707be6cb8fef816dad0c1a65f2cc3327357e | [
"MIT"
] | null | null | null | CodingBat/Warmup-1/sum_double.py | arthxvr/coding--python | 1e91707be6cb8fef816dad0c1a65f2cc3327357e | [
"MIT"
] | null | null | null | CodingBat/Warmup-1/sum_double.py | arthxvr/coding--python | 1e91707be6cb8fef816dad0c1a65f2cc3327357e | [
"MIT"
] | null | null | null | def sum_double(a, b):
return 2 * (a + b) if a == b else (a + b)
| 22.666667 | 45 | 0.5 | 15 | 68 | 2.2 | 0.6 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.308824 | 68 | 2 | 46 | 34 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b461b5f70c282446c1d63ae9812876b6803c5d3f | 34,543 | py | Python | tests/test_functional/test_generation.py | the-code-robot/routes | bb7694b2ca8ac55a2bb671cc4c91fd55b3b8cc18 | [
"MIT"
] | 105 | 2015-01-27T02:33:17.000Z | 2022-03-06T06:08:47.000Z | tests/test_functional/test_generation.py | the-code-robot/routes | bb7694b2ca8ac55a2bb671cc4c91fd55b3b8cc18 | [
"MIT"
] | 75 | 2015-01-05T21:16:02.000Z | 2021-12-06T21:13:43.000Z | tests/test_functional/test_generation.py | the-code-robot/routes | bb7694b2ca8ac55a2bb671cc4c91fd55b3b8cc18 | [
"MIT"
] | 48 | 2015-01-19T00:40:23.000Z | 2022-03-06T06:08:53.000Z | """test_generation"""
import sys, time, unittest
from six.moves import urllib
from nose.tools import eq_, assert_raises
from routes import *
class TestGeneration(unittest.TestCase):
def test_all_static_no_reqs(self):
m = Mapper()
m.connect('hello/world')
eq_('/hello/world', m.generate())... | 48.177127 | 134 | 0.607504 | 4,328 | 34,543 | 4.734519 | 0.063309 | 0.092675 | 0.149285 | 0.068518 | 0.881363 | 0.845786 | 0.791225 | 0.755649 | 0.719584 | 0.69899 | 0 | 0.01584 | 0.195843 | 34,543 | 716 | 135 | 48.244413 | 0.72183 | 0.003242 | 0 | 0.594077 | 0 | 0 | 0.279647 | 0.090146 | 0 | 0 | 0 | 0 | 0.008711 | 1 | 0.087108 | false | 0.001742 | 0.006969 | 0 | 0.095819 | 0.005226 | 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 |
b47a086c239e13a1c46fe3e7f2736254aa106e75 | 147 | py | Python | tickcounter/questionnaire/jsonencoder.py | Whatever929/rice | 0fa428bb891a1fb3a2e50cb936dfccf2dfb3519c | [
"MIT"
] | null | null | null | tickcounter/questionnaire/jsonencoder.py | Whatever929/rice | 0fa428bb891a1fb3a2e50cb936dfccf2dfb3519c | [
"MIT"
] | null | null | null | tickcounter/questionnaire/jsonencoder.py | Whatever929/rice | 0fa428bb891a1fb3a2e50cb936dfccf2dfb3519c | [
"MIT"
] | null | null | null | import pandas as pd
class JSONEncoder(object):
# Encode using JSON, create a MultiEncoder with needed Encoder objects under the hood.
pass | 29.4 | 89 | 0.761905 | 21 | 147 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197279 | 147 | 5 | 90 | 29.4 | 0.949153 | 0.571429 | 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 |
b482d1934ca285b482a453d3f06a09b5f2dc6cf6 | 2,626 | py | Python | pyradox/densenets/__init__.py | p4vv37/pyradox | cfc8c07d637a1cc189dd8d200f8a55d00405b81f | [
"MIT"
] | 61 | 2021-01-10T09:31:32.000Z | 2022-02-13T13:30:48.000Z | pyradox/densenets/__init__.py | p4vv37/pyradox | cfc8c07d637a1cc189dd8d200f8a55d00405b81f | [
"MIT"
] | 1 | 2021-04-24T12:03:19.000Z | 2021-04-24T12:03:19.000Z | pyradox/densenets/__init__.py | p4vv37/pyradox | cfc8c07d637a1cc189dd8d200f8a55d00405b81f | [
"MIT"
] | 6 | 2021-01-17T16:17:35.000Z | 2022-02-13T13:30:49.000Z | from tensorflow.keras import layers
from pyradox.modules import *
class DenselyConnectedNetwork(layers.Layer):
"""Network of Densely Connected Layers followed by Batch Normalization (optional) and Dropout (optional)
Args:
layer_config (list of int): the number of units in each dense layer
... | 32.825 | 108 | 0.607007 | 265 | 2,626 | 5.841509 | 0.237736 | 0.174419 | 0.05814 | 0.049096 | 0.77907 | 0.77907 | 0.77907 | 0.77907 | 0.77907 | 0.77907 | 0 | 0.002254 | 0.324067 | 2,626 | 80 | 109 | 32.825 | 0.869859 | 0.347677 | 0 | 0.851852 | 0 | 0 | 0.004863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.037037 | 0 | 0.185185 | 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 |
c3228bd6f6aa5c9786eb7b55e9e7fe28386eac77 | 107 | py | Python | tests/exog/random/random_exog_300_40.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | null | null | null | tests/exog/random/random_exog_300_40.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | 1 | 2019-11-30T23:39:38.000Z | 2019-12-01T04:34:35.000Z | tests/exog/random/random_exog_300_40.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | null | null | null | import pyaf.tests.exog.test_random_exogenous as testrandexog
testrandexog.test_random_exogenous( 300,40); | 26.75 | 60 | 0.859813 | 15 | 107 | 5.866667 | 0.733333 | 0.227273 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.065421 | 107 | 4 | 61 | 26.75 | 0.83 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5ee520f8b7a86fd4adfdc25d97c96b6852a7daba | 927 | py | Python | steinbock/classification/ilastik/__init__.py | TambourineClub/steinbock | 548ccf69e80a1ec3cb144a16ec67070fcab5474c | [
"MIT"
] | 1 | 2022-03-03T13:22:27.000Z | 2022-03-03T13:22:27.000Z | steinbock/classification/ilastik/__init__.py | TambourineClub/steinbock | 548ccf69e80a1ec3cb144a16ec67070fcab5474c | [
"MIT"
] | null | null | null | steinbock/classification/ilastik/__init__.py | TambourineClub/steinbock | 548ccf69e80a1ec3cb144a16ec67070fcab5474c | [
"MIT"
] | null | null | null | from ._ilastik import (
list_ilastik_image_files,
list_ilastik_crop_files,
read_ilastik_image,
read_ilastik_crop,
write_ilastik_image,
write_ilastik_crop,
create_ilastik_image,
try_create_ilastik_images_from_disk,
create_ilastik_crop,
try_create_ilastik_crops_from_disk,
creat... | 27.264706 | 42 | 0.771305 | 118 | 927 | 5.288136 | 0.20339 | 0.153846 | 0.102564 | 0.128205 | 0.967949 | 0.967949 | 0.967949 | 0.967949 | 0.967949 | 0.967949 | 0 | 0 | 0.161812 | 927 | 33 | 43 | 28.090909 | 0.803089 | 0 | 0 | 0 | 0 | 0 | 0.372168 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 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 |
6f072261aa8ddfcac709ddc4fd3cb00fc78c6327 | 9,006 | py | Python | skcmdb/forms.py | encodingl/skadmin | 3a89f6123a85d13ea4d335f7986731b01dced32d | [
"Apache-2.0"
] | null | null | null | skcmdb/forms.py | encodingl/skadmin | 3a89f6123a85d13ea4d335f7986731b01dced32d | [
"Apache-2.0"
] | null | null | null | skcmdb/forms.py | encodingl/skadmin | 3a89f6123a85d13ea4d335f7986731b01dced32d | [
"Apache-2.0"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from django import forms
from django.forms.widgets import *
from .models import Host, Idc, HostGroup, Env, YwGroup, MiddleType, App, DbSource, Url, WhileIp
import sys
reload(sys)
sys.setdefaultencoding('utf8')
class AssetForm(forms.ModelForm):
class Meta:
m... | 42.885714 | 118 | 0.557295 | 901 | 9,006 | 5.531632 | 0.136515 | 0.13443 | 0.188202 | 0.282303 | 0.852528 | 0.788122 | 0.752809 | 0.744382 | 0.484149 | 0.414526 | 0 | 0.020223 | 0.242283 | 9,006 | 209 | 119 | 43.090909 | 0.710141 | 0.004775 | 0 | 0.451977 | 0 | 0 | 0.287691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028249 | false | 0.033898 | 0.022599 | 0 | 0.19209 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f24ba205398a2360f73fef3cbff8c81e55fc339 | 492 | py | Python | haystack/nodes/file_converter/__init__.py | gabinguo/haystack | a60043ab805cf9cd4bd527aa47e3a18c6701be53 | [
"Apache-2.0"
] | 1 | 2021-11-19T15:01:00.000Z | 2021-11-19T15:01:00.000Z | haystack/nodes/file_converter/__init__.py | jaehyeongAN/haystack | b63669d1bc60b6c773b8b89d631afdd0ebbf4c4c | [
"Apache-2.0"
] | null | null | null | haystack/nodes/file_converter/__init__.py | jaehyeongAN/haystack | b63669d1bc60b6c773b8b89d631afdd0ebbf4c4c | [
"Apache-2.0"
] | 1 | 2021-02-16T10:52:38.000Z | 2021-02-16T10:52:38.000Z | from haystack.nodes.file_converter.base import BaseConverter
from haystack.nodes.file_converter.docx import DocxToTextConverter
from haystack.nodes.file_converter.image import ImageToTextConverter
from haystack.nodes.file_converter.markdown import MarkdownConverter
from haystack.nodes.file_converter.pdf import PDFToTex... | 61.5 | 87 | 0.892276 | 58 | 492 | 7.448276 | 0.37931 | 0.194444 | 0.275463 | 0.340278 | 0.486111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 492 | 7 | 88 | 70.285714 | 0.935065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 6 |
6f56a6bae1e1a7da1ce59ab8cf49d3c018535722 | 4,089 | py | Python | masque/playground/runners.py | dfdx/masque | d779bd3a4001436148cf6668638d9a1bf64254bb | [
"MIT"
] | 3 | 2015-11-29T06:25:13.000Z | 2020-02-13T20:12:37.000Z | masque/playground/runners.py | dfdx/masque | d779bd3a4001436148cf6668638d9a1bf64254bb | [
"MIT"
] | null | null | null | masque/playground/runners.py | dfdx/masque | d779bd3a4001436148cf6668638d9a1bf64254bb | [
"MIT"
] | 1 | 2019-07-19T17:29:43.000Z | 2019-07-19T17:29:43.000Z | """
Subroutines aimed to provide different learning scenarios
"""
import logging
import time
from sklearn.cross_validation import cross_val_score, train_test_split
from masque.utils import conv_transform
from masque import datasets
log = logging.getLogger('masque')
def pretrain_conv(conf):
"""
Pretrain/Conv... | 33.793388 | 76 | 0.646124 | 555 | 4,089 | 4.655856 | 0.2 | 0.065015 | 0.029799 | 0.048762 | 0.767415 | 0.751935 | 0.748065 | 0.748065 | 0.748065 | 0.732585 | 0 | 0.009963 | 0.214478 | 4,089 | 120 | 77 | 34.075 | 0.794521 | 0.40988 | 0 | 0.706897 | 0 | 0 | 0.235755 | 0 | 0 | 0 | 0 | 0.008333 | 0 | 1 | 0.051724 | false | 0 | 0.086207 | 0 | 0.189655 | 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 |
6f664d5515a5c73ce75c83aee8bf7043668461ab | 2,088 | py | Python | test/integration/test_check_dockerfile_healthcheck.py | dlpezbel/SDS | 43b64744d8011af6ccd62fee394d6af2b11cac68 | [
"MIT"
] | 4 | 2020-05-22T09:42:32.000Z | 2020-09-11T08:00:48.000Z | test/integration/test_check_dockerfile_healthcheck.py | dlpezbel/SDS | 43b64744d8011af6ccd62fee394d6af2b11cac68 | [
"MIT"
] | 24 | 2020-07-11T07:36:26.000Z | 2020-08-30T19:49:10.000Z | test/integration/test_check_dockerfile_healthcheck.py | dlpezbel/SDS | 43b64744d8011af6ccd62fee394d6af2b11cac68 | [
"MIT"
] | null | null | null | import json
from unittest import TestCase
from project.resource import check_container_resource
DOCKER_FILE = 'dockerfile'
class Test(TestCase):
def setUp(self):
check_container_resource.app.testing = True
self.app = check_container_resource.app.test_client()
def test_post_given_dockerfile_... | 46.4 | 96 | 0.701149 | 260 | 2,088 | 5.342308 | 0.2 | 0.064795 | 0.082073 | 0.046076 | 0.804896 | 0.804896 | 0.784737 | 0.75522 | 0.75522 | 0.606911 | 0 | 0.009132 | 0.16092 | 2,088 | 44 | 97 | 47.454545 | 0.783676 | 0 | 0 | 0.485714 | 0 | 0 | 0.254432 | 0.161955 | 0 | 0 | 0 | 0 | 0.228571 | 1 | 0.142857 | false | 0 | 0.085714 | 0 | 0.257143 | 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 |
6f74d5aef7c24cd365e917f7ff855327355d8813 | 121 | py | Python | test-registry/install2/f.py | NathanTP/open-lambda | 63b2f51bbe1ac121d14af9a5562c547227c4d2ab | [
"Apache-2.0"
] | 826 | 2016-06-18T04:42:13.000Z | 2022-03-31T13:21:33.000Z | test-registry/install2/f.py | NathanTP/open-lambda | 63b2f51bbe1ac121d14af9a5562c547227c4d2ab | [
"Apache-2.0"
] | 62 | 2016-07-14T11:10:02.000Z | 2022-02-12T18:33:55.000Z | test-registry/install2/f.py | NathanTP/open-lambda | 63b2f51bbe1ac121d14af9a5562c547227c4d2ab | [
"Apache-2.0"
] | 105 | 2016-06-20T15:36:22.000Z | 2022-02-01T06:04:58.000Z | import requests
import urllib3
# ol-install: requests,certifi,chardet,idna,urllib3
def f(event):
return 'imported'
| 15.125 | 51 | 0.760331 | 16 | 121 | 5.75 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.140496 | 121 | 7 | 52 | 17.285714 | 0.865385 | 0.404959 | 0 | 0 | 0 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.75 | 0.25 | 1.25 | 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 |
48899a636b8b06192aadf0ac062b2d9adb5f3920 | 92 | py | Python | backend/tests/projectx/test_asgi.py | mmcardle/projectx | 058935273834c683de8db8bb2d720b1ddcd433e8 | [
"MIT"
] | 4 | 2021-04-22T08:55:13.000Z | 2022-03-23T12:58:43.000Z | backend/tests/projectx/test_asgi.py | mmcardle/projectx | 058935273834c683de8db8bb2d720b1ddcd433e8 | [
"MIT"
] | 3 | 2021-05-12T11:05:58.000Z | 2021-09-12T16:40:31.000Z | backend/tests/projectx/test_asgi.py | mmcardle/projectx | 058935273834c683de8db8bb2d720b1ddcd433e8 | [
"MIT"
] | 1 | 2021-04-18T08:33:02.000Z | 2021-04-18T08:33:02.000Z | from projectx.wsgi import application
def test_wsgi():
assert application is not None
| 15.333333 | 37 | 0.771739 | 13 | 92 | 5.384615 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184783 | 92 | 5 | 38 | 18.4 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
48b1f0d2551fc5721d9fafdd6b86888f99a06d4c | 7,923 | py | Python | Python/pixel_cost_cuda.py | eshibusawa/PSL-Python | e2223f1b24666148b5f20353a961901221539a5f | [
"BSD-2-Clause"
] | null | null | null | Python/pixel_cost_cuda.py | eshibusawa/PSL-Python | e2223f1b24666148b5f20353a961901221539a5f | [
"BSD-2-Clause"
] | null | null | null | Python/pixel_cost_cuda.py | eshibusawa/PSL-Python | e2223f1b24666148b5f20353a961901221539a5f | [
"BSD-2-Clause"
] | null | null | null | # This file is part of PSL-Python.
# Copyright (c) 2021, Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must re... | 45.797688 | 125 | 0.609239 | 1,076 | 7,923 | 4.275093 | 0.171933 | 0.066522 | 0.084783 | 0.024348 | 0.771522 | 0.752609 | 0.752609 | 0.751522 | 0.738913 | 0.707174 | 0 | 0.011145 | 0.297867 | 7,923 | 172 | 126 | 46.063953 | 0.815747 | 0.171652 | 0 | 0.842857 | 0 | 0 | 0.005505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.014286 | 0 | 0.128571 | 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 |
48bec2cb3bb9a751f374fa44811e860f248814d8 | 159 | py | Python | d2ix/util/__init__.py | tum-ewk/d2ix_public | dffcb474f51ccdc03a339e306b61b88c224a332d | [
"Apache-2.0"
] | 2 | 2019-12-16T20:48:10.000Z | 2020-11-24T03:20:36.000Z | d2ix/util/__init__.py | tum-ewk/d2ix_public | dffcb474f51ccdc03a339e306b61b88c224a332d | [
"Apache-2.0"
] | 4 | 2019-04-15T08:03:23.000Z | 2019-04-15T08:05:17.000Z | d2ix/util/__init__.py | tum-ewk/d2ix_public | dffcb474f51ccdc03a339e306b61b88c224a332d | [
"Apache-2.0"
] | 8 | 2019-03-13T06:51:22.000Z | 2020-08-31T11:04:56.000Z | from d2ix.util.tools import YAMLd2ix, model_data_yml, setup_logging, split_columns, df_to_nested_dict
from d2ix.util.data_sanity_tests import check_input_data
| 53 | 101 | 0.874214 | 27 | 159 | 4.740741 | 0.777778 | 0.125 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.075472 | 159 | 2 | 102 | 79.5 | 0.85034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b024669082e2fedff09fa6bf0e45e95f746cc27 | 2,496 | py | Python | netintro.py | OjanRN/pythonscripts | 6f0ee59fd8e25a616f3541c248f71be299561ecb | [
"MIT"
] | null | null | null | netintro.py | OjanRN/pythonscripts | 6f0ee59fd8e25a616f3541c248f71be299561ecb | [
"MIT"
] | null | null | null | netintro.py | OjanRN/pythonscripts | 6f0ee59fd8e25a616f3541c248f71be299561ecb | [
"MIT"
] | null | null | null | import os
import time
import sys
introtext = """
______ ______ __
/ \ / \ / |
/$$$$$$ | __ ______ _______ /$$$$$$ | ______ ____$$ | ____... | 37.253731 | 93 | 0.23758 | 66 | 2,496 | 4.363636 | 0.363636 | 0.166667 | 0.190972 | 0.291667 | 0.333333 | 0.333333 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0.014458 | 0.501202 | 2,496 | 67 | 94 | 37.253731 | 0.216867 | 0 | 0 | 0.210526 | 0 | 0.22807 | 0.821786 | 0.020825 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017544 | false | 0 | 0.052632 | 0 | 0.070175 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2cc9593a3fa3adadf7524e0834a110bd592d0bd | 4,569 | py | Python | coba/tests/test_benchmarks_formats.py | zmhammedi/coba | 90cdeb7b781e1ef498cd5a989bd3601b85a2fad0 | [
"BSD-3-Clause"
] | null | null | null | coba/tests/test_benchmarks_formats.py | zmhammedi/coba | 90cdeb7b781e1ef498cd5a989bd3601b85a2fad0 | [
"BSD-3-Clause"
] | null | null | null | coba/tests/test_benchmarks_formats.py | zmhammedi/coba | 90cdeb7b781e1ef498cd5a989bd3601b85a2fad0 | [
"BSD-3-Clause"
] | null | null | null | import json
import unittest
from coba.benchmarks.formats import BenchmarkFileFmtV2
class BenchmarkFileFmtV2_Tests(unittest.TestCase):
def test_one_simulation(self):
json_txt = """{
"simulations" : [
{ "OpenmlSimulation": 150 }
]
}"""
benchmark = Be... | 38.075 | 133 | 0.583497 | 394 | 4,569 | 6.57868 | 0.13198 | 0.161265 | 0.203318 | 0.157407 | 0.854938 | 0.803627 | 0.782793 | 0.725694 | 0.684028 | 0.611497 | 0 | 0.047235 | 0.240096 | 4,569 | 120 | 134 | 38.075 | 0.699309 | 0 | 0 | 0.516484 | 0 | 0.010989 | 0.434136 | 0.143107 | 0 | 0 | 0 | 0 | 0.208791 | 1 | 0.098901 | false | 0 | 0.032967 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
824ea23ba4d979a254957571c01c14d5487e1a74 | 88 | py | Python | Assignments/Inheritance/Exercise/5_restaurant/project/beverage/tea.py | KaloyankerR/python-oop-repository | 7cd565b0b173c4a02e7b2dc22bfeb7808d294f89 | [
"MIT"
] | null | null | null | Assignments/Inheritance/Exercise/5_restaurant/project/beverage/tea.py | KaloyankerR/python-oop-repository | 7cd565b0b173c4a02e7b2dc22bfeb7808d294f89 | [
"MIT"
] | null | null | null | Assignments/Inheritance/Exercise/5_restaurant/project/beverage/tea.py | KaloyankerR/python-oop-repository | 7cd565b0b173c4a02e7b2dc22bfeb7808d294f89 | [
"MIT"
] | null | null | null | from project.beverage.hot_beverage import HotBeverage
class Tea(HotBeverage):
pass | 17.6 | 53 | 0.806818 | 11 | 88 | 6.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 5 | 54 | 17.6 | 0.921053 | 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 |
829650483463cba1927f64fec3bcfd5cf1e5ddc1 | 20 | py | Python | __init__.py | fbcosentino/pydoku | 29bda67f0bb8e9dd99e0b3849315819900363fc5 | [
"MIT"
] | null | null | null | __init__.py | fbcosentino/pydoku | 29bda67f0bb8e9dd99e0b3849315819900363fc5 | [
"MIT"
] | null | null | null | __init__.py | fbcosentino/pydoku | 29bda67f0bb8e9dd99e0b3849315819900363fc5 | [
"MIT"
] | null | null | null | from pydoku import * | 20 | 20 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 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 |
82affcab9bbb2e0f7d878e54c2ceb2eabce2ddb5 | 30 | py | Python | postr/app.py | dbgrigsby/Postr | c374648134123f857babb65aff161a4c3c470502 | [
"MIT"
] | 3 | 2018-10-09T17:02:05.000Z | 2022-03-21T08:58:49.000Z | postr/app.py | dbgrigsby/Postr | c374648134123f857babb65aff161a4c3c470502 | [
"MIT"
] | 11 | 2018-09-26T05:33:30.000Z | 2019-04-06T04:06:51.000Z | postr/app.py | dbgrigsby/Postr | c374648134123f857babb65aff161a4c3c470502 | [
"MIT"
] | 3 | 2018-12-20T18:35:25.000Z | 2022-03-21T08:58:54.000Z | print('Wow, this is an app!')
| 15 | 29 | 0.633333 | 6 | 30 | 3.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 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 |
82c045022e5526c2156cc79475ed630aaa109b8f | 60 | py | Python | 32.operacoes_com_tuplas/3.2multiplicacao_id_tuplas.py | robinson-1985/python-zero-dnc | df510d67e453611fcd320df1397cdb9ca47fecb8 | [
"MIT"
] | null | null | null | 32.operacoes_com_tuplas/3.2multiplicacao_id_tuplas.py | robinson-1985/python-zero-dnc | df510d67e453611fcd320df1397cdb9ca47fecb8 | [
"MIT"
] | null | null | null | 32.operacoes_com_tuplas/3.2multiplicacao_id_tuplas.py | robinson-1985/python-zero-dnc | df510d67e453611fcd320df1397cdb9ca47fecb8 | [
"MIT"
] | null | null | null | tupla_3 = (10,203,40,7)*2
print(tupla_3)
print(id(tupla_3))
| 15 | 25 | 0.7 | 14 | 60 | 2.785714 | 0.642857 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 0.083333 | 60 | 3 | 26 | 20 | 0.490909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
82d455d744fc104ab44ab95fc429c63268c04bf9 | 41 | py | Python | dmb/ops/spn/__init__.py | jiaw-z/DenseMatchingBenchmark | 177c56ca1952f54d28e6073afa2c16981113a2af | [
"MIT"
] | 160 | 2019-11-16T13:59:21.000Z | 2022-03-28T07:52:59.000Z | dmb/ops/spn/__init__.py | jiaw-z/DenseMatchingBenchmark | 177c56ca1952f54d28e6073afa2c16981113a2af | [
"MIT"
] | 22 | 2019-11-22T02:14:18.000Z | 2022-01-24T10:16:14.000Z | dmb/ops/spn/__init__.py | jiaw-z/DenseMatchingBenchmark | 177c56ca1952f54d28e6073afa2c16981113a2af | [
"MIT"
] | 38 | 2019-12-27T14:01:01.000Z | 2022-03-12T11:40:11.000Z | from .modules import GateRecurrent2dnoind | 41 | 41 | 0.902439 | 4 | 41 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 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 |
82e7710cbefe5f693c2dae13494cf03646670339 | 23 | py | Python | bci_framework/default_extensions/Visuospatial_working_memory_Change_detection_task/__init__.py | UN-GCPDS/bci-framework- | b51f530967561738dc34752acf6add20cbb02283 | [
"BSD-2-Clause"
] | null | null | null | bci_framework/default_extensions/Visuospatial_working_memory_Change_detection_task/__init__.py | UN-GCPDS/bci-framework- | b51f530967561738dc34752acf6add20cbb02283 | [
"BSD-2-Clause"
] | null | null | null | bci_framework/default_extensions/Visuospatial_working_memory_Change_detection_task/__init__.py | UN-GCPDS/bci-framework- | b51f530967561738dc34752acf6add20cbb02283 | [
"BSD-2-Clause"
] | null | null | null | """
===
VIs
===
"""
| 2.555556 | 3 | 0.130435 | 1 | 23 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 23 | 8 | 4 | 2.875 | 0.2 | 0.478261 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d79d76c7f334597bf2e5ac409462c581f1a89d4 | 23 | py | Python | cdshealpix/nested/__init__.py | cds-astro/cds-healpix-python | bc02f2e7ccad1d55f3a5e4caac689d8cc29eadeb | [
"BSD-3-Clause"
] | 3 | 2019-01-30T13:34:51.000Z | 2020-11-11T07:31:12.000Z | cdshealpix/nested/__init__.py | cds-astro/cds-healpix-python | bc02f2e7ccad1d55f3a5e4caac689d8cc29eadeb | [
"BSD-3-Clause"
] | 9 | 2019-07-04T08:09:47.000Z | 2021-03-10T16:51:18.000Z | cdshealpix/nested/__init__.py | cds-astro/cds-healpix-python | bc02f2e7ccad1d55f3a5e4caac689d8cc29eadeb | [
"BSD-3-Clause"
] | 1 | 2019-07-04T11:23:20.000Z | 2019-07-04T11:23:20.000Z | from .healpix import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d95b26c089eb32c94c57a5c2fab7baa4f0ab253 | 7 | py | Python | hello.py | Esbax/testing_stuff | b0e738fcfbe1cd75a6b8485d134a6fb83d598ed0 | [
"MIT"
] | 6 | 2021-02-02T10:08:02.000Z | 2022-03-24T08:10:44.000Z | hello.py | Esbax/testing_stuff | b0e738fcfbe1cd75a6b8485d134a6fb83d598ed0 | [
"MIT"
] | 1 | 2021-02-27T21:55:26.000Z | 2021-02-28T12:39:29.000Z | hello.py | Esbax/testing_stuff | b0e738fcfbe1cd75a6b8485d134a6fb83d598ed0 | [
"MIT"
] | 6 | 2020-02-24T13:51:32.000Z | 2021-06-05T19:02:05.000Z | x = 15
| 3.5 | 6 | 0.428571 | 2 | 7 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.428571 | 7 | 1 | 7 | 7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7db4e3133936b7831272abee0e6442c409dbae33 | 263 | py | Python | lagom/core/policies/__init__.py | lkylych/lagom | 64777be7f09136072a671c444b5b3fbbcb1b2f18 | [
"MIT"
] | null | null | null | lagom/core/policies/__init__.py | lkylych/lagom | 64777be7f09136072a671c444b5b3fbbcb1b2f18 | [
"MIT"
] | null | null | null | lagom/core/policies/__init__.py | lkylych/lagom | 64777be7f09136072a671c444b5b3fbbcb1b2f18 | [
"MIT"
] | null | null | null | from lagom.core.policies.base_policy import BasePolicy
from lagom.core.policies.random_policy import RandomPolicy
from lagom.core.policies.base_categorical_policy import BaseCategoricalPolicy
from lagom.core.policies.base_gaussian_policy import BaseGaussianPolicy | 65.75 | 77 | 0.897338 | 34 | 263 | 6.764706 | 0.411765 | 0.156522 | 0.226087 | 0.365217 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057034 | 263 | 4 | 78 | 65.75 | 0.927419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 6 |
7db6ad08485a10a9511ba4ba3c9b7c3779d08477 | 4,983 | py | Python | demos/proxy/app/account.py | MyPCH/MyPCH-SC | 4f170934fa9fefaea1660a9a70c48e2234ba0b4f | [
"MIT"
] | null | null | null | demos/proxy/app/account.py | MyPCH/MyPCH-SC | 4f170934fa9fefaea1660a9a70c48e2234ba0b4f | [
"MIT"
] | null | null | null | demos/proxy/app/account.py | MyPCH/MyPCH-SC | 4f170934fa9fefaea1660a9a70c48e2234ba0b4f | [
"MIT"
] | null | null | null | accounts = {'mypchtryinghard@gmail.com': {'username': 'mypchpwd2', 'password': '12345678', 'usertype': 'patient',
'tpgroup': '1', 'shared_users': '[]', 'url': 'localhost:9107',
'fake_response': 'You shall have access to watermarked data... | 121.536585 | 217 | 0.499298 | 493 | 4,983 | 4.985801 | 0.148073 | 0.045566 | 0.065094 | 0.081367 | 0.785598 | 0.770545 | 0.757933 | 0.74939 | 0.676566 | 0.659072 | 0 | 0.052547 | 0.37367 | 4,983 | 40 | 218 | 124.575 | 0.735021 | 0 | 0 | 0.425 | 0 | 0.075 | 0.57355 | 0.013446 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7dbb8ba8b6b2672cd236cd4158fc014d82e8ee69 | 195 | py | Python | mindhome_alpha/erpnext/patches/v6_12/set_overdue_tasks.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | 1 | 2021-04-29T14:55:29.000Z | 2021-04-29T14:55:29.000Z | mindhome_alpha/erpnext/patches/v6_12/set_overdue_tasks.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | null | null | null | mindhome_alpha/erpnext/patches/v6_12/set_overdue_tasks.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | 1 | 2021-04-29T14:39:01.000Z | 2021-04-29T14:39:01.000Z | from __future__ import unicode_literals
import frappe
def execute():
frappe.reload_doctype("Task")
from erpnext.projects.doctype.task.task import set_tasks_as_overdue
set_tasks_as_overdue()
| 21.666667 | 68 | 0.830769 | 28 | 195 | 5.357143 | 0.607143 | 0.146667 | 0.133333 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097436 | 195 | 8 | 69 | 24.375 | 0.852273 | 0 | 0 | 0 | 0 | 0 | 0.020513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81d6270d82551c253af5b04ea88ec3e1a6a847a6 | 87 | py | Python | fault_tolerant_flight_control_drl/envs/outer_loop/__init__.py | kdally/fault-tolerant-flight-control-drl | 800a1c9319b44ab2b1d17f6e19266c2392d6e57b | [
"MIT"
] | 8 | 2021-02-27T09:49:57.000Z | 2022-03-21T16:28:08.000Z | fault_tolerant_flight_control_drl/envs/outer_loop/__init__.py | kdally/fault-tolerant-flight-control-drl | 800a1c9319b44ab2b1d17f6e19266c2392d6e57b | [
"MIT"
] | null | null | null | fault_tolerant_flight_control_drl/envs/outer_loop/__init__.py | kdally/fault-tolerant-flight-control-drl | 800a1c9319b44ab2b1d17f6e19266c2392d6e57b | [
"MIT"
] | 2 | 2021-03-04T07:24:35.000Z | 2021-11-17T04:21:08.000Z | from fault_tolerant_flight_control_drl.envs.outer_loop.outer_loop import AltController
| 43.5 | 86 | 0.91954 | 13 | 87 | 5.692308 | 0.846154 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 87 | 1 | 87 | 87 | 0.891566 | 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 |
81df8d9b8d58119469697c7da685df3de4350e71 | 7,716 | py | Python | tastefulpy/authorization.py | mjschultz/django-tastefulpy | c81c7b32da16f9b181589a0311d9819718fdc960 | [
"BSD-3-Clause"
] | null | null | null | tastefulpy/authorization.py | mjschultz/django-tastefulpy | c81c7b32da16f9b181589a0311d9819718fdc960 | [
"BSD-3-Clause"
] | null | null | null | tastefulpy/authorization.py | mjschultz/django-tastefulpy | c81c7b32da16f9b181589a0311d9819718fdc960 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
from tastefulpy.exceptions import TastefulpyError, Unauthorized
from tastefulpy.compat import get_module_name
class Authorization(object):
"""
A base class that provides no permissions checking.
"""
def __get__(self, instance, owner):
"""
Makes ``... | 31.365854 | 124 | 0.644116 | 978 | 7,716 | 4.93047 | 0.161554 | 0.076732 | 0.069681 | 0.099544 | 0.730195 | 0.723559 | 0.723559 | 0.676483 | 0.676483 | 0.652426 | 0 | 0.000356 | 0.271384 | 7,716 | 245 | 125 | 31.493878 | 0.857346 | 0.255443 | 0 | 0.850467 | 0 | 0 | 0.129762 | 0 | 0 | 0 | 0 | 0.004082 | 0 | 1 | 0.252336 | false | 0 | 0.028037 | 0.046729 | 0.598131 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c4f9f7b92d4f1e0b3b850109750bb64364ecd8f2 | 102 | py | Python | misp/models/__init__.py | zhoudaxia233/misp | c0d36e3f1a1eeac417d6bfff015ea5430f1d0de5 | [
"MIT"
] | 2 | 2019-12-21T10:46:57.000Z | 2019-12-22T14:01:23.000Z | misp/models/__init__.py | zhoudaxia233/misp | c0d36e3f1a1eeac417d6bfff015ea5430f1d0de5 | [
"MIT"
] | null | null | null | misp/models/__init__.py | zhoudaxia233/misp | c0d36e3f1a1eeac417d6bfff015ea5430f1d0de5 | [
"MIT"
] | null | null | null | from .cbamresnet import *
from .tailunet import *
from .tailnet import *
from .efficientunet import *
| 20.4 | 28 | 0.764706 | 12 | 102 | 6.5 | 0.5 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 4 | 29 | 25.5 | 0.906977 | 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 |
f21e5ce7af50149678fbfc12e3056875c7662d03 | 2,209 | py | Python | tests/test_command_line_tool.py | Shimwell/remove_dagmc_tag | e1b2c124ec1e92f6c7867c9edf08cad81d6e40b3 | [
"MIT"
] | 2 | 2021-04-29T13:30:03.000Z | 2021-05-20T13:34:58.000Z | tests/test_command_line_tool.py | Shimwell/remove_dagmc_tag | e1b2c124ec1e92f6c7867c9edf08cad81d6e40b3 | [
"MIT"
] | 10 | 2021-04-29T20:43:46.000Z | 2021-11-18T15:44:56.000Z | tests/test_command_line_tool.py | svalinn/remove_dagmc_tags | e1b2c124ec1e92f6c7867c9edf08cad81d6e40b3 | [
"MIT"
] | null | null | null |
import os
import unittest
from pathlib import Path
class TestReactor(unittest.TestCase):
def test_removal_of_multiple_tags(self):
# test_removal_of_reflecting_tag
os.system('rm dagmc_output.h5m')
os.system(
'remove-dagmc-tags -i tests/dagmc.h5m -o dagmc_output.h5m -t reflect... | 36.816667 | 99 | 0.66048 | 304 | 2,209 | 4.526316 | 0.151316 | 0.19186 | 0.152616 | 0.152616 | 0.828488 | 0.828488 | 0.828488 | 0.787791 | 0.72093 | 0.72093 | 0 | 0.013364 | 0.220914 | 2,209 | 59 | 100 | 37.440678 | 0.786171 | 0.076958 | 0 | 0.571429 | 0 | 0.095238 | 0.392523 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 1 | 0.047619 | false | 0 | 0.071429 | 0 | 0.142857 | 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 |
1ee7a85f64f0f6d7aed7be2c1edb9cd2561ae63e | 170 | py | Python | example/shop/orders/admin.py | sakkada/django-shopkit | 35e6f8ac73bf6aa40887aa9b1b860d27db8b2975 | [
"BSD-3-Clause"
] | null | null | null | example/shop/orders/admin.py | sakkada/django-shopkit | 35e6f8ac73bf6aa40887aa9b1b860d27db8b2975 | [
"BSD-3-Clause"
] | null | null | null | example/shop/orders/admin.py | sakkada/django-shopkit | 35e6f8ac73bf6aa40887aa9b1b860d27db8b2975 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Order)
admin.site.register(models.DeliveryGroup)
admin.site.register(models.OrderLine)
| 21.25 | 41 | 0.823529 | 23 | 170 | 6.086957 | 0.478261 | 0.192857 | 0.364286 | 0.492857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076471 | 170 | 7 | 42 | 24.285714 | 0.89172 | 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 | 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 |
486b7cb02d6f71c6ccfb023324889c2a090d0339 | 270 | py | Python | pipelines/admin.py | EddyAnalytics/eddy-backend | bc465996e51b9ebc3e498ad0d6434bac80b173a6 | [
"Apache-2.0"
] | 1 | 2021-09-24T07:52:08.000Z | 2021-09-24T07:52:08.000Z | pipelines/admin.py | EddyAnalytics/eddy-backend | bc465996e51b9ebc3e498ad0d6434bac80b173a6 | [
"Apache-2.0"
] | 2 | 2021-05-25T22:16:18.000Z | 2021-06-09T19:16:24.000Z | pipelines/admin.py | EddyAnalytics/eddy-backend | bc465996e51b9ebc3e498ad0d6434bac80b173a6 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from pipelines.models import BlockType, Pipeline, Block
from utils.utils import ReadOnlyIdAdmin
admin.site.register(Pipeline, ReadOnlyIdAdmin)
admin.site.register(Block, ReadOnlyIdAdmin)
admin.site.register(BlockType, ReadOnlyIdAdmin)
| 30 | 55 | 0.844444 | 32 | 270 | 7.125 | 0.4375 | 0.263158 | 0.315789 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081481 | 270 | 8 | 56 | 33.75 | 0.919355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6f7d4b507fe788b6b1c7ceee06e0ef77b92fa43c | 7,978 | py | Python | monitoring/google/cloud/monitoring_v3/proto/group_service_pb2_grpc.py | jo2y/google-cloud-python | 1b76727be16bc4335276f793340bb72d32be7166 | [
"Apache-2.0"
] | 1 | 2018-06-29T17:53:28.000Z | 2018-06-29T17:53:28.000Z | monitoring/google/cloud/monitoring_v3/proto/group_service_pb2_grpc.py | jo2y/google-cloud-python | 1b76727be16bc4335276f793340bb72d32be7166 | [
"Apache-2.0"
] | 1 | 2021-06-25T15:16:57.000Z | 2021-06-25T15:16:57.000Z | monitoring/google/cloud/monitoring_v3/proto/group_service_pb2_grpc.py | jo2y/google-cloud-python | 1b76727be16bc4335276f793340bb72d32be7166 | [
"Apache-2.0"
] | 1 | 2021-06-30T11:44:03.000Z | 2021-06-30T11:44:03.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from google.cloud.monitoring_v3.proto import group_pb2 as google_dot_cloud_dot_monitoring__v3_dot_proto_dot_group__pb2
from google.cloud.monitoring_v3.proto import group_service_pb2 as google_dot_cloud_dot_monitoring__v3_dot_proto_dot_gr... | 50.815287 | 143 | 0.794184 | 963 | 7,978 | 6.13188 | 0.143302 | 0.071126 | 0.056901 | 0.069094 | 0.822693 | 0.802879 | 0.798137 | 0.700593 | 0.686029 | 0.686029 | 0 | 0.00951 | 0.143269 | 7,978 | 156 | 144 | 51.141026 | 0.854426 | 0.20193 | 0 | 0.309278 | 1 | 0 | 0.10443 | 0.049576 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082474 | false | 0 | 0.041237 | 0 | 0.14433 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f8841115797d5e01e0790aad3beef3307635412 | 37 | py | Python | pylogo/__init__.py | obo/loev3go | 763c6cf61133add914d231d07bc8c3c29672aba9 | [
"MIT"
] | 1 | 2018-09-05T20:57:40.000Z | 2018-09-05T20:57:40.000Z | pylogo/__init__.py | obo/loev3go | 763c6cf61133add914d231d07bc8c3c29672aba9 | [
"MIT"
] | null | null | null | pylogo/__init__.py | obo/loev3go | 763c6cf61133add914d231d07bc8c3c29672aba9 | [
"MIT"
] | 2 | 2019-10-05T23:02:41.000Z | 2020-06-25T20:21:02.000Z | from pylogo.interpreter import Logo
| 12.333333 | 35 | 0.837838 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 36 | 18.5 | 0.96875 | 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 |
6fb95545678fa9a51fecc5398e7d86db2c010e5b | 102 | py | Python | WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/importlib/example/submodule.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/importlib/example/submodule.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/importlib/example/submodule.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
#
#
"""
"""
# end_pymotw_header
print("Importing submodule")
| 10.2 | 28 | 0.656863 | 13 | 102 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.137255 | 102 | 9 | 29 | 11.333333 | 0.727273 | 0.529412 | 0 | 0 | 0 | 0 | 0.527778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
6fd9cb9b94ddb752aed7dc4d3a7f5ae1b078ec1c | 30 | py | Python | datamallet/visualization/__init__.py | bodealamu/datamallet | d736c5624014f6e186211099b6196c4b0aa544cd | [
"MIT"
] | 6 | 2021-12-13T04:28:09.000Z | 2022-03-17T23:37:17.000Z | datamallet/visualization/__init__.py | bodealamu/datamallet | d736c5624014f6e186211099b6196c4b0aa544cd | [
"MIT"
] | null | null | null | datamallet/visualization/__init__.py | bodealamu/datamallet | d736c5624014f6e186211099b6196c4b0aa544cd | [
"MIT"
] | 2 | 2022-02-22T00:05:06.000Z | 2022-03-09T04:35:14.000Z | from .autoplot import AutoPlot | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82eb7206b28d605a3ae61f303ead8077d188aeb9 | 31 | py | Python | wsm/commands/__init__.py | Rayologist/windows-sshd-manager | 4f78a0cdaa12fe3c2a785aca31066c3be886878b | [
"Apache-2.0"
] | 9 | 2022-02-09T09:09:43.000Z | 2022-02-09T09:10:06.000Z | wsm/commands/__init__.py | Rayologist/windows-sshd-manager | 4f78a0cdaa12fe3c2a785aca31066c3be886878b | [
"Apache-2.0"
] | null | null | null | wsm/commands/__init__.py | Rayologist/windows-sshd-manager | 4f78a0cdaa12fe3c2a785aca31066c3be886878b | [
"Apache-2.0"
] | null | null | null | from .options import WSMParser
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d20f25370ce16b5d900619c828b6ec9401bf54e8 | 12,840 | py | Python | funds/tests/test_postings_api.py | cimmke/funds | 53157fc1b868be8044b848653833884fd26d0142 | [
"MIT"
] | null | null | null | funds/tests/test_postings_api.py | cimmke/funds | 53157fc1b868be8044b848653833884fd26d0142 | [
"MIT"
] | null | null | null | funds/tests/test_postings_api.py | cimmke/funds | 53157fc1b868be8044b848653833884fd26d0142 | [
"MIT"
] | null | null | null | import datetime
from django.urls import reverse
from rest_framework.test import APITestCase
from rest_framework import status
from funds.models import Postings
class PostingsAPITest(APITestCase):
def setUp(self):
url = reverse('postings-list')
self.posting_num = 1
self.payee = 'Store'
... | 40.504732 | 82 | 0.637072 | 1,493 | 12,840 | 5.330208 | 0.073007 | 0.143252 | 0.124403 | 0.06283 | 0.87899 | 0.8477 | 0.819553 | 0.794421 | 0.778462 | 0.768158 | 0 | 0.01217 | 0.251246 | 12,840 | 316 | 83 | 40.632911 | 0.815581 | 0.079283 | 0 | 0.687764 | 0 | 0 | 0.062198 | 0 | 0 | 0 | 0 | 0 | 0.35865 | 1 | 0.080169 | false | 0 | 0.021097 | 0 | 0.105485 | 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 |
d253b9e64dfcce097f6efc5cd5cfc623ec51d8f7 | 3,468 | py | Python | im2mesh/encoder/pointnet.py | thunanguyen/occupancy_networks | 12c707a1cb89707cbf70ef7b8e881d611b883790 | [
"MIT"
] | null | null | null | im2mesh/encoder/pointnet.py | thunanguyen/occupancy_networks | 12c707a1cb89707cbf70ef7b8e881d611b883790 | [
"MIT"
] | null | null | null | im2mesh/encoder/pointnet.py | thunanguyen/occupancy_networks | 12c707a1cb89707cbf70ef7b8e881d611b883790 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from im2mesh.layers import ResnetBlockFC
def maxpool(x, dim=-1, keepdim=False):
out, _ = x.max(dim=dim, keepdim=keepdim)
return out
class SimplePointnet(nn.Module):
''' PointNet-based encoder network.
Args:
c_dim (int): dimension of latent code c
d... | 30.421053 | 71 | 0.597751 | 535 | 3,468 | 3.723364 | 0.136449 | 0.11747 | 0.055221 | 0.072289 | 0.888554 | 0.888554 | 0.853414 | 0.846888 | 0.764558 | 0.710843 | 0 | 0.023978 | 0.266436 | 3,468 | 113 | 72 | 30.690265 | 0.759041 | 0.13466 | 0 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075758 | false | 0 | 0.045455 | 0 | 0.19697 | 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 |
968c48d958bf700ed378c40b46b8421d6fe6c7ee | 75 | py | Python | katas/kyu_7/gradually_adding_parameters.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/gradually_adding_parameters.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/gradually_adding_parameters.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def add(*args):
return sum(i * a for i, a in enumerate(args, start=1))
| 25 | 58 | 0.626667 | 15 | 75 | 3.133333 | 0.8 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.213333 | 75 | 2 | 59 | 37.5 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
968df75cd9c74feb1aff959a210e1258152c2f78 | 288 | py | Python | example/services/__init__.py | TheCaptainCat/flasque | d42deb57572084f513202a32c460186700ce8e0b | [
"MIT"
] | 4 | 2020-11-02T15:16:32.000Z | 2022-01-11T11:19:24.000Z | example/services/__init__.py | TheCaptainCat/bolinette | d42deb57572084f513202a32c460186700ce8e0b | [
"MIT"
] | 14 | 2021-01-04T11:06:59.000Z | 2022-03-23T17:01:49.000Z | example/services/__init__.py | TheCaptainCat/bolinette | d42deb57572084f513202a32c460186700ce8e0b | [
"MIT"
] | null | null | null | from example.services.book import BookService
from example.services.person import PersonService
from example.services.library import LibraryService
from example.services.tag import TagService
from example.services.label import LabelService
from example.services.trace import TraceService
| 41.142857 | 51 | 0.875 | 36 | 288 | 7 | 0.444444 | 0.261905 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 288 | 6 | 52 | 48 | 0.954545 | 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 |
7367d1028de297daf53ab3365e8eff556848dac6 | 196 | py | Python | tests/unit/test_property.py | gussmith23/dwellinglybackend | ea7f6f83c3fb2faff7052611c105ae6ae20b1a20 | [
"MIT"
] | null | null | null | tests/unit/test_property.py | gussmith23/dwellinglybackend | ea7f6f83c3fb2faff7052611c105ae6ae20b1a20 | [
"MIT"
] | null | null | null | tests/unit/test_property.py | gussmith23/dwellinglybackend | ea7f6f83c3fb2faff7052611c105ae6ae20b1a20 | [
"MIT"
] | null | null | null | from conftest import newPropertyName, newPropertyAddress
def test_new_property(new_property):
assert new_property.name == newPropertyName
assert new_property.address == newPropertyAddress | 39.2 | 56 | 0.831633 | 21 | 196 | 7.52381 | 0.571429 | 0.278481 | 0.21519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117347 | 196 | 5 | 57 | 39.2 | 0.913295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
73918c7c2d83b3ee25db6192cb722ea30d66c2e3 | 11,934 | py | Python | hail/python/test/hail/experimental/test_dnd_array.py | mitochon/hail | 25e5e5b8da1d978468d2cee393426ade46484a87 | [
"MIT"
] | null | null | null | hail/python/test/hail/experimental/test_dnd_array.py | mitochon/hail | 25e5e5b8da1d978468d2cee393426ade46484a87 | [
"MIT"
] | 3 | 2017-06-16T18:10:45.000Z | 2017-07-21T17:44:13.000Z | hail/python/test/hail/experimental/test_dnd_array.py | mitochon/hail | 25e5e5b8da1d978468d2cee393426ade46484a87 | [
"MIT"
] | 2 | 2018-01-30T00:50:52.000Z | 2018-03-22T20:04:01.000Z | import numpy as np
import hail as hl
from hail.utils import new_temp_file
from ..helpers import startTestHailContext, stopTestHailContext, fails_local_backend
setUpModule = startTestHailContext
tearDownModule = stopTestHailContext
def test_range_collect():
n_variants = 10
n_samples = 10
block_size = 3
... | 32.517711 | 85 | 0.633484 | 1,734 | 11,934 | 4.053057 | 0.081315 | 0.078116 | 0.062607 | 0.077405 | 0.861554 | 0.846329 | 0.833238 | 0.82584 | 0.816733 | 0.807057 | 0 | 0.030164 | 0.249958 | 11,934 | 366 | 86 | 32.606557 | 0.754999 | 0 | 0 | 0.69338 | 0 | 0 | 0.011061 | 0 | 0 | 0 | 0 | 0 | 0.10453 | 1 | 0.062718 | false | 0 | 0.013937 | 0.003484 | 0.080139 | 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 |
73c0acea6b030d0417f67af3dca59e481fc30d28 | 46 | py | Python | lib/optim/__init__.py | plemeri/UACANet | fdfca0d26e0c7d25e92676d451dc613af5e83f3c | [
"MIT"
] | 57 | 2021-07-07T06:13:03.000Z | 2022-03-29T10:20:30.000Z | lib/optim/__init__.py | POSTECH-IMLAB/UACANet | 1b22572dc1e2b42f27ed06be51b6604bdff7471b | [
"MIT"
] | 9 | 2021-07-17T10:46:52.000Z | 2022-03-10T15:00:57.000Z | lib/optim/__init__.py | plemeri/UACANet | fdfca0d26e0c7d25e92676d451dc613af5e83f3c | [
"MIT"
] | 17 | 2021-07-08T04:52:19.000Z | 2022-03-19T13:33:48.000Z | from .losses import *
from .scheduler import * | 23 | 24 | 0.76087 | 6 | 46 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 24 | 23 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73fcdfda94d4ff400413247018daa0d260f0385f | 37,783 | py | Python | egret/models/acopf.py | kdheepak/Egret | f982247637137e098191453e682376adc1b4c2ac | [
"BSD-3-Clause"
] | 1 | 2021-08-25T12:53:38.000Z | 2021-08-25T12:53:38.000Z | egret/models/acopf.py | kdheepak/Egret | f982247637137e098191453e682376adc1b4c2ac | [
"BSD-3-Clause"
] | 1 | 2019-05-23T02:56:29.000Z | 2019-05-23T02:56:29.000Z | egret/models/acopf.py | kdheepak/Egret | f982247637137e098191453e682376adc1b4c2ac | [
"BSD-3-Clause"
] | 2 | 2019-11-18T20:18:51.000Z | 2020-05-08T15:56:17.000Z | # ___________________________________________________________________________
#
# EGRET: Electrical Grid Research and Engineering Tools
# Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC
# (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
# Government retains certain r... | 48.439744 | 144 | 0.572109 | 4,658 | 37,783 | 4.250107 | 0.067626 | 0.027479 | 0.030308 | 0.036369 | 0.824872 | 0.805627 | 0.78128 | 0.765217 | 0.744658 | 0.728292 | 0 | 0.002063 | 0.332822 | 37,783 | 779 | 145 | 48.501926 | 0.783283 | 0.088347 | 0 | 0.65529 | 0 | 0 | 0.042433 | 0.005527 | 0 | 0 | 0 | 0.002567 | 0 | 1 | 0.008532 | false | 0 | 0.030717 | 0 | 0.052901 | 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 |
fb5a567ce0a8c34208583e195130ba851f296391 | 13,987 | py | Python | bin/wa_workloads_eai_handler.py | gayatrisingh31/grand_central | eae635d865549b8002a42d051d9af69e8688e129 | [
"MIT"
] | 36 | 2019-11-06T20:49:07.000Z | 2021-07-07T02:26:52.000Z | bin/wa_workloads_eai_handler.py | gayatrisingh31/grand_central | eae635d865549b8002a42d051d9af69e8688e129 | [
"MIT"
] | 21 | 2019-11-10T05:38:06.000Z | 2022-03-10T15:07:48.000Z | bin/wa_workloads_eai_handler.py | gayatrisingh31/grand_central | eae635d865549b8002a42d051d9af69e8688e129 | [
"MIT"
] | 7 | 2020-02-13T22:56:46.000Z | 2022-01-22T05:57:34.000Z | import logging
import sys
import uuid
import splunk.admin as admin
import wa_workloads_eai_handler_schema
import urllib
import re
import json
import errno
import base_eai_handler
import log_helper
import time
from splunk.clilib.bundle_paths import make_splunkhome_path
from well_architected import WellArchitected
from w... | 40.542029 | 155 | 0.617359 | 1,456 | 13,987 | 5.567308 | 0.126374 | 0.058352 | 0.048359 | 0.051813 | 0.830002 | 0.795213 | 0.77054 | 0.72946 | 0.715643 | 0.6906 | 0 | 0.003295 | 0.284049 | 13,987 | 345 | 156 | 40.542029 | 0.806171 | 0.106813 | 0 | 0.565217 | 0 | 0 | 0.197689 | 0.053308 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023715 | false | 0.023715 | 0.059289 | 0 | 0.090909 | 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 |
fb62f9fba92c17b0680e85555012049cc92255c8 | 210 | py | Python | spark/pyspark/examples/gis/intersecion_gen.py | beautifulpython/GIS | 9054f382ef2e473291863ad3e4a3198fc6ea7f55 | [
"Apache-2.0"
] | null | null | null | spark/pyspark/examples/gis/intersecion_gen.py | beautifulpython/GIS | 9054f382ef2e473291863ad3e4a3198fc6ea7f55 | [
"Apache-2.0"
] | null | null | null | spark/pyspark/examples/gis/intersecion_gen.py | beautifulpython/GIS | 9054f382ef2e473291863ad3e4a3198fc6ea7f55 | [
"Apache-2.0"
] | 1 | 2020-01-15T03:42:52.000Z | 2020-01-15T03:42:52.000Z | with open('/tmp/intersection.json', 'w') as file:
file.write('{"left": "POINT(0 0)", "right": "LINESTRING ( 2 0, 0 2 )"}\n')
file.write('{"left": "POINT(0 0)", "right": "LINESTRING ( 0 0, 0 2 )"}\n')
| 52.5 | 79 | 0.542857 | 34 | 210 | 3.352941 | 0.470588 | 0.087719 | 0.22807 | 0.315789 | 0.614035 | 0.614035 | 0.614035 | 0.614035 | 0 | 0 | 0 | 0.069364 | 0.17619 | 210 | 3 | 80 | 70 | 0.589595 | 0 | 0 | 0 | 0 | 0.666667 | 0.690476 | 0.104762 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb83bd43bc0f38fe6e0b9c7593d6f5bd67f16360 | 132 | py | Python | app/auth/__init__.py | Alexotieno1717/blog-website | 000dc608213eee67a23d9c12e309a0597edaeeb6 | [
"MIT"
] | null | null | null | app/auth/__init__.py | Alexotieno1717/blog-website | 000dc608213eee67a23d9c12e309a0597edaeeb6 | [
"MIT"
] | null | null | null | app/auth/__init__.py | Alexotieno1717/blog-website | 000dc608213eee67a23d9c12e309a0597edaeeb6 | [
"MIT"
] | null | null | null | from flask import Blueprint
auth = Blueprint('auth', __name__, template_folder='templates/auth')
from app.auth import views, forms
| 26.4 | 68 | 0.787879 | 18 | 132 | 5.5 | 0.666667 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 132 | 4 | 69 | 33 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
fbafd5618ff695207162bbe6fb7abe5de26544ff | 362 | py | Python | samples/PolynomialDistractor.py | JA-VON/Question-Generator | 8247e36928d02964c76588a5859e0579822b4623 | [
"Apache-2.0"
] | 1 | 2016-03-07T20:42:23.000Z | 2016-03-07T20:42:23.000Z | samples/PolynomialDistractor.py | JA-VON/Question-Generator | 8247e36928d02964c76588a5859e0579822b4623 | [
"Apache-2.0"
] | 6 | 2016-03-07T06:37:28.000Z | 2016-03-10T02:12:50.000Z | samples/PolynomialDistractor.py | JA-VON/Question-Generator | 8247e36928d02964c76588a5859e0579822b4623 | [
"Apache-2.0"
] | null | null | null | def distractor_1(polynomial):
return str(polynomial.get_degree() + 1)
def distractor_2(polynomial):
return str(polynomial.get_degree() - 1000)
def distractor_3(polynomial):
return str(polynomial.get_degree() + 100)
def distractor_4(polynomial):
if polynomial.get_degree != 0:
return "0"
def distractor_5(polyno... | 24.133333 | 43 | 0.762431 | 52 | 362 | 5.134615 | 0.403846 | 0.243446 | 0.284644 | 0.325843 | 0.426966 | 0.426966 | 0 | 0 | 0 | 0 | 0 | 0.047319 | 0.124309 | 362 | 15 | 44 | 24.133333 | 0.794953 | 0 | 0 | 0 | 0 | 0 | 0.071625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0.363636 | 0.909091 | 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 |
8375a9b30b2c126904ccbac6093791577ecd056c | 35,523 | py | Python | kiali_qe/tests/test_istio_objects_crud.py | Hawkular-QE/kiali-qe-python | 24e058def1efd0a509a2b599901f4179dbf37583 | [
"Apache-2.0"
] | null | null | null | kiali_qe/tests/test_istio_objects_crud.py | Hawkular-QE/kiali-qe-python | 24e058def1efd0a509a2b599901f4179dbf37583 | [
"Apache-2.0"
] | 3 | 2018-03-28T17:11:13.000Z | 2018-03-28T17:55:08.000Z | kiali_qe/tests/test_istio_objects_crud.py | Hawkular-QE/kiali-qe-python | 24e058def1efd0a509a2b599901f4179dbf37583 | [
"Apache-2.0"
] | 2 | 2018-02-13T10:56:03.000Z | 2018-03-20T14:07:51.000Z | import pytest
from openshift.dynamic.exceptions import InternalServerError
from kubernetes.client.rest import ApiException
from kiali_qe.tests import IstioConfigPageTest, ServicesPageTest
from kiali_qe.utils import get_yaml, get_dict
from kiali_qe.utils.path import istio_objects_path
from kiali_qe.components.enums imp... | 45.954722 | 102 | 0.626411 | 3,405 | 35,523 | 6.138913 | 0.067548 | 0.094006 | 0.071329 | 0.070899 | 0.859781 | 0.823135 | 0.798402 | 0.751854 | 0.715735 | 0.693202 | 0 | 0.011717 | 0.303268 | 35,523 | 772 | 103 | 46.014249 | 0.832848 | 0.001717 | 0 | 0.637195 | 0 | 0 | 0.071044 | 0.039444 | 0 | 0 | 0 | 0 | 0.009146 | 1 | 0.060976 | false | 0.003049 | 0.012195 | 0.001524 | 0.074695 | 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 |
83be5d7f0950afa2c1ed96588406be84f9f4df8c | 2,277 | py | Python | AutoExamSys/SystemModel/migrations/0001_initial.py | Yb-Z/COMP2411_GP | 6b6ae307efbbe5e04c00588f869ae520f9680b0e | [
"MIT"
] | null | null | null | AutoExamSys/SystemModel/migrations/0001_initial.py | Yb-Z/COMP2411_GP | 6b6ae307efbbe5e04c00588f869ae520f9680b0e | [
"MIT"
] | null | null | null | AutoExamSys/SystemModel/migrations/0001_initial.py | Yb-Z/COMP2411_GP | 6b6ae307efbbe5e04c00588f869ae520f9680b0e | [
"MIT"
] | null | null | null | # Generated by Django 3.1.3 on 2020-12-05 18:50
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Student',
fields=[
('id', models.CharField(... | 47.4375 | 164 | 0.575318 | 229 | 2,277 | 5.563319 | 0.257642 | 0.146782 | 0.06044 | 0.098901 | 0.743328 | 0.743328 | 0.743328 | 0.717425 | 0.717425 | 0.717425 | 0 | 0.028161 | 0.267018 | 2,277 | 47 | 165 | 48.446809 | 0.735171 | 0.019763 | 0 | 0.5 | 1 | 0 | 0.190135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.05 | 0.025 | 0 | 0.125 | 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 |
83e28f3943696d51dca3cd09ec687e02a49598df | 8,975 | py | Python | micropython/examples/interstate75/font_10x14.py | sstobbe/pimoroni-pico | c7ec56d278ee4f3679cd367dad225d44808e24cf | [
"MIT"
] | 2 | 2022-03-19T13:30:10.000Z | 2022-03-19T19:47:43.000Z | micropython/examples/interstate75/font_10x14.py | sstobbe/pimoroni-pico | c7ec56d278ee4f3679cd367dad225d44808e24cf | [
"MIT"
] | null | null | null | micropython/examples/interstate75/font_10x14.py | sstobbe/pimoroni-pico | c7ec56d278ee4f3679cd367dad225d44808e24cf | [
"MIT"
] | null | null | null | letter_width = 10
letter_height = 14
font = [
[0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000], # " "
[0x0ffc, 0x0a04, 0x0ffc, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000], # "!"
[0x007c, 0x0044, 0x007c, 0x0044, 0x007c, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000], #... | 88.861386 | 92 | 0.652479 | 1,029 | 8,975 | 5.688047 | 0.233236 | 0.567914 | 0.58124 | 0.434649 | 0.520075 | 0.353323 | 0.180762 | 0.058432 | 0.04613 | 0.04613 | 0 | 0.5491 | 0.183064 | 8,975 | 100 | 93 | 89.75 | 0.249182 | 0.042451 | 0 | 0.03 | 0 | 0 | 0 | 0 | 0 | 0 | 0.677966 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7b0cd34d6423d2188e9d13a1899d2874c44ce4d | 101 | py | Python | mediathekDownloader/__init__.py | TomMeHo/mediathekDownloader | 645f76b5df6710ee7cd8c761c44e6e61c026d849 | [
"MIT"
] | 1 | 2022-01-26T19:09:56.000Z | 2022-01-26T19:09:56.000Z | mediathekDownloader/__init__.py | TomMeHo/mediathekDownloader | 645f76b5df6710ee7cd8c761c44e6e61c026d849 | [
"MIT"
] | null | null | null | mediathekDownloader/__init__.py | TomMeHo/mediathekDownloader | 645f76b5df6710ee7cd8c761c44e6e61c026d849 | [
"MIT"
] | null | null | null | from .downloadQueueItem import DownloadQueueItem
from .vsMetaInfoGenerator import VsMetaInfoGenerator | 50.5 | 52 | 0.910891 | 8 | 101 | 11.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 101 | 2 | 52 | 50.5 | 0.978723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7910fda91277058b9d1000fd07224a69d8bae644 | 17,060 | py | Python | losses/bregman_pytorch.py | syelman/DRDM-Count | 47b43b64d7f536995bf4cbc44318b3108a5f2aff | [
"MIT"
] | 3 | 2021-04-15T15:51:49.000Z | 2022-03-15T20:54:23.000Z | losses/bregman_pytorch.py | syelman/DRDM-Count | 47b43b64d7f536995bf4cbc44318b3108a5f2aff | [
"MIT"
] | null | null | null | losses/bregman_pytorch.py | syelman/DRDM-Count | 47b43b64d7f536995bf4cbc44318b3108a5f2aff | [
"MIT"
] | 1 | 2022-02-05T18:12:03.000Z | 2022-02-05T18:12:03.000Z | # -*- coding: utf-8 -*-
"""
Rewrite ot.bregman.sinkhorn in Python Optimal Transport (https://pythonot.github.io/_modules/ot/bregman.html#sinkhorn)
using pytorch operations.
Bregman projections for regularized OT (Sinkhorn distance).
"""
import torch
M_EPS = 1e-16
def sinkhorn(a, b, C, reg=1e-1, method='sinkhorn', m... | 35.175258 | 157 | 0.583118 | 2,393 | 17,060 | 4.092353 | 0.121605 | 0.020219 | 0.019912 | 0.004289 | 0.837129 | 0.816195 | 0.79322 | 0.78311 | 0.751353 | 0.733279 | 0 | 0.021023 | 0.297362 | 17,060 | 484 | 158 | 35.247934 | 0.795946 | 0.441032 | 0 | 0.567708 | 0 | 0 | 0.076429 | 0.002754 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.036458 | false | 0 | 0.005208 | 0 | 0.104167 | 0.078125 | 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 |
7913bf49091fc5b63d6b6f1a744a4b10cc800a06 | 1,657 | py | Python | nnunet/experiment_planning/change_batch_size.py | Jiawei-Yang/TumorCP | 6053c75642fcbc0fb0424320ab3d758f24883b0e | [
"Apache-2.0"
] | 12 | 2021-07-22T15:08:13.000Z | 2022-03-10T08:15:56.000Z | nnunet/experiment_planning/change_batch_size.py | Jiawei-Yang/TumorCP | 6053c75642fcbc0fb0424320ab3d758f24883b0e | [
"Apache-2.0"
] | null | null | null | nnunet/experiment_planning/change_batch_size.py | Jiawei-Yang/TumorCP | 6053c75642fcbc0fb0424320ab3d758f24883b0e | [
"Apache-2.0"
] | 3 | 2021-11-26T06:26:24.000Z | 2022-02-14T01:23:44.000Z | from batchgenerators.utilities.file_and_folder_operations import *
import numpy as np
if __name__ == '__main__':
# input_file = '/home/fabian/data/nnUNet_preprocessed/Task004_Hippocampus/nnUNetPlansv2.1_plans_3D.pkl'
# output_file = '/home/fabian/data/nnUNet_preprocessed/Task004_Hippocampus/nnUNetPlansv2.1_LIS... | 69.041667 | 117 | 0.639107 | 283 | 1,657 | 3.431095 | 0.204947 | 0.070031 | 0.098867 | 0.123584 | 0.881565 | 0.801236 | 0.801236 | 0.778579 | 0.727085 | 0.727085 | 0 | 0.0911 | 0.138805 | 1,657 | 24 | 118 | 69.041667 | 0.589348 | 0.281835 | 0 | 0 | 0 | 0 | 0.36402 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.0625 | 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 |
f70ff2c39f33dd888d631eafd160e6a0bc3e455e | 29,175 | py | Python | Plotters/Results/Plots_Paper_One.py | PouyaREZ/Wastewater_Energy_Optimization | ead604b715337dc8c76871910d38965d1b8b1856 | [
"MIT"
] | 2 | 2021-02-18T19:36:18.000Z | 2021-05-20T03:32:20.000Z | Plotters/Results/Plots_Paper_One.py | PouyaREZ/Wastewater_Energy_Optimization | ead604b715337dc8c76871910d38965d1b8b1856 | [
"MIT"
] | null | null | null | Plotters/Results/Plots_Paper_One.py | PouyaREZ/Wastewater_Energy_Optimization | ead604b715337dc8c76871910d38965d1b8b1856 | [
"MIT"
] | 1 | 2022-01-21T18:39:45.000Z | 2022-01-21T18:39:45.000Z | # -*- coding: utf-8 -*-
"""
Created on Fri Feb 4 2020
@Author: PouyaRZ
____________________________________________________
Plots to produce:
1. LCC of equipment for each scenario for all the individuals
2, SCC of equipment for each scenario for all the individuals
3. SCC vs LCC scatter plot.
4. SCC vs chiller typ... | 34.982014 | 162 | 0.637943 | 4,698 | 29,175 | 3.822903 | 0.069817 | 0.044098 | 0.013085 | 0.032572 | 0.83441 | 0.814031 | 0.791592 | 0.773107 | 0.755401 | 0.72294 | 0 | 0.054225 | 0.118218 | 29,175 | 833 | 163 | 35.02401 | 0.643901 | 0.201508 | 0 | 0.444444 | 0 | 0 | 0.207565 | 0.073427 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003268 | false | 0 | 0.009804 | 0 | 0.01634 | 0.091503 | 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 |
f71dca35de7fa623ae7ad9dcf06fb60056718130 | 181 | py | Python | Baekjoon/Python/1110.py | KHJcode/Algorithm-study | fa08d3c752fcb3557fd45fb394157926afc0de4a | [
"MIT"
] | 2 | 2020-05-23T01:55:38.000Z | 2020-07-07T15:59:00.000Z | Baekjoon/Python/1110.py | KHJcode/Algorithm-study | fa08d3c752fcb3557fd45fb394157926afc0de4a | [
"MIT"
] | null | null | null | Baekjoon/Python/1110.py | KHJcode/Algorithm-study | fa08d3c752fcb3557fd45fb394157926afc0de4a | [
"MIT"
] | null | null | null | n = int(input())
count = 1
_n = int(str(n % 10) + str((n // 10 + n % 10) % 10))
while _n != n:
count += 1
_n = int(str(_n % 10) + str((_n // 10 + _n % 10) % 10))
print(count)
| 18.1 | 57 | 0.475138 | 34 | 181 | 2.352941 | 0.264706 | 0.225 | 0.3 | 0.25 | 0.675 | 0.675 | 0.675 | 0.675 | 0.675 | 0.675 | 0 | 0.137405 | 0.276243 | 181 | 9 | 58 | 20.111111 | 0.473282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7228538402e71c82d83f635f86f69621986543e | 43 | py | Python | 2_from_go_to_python/trysum.py | TihonV/pygoexamples | ca9604862d08145057aefc60cd0f9b77c9f5346a | [
"MIT"
] | 18 | 2020-01-23T21:20:47.000Z | 2022-02-20T19:10:02.000Z | 2_from_go_to_python/trysum.py | TihonV/pygoexamples | ca9604862d08145057aefc60cd0f9b77c9f5346a | [
"MIT"
] | null | null | null | 2_from_go_to_python/trysum.py | TihonV/pygoexamples | ca9604862d08145057aefc60cd0f9b77c9f5346a | [
"MIT"
] | 4 | 2019-08-03T12:59:53.000Z | 2022-02-07T23:43:35.000Z | from newmath import sum
print(sum(2, 40))
| 10.75 | 23 | 0.72093 | 8 | 43 | 3.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.162791 | 43 | 3 | 24 | 14.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f727f6cf011e2798bbf44b01f9e61c7dbe87ceb3 | 142 | py | Python | gala/potential/potential/__init__.py | zilishen/gala | f7184e6b09fbc42a349f6b5a2bca6242f1e9936e | [
"MIT"
] | 1 | 2020-11-20T18:27:25.000Z | 2020-11-20T18:27:25.000Z | gala/potential/potential/__init__.py | ltlancas/gala | 2621bb599d67e74a85446abf72d5930ef70ca181 | [
"MIT"
] | 3 | 2021-07-26T15:07:25.000Z | 2021-09-13T15:04:27.000Z | gala/potential/potential/__init__.py | ltlancas/gala | 2621bb599d67e74a85446abf72d5930ef70ca181 | [
"MIT"
] | 1 | 2018-10-23T23:20:20.000Z | 2018-10-23T23:20:20.000Z | from .core import *
from .cpotential import *
from .ccompositepotential import *
from .builtin import *
from .io import *
from .util import *
| 20.285714 | 34 | 0.746479 | 18 | 142 | 5.888889 | 0.444444 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 142 | 6 | 35 | 23.666667 | 0.898305 | 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 |
f739b4d5394ea28e6767e0a78ff090af422b45e3 | 79 | py | Python | refresh.py | abagh0703/RetailTrail | cbca3c052523c52935066c5585e5dd2f1c6b4b1e | [
"MIT"
] | null | null | null | refresh.py | abagh0703/RetailTrail | cbca3c052523c52935066c5585e5dd2f1c6b4b1e | [
"MIT"
] | null | null | null | refresh.py | abagh0703/RetailTrail | cbca3c052523c52935066c5585e5dd2f1c6b4b1e | [
"MIT"
] | null | null | null | #!flask/bin/python
from app.views import update_all_sheets
update_all_sheets(); | 26.333333 | 39 | 0.835443 | 13 | 79 | 4.769231 | 0.769231 | 0.290323 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 79 | 3 | 40 | 26.333333 | 0.837838 | 0.21519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e3adf8f8686b611ce89805e3a17fd55402c772f9 | 164 | py | Python | util/test/tests/D3D12/D3D12_Buffer_Truncation.py | PLohrmannAMD/renderdoc | ea16d31aa340581f5e505e0c734a8468e5d3d47f | [
"MIT"
] | 6,181 | 2015-01-07T11:49:11.000Z | 2022-03-31T21:46:55.000Z | util/test/tests/D3D12/D3D12_Buffer_Truncation.py | PLohrmannAMD/renderdoc | ea16d31aa340581f5e505e0c734a8468e5d3d47f | [
"MIT"
] | 2,015 | 2015-01-16T01:45:25.000Z | 2022-03-25T12:01:06.000Z | util/test/tests/D3D12/D3D12_Buffer_Truncation.py | PLohrmannAMD/renderdoc | ea16d31aa340581f5e505e0c734a8468e5d3d47f | [
"MIT"
] | 1,088 | 2015-01-06T08:36:25.000Z | 2022-03-30T03:31:21.000Z | import rdtest
import renderdoc as rd
class D3D12_Buffer_Truncation(rdtest.Buffer_Truncation):
demos_test_name = 'D3D12_Buffer_Truncation'
internal = False | 23.428571 | 56 | 0.810976 | 21 | 164 | 6 | 0.666667 | 0.380952 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.140244 | 164 | 7 | 57 | 23.428571 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.139394 | 0.139394 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3c0884fd05535cbeae7489844f625f1b16f833f | 6,043 | py | Python | ensembles.py | canek13/canek13-Gradient_Boosting-RandomForest-for-Property-Sale | 01f475be0cdb5774679aa3b92f16814f3f97bf87 | [
"MIT"
] | null | null | null | ensembles.py | canek13/canek13-Gradient_Boosting-RandomForest-for-Property-Sale | 01f475be0cdb5774679aa3b92f16814f3f97bf87 | [
"MIT"
] | null | null | null | ensembles.py | canek13/canek13-Gradient_Boosting-RandomForest-for-Property-Sale | 01f475be0cdb5774679aa3b92f16814f3f97bf87 | [
"MIT"
] | null | null | null | import numpy as np
from sklearn.tree import DecisionTreeRegressor
from scipy.optimize import minimize_scalar
import time
class RandomForestMSE:
def __init__(self, n_estimators, max_depth=None, feature_subsample_size=None,
**trees_parameters):
"""
n_estimators : int
The... | 31.973545 | 114 | 0.555022 | 722 | 6,043 | 4.421053 | 0.134349 | 0.100251 | 0.125313 | 0.071429 | 0.825815 | 0.805138 | 0.795113 | 0.760025 | 0.760025 | 0.760025 | 0 | 0.008761 | 0.357769 | 6,043 | 188 | 115 | 32.143617 | 0.813708 | 0.292404 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169231 | false | 0 | 0.061538 | 0.015385 | 0.4 | 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 |
54068a33362fbeb2e13a3098d9ee4c07057cfbe6 | 287 | py | Python | platform/hwconf_data/mgm13/modules/WTIMER0/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | null | null | null | platform/hwconf_data/mgm13/modules/WTIMER0/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T02:36:22.000Z | 2020-08-25T02:36:22.000Z | platform/hwconf_data/mgm13/modules/WTIMER0/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T01:56:04.000Z | 2020-08-25T01:56:04.000Z | import mgm13.halconfig.halconfig_types as halconfig_types
import mgm13.halconfig.halconfig_dependency as halconfig_dependency
import mgm13.PythonSnippet.ExporterModel as ExporterModel
import mgm13.PythonSnippet.RuntimeModel as RuntimeModel
import mgm13.PythonSnippet.Metadata as Metadata | 57.4 | 67 | 0.898955 | 34 | 287 | 7.470588 | 0.294118 | 0.216535 | 0.283465 | 0.228346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037313 | 0.066202 | 287 | 5 | 68 | 57.4 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
541b2efca9b87b6577aff73178340c2d042e526d | 2,721 | py | Python | Petal-Width.py | darrenkeenan/Iris-Flower-Data-Set | 7c6e58d7fb2da04f3abc420b0e7bcd4330c8052e | [
"Apache-2.0"
] | null | null | null | Petal-Width.py | darrenkeenan/Iris-Flower-Data-Set | 7c6e58d7fb2da04f3abc420b0e7bcd4330c8052e | [
"Apache-2.0"
] | null | null | null | Petal-Width.py | darrenkeenan/Iris-Flower-Data-Set | 7c6e58d7fb2da04f3abc420b0e7bcd4330c8052e | [
"Apache-2.0"
] | null | null | null | # Calculating min & max petal width per species of iris data set
# Darren Keenan - finalized 2018-04-29
columnname = "Petal Width", "Species/Class" # naming two columns
print(columnname) # printing named columns
with open("data/iris.csv") as ir... | 77.742857 | 211 | 0.568173 | 782 | 2,721 | 1.976982 | 0.079284 | 0.072445 | 0.104787 | 0.07762 | 0.783959 | 0.783959 | 0.64295 | 0.64295 | 0.64295 | 0.64295 | 0 | 0.263926 | 0.168688 | 2,721 | 34 | 212 | 80.029412 | 0.41954 | 0.257626 | 0 | 0.333333 | 0 | 0 | 0.119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5422825db49084c9c805b86d89e9a090c5b5e953 | 1,073 | py | Python | tests/resources/test_commissions.py | cuencandres/cuenca-python | eb5047bc7a990890316413abf04499facef3c8e7 | [
"MIT"
] | null | null | null | tests/resources/test_commissions.py | cuencandres/cuenca-python | eb5047bc7a990890316413abf04499facef3c8e7 | [
"MIT"
] | null | null | null | tests/resources/test_commissions.py | cuencandres/cuenca-python | eb5047bc7a990890316413abf04499facef3c8e7 | [
"MIT"
] | 1 | 2020-10-16T20:18:15.000Z | 2020-10-16T20:18:15.000Z | import pytest
from cuenca import Commission, Deposit, Transfer
@pytest.mark.vcr
def test_commission_retrieve():
id_commission = 'COXXX'
commission: Commission = Commission.retrieve(id_commission)
assert commission.id == id_commission
assert not commission.related_transaction
@pytest.mark.vcr
def te... | 31.558824 | 63 | 0.78192 | 118 | 1,073 | 6.838983 | 0.194915 | 0.245353 | 0.173482 | 0.148699 | 0.76456 | 0.76456 | 0.76456 | 0.717472 | 0.717472 | 0.60347 | 0 | 0 | 0.147251 | 1,073 | 33 | 64 | 32.515152 | 0.881967 | 0 | 0 | 0.615385 | 0 | 0 | 0.021435 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 1 | 0.115385 | false | 0 | 0.076923 | 0 | 0.192308 | 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 |
5876e96238ad1db0337dc2c91bb3150f8b9a1eef | 12,974 | py | Python | tests/changes/models/test_job.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 443 | 2015-01-03T16:28:39.000Z | 2021-04-26T16:39:46.000Z | tests/changes/models/test_job.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 12 | 2015-07-30T19:07:16.000Z | 2016-11-07T23:11:21.000Z | tests/changes/models/test_job.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 47 | 2015-01-09T10:04:00.000Z | 2020-11-18T17:58:19.000Z | from __future__ import absolute_import
import mock
from flask import current_app
from changes.models.command import CommandType
from changes.models.jobplan import JobPlan
from changes.testutils import TestCase
from changes.vcs.base import Vcs
class AutogeneratedJobTest(TestCase):
def _create_job_and_jobplan(se... | 41.318471 | 355 | 0.615076 | 1,481 | 12,974 | 5.155976 | 0.123565 | 0.107386 | 0.077004 | 0.02737 | 0.849005 | 0.83473 | 0.825432 | 0.80186 | 0.788633 | 0.788633 | 0 | 0.014239 | 0.247572 | 12,974 | 313 | 356 | 41.450479 | 0.767978 | 0.007939 | 0 | 0.684825 | 0 | 0.019455 | 0.296034 | 0.132037 | 0 | 0 | 0 | 0 | 0.171206 | 1 | 0.031128 | false | 0 | 0.027237 | 0 | 0.066148 | 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 |
5441a86abda37b4c280e4971dd9a785b653637fd | 33 | py | Python | test3.py | yaojinsong9998/renamecode | 5f06cd828c3d5af4a075a7ef71dd55516063b8dc | [
"MIT"
] | null | null | null | test3.py | yaojinsong9998/renamecode | 5f06cd828c3d5af4a075a7ef71dd55516063b8dc | [
"MIT"
] | null | null | null | test3.py | yaojinsong9998/renamecode | 5f06cd828c3d5af4a075a7ef71dd55516063b8dc | [
"MIT"
] | null | null | null | s = "13232 ** "
print (s) | 16.5 | 23 | 0.363636 | 4 | 33 | 3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0.424242 | 33 | 2 | 24 | 16.5 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
54c16f5675af51b36cd759aff1e36edd03f25437 | 42 | py | Python | pkg/slack/__init__.py | ks6088ts/sandbox-cloud-python | 1d4c3b768dd1c6a4130ae8d61c56dab5ebb8f2b4 | [
"MIT"
] | null | null | null | pkg/slack/__init__.py | ks6088ts/sandbox-cloud-python | 1d4c3b768dd1c6a4130ae8d61c56dab5ebb8f2b4 | [
"MIT"
] | 13 | 2021-07-23T22:33:02.000Z | 2021-08-09T06:30:09.000Z | pkg/slack/__init__.py | ks6088ts/sandbox-cloud-python | 1d4c3b768dd1c6a4130ae8d61c56dab5ebb8f2b4 | [
"MIT"
] | null | null | null | """pkg.slack"""
from .apis import Handler
| 14 | 25 | 0.690476 | 6 | 42 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 2 | 26 | 21 | 0.783784 | 0.214286 | 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 |
49c83561dbfcfcb48541940317db15c18b7cf7c0 | 203 | py | Python | src/utils/pythonSrc/watchFaceParser/models/parameterFlags.py | chm-dev/amazfitGTSwatchfaceBundle | 4cb04be5215de16628418e9b38152a35d5372d3e | [
"MIT"
] | 49 | 2019-12-18T11:24:56.000Z | 2022-03-28T09:56:27.000Z | src/utils/pythonSrc/watchFaceParser/models/parameterFlags.py | chm-dev/amazfitGTSwatchfaceBundle | 4cb04be5215de16628418e9b38152a35d5372d3e | [
"MIT"
] | 6 | 2020-01-08T21:31:15.000Z | 2022-03-25T19:13:26.000Z | src/utils/pythonSrc/watchFaceParser/models/parameterFlags.py | chm-dev/amazfitGTSwatchfaceBundle | 4cb04be5215de16628418e9b38152a35d5372d3e | [
"MIT"
] | 6 | 2019-12-27T17:30:24.000Z | 2021-09-30T08:11:01.000Z | class ParameterFlags:
Unknown = 1
hasChildren = 2
Unknown2 = 4
def __init__(self, flag):
self._flag = flag
def hasFlag(self, flag):
return (self._flag & flag) != 0
| 16.916667 | 39 | 0.581281 | 24 | 203 | 4.666667 | 0.625 | 0.285714 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036232 | 0.320197 | 203 | 11 | 40 | 18.454545 | 0.775362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.875 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3fbece05dbf8163776aa07eb81b6f43c028b6ef4 | 28 | py | Python | app/settings_test.py | fatboystring/csv_generator | 881b41d93aeb496ea6a25c687db3eab3e0eae571 | [
"MIT"
] | 3 | 2016-03-22T19:37:00.000Z | 2018-05-22T22:14:36.000Z | app/settings_test.py | fatboystring/csv_generator | 881b41d93aeb496ea6a25c687db3eab3e0eae571 | [
"MIT"
] | 2 | 2016-08-15T10:37:29.000Z | 2016-11-24T12:37:40.000Z | app/settings_test.py | fatboystring/csv_generator | 881b41d93aeb496ea6a25c687db3eab3e0eae571 | [
"MIT"
] | 1 | 2021-06-28T10:30:37.000Z | 2021-06-28T10:30:37.000Z | from app.settings import *
| 9.333333 | 26 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.913043 | 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 |
3fe57b420fdbb1de35f454769c9d79b5ea8d808b | 148 | py | Python | zvt/domain/quotes/index/__init__.py | stone64/zvt | 19360b3f29992bc759709adfa90e32843147a807 | [
"MIT"
] | 2 | 2020-09-04T03:24:03.000Z | 2020-11-27T20:57:55.000Z | zvt/domain/quotes/index/__init__.py | stone64/zvt | 19360b3f29992bc759709adfa90e32843147a807 | [
"MIT"
] | null | null | null | zvt/domain/quotes/index/__init__.py | stone64/zvt | 19360b3f29992bc759709adfa90e32843147a807 | [
"MIT"
] | 1 | 2021-01-24T15:44:53.000Z | 2021-01-24T15:44:53.000Z | # -*- coding: utf-8 -*-
# this file is generated by gen_kdata_schema function, dont't change it
from zvt.domain.quotes.index.index_1d_kdata import * | 49.333333 | 71 | 0.756757 | 25 | 148 | 4.32 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0.128378 | 148 | 3 | 72 | 49.333333 | 0.821705 | 0.614865 | 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 |
b7df5b14228574c8d72899c1ce635766c23a8c67 | 47 | py | Python | test03.py | kangwonlee/test-reposetman-fetch-and-reset-00 | 19db5b4a604bafadc2e77b024a6443f312a77de6 | [
"BSD-3-Clause"
] | null | null | null | test03.py | kangwonlee/test-reposetman-fetch-and-reset-00 | 19db5b4a604bafadc2e77b024a6443f312a77de6 | [
"BSD-3-Clause"
] | null | null | null | test03.py | kangwonlee/test-reposetman-fetch-and-reset-00 | 19db5b4a604bafadc2e77b024a6443f312a77de6 | [
"BSD-3-Clause"
] | null | null | null | print('this was supposed to be another test')
| 15.666667 | 45 | 0.744681 | 8 | 47 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 46 | 23.5 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0.782609 | 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 |
4d0d2fc1bc3661f95faefcd17accbdd9604f0802 | 29 | py | Python | fountain/data/__init__.py | oaao/fountain-of-knuth | 626be5ef98370e59c273a93a10614a4438e1fb22 | [
"MIT"
] | null | null | null | fountain/data/__init__.py | oaao/fountain-of-knuth | 626be5ef98370e59c273a93a10614a4438e1fb22 | [
"MIT"
] | null | null | null | fountain/data/__init__.py | oaao/fountain-of-knuth | 626be5ef98370e59c273a93a10614a4438e1fb22 | [
"MIT"
] | null | null | null | from . import mayzner, norvig | 29 | 29 | 0.793103 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 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 |
4d1aa1f0a57826763663cfec607c67bef2493c08 | 535 | py | Python | picqer_client_python/resources/shipping_provider.py | jordyvanraalte/piqcer-client-python | 494e0428bacb0089850984fb9be9ef247d24f5cb | [
"MIT"
] | 3 | 2021-01-05T05:10:52.000Z | 2021-01-06T17:54:22.000Z | picqer_client_python/resources/shipping_provider.py | jordyvanraalte/piqcer-client-python | 494e0428bacb0089850984fb9be9ef247d24f5cb | [
"MIT"
] | null | null | null | picqer_client_python/resources/shipping_provider.py | jordyvanraalte/piqcer-client-python | 494e0428bacb0089850984fb9be9ef247d24f5cb | [
"MIT"
] | null | null | null | from ..resources.resource import Resource
class ShippingProviders(Resource):
def __init__(self):
super().__init__("stockhistory")
def get(self, id):
raise NotImplementedError("Not possible to post a warehouse")
def post(self, object):
raise NotImplementedError("Not possible to po... | 29.722222 | 69 | 0.693458 | 63 | 535 | 5.761905 | 0.380952 | 0.264463 | 0.297521 | 0.385675 | 0.652893 | 0.652893 | 0.652893 | 0.652893 | 0.652893 | 0.644628 | 0 | 0 | 0.214953 | 535 | 18 | 70 | 29.722222 | 0.864286 | 0 | 0 | 0.333333 | 0 | 0 | 0.261194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4d6cc884ac90cd3ebdc5375075a845a6dbd9ece7 | 27,925 | py | Python | libcloud/test/dns/test_durabledns.py | atsaki/libcloud | ae85479e835494e196e2f6e79aae9a475603d8ac | [
"Apache-2.0"
] | 3 | 2016-06-03T03:40:18.000Z | 2018-09-24T05:28:47.000Z | libcloud/test/dns/test_durabledns.py | atsaki/libcloud | ae85479e835494e196e2f6e79aae9a475603d8ac | [
"Apache-2.0"
] | 1 | 2015-10-26T21:29:56.000Z | 2015-10-27T17:29:20.000Z | libcloud/test/dns/test_durabledns.py | atsaki/libcloud | ae85479e835494e196e2f6e79aae9a475603d8ac | [
"Apache-2.0"
] | 2 | 2018-09-24T05:28:42.000Z | 2020-12-31T05:11:04.000Z | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | 49.512411 | 79 | 0.602149 | 3,273 | 27,925 | 4.96242 | 0.076383 | 0.096047 | 0.056151 | 0.053195 | 0.843677 | 0.800579 | 0.727866 | 0.719493 | 0.716968 | 0.70761 | 0 | 0.041412 | 0.267574 | 27,925 | 563 | 80 | 49.600355 | 0.752701 | 0.03291 | 0 | 0.60166 | 0 | 0 | 0.154507 | 0.023639 | 0 | 0 | 0 | 0 | 0.244813 | 1 | 0.107884 | false | 0.018672 | 0.03112 | 0 | 0.19917 | 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 |
4d8d831a14be5c12e1efd1ee031af6689f133b11 | 103 | py | Python | tfkit/__init__.py | voidful/TFk | 5ba46a5ef12bdbbd0215a2eadb036b443c382f3f | [
"Apache-2.0"
] | null | null | null | tfkit/__init__.py | voidful/TFk | 5ba46a5ef12bdbbd0215a2eadb036b443c382f3f | [
"Apache-2.0"
] | null | null | null | tfkit/__init__.py | voidful/TFk | 5ba46a5ef12bdbbd0215a2eadb036b443c382f3f | [
"Apache-2.0"
] | null | null | null | from tfkit.model import *
import tfkit.utility
import tfkit.dump
import tfkit.train
import tfkit.eval
| 14.714286 | 25 | 0.815534 | 16 | 103 | 5.25 | 0.5 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 6 | 26 | 17.166667 | 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 |
4de29893e0b798b9afb6cfdffcedd5f1cdcf8952 | 45 | py | Python | clay/markdown_ext/__init__.py | TuxCoder/Clay | 04f15b4d742b14d09df9049dd91cfa4386cba66e | [
"MIT"
] | null | null | null | clay/markdown_ext/__init__.py | TuxCoder/Clay | 04f15b4d742b14d09df9049dd91cfa4386cba66e | [
"MIT"
] | null | null | null | clay/markdown_ext/__init__.py | TuxCoder/Clay | 04f15b4d742b14d09df9049dd91cfa4386cba66e | [
"MIT"
] | null | null | null | from .jinja import MarkdownExtension # noqa
| 22.5 | 44 | 0.8 | 5 | 45 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 1 | 45 | 45 | 0.947368 | 0.088889 | 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 |
1275a7c43036f133045d4c680f06a6c63c0b9259 | 32 | py | Python | kdlutils/__init__.py | kaustubh-sadekar/dlutils | 91b98f7701f4d682ae2790e4cf41b9daa5e3cf77 | [
"MIT"
] | 3 | 2020-03-12T09:21:24.000Z | 2021-12-27T14:06:20.000Z | kdlutils/__init__.py | kaustubh-sadekar/githubActions | 2b8117898c4f9ca52d8800bdb95121154c7bf1e9 | [
"MIT"
] | null | null | null | kdlutils/__init__.py | kaustubh-sadekar/githubActions | 2b8117898c4f9ca52d8800bdb95121154c7bf1e9 | [
"MIT"
] | null | null | null | from kdlutils.kdlutils import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 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 |
12d7beb8abca942b4e75e58d1a4a3c60a64f3faf | 141 | py | Python | ly2xml/__init__.py | bradley-gersh/ly2xml | 8e240e79e1e34349096378191aa58f1fbd65df93 | [
"MIT"
] | null | null | null | ly2xml/__init__.py | bradley-gersh/ly2xml | 8e240e79e1e34349096378191aa58f1fbd65df93 | [
"MIT"
] | null | null | null | ly2xml/__init__.py | bradley-gersh/ly2xml | 8e240e79e1e34349096378191aa58f1fbd65df93 | [
"MIT"
] | null | null | null | from .LilypondLexer import LilypondLexer
from .LilypondParser import LilypondParser
from .LilypondErrorListener import LilypondErrorListener
| 35.25 | 56 | 0.893617 | 12 | 141 | 10.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 141 | 3 | 57 | 47 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12fdbd3f29d55f6b5398f9cf144a9c16e87b5ae3 | 140 | py | Python | search/__init__.py | shyammarjit/missionaries-and-cannibals | 2a9563b292b9e3db009dbc495d464597b7f4b00d | [
"MIT"
] | 17 | 2019-01-30T16:24:00.000Z | 2022-02-28T09:50:05.000Z | search/__init__.py | shyammarjit/missionaries-and-cannibals | 2a9563b292b9e3db009dbc495d464597b7f4b00d | [
"MIT"
] | null | null | null | search/__init__.py | shyammarjit/missionaries-and-cannibals | 2a9563b292b9e3db009dbc495d464597b7f4b00d | [
"MIT"
] | 8 | 2018-04-28T17:17:24.000Z | 2022-03-16T16:40:07.000Z | from .node import Node
from .problem import Problem
from .search import depth_limited_search
from .search import iterative_deepening_search
| 28 | 46 | 0.857143 | 20 | 140 | 5.8 | 0.45 | 0.172414 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 140 | 4 | 47 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
42162064522d312d65e024f47d9098bca2048d4d | 43 | py | Python | src/stoat/core/structure/ref/__init__.py | saarkatz/guppy-struct | b9099353312c365cfd788dbd2d168a9c844765be | [
"Apache-2.0"
] | 1 | 2021-12-07T11:59:11.000Z | 2021-12-07T11:59:11.000Z | src/stoat/core/structure/ref/__init__.py | saarkatz/stoat-struct | b9099353312c365cfd788dbd2d168a9c844765be | [
"Apache-2.0"
] | null | null | null | src/stoat/core/structure/ref/__init__.py | saarkatz/stoat-struct | b9099353312c365cfd788dbd2d168a9c844765be | [
"Apache-2.0"
] | null | null | null | from .ref import Ref
from .this import This | 21.5 | 22 | 0.790698 | 8 | 43 | 4.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 22 | 21.5 | 0.944444 | 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 |
424e52fdb6ac7691d9640b94cfb4ec29a287a1ec | 48 | py | Python | python/pyMeta/__init__.py | ProkopHapala/SimpleSimulationEngine | 240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5 | [
"MIT"
] | 26 | 2016-12-04T04:45:12.000Z | 2022-03-24T09:39:28.000Z | python/pyMeta/__init__.py | Aki78/FlightAI | 9c5480f2392c9c89b9fee4902db0c4cde5323a6c | [
"MIT"
] | null | null | null | python/pyMeta/__init__.py | Aki78/FlightAI | 9c5480f2392c9c89b9fee4902db0c4cde5323a6c | [
"MIT"
] | 2 | 2019-02-09T12:31:06.000Z | 2019-04-28T02:24:50.000Z | #!/usr/bin/python
from metaprograming import *
| 12 | 28 | 0.75 | 6 | 48 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 29 | 16 | 0.857143 | 0.333333 | 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 |
427837110c96172832b3beaa0d7d99fa1f1948a8 | 33 | py | Python | tasks/UDEMY/100_days/temp.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | 2 | 2022-01-19T18:01:35.000Z | 2022-02-06T06:54:38.000Z | tasks/UDEMY/100_days/temp.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | tasks/UDEMY/100_days/temp.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | from markupsafe import escape
| 6.6 | 29 | 0.787879 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 4 | 30 | 8.25 | 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 |
c450e628cbb6835ffe91e1f34fa8bb74846ded09 | 19 | py | Python | vpac/__init__.py | ForrestCKoch/VPAC | 029935ba5732a323509d99dda4dcd56f3fdbbdeb | [
"MIT"
] | null | null | null | vpac/__init__.py | ForrestCKoch/VPAC | 029935ba5732a323509d99dda4dcd56f3fdbbdeb | [
"MIT"
] | null | null | null | vpac/__init__.py | ForrestCKoch/VPAC | 029935ba5732a323509d99dda4dcd56f3fdbbdeb | [
"MIT"
] | null | null | null | from vpac import *
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4754f492a906ccd7d8b66ddbfdcee74953243e0 | 142 | py | Python | quiz_bot/quiz/interfaces/__init__.py | livestreamx/quiz-bot | e08e9161d908ce9cb851cd6c689f04703db1928f | [
"MIT"
] | 1 | 2022-03-05T13:42:08.000Z | 2022-03-05T13:42:08.000Z | quiz_bot/quiz/interfaces/__init__.py | livestreamx/quiz-bot | e08e9161d908ce9cb851cd6c689f04703db1928f | [
"MIT"
] | null | null | null | quiz_bot/quiz/interfaces/__init__.py | livestreamx/quiz-bot | e08e9161d908ce9cb851cd6c689f04703db1928f | [
"MIT"
] | 2 | 2021-06-20T10:40:25.000Z | 2022-02-15T04:26:58.000Z | # flake8: noqa
from .abstract_interface import IInterface
from .chat_interface import ChatInterface
from .quiz_interface import QuizInterface
| 28.4 | 42 | 0.859155 | 17 | 142 | 7 | 0.647059 | 0.378151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.105634 | 142 | 4 | 43 | 35.5 | 0.929134 | 0.084507 | 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 |
67178fc2f10057b0e36ac8459456e665cfa69b70 | 30 | py | Python | datanorth/__init__.py | data-north/datanorth-python | ce4e64c6615dc8f618401313862d7c650b4ed3c8 | [
"MIT"
] | null | null | null | datanorth/__init__.py | data-north/datanorth-python | ce4e64c6615dc8f618401313862d7c650b4ed3c8 | [
"MIT"
] | null | null | null | datanorth/__init__.py | data-north/datanorth-python | ce4e64c6615dc8f618401313862d7c650b4ed3c8 | [
"MIT"
] | null | null | null | from .datanorth import Project | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
675dcfb7423bee36a99f2c0f6622eb55b6d41da6 | 3,498 | py | Python | tests/misc/compare_uuid_generators.py | openpermissions/identity-srv | 97696413accfea052f4037a4291d8d4eed560cfb | [
"Apache-2.0"
] | 2 | 2016-05-03T20:10:04.000Z | 2019-05-20T01:41:33.000Z | tests/misc/compare_uuid_generators.py | openpermissions/identity-srv | 97696413accfea052f4037a4291d8d4eed560cfb | [
"Apache-2.0"
] | 1 | 2016-05-05T11:04:39.000Z | 2016-05-05T11:04:39.000Z | tests/misc/compare_uuid_generators.py | openpermissions/identity-srv | 97696413accfea052f4037a4291d8d4eed560cfb | [
"Apache-2.0"
] | 1 | 2019-05-20T01:41:23.000Z | 2019-05-20T01:41:23.000Z | # -*- coding: utf-8 -*-
# Copyright 2016 Open Permissions Platform Coalition
# 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 appl... | 29.15 | 107 | 0.642367 | 585 | 3,498 | 3.841026 | 0.158974 | 0.085447 | 0.069426 | 0.074766 | 0.781486 | 0.781486 | 0.781486 | 0.781486 | 0.781486 | 0.781486 | 0 | 0.043447 | 0.203831 | 3,498 | 119 | 108 | 29.394958 | 0.763375 | 0.168668 | 0 | 0.979592 | 0 | 0 | 0.308382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.020408 | 0.122449 | 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 |
67707bc53dd0975419d6dfe9086bb2494401009c | 48,484 | py | Python | data/transcoder_evaluation_gfg/python/CHECK_SUMS_TH_ROW_TH_COLUMN_MATRIX.py | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 241 | 2021-07-20T08:35:20.000Z | 2022-03-31T02:39:08.000Z | data/transcoder_evaluation_gfg/python/CHECK_SUMS_TH_ROW_TH_COLUMN_MATRIX.py | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 49 | 2021-07-22T23:18:42.000Z | 2022-03-24T09:15:26.000Z | data/transcoder_evaluation_gfg/python/CHECK_SUMS_TH_ROW_TH_COLUMN_MATRIX.py | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 71 | 2021-07-21T05:17:52.000Z | 2022-03-29T23:49:28.000Z | # Copyright (c) 2019-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
def f_gold ( a , n , m ) :
sum1 = 0
sum2 = 0
for i in range ( 0 , n ) :
sum1 = 0
sum2 = 0
fo... | 1,212.1 | 8,377 | 0.443074 | 12,683 | 48,484 | 1.692423 | 0.011827 | 0.115723 | 0.141719 | 0.16082 | 0.206103 | 0.167016 | 0.15495 | 0.15113 | 0.149918 | 0.149779 | 0 | 0.59251 | 0.265263 | 48,484 | 40 | 8,378 | 1,212.1 | 0.01005 | 0.003816 | 0 | 0.133333 | 0 | 0 | 0.000497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0 | 0 | 0.1 | 0.033333 | 0 | 0 | 1 | null | 0 | 0 | 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 |
67e858404ab76962b0e9a30e8f12d2c9947ebb14 | 28 | py | Python | miranda/hq/__init__.py | Ouranosinc/miranda | 5c54767a4e6e6c3c1f638ca0fe22673ea98e2746 | [
"Apache-2.0"
] | 4 | 2019-11-07T17:45:26.000Z | 2021-09-22T18:22:01.000Z | miranda/hq/__init__.py | Ouranosinc/miranda | 5c54767a4e6e6c3c1f638ca0fe22673ea98e2746 | [
"Apache-2.0"
] | 12 | 2019-09-19T17:05:39.000Z | 2022-03-31T20:26:16.000Z | miranda/hq/__init__.py | Ouranosinc/miranda | 5c54767a4e6e6c3c1f638ca0fe22673ea98e2746 | [
"Apache-2.0"
] | 1 | 2020-02-01T01:01:22.000Z | 2020-02-01T01:01:22.000Z | from .daily import open_csv
| 14 | 27 | 0.821429 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 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 |
e1d95f979f297810f0d7a299c1c2bb34d7d47ace | 98 | py | Python | test/commands.py | kochelmonster/runas | 52146a47f6e882a26b5ddec98b1924e8bcbc1515 | [
"MIT"
] | null | null | null | test/commands.py | kochelmonster/runas | 52146a47f6e882a26b5ddec98b1924e8bcbc1515 | [
"MIT"
] | null | null | null | test/commands.py | kochelmonster/runas | 52146a47f6e882a26b5ddec98b1924e8bcbc1515 | [
"MIT"
] | null | null | null | from runas import has_root
class SudoCommands:
def is_root(self):
return has_root()
| 14 | 26 | 0.693878 | 14 | 98 | 4.642857 | 0.785714 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244898 | 98 | 6 | 27 | 16.333333 | 0.878378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e1f3c14fb0b997d6919ce864a41152ae389efb19 | 111 | py | Python | guild/tests/samples/projects/compare/op1.py | wheatdog/guildai | 817cf179d0b6910d3d4fca522045a8139aef6c9e | [
"Apache-2.0"
] | 694 | 2018-11-30T01:06:30.000Z | 2022-03-31T14:46:26.000Z | guild/tests/samples/projects/compare/op1.py | wheatdog/guildai | 817cf179d0b6910d3d4fca522045a8139aef6c9e | [
"Apache-2.0"
] | 323 | 2018-11-05T17:44:34.000Z | 2022-03-31T16:56:41.000Z | guild/tests/samples/projects/compare/op1.py | wheatdog/guildai | 817cf179d0b6910d3d4fca522045a8139aef6c9e | [
"Apache-2.0"
] | 68 | 2019-04-01T04:24:47.000Z | 2022-02-24T17:22:04.000Z | a = 1
b = 2
print("x: %s" % (a + 1))
print("y: %s" % (b + 2))
print("z/ab: %s" % (a + b))
print("sys/x: 123")
| 13.875 | 27 | 0.405405 | 24 | 111 | 1.875 | 0.5 | 0.088889 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.243243 | 111 | 7 | 28 | 15.857143 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e1f4ca6cdf2be93b39b00e1afab7bae3c345d4c9 | 29 | py | Python | exercises/binary/binary.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 1 | 2021-05-15T19:59:04.000Z | 2021-05-15T19:59:04.000Z | exercises/binary/binary.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | null | null | null | exercises/binary/binary.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 2 | 2018-03-03T08:32:12.000Z | 2019-08-22T11:55:53.000Z | def parse_binary():
pass
| 9.666667 | 19 | 0.655172 | 4 | 29 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 2 | 20 | 14.5 | 0.818182 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.