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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d34d4bd2e0a6bfa6226a7b4b08226b7097b82c36 | 175 | py | Python | code/python/pymir/commands/train_seql.py | mfranco/pymir | f6d86bfdec942156ae95984f1ef8182d8983181f | [
"MIT"
] | 1 | 2020-01-18T21:47:59.000Z | 2020-01-18T21:47:59.000Z | code/python/pymir/commands/train_seql.py | maigfrga/pymir | f6d86bfdec942156ae95984f1ef8182d8983181f | [
"MIT"
] | null | null | null | code/python/pymir/commands/train_seql.py | maigfrga/pymir | f6d86bfdec942156ae95984f1ef8182d8983181f | [
"MIT"
] | null | null | null | from pymir.analytics.key_detection.musicnet.ml.seql import seql_trainer
def run():
"""
Musicnet metadata format for training seql
"""
seql_trainer.compute()
| 19.444444 | 71 | 0.714286 | 22 | 175 | 5.545455 | 0.772727 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188571 | 175 | 8 | 72 | 21.875 | 0.859155 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d35ea0e8065b0c5cecd94bf1415278b8d67cea54 | 892 | py | Python | lib/hachoir/parser/archive/__init__.py | 0x20Man/Watcher3 | 4656b42bc5879a3741bb95f534b7c6612a25264d | [
"Apache-2.0"
] | 320 | 2017-03-28T23:33:45.000Z | 2022-02-17T08:45:01.000Z | lib/hachoir/parser/archive/__init__.py | 0x20Man/Watcher3 | 4656b42bc5879a3741bb95f534b7c6612a25264d | [
"Apache-2.0"
] | 300 | 2017-03-28T19:22:54.000Z | 2021-12-01T01:11:55.000Z | lib/hachoir/parser/archive/__init__.py | 0x20Man/Watcher3 | 4656b42bc5879a3741bb95f534b7c6612a25264d | [
"Apache-2.0"
] | 90 | 2017-03-29T16:12:43.000Z | 2022-03-01T06:23:48.000Z | from hachoir.parser.archive.ace import AceFile # noqa
from hachoir.parser.archive.ar import ArchiveFile # noqa
from hachoir.parser.archive.bomstore import BomFile # noqa
from hachoir.parser.archive.bzip2_parser import Bzip2Parser # noqa
from hachoir.parser.archive.cab import CabFile # noqa
from hachoir.parser.arch... | 55.75 | 68 | 0.815022 | 124 | 892 | 5.830645 | 0.298387 | 0.228216 | 0.352697 | 0.497925 | 0.542185 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002541 | 0.117713 | 892 | 15 | 69 | 59.466667 | 0.916137 | 0.08296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d376bc305c32a030c68c2a55a1be006f0de7c9be | 7,475 | py | Python | cogs/music.py | ilyLuxa/Athena-bot | 7cb242a8c4626dbe7866850e629f85657c698514 | [
"MIT"
] | null | null | null | cogs/music.py | ilyLuxa/Athena-bot | 7cb242a8c4626dbe7866850e629f85657c698514 | [
"MIT"
] | null | null | null | cogs/music.py | ilyLuxa/Athena-bot | 7cb242a8c4626dbe7866850e629f85657c698514 | [
"MIT"
] | 1 | 2021-09-19T21:49:08.000Z | 2021-09-19T21:49:08.000Z | from discord.ext import commands
import discord
from requests.models import default_hooks
import youtube_dl
class music(commands.Cog):
def __init__(self,client):
self.client = client
@commands.command(
name="join",
description='Joins voice channel.',
usage="`a!join`... | 43.71345 | 134 | 0.555184 | 855 | 7,475 | 4.753216 | 0.126316 | 0.103346 | 0.103346 | 0.047244 | 0.813484 | 0.805118 | 0.805118 | 0.791831 | 0.772884 | 0.772884 | 0 | 0.004237 | 0.33699 | 7,475 | 170 | 135 | 43.970588 | 0.815779 | 0 | 0 | 0.657895 | 0 | 0 | 0.257084 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013158 | false | 0 | 0.026316 | 0 | 0.046053 | 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 |
d38cf84193ef201fc156eda1f39a3e96eb90298b | 17,823 | py | Python | goutdotcom/flare/views.py | Spiewart/goutdotcom | 0916155732a72fcb8c8a2fb0f4dd81efef618af8 | [
"MIT"
] | null | null | null | goutdotcom/flare/views.py | Spiewart/goutdotcom | 0916155732a72fcb8c8a2fb0f4dd81efef618af8 | [
"MIT"
] | null | null | null | goutdotcom/flare/views.py | Spiewart/goutdotcom | 0916155732a72fcb8c8a2fb0f4dd81efef618af8 | [
"MIT"
] | null | null | null | from django.contrib import messages
from django.contrib.auth.mixins import LoginRequiredMixin
from django.http import HttpResponseRedirect
from django.http.response import Http404
from django.shortcuts import redirect
from django.urls import reverse
from django.views.generic import CreateView, DetailView, ListView, Upd... | 49.92437 | 157 | 0.635471 | 1,977 | 17,823 | 5.512898 | 0.085483 | 0.071841 | 0.063125 | 0.078906 | 0.800532 | 0.771447 | 0.7564 | 0.754656 | 0.737407 | 0.733187 | 0 | 0.001013 | 0.279863 | 17,823 | 356 | 158 | 50.064607 | 0.84815 | 0.040958 | 0 | 0.660436 | 0 | 0 | 0.046161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031153 | false | 0 | 0.043614 | 0 | 0.208723 | 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 |
d3a3ad1bfa261ca1b7a17e7d9ef0112762e8b1d9 | 30 | py | Python | src/data/__init__.py | lucasalexsorensen/mlops | 2d8157eb493061775bdab9a8e176d2bdcc2c166e | [
"MIT"
] | null | null | null | src/data/__init__.py | lucasalexsorensen/mlops | 2d8157eb493061775bdab9a8e176d2bdcc2c166e | [
"MIT"
] | null | null | null | src/data/__init__.py | lucasalexsorensen/mlops | 2d8157eb493061775bdab9a8e176d2bdcc2c166e | [
"MIT"
] | null | null | null | from .data import MaskDataset
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
6ccbc65d8b1942df4b506a1846eafe5488db7549 | 9,166 | py | Python | tests/test_rest_views.py | timgates42/django-nap | 34a2a3f9a194457ea5391b62d49f8ee975bc5aeb | [
"BSD-3-Clause"
] | 114 | 2015-01-15T23:03:38.000Z | 2021-11-02T07:58:08.000Z | tests/test_rest_views.py | timgates42/django-nap | 34a2a3f9a194457ea5391b62d49f8ee975bc5aeb | [
"BSD-3-Clause"
] | 23 | 2015-01-08T00:37:24.000Z | 2021-02-06T09:30:15.000Z | tests/test_rest_views.py | timgates42/django-nap | 34a2a3f9a194457ea5391b62d49f8ee975bc5aeb | [
"BSD-3-Clause"
] | 19 | 2015-01-13T17:19:50.000Z | 2020-03-09T11:02:38.000Z | from django.test import TestCase
import json
from nap.http import STATUS
from .models import Poll, Choice
class ListRestViewTest(TestCase):
def setUp(self):
self.question_1 = {
'question': 'Question 1',
'pub_date': '2016-05-13 00:00:00',
'kill_date': None,
}
... | 45.376238 | 103 | 0.581933 | 1,018 | 9,166 | 5.112967 | 0.103143 | 0.118156 | 0.106052 | 0.094909 | 0.868972 | 0.848799 | 0.808838 | 0.800384 | 0.78732 | 0.775985 | 0 | 0.022436 | 0.285184 | 9,166 | 201 | 104 | 45.60199 | 0.771978 | 0.031966 | 0 | 0.660606 | 0 | 0 | 0.143051 | 0.007446 | 0 | 0 | 0 | 0 | 0.254545 | 1 | 0.072727 | false | 0 | 0.024242 | 0 | 0.115152 | 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 |
6cec910d2b106eeb001696a06aaf2faeca73b9ff | 38 | py | Python | language.py | super-system-studio/calculator | db217c1074ee915e9fb8ea7fdcd006794e920613 | [
"Apache-2.0"
] | null | null | null | language.py | super-system-studio/calculator | db217c1074ee915e9fb8ea7fdcd006794e920613 | [
"Apache-2.0"
] | 1 | 2018-11-25T02:29:37.000Z | 2018-11-25T02:30:35.000Z | language.py | SuperSystemStudio/calculator | db217c1074ee915e9fb8ea7fdcd006794e920613 | [
"Apache-2.0"
] | 1 | 2018-11-20T13:09:30.000Z | 2018-11-20T13:09:30.000Z | import os
import basic
basic.language
| 9.5 | 14 | 0.842105 | 6 | 38 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 3 | 15 | 12.666667 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
9f1b243789fef1c25ca47ec59f43de1b20261b7f | 28 | py | Python | lib/utils.py | percebus/leetcode-excercises | 1d746e2255a3a5a652535ed1984a5aa45165e17e | [
"Unlicense"
] | null | null | null | lib/utils.py | percebus/leetcode-excercises | 1d746e2255a3a5a652535ed1984a5aa45165e17e | [
"Unlicense"
] | null | null | null | lib/utils.py | percebus/leetcode-excercises | 1d746e2255a3a5a652535ed1984a5aa45165e17e | [
"Unlicense"
] | null | null | null |
def noop(x):
return x
| 5.6 | 12 | 0.535714 | 5 | 28 | 3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 28 | 4 | 13 | 7 | 0.833333 | 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 |
9f3c0bb28ad3592876e82dcfd0bb00598878b481 | 75 | py | Python | leveldbs/__init__.py | infinityfuture/leveldb-server | e786b29745f18a416607df28fe7a5d5de95fff1c | [
"MIT"
] | null | null | null | leveldbs/__init__.py | infinityfuture/leveldb-server | e786b29745f18a416607df28fe7a5d5de95fff1c | [
"MIT"
] | 1 | 2018-08-18T18:45:02.000Z | 2018-08-18T18:45:02.000Z | leveldbs/__init__.py | infinityfuture/leveldb-server | e786b29745f18a416607df28fe7a5d5de95fff1c | [
"MIT"
] | null | null | null |
# from .client import LevelDBClient
from .zmq_client import LevelDBClient
| 18.75 | 37 | 0.826667 | 9 | 75 | 6.777778 | 0.555556 | 0.393443 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 75 | 3 | 38 | 25 | 0.938462 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9f5e4cba6ce8b0cdf94faf79102391798911f91f | 6,221 | py | Python | pytextdist/vector_similarity.py | ywu94/python-text-distance | e96b68144a9df0ff78b635245e2ee8201473d6bc | [
"MIT"
] | 5 | 2020-03-18T18:07:16.000Z | 2022-02-16T11:37:36.000Z | pytextdist/vector_similarity.py | ywu94/python-text-distance | e96b68144a9df0ff78b635245e2ee8201473d6bc | [
"MIT"
] | 1 | 2020-03-12T00:58:19.000Z | 2020-03-18T05:37:37.000Z | pytextdist/vector_similarity.py | ywu94/python-text-distance | e96b68144a9df0ff78b635245e2ee8201473d6bc | [
"MIT"
] | 3 | 2020-03-12T00:44:07.000Z | 2021-01-22T07:56:38.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import math
import logging
logger = logging.getLogger(__name__)
from .input_validator import input_validator
from .preprocessing import phrase_preprocessing, ngram_counter
@input_validator(str, str, n=int)
de... | 38.88125 | 174 | 0.775438 | 927 | 6,221 | 4.926645 | 0.101402 | 0.047296 | 0.089337 | 0.080578 | 0.917013 | 0.917013 | 0.917013 | 0.911101 | 0.911101 | 0.899715 | 0 | 0.016614 | 0.12924 | 6,221 | 159 | 175 | 39.125786 | 0.826472 | 0.371323 | 0 | 0.596154 | 0 | 0 | 0.004218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.134615 | 0 | 0.288462 | 0.019231 | 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 |
9f8ceab77aea964bd7aed15d9632d0047b8e6d89 | 76 | py | Python | session25_cython/example.py | morales-gregorio/Python-Module-of-the-Week | 2c68e20be3e174be9b91c92ac872806dd982e7d2 | [
"MIT"
] | 15 | 2017-06-22T11:57:38.000Z | 2022-03-31T13:34:07.000Z | session25_cython/example.py | morales-gregorio/Python-Module-of-the-Week | 2c68e20be3e174be9b91c92ac872806dd982e7d2 | [
"MIT"
] | 3 | 2019-10-16T10:32:55.000Z | 2020-01-09T09:24:48.000Z | session25_cython/example.py | morales-gregorio/Python-Module-of-the-Week | 2c68e20be3e174be9b91c92ac872806dd982e7d2 | [
"MIT"
] | 6 | 2016-10-07T12:50:24.000Z | 2019-11-28T11:15:04.000Z | from lib import return_primes
import numpy as np
print(return_primes(100))
| 15.2 | 29 | 0.815789 | 13 | 76 | 4.615385 | 0.769231 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.131579 | 76 | 4 | 30 | 19 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
9f96ed6e00fc4363a159be4ed549fd2edd8b65b6 | 30 | py | Python | devdoc/__init__.py | CaioTeixeira95/automacdoc | 37f488ed2cee53ac716136d2c00907ee70574a46 | [
"MIT"
] | 2 | 2020-05-12T22:36:39.000Z | 2021-10-11T18:03:48.000Z | devdoc/__init__.py | CaioTeixeira95/devdoc | 37f488ed2cee53ac716136d2c00907ee70574a46 | [
"MIT"
] | 1 | 2020-05-12T18:23:17.000Z | 2020-05-12T18:23:17.000Z | devdoc/__init__.py | CaioTeixeira95/devdoc | 37f488ed2cee53ac716136d2c00907ee70574a46 | [
"MIT"
] | null | null | null | from .devdoc import write_doc
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9fbe76937f493012fd0b0fe12aa99ee1c5c1cfda | 20,148 | py | Python | lib/cogs/mod.py | TheProfessor-dev/Cyborg | 4f79d74c287c14f5b02c144660d5d0652f757ced | [
"MIT"
] | null | null | null | lib/cogs/mod.py | TheProfessor-dev/Cyborg | 4f79d74c287c14f5b02c144660d5d0652f757ced | [
"MIT"
] | null | null | null | lib/cogs/mod.py | TheProfessor-dev/Cyborg | 4f79d74c287c14f5b02c144660d5d0652f757ced | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
import typing
from datetime import datetime
class Mod(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command(aliases=['pmuser'], help="Dm the user which is mentioned.")
@commands.has_permissions(manage_messages=True)
... | 50.878788 | 131 | 0.613758 | 2,423 | 20,148 | 5.018985 | 0.087082 | 0.041444 | 0.043829 | 0.057314 | 0.81416 | 0.795412 | 0.789984 | 0.761862 | 0.750596 | 0.738179 | 0 | 0.00585 | 0.278787 | 20,148 | 395 | 132 | 51.007595 | 0.831051 | 0.018414 | 0 | 0.653731 | 0 | 0.026866 | 0.164628 | 0.014971 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008955 | false | 0 | 0.01194 | 0.002985 | 0.068657 | 0.01194 | 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 |
9fc1f35f332f8f503415c4d15077d6e61afaf3d4 | 17,334 | py | Python | userbot/plugins/feks.py | Doom098/userbot | 11f0225a75241ab9492b1c435414c77de287b8a6 | [
"MIT"
] | 12 | 2022-01-06T19:52:48.000Z | 2022-03-06T09:05:08.000Z | userbot/plugins/feks.py | Doom098/userbot | 11f0225a75241ab9492b1c435414c77de287b8a6 | [
"MIT"
] | null | null | null | userbot/plugins/feks.py | Doom098/userbot | 11f0225a75241ab9492b1c435414c77de287b8a6 | [
"MIT"
] | 64 | 2022-01-06T19:55:15.000Z | 2022-03-29T21:03:01.000Z | import asyncio
from telethon.tl.functions.users import GetFullUserRequest
from telethon.tl.types import ChannelParticipantsAdmins
from FIREX.utils import admin_cmd
from userbot.cmdhelp import CmdHelp
@borg.on(admin_cmd(pattern="ftyping ?(.*)"))
async def _(event):
if event.fwd_from:
return
await eve... | 38.952809 | 223 | 0.592362 | 2,229 | 17,334 | 4.536115 | 0.120682 | 0.11077 | 0.154683 | 0.14954 | 0.909603 | 0.869152 | 0.860449 | 0.860449 | 0.860449 | 0.851548 | 0 | 0.030269 | 0.275759 | 17,334 | 444 | 224 | 39.040541 | 0.774415 | 0.013788 | 0 | 0.649758 | 0 | 0.007246 | 0.284519 | 0.007785 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014493 | 0 | 0.036232 | 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 |
4ca7ca885885a0247952a4f3c49bbcb6d80c0d21 | 215 | py | Python | 1-python-basico (Logica de programacao)/aula10/aula10.py | Leodf/projetos-python | 64e6262e6535d92624ad50148634d881608a7523 | [
"MIT"
] | null | null | null | 1-python-basico (Logica de programacao)/aula10/aula10.py | Leodf/projetos-python | 64e6262e6535d92624ad50148634d881608a7523 | [
"MIT"
] | null | null | null | 1-python-basico (Logica de programacao)/aula10/aula10.py | Leodf/projetos-python | 64e6262e6535d92624ad50148634d881608a7523 | [
"MIT"
] | null | null | null | """
Condições IF, ELIF e ELSE
"""
if False:
print("Verdadeiro.")
elif False:
print('agora é verdadeiro.')
elif False:
print('Mais uma verdadeira')
else:
print('A minha expressão não é verdadeira')
| 16.538462 | 47 | 0.655814 | 29 | 215 | 4.862069 | 0.586207 | 0.212766 | 0.269504 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 215 | 13 | 48 | 16.538462 | 0.829412 | 0.116279 | 0 | 0.25 | 0 | 0 | 0.453552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4cac091e4c29e88a070b6667a46a545fc4d607f1 | 132 | py | Python | registration/tests/__init__.py | husarion/django-registration | 9d4099011c64d0e9d1a502a7b230fa2547d7f771 | [
"BSD-3-Clause"
] | null | null | null | registration/tests/__init__.py | husarion/django-registration | 9d4099011c64d0e9d1a502a7b230fa2547d7f771 | [
"BSD-3-Clause"
] | null | null | null | registration/tests/__init__.py | husarion/django-registration | 9d4099011c64d0e9d1a502a7b230fa2547d7f771 | [
"BSD-3-Clause"
] | null | null | null | from ..tests.default_backend import *
from ..tests.forms import *
from ..tests.models import *
from ..tests.simple_backend import *
| 26.4 | 37 | 0.757576 | 18 | 132 | 5.444444 | 0.444444 | 0.367347 | 0.459184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 132 | 4 | 38 | 33 | 0.844828 | 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 | 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 |
4cc591c9e5395aa79ada712426ea4ed1eee35e96 | 18,075 | py | Python | src/data/nli.py | matejklemen/paraphrase-nli | d31ecba7e54eea4c3b098a2de7bc35f538e4e6dc | [
"MIT"
] | null | null | null | src/data/nli.py | matejklemen/paraphrase-nli | d31ecba7e54eea4c3b098a2de7bc35f538e4e6dc | [
"MIT"
] | null | null | null | src/data/nli.py | matejklemen/paraphrase-nli | d31ecba7e54eea4c3b098a2de7bc35f538e4e6dc | [
"MIT"
] | null | null | null | import itertools
from copy import deepcopy
from typing import Optional, List, Union, Iterable
from warnings import warn
import datasets
import torch
import pandas as pd
from src.data import TransformersSeqPairDataset
class SNLITransformersDataset(TransformersSeqPairDataset):
def __init__(self, split: Union[str,... | 48.98374 | 139 | 0.661687 | 2,288 | 18,075 | 4.950612 | 0.085664 | 0.038139 | 0.01545 | 0.014214 | 0.829876 | 0.801713 | 0.791825 | 0.78335 | 0.771608 | 0.76428 | 0 | 0.005384 | 0.229267 | 18,075 | 368 | 140 | 49.116848 | 0.807695 | 0.028105 | 0 | 0.690299 | 0 | 0 | 0.079526 | 0.002108 | 0 | 0 | 0 | 0 | 0.014925 | 1 | 0.029851 | false | 0 | 0.033582 | 0 | 0.089552 | 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 |
4ccd6e87dc6d7249a26f52a3e8d4d5df1808a9d2 | 24 | py | Python | pfp_maker/__init__.py | GeeTransit/Identicon-Generator | 40f31830d8eaf6da92e49894e39e2a51b8481679 | [
"MIT"
] | 1 | 2021-05-19T19:17:33.000Z | 2021-05-19T19:17:33.000Z | pfp_maker/__init__.py | GeeTransit/Identicon-Generator | 40f31830d8eaf6da92e49894e39e2a51b8481679 | [
"MIT"
] | null | null | null | pfp_maker/__init__.py | GeeTransit/Identicon-Generator | 40f31830d8eaf6da92e49894e39e2a51b8481679 | [
"MIT"
] | null | null | null | from . import pfp_maker
| 12 | 23 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e2209f7eac2db75790cdea4b818ae25e617d7b5e | 44 | py | Python | hpe3d/models/__init__.py | dorianhenning/hpe3d | 14ea2b0f76145793e2b15ce6fd31736c4be26b5b | [
"MIT"
] | 2 | 2020-05-27T08:21:20.000Z | 2021-06-28T15:42:58.000Z | hpe3d/models/__init__.py | dorianhenning/hpe3d | 14ea2b0f76145793e2b15ce6fd31736c4be26b5b | [
"MIT"
] | 1 | 2022-03-22T14:07:05.000Z | 2022-03-22T14:07:08.000Z | hpe3d/models/__init__.py | dorianhenning/hpe3d | 14ea2b0f76145793e2b15ce6fd31736c4be26b5b | [
"MIT"
] | 4 | 2020-05-27T08:21:21.000Z | 2021-08-08T19:17:13.000Z | from .smpl import SMPL
from .hmr import hmr
| 14.666667 | 22 | 0.772727 | 8 | 44 | 4.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 23 | 22 | 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 |
e276dbbfa01667b55d33b9d4f225fb549a52fe63 | 22 | py | Python | summarizationService/__init__.py | aceew/ViS | 3963d0a0a29d24b80e3fd74cedb036a6d64dce5e | [
"MIT"
] | 3 | 2019-10-28T09:15:29.000Z | 2020-03-23T17:16:41.000Z | summarizationService/__init__.py | aceew/ViS | 3963d0a0a29d24b80e3fd74cedb036a6d64dce5e | [
"MIT"
] | 1 | 2020-01-27T17:06:46.000Z | 2020-01-27T17:06:46.000Z | summarizationService/__init__.py | aceew/ViS | 3963d0a0a29d24b80e3fd74cedb036a6d64dce5e | [
"MIT"
] | 2 | 2019-10-27T19:27:57.000Z | 2020-04-04T00:27:15.000Z | from .summary import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
e2acc9969788e587da7b9cd19c7be051cadb583d | 44 | py | Python | rasa/core/actions/__init__.py | ALT-F1/rasa | 8d4a734616f72aca14f122716fbf338c42644188 | [
"Apache-2.0"
] | 2,433 | 2017-10-04T13:08:05.000Z | 2022-03-13T14:59:26.000Z | rasa/core/actions/__init__.py | alfredfrancis/rasa | d8d226408f20cc2563c3aefbccef3e364a447666 | [
"Apache-2.0"
] | 1,684 | 2017-10-04T13:04:44.000Z | 2019-05-31T20:48:49.000Z | rasa/core/actions/__init__.py | alfredfrancis/rasa | d8d226408f20cc2563c3aefbccef3e364a447666 | [
"Apache-2.0"
] | 1,229 | 2017-10-04T20:23:59.000Z | 2022-03-11T02:49:13.000Z | from rasa.core.actions.action import Action
| 22 | 43 | 0.840909 | 7 | 44 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 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 |
e2aeee49c94b986e67bf5af4c802e00d975bf415 | 39 | py | Python | tests/conftest.py | ratschlab/ratschlab-common | e7d71c3220c8b991d9d1c2f2de5cf393fce8357c | [
"MIT"
] | 1 | 2021-02-01T22:45:24.000Z | 2021-02-01T22:45:24.000Z | tests/conftest.py | ratschlab/ratschlab-common | e7d71c3220c8b991d9d1c2f2de5cf393fce8357c | [
"MIT"
] | 2 | 2019-11-25T09:10:26.000Z | 2020-02-14T13:08:28.000Z | tests/conftest.py | ratschlab/ratschlab-common | e7d71c3220c8b991d9d1c2f2de5cf393fce8357c | [
"MIT"
] | 1 | 2018-09-20T01:38:01.000Z | 2018-09-20T01:38:01.000Z | from tests.db.data_fixtures import *
| 9.75 | 36 | 0.769231 | 6 | 39 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 3 | 37 | 13 | 0.878788 | 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 |
2c5b4545486cc134c1b66e1846d62c2bb741ab9e | 35,275 | py | Python | core/objs/rh_folha_salario.py | aanacleto/erp- | 9c2d5388248cfe4b8cdb8454f6f47df4cb521f0e | [
"MIT"
] | null | null | null | core/objs/rh_folha_salario.py | aanacleto/erp- | 9c2d5388248cfe4b8cdb8454f6f47df4cb521f0e | [
"MIT"
] | null | null | null | core/objs/rh_folha_salario.py | aanacleto/erp- | 9c2d5388248cfe4b8cdb8454f6f47df4cb521f0e | [
"MIT"
] | 2 | 2017-12-04T14:59:22.000Z | 2018-12-06T18:50:29.000Z | # !/usr/bin/env python3
# -*- encoding: utf-8 -*-
"""
ERP+
"""
__author__ = 'António Anacleto'
__credits__ = []
__version__ = "1.0"
__maintainer__ = "António Anacleto"
__status__ = "Development"
__model_name__='rh_folha_salario.RHFolhaSalario'
import auth, base_models
from orm import *
from form import *
try:
from... | 55.992063 | 291 | 0.56309 | 3,630 | 35,275 | 5.252893 | 0.088705 | 0.026432 | 0.038599 | 0.025173 | 0.814716 | 0.764684 | 0.736522 | 0.73112 | 0.721051 | 0.704426 | 0 | 0.007579 | 0.308065 | 35,275 | 630 | 292 | 55.992063 | 0.77364 | 0.03691 | 0 | 0.684314 | 0 | 0 | 0.239782 | 0.027763 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047059 | false | 0 | 0.07451 | 0.001961 | 0.186275 | 0.003922 | 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 |
2c81803515af2008eb72e61088f16729a8c9cf75 | 166 | py | Python | src/Lib/site-packages/simpleaio/__init__.py | NUS-ALSET/ace-react-redux-brython | d009490263c5716a145d9691cd59bfcd5aff837a | [
"MIT"
] | 1 | 2021-08-05T12:45:39.000Z | 2021-08-05T12:45:39.000Z | src/Lib/site-packages/simpleaio/__init__.py | NUS-ALSET/ace-react-redux-brython | d009490263c5716a145d9691cd59bfcd5aff837a | [
"MIT"
] | null | null | null | src/Lib/site-packages/simpleaio/__init__.py | NUS-ALSET/ace-react-redux-brython | d009490263c5716a145d9691cd59bfcd5aff837a | [
"MIT"
] | 1 | 2019-09-05T08:20:07.000Z | 2019-09-05T08:20:07.000Z | """The asyncio package, tracking PEP 3156."""
from .events import *
from .coroutines import *
from .futures import *
from .tasks import *
from .http import *
| 20.75 | 46 | 0.686747 | 21 | 166 | 5.428571 | 0.619048 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.204819 | 166 | 7 | 47 | 23.714286 | 0.833333 | 0.23494 | 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 |
2c90a08ea45aaadca8abe17a8dddfbfe08a7941a | 45,356 | py | Python | src/datadog_api_client/v2/api/security_monitoring_api.py | rchenzheng/datadog-api-client-python | 2e86ac098c6f0c7fdd90ed218224587c0f8eafef | [
"Apache-2.0"
] | null | null | null | src/datadog_api_client/v2/api/security_monitoring_api.py | rchenzheng/datadog-api-client-python | 2e86ac098c6f0c7fdd90ed218224587c0f8eafef | [
"Apache-2.0"
] | null | null | null | src/datadog_api_client/v2/api/security_monitoring_api.py | rchenzheng/datadog-api-client-python | 2e86ac098c6f0c7fdd90ed218224587c0f8eafef | [
"Apache-2.0"
] | null | null | null | # Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2019-Present Datadog, Inc.
import re # noqa: F401
import sys # noqa: F401
from datadog_api_client.v2.api_clien... | 43.237369 | 270 | 0.555979 | 4,431 | 45,356 | 5.466712 | 0.063417 | 0.046237 | 0.025761 | 0.018825 | 0.853486 | 0.825373 | 0.811006 | 0.794906 | 0.765677 | 0.730958 | 0 | 0.004662 | 0.361606 | 45,356 | 1,048 | 271 | 43.278626 | 0.831912 | 0.438817 | 0 | 0.588022 | 0 | 0 | 0.223575 | 0.053052 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023593 | false | 0 | 0.030853 | 0 | 0.07804 | 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 |
2c99eb1e22e1c0db7f76d9a667ff686a618cf762 | 250 | py | Python | Practice_problems/Edabit/Edaaaaabit.py | riyabhatia26/Python-Programming | 2882728982c15c3b6380033eb2e90761b538dd93 | [
"MIT"
] | 3 | 2020-08-07T04:33:19.000Z | 2021-10-06T08:58:01.000Z | Practice_problems/Edabit/Edaaaaabit.py | riyabhatia26/Python-Programming | 2882728982c15c3b6380033eb2e90761b538dd93 | [
"MIT"
] | null | null | null | Practice_problems/Edabit/Edaaaaabit.py | riyabhatia26/Python-Programming | 2882728982c15c3b6380033eb2e90761b538dd93 | [
"MIT"
] | 2 | 2021-10-06T08:58:05.000Z | 2021-10-06T09:46:42.000Z | # Edaaaaabit
# Write a function that takes an integer and returns a string with the given number of "a"s in Edabit.
def how_many_times(num):
return 'Ed{0}bit'.format("a" * num)
print(how_many_times(5)) #Edaaaaabit
print(how_many_times(0)) #Edbit
| 27.777778 | 102 | 0.744 | 45 | 250 | 4 | 0.711111 | 0.116667 | 0.2 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014019 | 0.144 | 250 | 8 | 103 | 31.25 | 0.827103 | 0.504 | 0 | 0 | 0 | 0 | 0.07563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
2cb3b612dba0afbad5a1643b10a05254e9e0291c | 6,885 | py | Python | Count_Fre.py | jasonwho321/Guangxin | 60ce419d1bd8d58c470a2b69ce8baadd0cb1671c | [
"MIT"
] | null | null | null | Count_Fre.py | jasonwho321/Guangxin | 60ce419d1bd8d58c470a2b69ce8baadd0cb1671c | [
"MIT"
] | null | null | null | Count_Fre.py | jasonwho321/Guangxin | 60ce419d1bd8d58c470a2b69ce8baadd0cb1671c | [
"MIT"
] | null | null | null | import pandas as pd
import xlwings as xw
import math
def Get_Inven():
df = pd.read_csv(r'E:\OneDrive\露露\22-03-15-Inventorys (2)(1).csv')
df1 = pd.DataFrame(df,columns=['Goods Name','Packing Size','Gross Weight'])
df_2 = df1['Packing Size'].str.split('*',expand=True)
df1 = pd.concat([df1,df_2],axis=1)
... | 31.582569 | 123 | 0.486275 | 993 | 6,885 | 3.225579 | 0.176234 | 0.056822 | 0.027474 | 0.026225 | 0.809866 | 0.790197 | 0.777084 | 0.77646 | 0.734312 | 0.716828 | 0 | 0.093944 | 0.369208 | 6,885 | 218 | 124 | 31.582569 | 0.643104 | 0 | 0 | 0.638889 | 0 | 0.005556 | 0.089602 | 0.024543 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.016667 | 0 | 0.088889 | 0.016667 | 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 |
e2fbdffb1579e50e813dc5a1c88f1a5bb1186111 | 311 | py | Python | test/suite/out/E27.py | shardros/autopep8 | 2ab2ea74668b10f3910f3d5b9526494fa5671ca1 | [
"MIT"
] | 3,459 | 2015-01-03T15:53:43.000Z | 2022-03-31T16:33:01.000Z | test/suite/out/E27.py | hayata-yamamoto/autopep8 | 107e29dce22c7b367a36633a78735278e4ad4288 | [
"MIT"
] | 435 | 2015-01-03T12:58:44.000Z | 2022-03-29T12:37:13.000Z | test/suite/out/E27.py | hayata-yamamoto/autopep8 | 107e29dce22c7b367a36633a78735278e4ad4288 | [
"MIT"
] | 279 | 2015-03-16T16:34:51.000Z | 2022-03-26T23:58:48.000Z | #: Okay
True and False
#: E271
True and False
#: E272
True and False
#: E271
if 1:
#: E273
True and False
#: E273 E274
True and False
#: E271
a and b
#: E271
1 and b
#: E271
a and 2
#: E271 E272
1 and b
#: E271 E272
a and 2
#: E272
this and False
#: E273
a and b
#: E274
a and b
#: E273 E274
this and False
| 10.032258 | 14 | 0.636656 | 63 | 311 | 3.142857 | 0.222222 | 0.282828 | 0.30303 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257642 | 0.263666 | 311 | 30 | 15 | 10.366667 | 0.606987 | 0.353698 | 0 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
390ea587d4dd26a91596c78ff8d9661d87d43eac | 13,330 | py | Python | tests/test_logger.py | TahaEntezari/ramstk | f82e5b31ef5c4e33cc02252263247b99a9abe129 | [
"BSD-3-Clause"
] | 26 | 2019-05-15T02:03:47.000Z | 2022-02-21T07:28:11.000Z | tests/test_logger.py | TahaEntezari/ramstk | f82e5b31ef5c4e33cc02252263247b99a9abe129 | [
"BSD-3-Clause"
] | 815 | 2019-05-10T12:31:52.000Z | 2022-03-31T12:56:26.000Z | tests/test_logger.py | TahaEntezari/ramstk | f82e5b31ef5c4e33cc02252263247b99a9abe129 | [
"BSD-3-Clause"
] | 9 | 2019-04-20T23:06:29.000Z | 2022-01-24T21:21:04.000Z | # pylint: skip-file
# type: ignore
# -*- coding: utf-8 -*-
#
# tests.test_utilities.py is part of The RAMSTK Project
#
# All rights reserved.
# Copyright 2007 - 2017 Doyle Rowland doyle.rowland <AT> reliaqual <DOT> com
"""Test class for testing the Utilities module algorithms and models."""
# Standard Library Im... | 35.737265 | 136 | 0.619805 | 1,585 | 13,330 | 4.90347 | 0.092744 | 0.04439 | 0.046835 | 0.066907 | 0.858338 | 0.841354 | 0.823984 | 0.799794 | 0.773417 | 0.745754 | 0 | 0.004009 | 0.270218 | 13,330 | 372 | 137 | 35.833333 | 0.794922 | 0.117104 | 0 | 0.683099 | 0 | 0 | 0.20782 | 0.016256 | 0 | 0 | 0 | 0 | 0.183099 | 1 | 0.042254 | false | 0 | 0.017606 | 0 | 0.06338 | 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 |
1a7f392205f1d62baeba222018a4c149daa3f7ce | 33 | py | Python | app/html_parser.py | s2t2/omniparser-prep-py | 8528ce9df6976e919968086bb343f5a3c160cde0 | [
"MIT"
] | 1 | 2020-02-18T21:08:42.000Z | 2020-02-18T21:08:42.000Z | app/html_parser.py | s2t2/omniparser-prep-py | 8528ce9df6976e919968086bb343f5a3c160cde0 | [
"MIT"
] | null | null | null | app/html_parser.py | s2t2/omniparser-prep-py | 8528ce9df6976e919968086bb343f5a3c160cde0 | [
"MIT"
] | null | null | null | print("PARSING AN HTML FILE...")
| 16.5 | 32 | 0.666667 | 5 | 33 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 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 |
202e4cbc47d4e4c8d8f580045f2e47007aa40634 | 32 | py | Python | src/greenbudget/lib/utils/__init__.py | nickmflorin/django-proper-architecture-testing | da7c4019697e85f921695144375d2f548f1e98ad | [
"MIT"
] | null | null | null | src/greenbudget/lib/utils/__init__.py | nickmflorin/django-proper-architecture-testing | da7c4019697e85f921695144375d2f548f1e98ad | [
"MIT"
] | null | null | null | src/greenbudget/lib/utils/__init__.py | nickmflorin/django-proper-architecture-testing | da7c4019697e85f921695144375d2f548f1e98ad | [
"MIT"
] | null | null | null | from .builtins import * # noqa
| 16 | 31 | 0.6875 | 4 | 32 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.88 | 0.125 | 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 |
6443e0c6434bd98dc8cf2138075882567a64ec85 | 2,010 | py | Python | test_utils.py | kaarne/splitgram | cdc4a8172f4737b0f4a84277978128b5fb01633f | [
"MIT"
] | 1 | 2022-02-18T11:10:17.000Z | 2022-02-18T11:10:17.000Z | test_utils.py | kaarne/splitgram | cdc4a8172f4737b0f4a84277978128b5fb01633f | [
"MIT"
] | null | null | null | test_utils.py | kaarne/splitgram | cdc4a8172f4737b0f4a84277978128b5fb01633f | [
"MIT"
] | null | null | null | from utils import parse_message, split_costs
def test_parse():
assert parse_message(None) is None
assert parse_message('lorem') is None
assert parse_message('lorem 19.99') is None
assert parse_message('99999') is None
assert parse_message('-99999') is None
assert parse_message(1) is None
... | 45.681818 | 77 | 0.473632 | 326 | 2,010 | 2.819018 | 0.104294 | 0.228509 | 0.348205 | 0.332971 | 0.688792 | 0.652884 | 0.457019 | 0.254625 | 0.254625 | 0.254625 | 0 | 0.139119 | 0.220398 | 2,010 | 43 | 78 | 46.744186 | 0.447352 | 0 | 0 | 0 | 0 | 0 | 0.073134 | 0 | 0 | 0 | 0 | 0 | 0.805556 | 1 | 0.055556 | true | 0 | 0.027778 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
644be25440b0431b083c7883bf82ebafda7f81d2 | 551 | py | Python | review/double_for_loop_list_comprehension.py | Rorima/exercicios-python | ca78e2d2402c2aa90efd95ccaa620c0a8b42444f | [
"MIT"
] | null | null | null | review/double_for_loop_list_comprehension.py | Rorima/exercicios-python | ca78e2d2402c2aa90efd95ccaa620c0a8b42444f | [
"MIT"
] | null | null | null | review/double_for_loop_list_comprehension.py | Rorima/exercicios-python | ca78e2d2402c2aa90efd95ccaa620c0a8b42444f | [
"MIT"
] | null | null | null | """
# Normal for loop
my_list = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
for sub_list in my_list:
for number in sub_list:
print(number)
# List comprehension
my_list = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
numbers = [number for sub_list in my_list for number in sub_list]
for i in numbers: print(i)
# Maybe not a goo... | 23.956522 | 65 | 0.6098 | 112 | 551 | 2.857143 | 0.232143 | 0.15 | 0.0875 | 0.1 | 0.725 | 0.725 | 0.725 | 0.725 | 0.725 | 0.725 | 0 | 0.083527 | 0.217786 | 551 | 22 | 66 | 25.045455 | 0.658933 | 0.785844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
646f70e8f63f172c2d95fc5446123e23196c416e | 140 | py | Python | code/udls/__init__.py | acids-ircam/lottery_mir | 1440d717d7fd688ac43c1a406602aaf2d5a3842d | [
"MIT"
] | 10 | 2020-07-29T23:12:15.000Z | 2022-03-23T16:27:43.000Z | code/udls/__init__.py | acids-ircam/lottery_mir | 1440d717d7fd688ac43c1a406602aaf2d5a3842d | [
"MIT"
] | null | null | null | code/udls/__init__.py | acids-ircam/lottery_mir | 1440d717d7fd688ac43c1a406602aaf2d5a3842d | [
"MIT"
] | 1 | 2022-02-06T11:42:28.000Z | 2022-02-06T11:42:28.000Z | from .base_dataset import SimpleLMDBDataset
from .domain_adaptation import DomainAdaptationDataset
from .simple_dataset import SimpleDataset | 46.666667 | 54 | 0.9 | 15 | 140 | 8.2 | 0.666667 | 0.211382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078571 | 140 | 3 | 55 | 46.666667 | 0.953488 | 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 |
64c5a9c568e03e745ede2eb87d25d2ca722ca61d | 7,121 | gyp | Python | gyp/pixman_test.gyp | Frankie-666/color-emoji.skia | f1634a9952086155b9069d49ab91f1fa43b5ec6a | [
"BSD-3-Clause"
] | 2 | 2017-05-19T08:53:12.000Z | 2017-08-28T11:59:26.000Z | gyp/pixman_test.gyp | Frankie-666/color-emoji.skia | f1634a9952086155b9069d49ab91f1fa43b5ec6a | [
"BSD-3-Clause"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | gyp/pixman_test.gyp | Frankie-666/color-emoji.skia | f1634a9952086155b9069d49ab91f1fa43b5ec6a | [
"BSD-3-Clause"
] | 2 | 2017-08-09T09:03:23.000Z | 2020-05-26T09:14:49.000Z | # GYP file to build unit tests.
{
'includes': [
'apptype_console.gypi',
'common.gypi',
],
'targets': [
{
'target_name': 'pixman_test',
'type': 'executable',
'mac_bundle' : 1,
'defines': [
'HAVE_CONFIG_H',
],
'include_dirs' : [
'../src/core',
... | 40.005618 | 85 | 0.491925 | 709 | 7,121 | 4.911142 | 0.25952 | 0.361861 | 0.268811 | 0.196439 | 0.272832 | 0.078978 | 0 | 0 | 0 | 0 | 0 | 0.00434 | 0.223424 | 7,121 | 177 | 86 | 40.231638 | 0.625316 | 0.353742 | 0 | 0.134454 | 0 | 0 | 0.661532 | 0.567121 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
64ce01c255b10789c6dc0565e482dde551e8eee4 | 4,988 | py | Python | tests/functional/test_user_client.py | orached/itora_tuto | 8de36d834fc7ef2dc8895ec7ac048fb420de76e3 | [
"MIT"
] | null | null | null | tests/functional/test_user_client.py | orached/itora_tuto | 8de36d834fc7ef2dc8895ec7ac048fb420de76e3 | [
"MIT"
] | 3 | 2020-03-24T18:03:03.000Z | 2021-02-02T22:23:27.000Z | tests/functional/test_user_client.py | orached/itora_tuto | 8de36d834fc7ef2dc8895ec7ac048fb420de76e3 | [
"MIT"
] | null | null | null | import pytest
def test_edit_profile(setUp, populate_db):
"""
GIVEN an anonymous User
WHEN he tries to access to profile edition page
THEN he is redirected to login page
"""
response = setUp.get('/edit_profile')
assert response.status_code == 302
response = setUp.get('/edit_profile', fo... | 33.253333 | 85 | 0.6668 | 664 | 4,988 | 4.953313 | 0.159639 | 0.083004 | 0.103983 | 0.091213 | 0.779264 | 0.754941 | 0.711766 | 0.708726 | 0.701429 | 0.659167 | 0 | 0.002362 | 0.236167 | 4,988 | 150 | 86 | 33.253333 | 0.860892 | 0.113673 | 0 | 0.516129 | 0 | 0 | 0.284386 | 0 | 0 | 0 | 0 | 0 | 0.274194 | 1 | 0.064516 | false | 0.080645 | 0.016129 | 0 | 0.080645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b3a480dfb1c245c67d204cd0f5a6d6680af79046 | 381 | py | Python | rasa_chinese/nlu/__init__.py | wegylexy/rasa_chinese | 76ecd8b6bc7b518b9d8c416668fa2a0ad75bdd37 | [
"Apache-2.0"
] | 80 | 2020-12-28T06:33:01.000Z | 2022-03-30T09:02:19.000Z | rasa_chinese/nlu/__init__.py | AlexAuthor7/rasa_chinese | 76ecd8b6bc7b518b9d8c416668fa2a0ad75bdd37 | [
"Apache-2.0"
] | 4 | 2021-08-20T10:30:22.000Z | 2022-03-14T05:43:22.000Z | rasa_chinese/nlu/__init__.py | AlexAuthor7/rasa_chinese | 76ecd8b6bc7b518b9d8c416668fa2a0ad75bdd37 | [
"Apache-2.0"
] | 24 | 2020-12-28T08:36:17.000Z | 2022-03-29T11:11:41.000Z | from rasa_chinese.nlu.tokenizers import LanguageModelTokenizer
from rasa_chinese.nlu.featurizers import BertTextFeaturizer, BertCharFeaturizer
from rasa_chinese.nlu.extractors import BilstmCrfTensorFlowEntityExtractor
from rasa_chinese.nlu.classifiers import TextCnnTensorFlowClassifier, DenseNetworkTensorFlowClassifier... | 63.5 | 102 | 0.905512 | 38 | 381 | 8.947368 | 0.473684 | 0.117647 | 0.220588 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060367 | 381 | 5 | 103 | 76.2 | 0.949721 | 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 |
b3e453e48d6aa2c3047c8c08381560a0912905e4 | 931 | py | Python | correct_python_programs/find_first_in_sorted.py | PatrickShaw/QuixBugs | 5a2eb2987fdac12860b526ffa92a57e5831fd639 | [
"MIT"
] | 22 | 2018-01-29T01:56:30.000Z | 2022-03-21T12:25:40.000Z | correct_python_programs/find_first_in_sorted.py | zixifan/QuixBugs | 5a2eb2987fdac12860b526ffa92a57e5831fd639 | [
"MIT"
] | 31 | 2017-12-18T21:04:34.000Z | 2022-02-21T07:38:09.000Z | correct_python_programs/find_first_in_sorted.py | zixifan/QuixBugs | 5a2eb2987fdac12860b526ffa92a57e5831fd639 | [
"MIT"
] | 19 | 2018-01-06T14:18:33.000Z | 2022-03-21T12:25:43.000Z |
def find_first_in_sorted(arr, x):
lo = 0
hi = len(arr)
while lo < hi:
mid = (lo + hi) // 2
if x == arr[mid] and (mid == 0 or x != arr[mid - 1]):
return mid
elif x <= arr[mid]:
hi = mid
else:
lo = mid + 1
return -1
"""
def find_fi... | 16.051724 | 61 | 0.398496 | 137 | 931 | 2.642336 | 0.153285 | 0.099448 | 0.174033 | 0.116022 | 0.994475 | 0.994475 | 0.994475 | 0.994475 | 0.994475 | 0.994475 | 0 | 0.03992 | 0.461869 | 931 | 57 | 62 | 16.333333 | 0.682635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.25 | 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 |
3778f689c2fa9b1e20b9906365d2728570133b57 | 165 | py | Python | temboo/core/Library/Google/Gmailv2/Attachments/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Google/Gmailv2/Attachments/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Google/Gmailv2/Attachments/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Google.Gmailv2.Attachments.GetAttachment import GetAttachment, GetAttachmentInputSet, GetAttachmentResultSet, GetAttachmentChoreographyExecution
| 82.5 | 164 | 0.909091 | 12 | 165 | 12.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.042424 | 165 | 1 | 165 | 165 | 0.943038 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
37bfa95565a184fa817c3a14829ffc6b57be54f2 | 1,707 | py | Python | Curso-em-video/Aula_102.py | JhonAI13/Curso_python | 27dedb0effa2c26140f46392e993b8e7a27d6eb3 | [
"MIT"
] | null | null | null | Curso-em-video/Aula_102.py | JhonAI13/Curso_python | 27dedb0effa2c26140f46392e993b8e7a27d6eb3 | [
"MIT"
] | null | null | null | Curso-em-video/Aula_102.py | JhonAI13/Curso_python | 27dedb0effa2c26140f46392e993b8e7a27d6eb3 | [
"MIT"
] | null | null | null | # """ 102: Crie um programa que tenha uma função fatorial() que receba dois parâmetros:
# o primeiro que indique o número a calcular e outro chamado show, que será um valor
# lógico (opcional) indicando se será mostrado ou não na tela o processo de cálculo do fatorial."""
#
#
# def fatorial(n, show=False):
# """... | 27.532258 | 101 | 0.537786 | 238 | 1,707 | 3.857143 | 0.289916 | 0.039216 | 0.035948 | 0.022876 | 0.805011 | 0.795207 | 0.753813 | 0.753813 | 0.716776 | 0.716776 | 0 | 0.015557 | 0.322203 | 1,707 | 61 | 102 | 27.983607 | 0.777874 | 0.746924 | 0 | 0 | 0 | 0 | 0.016484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.142857 | 0.357143 | 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 |
80b70ae0a897a32464af41608c3d43ab3ab75ff6 | 112 | py | Python | myflaskapp/dashboard/utils.py | RubyHome/Parking-Dev | 20f5e1c44160ecc80b65ef0df63f1cd96e2de564 | [
"BSD-3-Clause"
] | null | null | null | myflaskapp/dashboard/utils.py | RubyHome/Parking-Dev | 20f5e1c44160ecc80b65ef0df63f1cd96e2de564 | [
"BSD-3-Clause"
] | null | null | null | myflaskapp/dashboard/utils.py | RubyHome/Parking-Dev | 20f5e1c44160ecc80b65ef0df63f1cd96e2de564 | [
"BSD-3-Clause"
] | null | null | null | import time
def timestamp():
"""Return the current timestamp as an integer."""
return int(time.time())
| 18.666667 | 53 | 0.669643 | 15 | 112 | 5 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 112 | 5 | 54 | 22.4 | 0.833333 | 0.383929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
039cc1e6af2a53fe9969ccda01bf2c70d70fc648 | 101 | py | Python | test/test_example.py | freakleesin/CSC510-Group35-p1 | 554dd1e68e2da8da06b2b4a1154193038a48e0cc | [
"MIT"
] | null | null | null | test/test_example.py | freakleesin/CSC510-Group35-p1 | 554dd1e68e2da8da06b2b4a1154193038a48e0cc | [
"MIT"
] | null | null | null | test/test_example.py | freakleesin/CSC510-Group35-p1 | 554dd1e68e2da8da06b2b4a1154193038a48e0cc | [
"MIT"
] | 2 | 2021-08-29T19:17:04.000Z | 2021-08-29T19:56:11.000Z | from code.myfunc import mymul
# content of setup.py
def test_answer():
assert mymul(3, 4) == 12
| 16.833333 | 29 | 0.693069 | 17 | 101 | 4.058824 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 0.19802 | 101 | 5 | 30 | 20.2 | 0.802469 | 0.188119 | 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 |
03b929ebbde0de84dff53c4f36912142134ad027 | 984 | py | Python | result.py | lidongyv/Reppoint-Tracking | 81b81e921f6b905e68aba117ffc4fca8ffcfcfd6 | [
"MIT"
] | null | null | null | result.py | lidongyv/Reppoint-Tracking | 81b81e921f6b905e68aba117ffc4fca8ffcfcfd6 | [
"MIT"
] | null | null | null | result.py | lidongyv/Reppoint-Tracking | 81b81e921f6b905e68aba117ffc4fca8ffcfcfd6 | [
"MIT"
] | null | null | null | reppoints_moment_r101_dcn_fpn_2x.pth
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.416
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.620
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.453
Average Precision (AP) @[ IoU=0.50:0.95 | are... | 75.692308 | 78 | 0.607724 | 171 | 984 | 3.467836 | 0.222222 | 0.080944 | 0.111298 | 0.118044 | 0.876897 | 0.779089 | 0.738617 | 0.738617 | 0.738617 | 0.541315 | 0 | 0.194839 | 0.212398 | 984 | 13 | 79 | 75.692308 | 0.570323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
03e34dfe542a961ff776e7485c6352a8e1796794 | 35 | py | Python | center/app/networker/processors/__init__.py | netSensTeam/netSens | 7ab5f41a7103e6c86aa6cb2eff3df68c301e48c1 | [
"MIT"
] | null | null | null | center/app/networker/processors/__init__.py | netSensTeam/netSens | 7ab5f41a7103e6c86aa6cb2eff3df68c301e48c1 | [
"MIT"
] | 3 | 2021-05-10T13:50:55.000Z | 2022-03-02T08:12:46.000Z | center/app/networker/processors/__init__.py | netSensTeam/netSens | 7ab5f41a7103e6c86aa6cb2eff3df68c301e48c1 | [
"MIT"
] | null | null | null | from processors._processor import * | 35 | 35 | 0.857143 | 4 | 35 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.90625 | 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 |
03e99a1e90e85456a76ee060598c0fae8af109ea | 175 | py | Python | storage_integration/storage_integration/doctype/storage_integration_settings/test_storage_integration_settings.py | rutwikhdev/storage_integration | 0765a6506d703404a8d6df2d5a6920b6ab7f8cf3 | [
"MIT"
] | 8 | 2022-02-25T13:29:08.000Z | 2022-03-25T12:42:34.000Z | storage_integration/storage_integration/doctype/storage_integration_settings/test_storage_integration_settings.py | rutwikhdev/storage_integration | 0765a6506d703404a8d6df2d5a6920b6ab7f8cf3 | [
"MIT"
] | 1 | 2022-03-28T07:47:16.000Z | 2022-03-28T07:47:16.000Z | storage_integration/storage_integration/doctype/storage_integration_settings/test_storage_integration_settings.py | rutwikhdev/storage_integration | 0765a6506d703404a8d6df2d5a6920b6ab7f8cf3 | [
"MIT"
] | 6 | 2022-02-25T19:28:05.000Z | 2022-03-26T03:00:49.000Z | # Copyright (c) 2022, Frappe Technologies and Contributors
# See license.txt
# import frappe
import unittest
class TestStorageIntegrationSettings(unittest.TestCase):
pass
| 17.5 | 58 | 0.805714 | 19 | 175 | 7.421053 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.131429 | 175 | 9 | 59 | 19.444444 | 0.901316 | 0.491429 | 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 |
ff1a7a3dfb9aad253083dc13c885793d10881850 | 148 | py | Python | behave/shut_down.py | flavioesposito/BeA | 1f5f8b60f17940d2da96b699f0391b0febf771aa | [
"MIT"
] | null | null | null | behave/shut_down.py | flavioesposito/BeA | 1f5f8b60f17940d2da96b699f0391b0febf771aa | [
"MIT"
] | null | null | null | behave/shut_down.py | flavioesposito/BeA | 1f5f8b60f17940d2da96b699f0391b0febf771aa | [
"MIT"
] | 2 | 2018-04-18T17:54:34.000Z | 2022-02-09T07:34:34.000Z | import os
os.system('iptables -F')
os.system('iptables -P INPUT DROP')
os.system('iptables -P OUTPUT DROP')
os.system('iptables -P FORWARD DROP')
| 18.5 | 37 | 0.716216 | 24 | 148 | 4.416667 | 0.416667 | 0.301887 | 0.603774 | 0.481132 | 0.396226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 148 | 7 | 38 | 21.142857 | 0.815385 | 0 | 0 | 0 | 0 | 0 | 0.544218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
206748826295bfc6444c78bf2ca217bcac7925e5 | 179 | py | Python | django_app/myapp/views.py | bb-k8/docker-examples | 77f9c78e714b2888554eba8a706e72388d272813 | [
"MIT"
] | null | null | null | django_app/myapp/views.py | bb-k8/docker-examples | 77f9c78e714b2888554eba8a706e72388d272813 | [
"MIT"
] | null | null | null | django_app/myapp/views.py | bb-k8/docker-examples | 77f9c78e714b2888554eba8a706e72388d272813 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(req):
return HttpResponse("Simple django app running in docker!") | 29.833333 | 63 | 0.787709 | 25 | 179 | 5.64 | 0.8 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145251 | 179 | 6 | 63 | 29.833333 | 0.921569 | 0.128492 | 0 | 0 | 0 | 0 | 0.232258 | 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 |
207cd22c5687f57b81f327add04366de1f8a9887 | 337 | py | Python | benwaonline/entities/__init__.py | goosechooser/benwaonline | e2879412aa6c3c230d25cd60072445165517b6b6 | [
"MIT"
] | null | null | null | benwaonline/entities/__init__.py | goosechooser/benwaonline | e2879412aa6c3c230d25cd60072445165517b6b6 | [
"MIT"
] | 16 | 2017-09-13T10:21:40.000Z | 2020-06-01T04:32:22.000Z | benwaonline/entities/__init__.py | goosechooser/benwaonline | e2879412aa6c3c230d25cd60072445165517b6b6 | [
"MIT"
] | null | null | null | from benwaonline.entities.entity import Entity
from benwaonline.entities.user import User, UserLike
from benwaonline.entities.post import Post, PostLike
from benwaonline.entities.image import Image
from benwaonline.entities.preview import Preview
from benwaonline.entities.comment import Comment
from benwaonline.entitie... | 42.125 | 52 | 0.863501 | 44 | 337 | 6.613636 | 0.295455 | 0.360825 | 0.553265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089021 | 337 | 7 | 53 | 48.142857 | 0.947883 | 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 |
2082be6bb1dea61d467001aaa1227df81da27fc8 | 111 | py | Python | Pytorch/Visualization/style_modules/__init__.py | Kuga23/Deep-Learning | 86980338208c702b6bfcbcfffdb18498e389a56b | [
"MIT"
] | null | null | null | Pytorch/Visualization/style_modules/__init__.py | Kuga23/Deep-Learning | 86980338208c702b6bfcbcfffdb18498e389a56b | [
"MIT"
] | null | null | null | Pytorch/Visualization/style_modules/__init__.py | Kuga23/Deep-Learning | 86980338208c702b6bfcbcfffdb18498e389a56b | [
"MIT"
] | null | null | null | from .content_loss import ContentLoss
from .style_loss import StyleLoss
from .tv_loss import TotalVariationLoss | 37 | 39 | 0.873874 | 15 | 111 | 6.266667 | 0.6 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099099 | 111 | 3 | 39 | 37 | 0.94 | 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 |
209a0ecb142d4792642ac90414642641cfca60a8 | 30 | py | Python | tests/test_prompts_input.py | lichensky/PyInquirer | 31f4da76bbbf73585a14819aaabe9fe3432e721d | [
"MIT"
] | 1,587 | 2018-06-14T03:05:42.000Z | 2022-03-31T17:51:51.000Z | tests/test_prompts_input.py | lichensky/PyInquirer | 31f4da76bbbf73585a14819aaabe9fe3432e721d | [
"MIT"
] | 131 | 2018-06-27T12:38:34.000Z | 2022-03-09T16:26:27.000Z | tests/test_prompts_input.py | lichensky/PyInquirer | 31f4da76bbbf73585a14819aaabe9fe3432e721d | [
"MIT"
] | 257 | 2018-07-03T13:47:08.000Z | 2022-03-24T19:49:46.000Z | # TODO tests from Inquirer.js
| 15 | 29 | 0.766667 | 5 | 30 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.92 | 0.9 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20ade8236dabd1bf4e1582cff78807a8d4b0ae1b | 130 | py | Python | src/main.py | WannaHeal/line-lottery-numbers-sender | f20dddd8c92aeae17db0c4689f752fa050c58592 | [
"MIT"
] | null | null | null | src/main.py | WannaHeal/line-lottery-numbers-sender | f20dddd8c92aeae17db0c4689f752fa050c58592 | [
"MIT"
] | null | null | null | src/main.py | WannaHeal/line-lottery-numbers-sender | f20dddd8c92aeae17db0c4689f752fa050c58592 | [
"MIT"
] | null | null | null | from services.sender import send_message_to_users
def run():
send_message_to_users()
if __name__ == "__main__":
run()
| 13 | 49 | 0.715385 | 18 | 130 | 4.388889 | 0.722222 | 0.278481 | 0.329114 | 0.455696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 130 | 9 | 50 | 14.444444 | 0.745283 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20b9290111d074abdabf01c189a3f55fa600e8e5 | 102 | py | Python | tests/test_package.py | ValidereInc/pyomnisci | c28d680fe589091beeafb4f6bdc4e63d016b3ad2 | [
"Apache-2.0"
] | 7 | 2021-02-05T17:00:21.000Z | 2022-02-04T20:55:14.000Z | tests/test_package.py | ValidereInc/pyomnisci | c28d680fe589091beeafb4f6bdc4e63d016b3ad2 | [
"Apache-2.0"
] | 19 | 2021-01-14T18:48:13.000Z | 2022-01-13T00:26:22.000Z | tests/test_package.py | ValidereInc/pyomnisci | c28d680fe589091beeafb4f6bdc4e63d016b3ad2 | [
"Apache-2.0"
] | 8 | 2020-11-18T01:58:36.000Z | 2022-01-27T19:45:50.000Z | import pyomnisci
def test_versioning():
assert pyomnisci.__version__ not in (None, "", "0.0.0")
| 17 | 59 | 0.696078 | 14 | 102 | 4.714286 | 0.785714 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.166667 | 102 | 5 | 60 | 20.4 | 0.741176 | 0 | 0 | 0 | 0 | 0 | 0.04902 | 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 |
20e3efe13db623823148de6c0dffef19e5cb93d7 | 2,471 | py | Python | descarteslabs/workflows/types/numpy/__init__.py | carderne/descarteslabs-python | 757b480efb8d58474a3bf07f1dbd90652b46ed64 | [
"Apache-2.0"
] | 167 | 2017-03-23T22:16:58.000Z | 2022-03-08T09:19:30.000Z | descarteslabs/workflows/types/numpy/__init__.py | carderne/descarteslabs-python | 757b480efb8d58474a3bf07f1dbd90652b46ed64 | [
"Apache-2.0"
] | 93 | 2017-03-23T22:11:40.000Z | 2021-12-13T18:38:53.000Z | descarteslabs/workflows/types/numpy/__init__.py | carderne/descarteslabs-python | 757b480efb8d58474a3bf07f1dbd90652b46ed64 | [
"Apache-2.0"
] | 46 | 2017-03-25T19:12:14.000Z | 2021-08-15T18:04:29.000Z | from . import linalg
from . import ma
from ..array import Array
from .numpy_ufuncs import (
add,
subtract,
multiply,
divide,
logaddexp,
logaddexp2,
true_divide,
floor_divide,
negative,
power,
float_power,
remainder,
mod,
conj,
conjugate,
exp,
exp2,
... | 13.576923 | 37 | 0.508296 | 226 | 2,471 | 5.376106 | 0.402655 | 0.017284 | 0.031276 | 0.041152 | 0.83786 | 0.83786 | 0.83786 | 0.83786 | 0.83786 | 0.83786 | 0 | 0.01243 | 0.348847 | 2,471 | 181 | 38 | 13.651934 | 0.742697 | 0.014974 | 0 | 0 | 0 | 0 | 0.220576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02907 | 0 | 0.02907 | 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 |
20e50f0f6c79248e2ebeb380b2fde0e5a134529d | 31 | py | Python | languages/python/modelfox/__init__.py | OneToolsCollection/tangramdotdev-tangram | 666343a87b88a1c1b34a4be2298f6aa54f0fc2eb | [
"MIT"
] | null | null | null | languages/python/modelfox/__init__.py | OneToolsCollection/tangramdotdev-tangram | 666343a87b88a1c1b34a4be2298f6aa54f0fc2eb | [
"MIT"
] | null | null | null | languages/python/modelfox/__init__.py | OneToolsCollection/tangramdotdev-tangram | 666343a87b88a1c1b34a4be2298f6aa54f0fc2eb | [
"MIT"
] | null | null | null | from .modelfox_python import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20f45386089ad8915d2f57079f192463c2332038 | 5,896 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtGui/QTabWidget.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QTabWidget.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QTabWidget.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtGui
# from C:\Python27\lib\site-packages\PySide\QtGui.pyd
# by generator 1.147
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
import Shiboken as __Shiboken
from QWidget import QWidget
class QTabWidget(QWidget):
# no doc
def addTab(self, *args, **kwargs): # rea... | 28.621359 | 106 | 0.639925 | 653 | 5,896 | 5.739663 | 0.183767 | 0.201174 | 0.309498 | 0.273746 | 0.664088 | 0.648879 | 0.648879 | 0.638741 | 0.03762 | 0 | 0 | 0.004524 | 0.25017 | 5,896 | 205 | 107 | 28.760976 | 0.843248 | 0.305122 | 0 | 0.446154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.446154 | false | 0.446154 | 0.023077 | 0 | 0.546154 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
459d10542e982bd5946e7d3d73ff426e8c8ee10b | 10,739 | py | Python | homePage/views/create_a_char.py | bmackley/history | cddf1405f23c98702f2c5b4c02571b5cc20a449a | [
"Apache-2.0"
] | null | null | null | homePage/views/create_a_char.py | bmackley/history | cddf1405f23c98702f2c5b4c02571b5cc20a449a | [
"Apache-2.0"
] | null | null | null | homePage/views/create_a_char.py | bmackley/history | cddf1405f23c98702f2c5b4c02571b5cc20a449a | [
"Apache-2.0"
] | null | null | null | from django import forms
from django.conf import settings
from django.http import HttpResponse, HttpResponseRedirect, Http404
from django.contrib.auth import authenticate, login
from homePage import models as m
from . import templater
import glob
def process_request(request):
from django import forms
from django.c... | 25.149883 | 69 | 0.684794 | 1,706 | 10,739 | 4.150059 | 0.196366 | 0.266949 | 0.057203 | 0.101695 | 0.768362 | 0.768362 | 0.765113 | 0.765113 | 0.765113 | 0.513418 | 0 | 0.132651 | 0.181488 | 10,739 | 426 | 70 | 25.20892 | 0.67281 | 0.019182 | 0 | 0.71159 | 0 | 0 | 0.163816 | 0.150513 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005391 | false | 0 | 0.037736 | 0 | 0.045822 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
45b34c1d3fbbe1110848c2478bbd09217e0f64ef | 22,678 | py | Python | test/test_data_elements.py | crazynayan/tpf3 | a17b82e7c6eb1c9237af9388fb3e7b18a213f50b | [
"MIT"
] | null | null | null | test/test_data_elements.py | crazynayan/tpf3 | a17b82e7c6eb1c9237af9388fb3e7b18a213f50b | [
"MIT"
] | 1 | 2021-06-02T00:47:09.000Z | 2021-06-02T00:47:09.000Z | test/test_data_elements.py | crazynayan/tpf3 | a17b82e7c6eb1c9237af9388fb3e7b18a213f50b | [
"MIT"
] | null | null | null | from copy import deepcopy
from typing import List, Tuple
from requests.utils import quote
from config import config
from test import TestAPI
class OutputRegisters(TestAPI):
def setUp(self) -> None:
self.test_data: dict = self.get_sample_test_data()
self.reg_updated: bool = False
def tearDo... | 51.076577 | 120 | 0.644369 | 3,022 | 22,678 | 4.622105 | 0.052614 | 0.111111 | 0.073883 | 0.076174 | 0.920891 | 0.905713 | 0.878436 | 0.86333 | 0.83541 | 0.795246 | 0 | 0.031013 | 0.192389 | 22,678 | 443 | 121 | 51.191874 | 0.731641 | 0.007188 | 0 | 0.529412 | 0 | 0.005602 | 0.249245 | 0.180958 | 0 | 0 | 0 | 0 | 0.282913 | 1 | 0.196078 | false | 0 | 0.014006 | 0 | 0.229692 | 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 |
45bee478e5a166be9cec6d292d6f4fb82e64ddfa | 133 | py | Python | syft/frameworks/torch/__init__.py | antonrd/PySyft | c23d17022fc83774119b737059aed3d5e3dff20b | [
"Apache-2.0"
] | null | null | null | syft/frameworks/torch/__init__.py | antonrd/PySyft | c23d17022fc83774119b737059aed3d5e3dff20b | [
"Apache-2.0"
] | null | null | null | syft/frameworks/torch/__init__.py | antonrd/PySyft | c23d17022fc83774119b737059aed3d5e3dff20b | [
"Apache-2.0"
] | null | null | null | from . import hook_args
from . import tensors
from . import federated
from . import differential_privacy
from .hook import TorchHook
| 22.166667 | 34 | 0.81203 | 18 | 133 | 5.888889 | 0.5 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150376 | 133 | 5 | 35 | 26.6 | 0.938053 | 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 |
45cbb4e26286c0ae8832cf175df8541c3f547d73 | 241 | py | Python | zcrmsdk/src/com/zoho/crm/api/dc/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | zcrmsdk/src/com/zoho/crm/api/dc/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | zcrmsdk/src/com/zoho/crm/api/dc/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | from .au_data_center import AUDataCenter
from .cn_data_center import CNDataCenter
from .data_center import DataCenter
from .eu_data_center import EUDataCenter
from .in_data_center import INDataCenter
from .us_data_center import USDataCenter
| 34.428571 | 40 | 0.875519 | 35 | 241 | 5.714286 | 0.428571 | 0.3 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099585 | 241 | 6 | 41 | 40.166667 | 0.921659 | 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 |
45d7b36587ca0e172a727eeec4826e7953a8a1c5 | 29 | py | Python | pg_check/__init__.py | rleitemayermore-godaddy/pgsql_proxy_checker | 9cf7f540622464b007a9735d7f9fa775156daea2 | [
"BSD-3-Clause"
] | null | null | null | pg_check/__init__.py | rleitemayermore-godaddy/pgsql_proxy_checker | 9cf7f540622464b007a9735d7f9fa775156daea2 | [
"BSD-3-Clause"
] | null | null | null | pg_check/__init__.py | rleitemayermore-godaddy/pgsql_proxy_checker | 9cf7f540622464b007a9735d7f9fa775156daea2 | [
"BSD-3-Clause"
] | null | null | null | from .pg_check import PgCheck | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afd7e3a748d5eb7c86a629467bdfa6b6b2e3d424 | 19,865 | py | Python | dragonflow/controller/apps/sfc_mpls_driver.py | qianyuqiao/dragonflow | 0f154d4f794b02ac5b7fd61a3417d89e7b10912d | [
"Apache-2.0"
] | null | null | null | dragonflow/controller/apps/sfc_mpls_driver.py | qianyuqiao/dragonflow | 0f154d4f794b02ac5b7fd61a3417d89e7b10912d | [
"Apache-2.0"
] | null | null | null | dragonflow/controller/apps/sfc_mpls_driver.py | qianyuqiao/dragonflow | 0f154d4f794b02ac5b7fd61a3417d89e7b10912d | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | 38.055556 | 79 | 0.553687 | 2,116 | 19,865 | 4.784972 | 0.104915 | 0.056691 | 0.052642 | 0.054519 | 0.842765 | 0.827259 | 0.78321 | 0.744 | 0.732642 | 0.68879 | 0 | 0.002114 | 0.380821 | 19,865 | 521 | 80 | 38.128599 | 0.821057 | 0.046766 | 0 | 0.696833 | 0 | 0 | 0.006557 | 0.002221 | 0 | 0 | 0 | 0.001919 | 0 | 1 | 0.070136 | false | 0 | 0.011312 | 0.015837 | 0.115385 | 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 |
2fda7227aee9118033d6a354546099fcaaf10a38 | 42 | py | Python | src/err.py | rome2rio/TokyoGTFS | c641529cd4e1d84692e85060dacb710270bc235f | [
"MIT"
] | 10 | 2018-10-24T13:49:18.000Z | 2022-02-06T22:58:34.000Z | src/err.py | rome2rio/TokyoGTFS | c641529cd4e1d84692e85060dacb710270bc235f | [
"MIT"
] | null | null | null | src/err.py | rome2rio/TokyoGTFS | c641529cd4e1d84692e85060dacb710270bc235f | [
"MIT"
] | 6 | 2019-04-17T03:57:29.000Z | 2021-01-26T11:44:53.000Z | class DataAssertion(ValueError):
pass
| 14 | 32 | 0.761905 | 4 | 42 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 33 | 21 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2fe77d8442e9e6b9161ccca2bfeb8070e1f3e766 | 57 | py | Python | libs/annea_foo/src/annea_foo/__init__.py | annea-ai/python-framework | d24fb5fa20c534c7451513eb2a08bb55907b7857 | [
"MIT"
] | null | null | null | libs/annea_foo/src/annea_foo/__init__.py | annea-ai/python-framework | d24fb5fa20c534c7451513eb2a08bb55907b7857 | [
"MIT"
] | null | null | null | libs/annea_foo/src/annea_foo/__init__.py | annea-ai/python-framework | d24fb5fa20c534c7451513eb2a08bb55907b7857 | [
"MIT"
] | null | null | null | from .example import print_joke # pylint: disable=E0401
| 28.5 | 56 | 0.789474 | 8 | 57 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0.140351 | 57 | 1 | 57 | 57 | 0.816327 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 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 |
64080893042fe03d07506d2810e9121b5f68f24b | 44 | py | Python | bin/pycid/__init__.py | runborg/pycid | dd0379592ca2cd5c78ad9bf40917f4bfa9c0ef0c | [
"MIT"
] | null | null | null | bin/pycid/__init__.py | runborg/pycid | dd0379592ca2cd5c78ad9bf40917f4bfa9c0ef0c | [
"MIT"
] | null | null | null | bin/pycid/__init__.py | runborg/pycid | dd0379592ca2cd5c78ad9bf40917f4bfa9c0ef0c | [
"MIT"
] | null | null | null | import mfnmatch
from loginrc import loginrc
| 14.666667 | 27 | 0.863636 | 6 | 44 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 2 | 28 | 22 | 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 |
6421c677c4853c692cd2a45f7af1d3aa50c0928d | 3,484 | py | Python | MainGenerator.py | rexliu3/MineSweeper | e9c0751ed95d22f0042122dec5b7a5d1c8871fae | [
"MIT"
] | null | null | null | MainGenerator.py | rexliu3/MineSweeper | e9c0751ed95d22f0042122dec5b7a5d1c8871fae | [
"MIT"
] | null | null | null | MainGenerator.py | rexliu3/MineSweeper | e9c0751ed95d22f0042122dec5b7a5d1c8871fae | [
"MIT"
] | null | null | null | from random import randint
def can_place(row, column, notRow, notColumn, numRows, numColumns):
# Returns True if can place there
if row == notRow or column == notColumn:
return False
if row != 0 and column != 0 and notRow == row - 1 and notColumn == column - 1:
return False
if row != 0... | 42.487805 | 105 | 0.609644 | 386 | 3,484 | 5.489637 | 0.101036 | 0.152902 | 0.107598 | 0.198207 | 0.821614 | 0.813119 | 0.794714 | 0.728646 | 0.666824 | 0.666824 | 0 | 0.036708 | 0.288462 | 3,484 | 81 | 106 | 43.012346 | 0.818072 | 0.008898 | 0 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046875 | false | 0 | 0.015625 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
643e2a960cdf0bbd447bcc29cd9eb2fc4ac7ca4b | 1,236 | py | Python | tests/test_windows.py | ThatXliner/userpath | fb29f5a7049d9bc84729d2c2b5a893253e1d8eaa | [
"Apache-2.0",
"MIT"
] | 111 | 2017-09-21T02:02:55.000Z | 2022-02-07T14:53:20.000Z | tests/test_windows.py | ThatXliner/userpath | fb29f5a7049d9bc84729d2c2b5a893253e1d8eaa | [
"Apache-2.0",
"MIT"
] | 30 | 2017-09-21T11:54:03.000Z | 2022-03-14T15:53:23.000Z | tests/test_windows.py | ThatXliner/userpath | fb29f5a7049d9bc84729d2c2b5a893253e1d8eaa | [
"Apache-2.0",
"MIT"
] | 19 | 2017-09-21T08:59:55.000Z | 2021-12-25T20:39:31.000Z | import pytest
import userpath
from .utils import ON_WINDOWS_CI, get_random_path
pytestmark = pytest.mark.skipif(not ON_WINDOWS_CI, reason='Tests only for throwaway Windows VMs on CI')
def test_prepend():
location = get_random_path()
assert not userpath.in_current_path(location)
assert userpath.prepend(l... | 31.692308 | 103 | 0.778317 | 166 | 1,236 | 5.506024 | 0.222892 | 0.183807 | 0.099562 | 0.083151 | 0.768053 | 0.768053 | 0.768053 | 0.768053 | 0.768053 | 0.768053 | 0 | 0 | 0.139968 | 1,236 | 38 | 104 | 32.526316 | 0.859831 | 0 | 0 | 0.571429 | 0 | 0 | 0.033981 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.142857 | false | 0 | 0.107143 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ff8cda8091eb9ac1faf7eefbc023d55f44c577bc | 5,433 | py | Python | tests/fields/test_o2o_with_unique.py | blazing-gig/tortoise-orm | 811bbcb12c702c5f45e3d86ce6e0b2ab386459df | [
"Apache-2.0"
] | 2,847 | 2018-08-27T12:02:21.000Z | 2022-03-31T01:30:40.000Z | tests/fields/test_o2o_with_unique.py | Tomes111/tortoise-orm | 8b55499a228e44f33fec9099f4d559c77c73beb7 | [
"Apache-2.0"
] | 983 | 2018-08-24T16:42:41.000Z | 2022-03-30T05:14:49.000Z | tests/fields/test_o2o_with_unique.py | Tomes111/tortoise-orm | 8b55499a228e44f33fec9099f4d559c77c73beb7 | [
"Apache-2.0"
] | 323 | 2018-09-04T23:38:42.000Z | 2022-03-31T06:49:17.000Z | from tests import testmodels
from tortoise.contrib import test
from tortoise.exceptions import IntegrityError, OperationalError
from tortoise.queryset import QuerySet
class TestOneToOneFieldWithUnique(test.TestCase):
async def test_principal__empty(self):
with self.assertRaises(IntegrityError):
... | 51.742857 | 98 | 0.726118 | 643 | 5,433 | 6.021773 | 0.099533 | 0.135589 | 0.123967 | 0.108471 | 0.848141 | 0.818698 | 0.740444 | 0.734246 | 0.708419 | 0.637397 | 0 | 0.020404 | 0.170072 | 5,433 | 104 | 99 | 52.240385 | 0.838323 | 0 | 0 | 0.552941 | 0 | 0 | 0.070495 | 0 | 0 | 0 | 0 | 0 | 0.282353 | 1 | 0 | false | 0 | 0.047059 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ff997edd9351db4ffb5a26bb71c5a55ce775b90e | 487 | py | Python | PyTeacher/bgui/text/__init__.py | Banshee1221/PyRob | 4a35976cffe519480b90c3b967949c659d00fbfd | [
"MIT"
] | 40 | 2015-02-04T02:38:12.000Z | 2022-01-31T03:14:35.000Z | src/upbgui/text/__init__.py | ShaunKulesa/UPBGUI | 487d68de7a2b083648a16b1675832ff43f0ee4a2 | [
"MIT"
] | 2 | 2018-08-25T16:28:19.000Z | 2021-12-19T12:56:47.000Z | src/upbgui/text/__init__.py | ShaunKulesa/UPBGUI | 487d68de7a2b083648a16b1675832ff43f0ee4a2 | [
"MIT"
] | 17 | 2015-02-05T00:02:56.000Z | 2022-01-11T21:51:49.000Z | import abc
#TODO: This just follows the blf interface, which isn't very Pythonic
class TextLibrary:
"""Class for handling text drawing. """
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def load(self, filename):
pass
@abc.abstractmethod
def draw(self, fontid, text):
pass
@abc.abstractmethod
def dim... | 16.793103 | 69 | 0.718686 | 66 | 487 | 5.242424 | 0.560606 | 0.245665 | 0.289017 | 0.277457 | 0.219653 | 0.219653 | 0.219653 | 0 | 0 | 0 | 0 | 0 | 0.176591 | 487 | 29 | 70 | 16.793103 | 0.862843 | 0.223819 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 1 | 0.277778 | false | 0.277778 | 0.055556 | 0 | 0.444444 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ff9adcf1892a4996060543246a43e6eebbade856 | 22,655 | py | Python | pymaster/workspaces.py | DanielLenz/NaMaster | fb329b70e7a2f4cea5411abf80122746afed27f2 | [
"BSD-3-Clause"
] | null | null | null | pymaster/workspaces.py | DanielLenz/NaMaster | fb329b70e7a2f4cea5411abf80122746afed27f2 | [
"BSD-3-Clause"
] | null | null | null | pymaster/workspaces.py | DanielLenz/NaMaster | fb329b70e7a2f4cea5411abf80122746afed27f2 | [
"BSD-3-Clause"
] | null | null | null | from pymaster import nmtlib as lib
import numpy as np
class NmtWorkspace(object):
"""
NmtWorkspace objects are used to compute and store the coupling matrix associated with an incomplete sky coverage, and used in the MASTER algorithm. When initialized, this object is practically empty. The information describ... | 46.42418 | 481 | 0.655087 | 3,478 | 22,655 | 4.155837 | 0.093445 | 0.034385 | 0.012592 | 0.012177 | 0.839768 | 0.814723 | 0.79369 | 0.762626 | 0.733361 | 0.711222 | 0 | 0.019204 | 0.252968 | 22,655 | 487 | 482 | 46.519507 | 0.83485 | 0.483072 | 0 | 0.604317 | 0 | 0 | 0.095513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082734 | false | 0 | 0.007194 | 0 | 0.140288 | 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 |
ffa83f6beb945dc27d951d3f1d8f5e5ab3699c7d | 18,476 | py | Python | test/test_files/pylops/pytests/test_basicoperators.py | SoftwareUnderstanding/inspect4py | 9c4d7252535082ad938b26baf281d93f3a27285e | [
"BSD-3-Clause"
] | 2 | 2022-02-15T20:30:57.000Z | 2022-03-17T00:50:37.000Z | test/test_files/pylops/pytests/test_basicoperators.py | SoftwareUnderstanding/code_inspector | a820b5a7bb18f5df9c3e79346108d8280b20c39a | [
"BSD-3-Clause"
] | 101 | 2021-06-09T14:19:59.000Z | 2022-01-24T13:24:39.000Z | test/test_files/pylops/pytests/test_basicoperators.py | SoftwareUnderstanding/inspect4py | 9c4d7252535082ad938b26baf281d93f3a27285e | [
"BSD-3-Clause"
] | 1 | 2021-09-22T06:59:32.000Z | 2021-09-22T06:59:32.000Z | import pytest
import numpy as np
from numpy.testing import assert_array_equal, assert_array_almost_equal
from scipy.sparse import rand
from scipy.sparse.linalg import lsqr
from pylops.utils import dottest
from pylops.basicoperators import Regression, LinearRegression, MatrixMult, \
Identity, Zero, Flip, Symmetriz... | 37.325253 | 80 | 0.517807 | 2,597 | 18,476 | 3.636504 | 0.06315 | 0.078357 | 0.060144 | 0.064591 | 0.873571 | 0.845616 | 0.807179 | 0.774989 | 0.75413 | 0.719928 | 0 | 0.028732 | 0.257794 | 18,476 | 494 | 81 | 37.40081 | 0.659958 | 0.08281 | 0 | 0.68144 | 0 | 0 | 0.062515 | 0 | 0 | 0 | 0 | 0 | 0.146814 | 1 | 0.060942 | false | 0 | 0.019391 | 0 | 0.080332 | 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 |
44758385578bbab28368552788bf221a41c93e8a | 78 | py | Python | pipy/__init__.py | rhsmits91/pipy | b38100203711fad715078a00c6074ea63af06893 | [
"MIT"
] | null | null | null | pipy/__init__.py | rhsmits91/pipy | b38100203711fad715078a00c6074ea63af06893 | [
"MIT"
] | null | null | null | pipy/__init__.py | rhsmits91/pipy | b38100203711fad715078a00c6074ea63af06893 | [
"MIT"
] | null | null | null | from pipy import parameters, pipeline, widgets
from pipy.tests import testing
| 26 | 46 | 0.833333 | 11 | 78 | 5.909091 | 0.727273 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 78 | 2 | 47 | 39 | 0.955882 | 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 |
447a015c45215acc5db0abb350b8b9fabe099a59 | 144 | py | Python | netmiko/zte/__init__.py | mtuska/netmiko | 90ae69a7c251c13e483f7c52629dbbe4356e7a6d | [
"MIT"
] | 2,833 | 2015-01-04T20:04:10.000Z | 2022-03-31T13:03:17.000Z | netmiko/zte/__init__.py | MrPaulAR/netmiko | bc9700a803ccd89e29672dbe544368b946352aa0 | [
"MIT"
] | 2,137 | 2015-01-28T17:33:41.000Z | 2022-03-31T18:41:21.000Z | netmiko/zte/__init__.py | georgesnow/netmiko | 185f51ca5c24ea2977d6ca31db1ae263aa72cc12 | [
"MIT"
] | 1,367 | 2015-01-04T20:04:10.000Z | 2022-03-31T19:13:28.000Z | from netmiko.zte.zte_zxros import ZteZxrosSSH
from netmiko.zte.zte_zxros import ZteZxrosTelnet
__all__ = ["ZteZxrosSSH", "ZteZxrosTelnet"]
| 28.8 | 49 | 0.798611 | 17 | 144 | 6.411765 | 0.470588 | 0.201835 | 0.256881 | 0.311927 | 0.513761 | 0.513761 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118056 | 144 | 4 | 50 | 36 | 0.858268 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
448cd44cbd1bcbcbcb31ec220b59e33bebf664dd | 172 | py | Python | tes.py | nucklehead/voxforge-kreyol | 28171e96768bb62a8d6c7fc823fa5b1f4c5bb99e | [
"MIT"
] | null | null | null | tes.py | nucklehead/voxforge-kreyol | 28171e96768bb62a8d6c7fc823fa5b1f4c5bb99e | [
"MIT"
] | null | null | null | tes.py | nucklehead/voxforge-kreyol | 28171e96768bb62a8d6c7fc823fa5b1f4c5bb99e | [
"MIT"
] | null | null | null | import io
from flask import Flask
from stokaj_fichye.nextcloud.kliyan import stoke_fichye_a
app = Flask(__name__)
stoke_fichye_a(app, f'test.zip', io.StringIO('asdasd')) | 21.5 | 57 | 0.796512 | 28 | 172 | 4.571429 | 0.607143 | 0.171875 | 0.1875 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 172 | 8 | 58 | 21.5 | 0.831169 | 0 | 0 | 0 | 0 | 0 | 0.080925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
922fe224ef86df55cb87b258115c9968b5610ff1 | 26 | py | Python | New_World.py | sayaji/MyFirstRepo | 356dfb89efaf1316314c9aa7c88f33fd82a9379f | [
"MIT"
] | null | null | null | New_World.py | sayaji/MyFirstRepo | 356dfb89efaf1316314c9aa7c88f33fd82a9379f | [
"MIT"
] | null | null | null | New_World.py | sayaji/MyFirstRepo | 356dfb89efaf1316314c9aa7c88f33fd82a9379f | [
"MIT"
] | null | null | null | print("Hello New World!!") | 26 | 26 | 0.692308 | 4 | 26 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 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 |
9249c5f8c4e60f618f8eeec811c203e922c23c37 | 913 | py | Python | src/robobo/movement/simple_movements.py | josejorgers/bobo-script | 02641c420ec3f7eca7031d789b3638bde0f7fd1d | [
"MIT"
] | 1 | 2021-10-20T20:53:24.000Z | 2021-10-20T20:53:24.000Z | src/robobo/movement/simple_movements.py | josejorgers/bobo-script | 02641c420ec3f7eca7031d789b3638bde0f7fd1d | [
"MIT"
] | null | null | null | src/robobo/movement/simple_movements.py | josejorgers/bobo-script | 02641c420ec3f7eca7031d789b3638bde0f7fd1d | [
"MIT"
] | null | null | null | def move_forward(robot, speed, time=None):
if time is None:
robot.moveWheels(speed, speed)
else:
robot.moveWheelsByTime(speed, speed, time)
def turn_right(robot, speed, time=None):
if time is None:
robot.moveWheels(-speed, speed)
else:
robot.moveWheelsByTime(-speed, spee... | 28.53125 | 65 | 0.669222 | 117 | 913 | 5.128205 | 0.17094 | 0.12 | 0.083333 | 0.116667 | 0.796667 | 0.726667 | 0.726667 | 0.726667 | 0.726667 | 0.66 | 0 | 0 | 0.221249 | 913 | 32 | 66 | 28.53125 | 0.843882 | 0 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
927bba8eb2fbc7ff76015a39801feaa53c96b92f | 248 | py | Python | ummon/utils/__init__.py | matherm/ummon3 | 08476d21ce17cc95180525d48202a1690dfc8a08 | [
"BSD-3-Clause"
] | 1 | 2022-02-10T06:47:13.000Z | 2022-02-10T06:47:13.000Z | ummon/utils/__init__.py | matherm/ummon3 | 08476d21ce17cc95180525d48202a1690dfc8a08 | [
"BSD-3-Clause"
] | null | null | null | ummon/utils/__init__.py | matherm/ummon3 | 08476d21ce17cc95180525d48202a1690dfc8a08 | [
"BSD-3-Clause"
] | null | null | null | from .average_utils import *
from .data_utils import *
from .dataset_utils import *
from .memory_utils import *
from .model_utils import *
from .stats_utils import *
from .time_utils import *
from .batch_utils import *
from .FastDataLoader import * | 27.555556 | 29 | 0.78629 | 35 | 248 | 5.342857 | 0.342857 | 0.470588 | 0.641711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141129 | 248 | 9 | 29 | 27.555556 | 0.877934 | 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 |
9293ac049518c688e6881850ed7804dba357975f | 43 | py | Python | lqr_mdp/__init__.py | vincentzhang/lqr_mdp | 91d531bd534a8594a4175b8ae2f1db00228a42cb | [
"Apache-2.0"
] | 2 | 2020-08-11T17:37:43.000Z | 2021-08-25T05:28:25.000Z | lqr_mdp/__init__.py | vincentzhang/lqr_mdp | 91d531bd534a8594a4175b8ae2f1db00228a42cb | [
"Apache-2.0"
] | null | null | null | lqr_mdp/__init__.py | vincentzhang/lqr_mdp | 91d531bd534a8594a4175b8ae2f1db00228a42cb | [
"Apache-2.0"
] | null | null | null | from .lqr import MDP_LQR_Cont, MDP_LQR_Disc | 43 | 43 | 0.860465 | 9 | 43 | 3.666667 | 0.666667 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 6 |
2bada45802c3784e1949085caf77208998cf2bf4 | 2,151 | gyp | Python | jc3_api.gyp | xforce/jc3-api | 01675239689761de5f805c0eaabbaf46289be9e8 | [
"MIT"
] | null | null | null | jc3_api.gyp | xforce/jc3-api | 01675239689761de5f805c0eaabbaf46289be9e8 | [
"MIT"
] | 1 | 2016-11-21T19:32:23.000Z | 2016-12-10T00:26:49.000Z | jc3_api.gyp | xforce/jc3-api | 01675239689761de5f805c0eaabbaf46289be9e8 | [
"MIT"
] | null | null | null | {
'targets': [
{
'target_name': 'jc3_api',
'type': 'static_library',
'dependencies' : [
'deps/jc3_hooking/jc3_hooking.gyp:jc3_hooking',
],
'direct_dependent_settings': {
'include_dirs': ['.', 'deps/boost', 'deps/stl'],
},
'include_dirs': ['.', 'deps/boost', 'deps/stl'],
'sources':... | 30.295775 | 60 | 0.677359 | 306 | 2,151 | 4.598039 | 0.22549 | 0.351812 | 0.358209 | 0.394456 | 0.614072 | 0.144989 | 0 | 0 | 0 | 0 | 0 | 0.028357 | 0.131102 | 2,151 | 71 | 61 | 30.295775 | 0.724452 | 0 | 0 | 0.060606 | 0 | 0 | 0.767193 | 0.700743 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2bd89c33d4384c7283e2550b9a03969857225df2 | 114 | py | Python | toontown/speedchat/TTSCDecoders.py | AnonymousDeveloper65535/open-toontown | 3d05c22a7d960ad843dde231140447c46973dba5 | [
"BSD-3-Clause"
] | 8 | 2017-10-10T11:41:01.000Z | 2021-02-23T12:55:47.000Z | toontown/speedchat/TTSCDecoders.py | AnonymousDeveloper65535/open-toontown | 3d05c22a7d960ad843dde231140447c46973dba5 | [
"BSD-3-Clause"
] | 1 | 2018-07-28T20:07:04.000Z | 2018-07-30T18:28:34.000Z | toontown/speedchat/TTSCDecoders.py | AnonymousDeveloper65535/open-toontown | 3d05c22a7d960ad843dde231140447c46973dba5 | [
"BSD-3-Clause"
] | 3 | 2021-06-03T05:36:36.000Z | 2021-06-22T15:07:31.000Z | from TTSCToontaskTerminal import decodeTTSCToontaskMsg
from TTSCResistanceTerminal import decodeTTSCResistanceMsg
| 38 | 58 | 0.929825 | 8 | 114 | 13.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 114 | 2 | 59 | 57 | 1 | 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 |
2bdf3e5afff522af274b522f668f840a089c7c62 | 4,381 | py | Python | tests/test_cfm_advance.py | vinniemo90/madden-cfm-chatbot | 062f22860d2848edafba5094695ef244c3d5d02e | [
"MIT"
] | 4 | 2019-05-27T20:53:28.000Z | 2020-12-22T00:42:14.000Z | tests/test_cfm_advance.py | vinniemo90/madden-cfm-chatbot | 062f22860d2848edafba5094695ef244c3d5d02e | [
"MIT"
] | 2 | 2019-10-24T00:01:50.000Z | 2021-04-30T20:48:45.000Z | tests/test_cfm_advance.py | vinniemo90/madden-cfm-chatbot | 062f22860d2848edafba5094695ef244c3d5d02e | [
"MIT"
] | 8 | 2019-02-23T09:43:34.000Z | 2020-02-27T23:49:54.000Z | from unittest.mock import patch
import sys
sys.path.append('./')
import cfm_advance
import cfm_schedule
import constants
from firebase_admin import db
@patch('firebase_admin.db')
def test_advance_to_preseason(mock_db):
db_root = mock_db.reference()
schedule = cfm_advance.advance_to_preseason(db_root)
asser... | 37.767241 | 73 | 0.761242 | 631 | 4,381 | 4.892235 | 0.087163 | 0.056365 | 0.110139 | 0.090703 | 0.907677 | 0.901523 | 0.865241 | 0.837059 | 0.801101 | 0.758341 | 0 | 0.004433 | 0.124629 | 4,381 | 116 | 74 | 37.767241 | 0.800522 | 0 | 0 | 0.656863 | 0 | 0 | 0.167047 | 0.059105 | 0 | 0 | 0 | 0 | 0.196078 | 1 | 0.137255 | false | 0 | 0.058824 | 0 | 0.196078 | 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 |
9203a75195ae3a4280d422554e6bcadf44057704 | 245 | py | Python | main.py | lmallez/wikidata-tree-generator | 4fe6b8af6615083e670bdd9495624f4292fd53c0 | [
"MIT"
] | 4 | 2020-07-06T09:48:30.000Z | 2020-10-27T06:56:44.000Z | main.py | lmallez/wikidata-tree-generator | 4fe6b8af6615083e670bdd9495624f4292fd53c0 | [
"MIT"
] | 2 | 2020-10-10T13:59:19.000Z | 2021-06-25T15:44:46.000Z | main.py | lmallez/wikidata-tree-generator | 4fe6b8af6615083e670bdd9495624f4292fd53c0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import sys
from wikidata.entity import EntityId
from wikidata_tree_generator.generate_from_yaml import generate_from_yaml
if __name__ == '__main__':
generate_from_yaml(sys.argv[1], EntityId(sys.argv[2]), sys.argv[3])
| 30.625 | 73 | 0.791837 | 38 | 245 | 4.684211 | 0.552632 | 0.202247 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0181 | 0.097959 | 245 | 7 | 74 | 35 | 0.78733 | 0.085714 | 0 | 0 | 1 | 0 | 0.035874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
920733ec4074f412b6c779d11278321f860b5354 | 42 | py | Python | lithops/standalone/__init__.py | kpavel/lithops | 395eef8b283512bd714d3633dcd94258e1df620c | [
"Apache-2.0"
] | 158 | 2020-09-16T13:22:03.000Z | 2022-03-28T20:01:31.000Z | lithops/standalone/__init__.py | kpavel/lithops | 395eef8b283512bd714d3633dcd94258e1df620c | [
"Apache-2.0"
] | 256 | 2018-05-20T13:01:51.000Z | 2020-09-16T09:09:54.000Z | lithops/standalone/__init__.py | kpavel/lithops | 395eef8b283512bd714d3633dcd94258e1df620c | [
"Apache-2.0"
] | 48 | 2020-09-19T15:29:53.000Z | 2022-03-23T17:08:24.000Z | from .standalone import StandaloneHandler
| 21 | 41 | 0.880952 | 4 | 42 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.973684 | 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 |
a6219320097cbf34b8d717f219794d77a379d273 | 33 | py | Python | src/vbox/config/__init__.py | autumnjolitz/vbox | 38015ee0bb2316982490172068b791762e092a85 | [
"BSD-3-Clause"
] | 1 | 2020-08-12T15:03:31.000Z | 2020-08-12T15:03:31.000Z | src/vbox/config/__init__.py | autumnjolitz/vbox | 38015ee0bb2316982490172068b791762e092a85 | [
"BSD-3-Clause"
] | null | null | null | src/vbox/config/__init__.py | autumnjolitz/vbox | 38015ee0bb2316982490172068b791762e092a85 | [
"BSD-3-Clause"
] | null | null | null | from .interface import VirtualBox | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a6219908ed7ba5c1557dce5486dbcb8dde0e18dd | 223 | py | Python | genesys/genesys/codelets/adl/graph/__init__.py | ziqingzeng/public | 4102b3bd42f43b49cf74599492d52d4f755ab7b2 | [
"BSD-3-Clause"
] | 6 | 2021-04-20T06:33:25.000Z | 2022-02-24T06:46:13.000Z | genesys/genesys/codelets/adl/graph/__init__.py | ziqingzeng/public | 4102b3bd42f43b49cf74599492d52d4f755ab7b2 | [
"BSD-3-Clause"
] | 3 | 2021-04-20T04:28:51.000Z | 2021-05-24T05:14:31.000Z | genesys/genesys/codelets/adl/graph/__init__.py | ziqingzeng/public | 4102b3bd42f43b49cf74599492d52d4f755ab7b2 | [
"BSD-3-Clause"
] | 4 | 2021-04-08T16:38:46.000Z | 2021-04-30T05:51:30.000Z | from .architecture_graph import ArchitectureGraph
from .architecture_node import ArchitectureNode
from .compute_node import ComputeNode
from .communication_node import CommunicationNode
from .storage_node import StorageNode | 44.6 | 49 | 0.892377 | 25 | 223 | 7.76 | 0.52 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085202 | 223 | 5 | 50 | 44.6 | 0.95098 | 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 |
a624f7ddb4f955832a199cdfc284b3c19c67c149 | 98 | py | Python | tests/local_airflow/load_lib_test.py | Fahadsaadullahkhan/KubernetesJobOperator | d96f9498667f937503d1e45142060904674f823f | [
"MIT"
] | 35 | 2020-02-10T16:55:41.000Z | 2022-03-18T01:25:00.000Z | tests/local_airflow/load_lib_test.py | Fahadsaadullahkhan/KubernetesJobOperator | d96f9498667f937503d1e45142060904674f823f | [
"MIT"
] | 26 | 2020-02-10T05:36:44.000Z | 2022-03-02T18:44:47.000Z | tests/local_airflow/load_lib_test.py | Fahadsaadullahkhan/KubernetesJobOperator | d96f9498667f937503d1e45142060904674f823f | [
"MIT"
] | 8 | 2020-02-28T23:24:07.000Z | 2021-11-29T21:35:46.000Z | from airflow_kubernetes_job_operator.kubernetes_job_operator import (
KubernetesJobOperator,
) | 32.666667 | 69 | 0.867347 | 10 | 98 | 8 | 0.7 | 0.325 | 0.525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 98 | 3 | 70 | 32.666667 | 0.898876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
5b4a4333ee04b641d1595c1defee0e62dcd12652 | 30 | py | Python | pythonBase/advancePyton/chapter13/asyncio_http.py | cangchengkun/pythonbase | 4e01331b1c7c13d86f32f697dd812cb267abe7ef | [
"CNRI-Python"
] | null | null | null | pythonBase/advancePyton/chapter13/asyncio_http.py | cangchengkun/pythonbase | 4e01331b1c7c13d86f32f697dd812cb267abe7ef | [
"CNRI-Python"
] | null | null | null | pythonBase/advancePyton/chapter13/asyncio_http.py | cangchengkun/pythonbase | 4e01331b1c7c13d86f32f697dd812cb267abe7ef | [
"CNRI-Python"
] | null | null | null | # asyncio没有提供http协议接口 aiohttp
| 15 | 29 | 0.866667 | 2 | 30 | 13 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0.9 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b4cf4c8f4e7391bb6f6f9f20746f132df30dd4e | 21 | py | Python | KD_Lib/KD/vision/DML/__init__.py | khizirsiddiqui/KD_Lib | 0eccceccf9bbc994ec4b380a75114192cf358286 | [
"MIT"
] | 360 | 2020-05-11T08:18:20.000Z | 2022-03-31T01:48:43.000Z | KD_Lib/KD/vision/DML/__init__.py | khizirsiddiqui/KD_Lib | 0eccceccf9bbc994ec4b380a75114192cf358286 | [
"MIT"
] | 91 | 2020-05-11T08:14:56.000Z | 2022-03-30T05:29:03.000Z | KD_Lib/KD/vision/DML/__init__.py | khizirsiddiqui/KD_Lib | 0eccceccf9bbc994ec4b380a75114192cf358286 | [
"MIT"
] | 39 | 2020-05-11T08:06:47.000Z | 2022-03-29T05:11:18.000Z | from .dml import DML
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 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 |
5b5008acd1ac79adf36d5999e8c804216147cdb6 | 2,063 | py | Python | src/envassert/file.py | shirou/envassert | 1113eb7fd1b1dffa28243e9fd11fd49830388124 | [
"MIT"
] | null | null | null | src/envassert/file.py | shirou/envassert | 1113eb7fd1b1dffa28243e9fd11fd49830388124 | [
"MIT"
] | null | null | null | src/envassert/file.py | shirou/envassert | 1113eb7fd1b1dffa28243e9fd11fd49830388124 | [
"MIT"
] | null | null | null | from __future__ import with_statement
from fabric.api import run, sudo, hide, env
def exists(location):
with hide("everything"):
return run('test -e "%s" && echo OK ; true' % (location)).endswith("OK")
def is_file(location):
with hide("everything"):
return run("test -f '%s' && echo OK ; true... | 32.234375 | 120 | 0.566651 | 275 | 2,063 | 4.185455 | 0.207273 | 0.086012 | 0.066898 | 0.105126 | 0.880973 | 0.880973 | 0.821894 | 0.754127 | 0.682016 | 0.56212 | 0 | 0.002556 | 0.241396 | 2,063 | 63 | 121 | 32.746032 | 0.732907 | 0 | 0 | 0.418605 | 0 | 0.023256 | 0.291323 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.232558 | false | 0 | 0.046512 | 0 | 0.581395 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5b84c1dd5de1653ab50f977f021bc6ecec34aeca | 156 | py | Python | tests/unit/testhelper.py | starkcoffee/randomchatroom | 6784d1f32916a5d5e2cf3c7d9f6be927a061b5ef | [
"MIT"
] | null | null | null | tests/unit/testhelper.py | starkcoffee/randomchatroom | 6784d1f32916a5d5e2cf3c7d9f6be927a061b5ef | [
"MIT"
] | null | null | null | tests/unit/testhelper.py | starkcoffee/randomchatroom | 6784d1f32916a5d5e2cf3c7d9f6be927a061b5ef | [
"MIT"
] | 1 | 2020-01-05T02:29:18.000Z | 2020-01-05T02:29:18.000Z | import sys
from os.path import dirname
# import the app code by putting directory ../.. on the path
sys.path.append(dirname(dirname(dirname(__file__))))
| 19.5 | 60 | 0.75 | 24 | 156 | 4.708333 | 0.625 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 156 | 7 | 61 | 22.285714 | 0.843284 | 0.371795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5bd41dfb3ddd6a498f0df1d0d8689e1c6b4941fd | 82 | py | Python | keys.py | dvatvani/trakt-ratings-trends | 9c341592439bb4b825e8b4feb040653e434bdd67 | [
"MIT"
] | 2 | 2021-02-26T07:32:16.000Z | 2021-03-25T04:24:24.000Z | keys.py | dvatvani/trakt-ratings-trends | 9c341592439bb4b825e8b4feb040653e434bdd67 | [
"MIT"
] | null | null | null | keys.py | dvatvani/trakt-ratings-trends | 9c341592439bb4b825e8b4feb040653e434bdd67 | [
"MIT"
] | null | null | null | trakt_api_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' | 82 | 82 | 0.939024 | 4 | 82 | 18.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 82 | 1 | 82 | 82 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0.771084 | 0.771084 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5be76276e87e417627666b8c3e716b4ec1330053 | 5,548 | py | Python | scripts/icws_csv_data_export.py | ioffe-ben/icws-snippets | 3a2d859a296272f55ed579c7bc5c1e483e9368d5 | [
"BSD-3-Clause"
] | 1 | 2021-11-01T13:50:27.000Z | 2021-11-01T13:50:27.000Z | scripts/icws_csv_data_export.py | ioffe-ben/icws-snippets | 3a2d859a296272f55ed579c7bc5c1e483e9368d5 | [
"BSD-3-Clause"
] | null | null | null | scripts/icws_csv_data_export.py | ioffe-ben/icws-snippets | 3a2d859a296272f55ed579c7bc5c1e483e9368d5 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2021, Ben Ioffe (github.com/ioffe-ben). All rights reserved. Copyrights licensed under the BSD 3-Clause License. See the accompanying LICENSE file for terms.
# Code snippet description: the following snippet shows how to generate a .csv document with IC users, workgroups, roles, skills, wrap-up codes, a... | 48.666667 | 259 | 0.733598 | 780 | 5,548 | 5.023077 | 0.138462 | 0.057427 | 0.146759 | 0.052067 | 0.840735 | 0.833078 | 0.833078 | 0.817254 | 0.817254 | 0.817254 | 0 | 0.003527 | 0.131218 | 5,548 | 113 | 260 | 49.097345 | 0.809336 | 0.141673 | 0 | 0.691358 | 0 | 0.024691 | 0.251684 | 0.059343 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.037037 | 0.148148 | 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 |
7507a3ca79d840b6515aa600f81486d05f9e0cd9 | 155 | py | Python | ptgnn/baseneuralmodel/__init__.py | mir-am/ptgnn | 54b6f8a6411d31833e7ba904ac6bf24c37861e34 | [
"MIT"
] | 319 | 2020-05-16T01:08:03.000Z | 2022-03-31T18:47:21.000Z | ptgnn/baseneuralmodel/__init__.py | mir-am/ptgnn | 54b6f8a6411d31833e7ba904ac6bf24c37861e34 | [
"MIT"
] | 8 | 2020-06-26T13:54:34.000Z | 2022-02-01T17:31:47.000Z | ptgnn/baseneuralmodel/__init__.py | mir-am/ptgnn | 54b6f8a6411d31833e7ba904ac6bf24c37861e34 | [
"MIT"
] | 40 | 2020-05-21T13:36:51.000Z | 2022-03-16T12:56:21.000Z | from .abstractneuralmodel import AbstractNeuralModel
from .modulewithmetrics import ModuleWithMetrics
from .trainer import AbstractScheduler, ModelTrainer
| 38.75 | 52 | 0.890323 | 13 | 155 | 10.615385 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083871 | 155 | 3 | 53 | 51.666667 | 0.971831 | 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 |
7526a1873c2b3c6a9ed6aeb6abe77344785e80e4 | 38 | py | Python | AsyncLibrary/__init__.py | grzegorz-krol/robotframework-async | d9378cbbd8992ae63f5b7e0b8b5ba53952f989d8 | [
"MIT"
] | 25 | 2015-04-04T00:49:49.000Z | 2021-11-12T17:19:50.000Z | AsyncLibrary/__init__.py | grzegorz-krol/robotframework-async | d9378cbbd8992ae63f5b7e0b8b5ba53952f989d8 | [
"MIT"
] | 10 | 2015-07-29T17:44:21.000Z | 2021-12-27T10:16:57.000Z | AsyncLibrary/__init__.py | grzegorz-krol/robotframework-async | d9378cbbd8992ae63f5b7e0b8b5ba53952f989d8 | [
"MIT"
] | 15 | 2015-06-01T05:45:46.000Z | 2021-01-20T22:57:06.000Z | from .robot_async import AsyncLibrary
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
75324d6be1c8202e0d06077cca3517e33b0cd943 | 2,526 | py | Python | plot_pdf.py | eladgsofer/dlg | 043ef1181a8fc476e01d73bb9df59bd5faed66f9 | [
"MIT"
] | null | null | null | plot_pdf.py | eladgsofer/dlg | 043ef1181a8fc476e01d73bb9df59bd5faed66f9 | [
"MIT"
] | null | null | null | plot_pdf.py | eladgsofer/dlg | 043ef1181a8fc476e01d73bb9df59bd5faed66f9 | [
"MIT"
] | null | null | null | import matplotlib as plt
import pickle
import numpy as np
def plot_graphs(algo, iteration_list):
with open('output/ITER_MAT_LOSS_' + algo + '_VANILLA.npy', 'rb') as f:
dlg_loss_per_iter_matrix = pickle.load(f)
with open('output/ITER_MAT_MSE_' + algo + '_VANILLA.npy', 'rb') as f:
dlg_mse_per_ite... | 44.315789 | 116 | 0.669834 | 402 | 2,526 | 3.962687 | 0.174129 | 0.052731 | 0.097928 | 0.079096 | 0.853735 | 0.837414 | 0.812932 | 0.721908 | 0.721908 | 0.652229 | 0 | 0.010363 | 0.159541 | 2,526 | 57 | 117 | 44.315789 | 0.739991 | 0 | 0 | 0.352941 | 0 | 0 | 0.17966 | 0.061733 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019608 | false | 0 | 0.058824 | 0 | 0.078431 | 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 |
753719719029315f266975b6eeb89a0a85368340 | 27 | py | Python | docker_python_template/other.py | mattwalshdev/docker_python_template | d180c880c2bb4609d5f00ba948c3339f2d05de2d | [
"MIT"
] | null | null | null | docker_python_template/other.py | mattwalshdev/docker_python_template | d180c880c2bb4609d5f00ba948c3339f2d05de2d | [
"MIT"
] | null | null | null | docker_python_template/other.py | mattwalshdev/docker_python_template | d180c880c2bb4609d5f00ba948c3339f2d05de2d | [
"MIT"
] | null | null | null | print("I'm another file!!") | 27 | 27 | 0.666667 | 5 | 27 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 27 | 1 | 27 | 27 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 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 |
7557029c81abc848e6992b6a7ef2b133a6d3d8a8 | 274 | py | Python | pybullet-env-mods/pybullet_env_mods/envs/__init__.py | homayoonfarrahi/cycle-time-study | 3939d1ffa7e74eaea2ebf059290dd817f4fe084c | [
"Apache-2.0"
] | null | null | null | pybullet-env-mods/pybullet_env_mods/envs/__init__.py | homayoonfarrahi/cycle-time-study | 3939d1ffa7e74eaea2ebf059290dd817f4fe084c | [
"Apache-2.0"
] | null | null | null | pybullet-env-mods/pybullet_env_mods/envs/__init__.py | homayoonfarrahi/cycle-time-study | 3939d1ffa7e74eaea2ebf059290dd817f4fe084c | [
"Apache-2.0"
] | null | null | null | from pybullet_env_mods.envs.self_aware_reacher_env import SelfAwareReacherBulletEnv
from pybullet_env_mods.envs.self_aware_reacher_env import HighFreqReacherBulletEnv
from pybullet_env_mods.envs.high_freq_inverted_pendulum_env import HighFreqInvertedDoublePendulumBulletEnv
| 68.5 | 106 | 0.934307 | 34 | 274 | 7.058824 | 0.470588 | 0.15 | 0.1875 | 0.2375 | 0.495833 | 0.4 | 0.4 | 0.4 | 0.4 | 0.4 | 0 | 0 | 0.043796 | 274 | 3 | 107 | 91.333333 | 0.916031 | 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 |
f35d2b073871238f8b7004835319ec3bc4ac0c02 | 323 | py | Python | terrascript/librato/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/librato/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/librato/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/librato/r.py
import terrascript
class librato_space(terrascript.Resource):
pass
class librato_space_chart(terrascript.Resource):
pass
class librato_metric(terrascript.Resource):
pass
class librato_alert(terrascript.Resource):
pass
class librato_service(terrascript.Resource):
pa... | 16.15 | 48 | 0.780186 | 37 | 323 | 6.648649 | 0.351351 | 0.243902 | 0.46748 | 0.455285 | 0.569106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145511 | 323 | 19 | 49 | 17 | 0.891304 | 0.074303 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.454545 | 0.090909 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f361ce2611ce262a4963939c167171239ba46ffa | 10,376 | py | Python | tests/core/test_nested_data.py | utsc-networking/utsc-tools | d5bc10cf825f1be46999d5a42da62cc0df456f0c | [
"MIT"
] | null | null | null | tests/core/test_nested_data.py | utsc-networking/utsc-tools | d5bc10cf825f1be46999d5a42da62cc0df456f0c | [
"MIT"
] | null | null | null | tests/core/test_nested_data.py | utsc-networking/utsc-tools | d5bc10cf825f1be46999d5a42da62cc0df456f0c | [
"MIT"
] | null | null | null | # pylint: disable=unused-argument
from utsc.core import NestedData
def test_nesteddata_unstructure():
input_data = {
"menu": {
"header": "SVG Viewer",
"items": [
{"id": "Open"},
{"id": "OpenNew", "label": "Open New"},
None,
... | 38.147059 | 96 | 0.427814 | 983 | 10,376 | 4.490336 | 0.144456 | 0.146806 | 0.021749 | 0.030131 | 0.780471 | 0.761441 | 0.754418 | 0.725193 | 0.717943 | 0.717943 | 0 | 0.018374 | 0.344352 | 10,376 | 271 | 97 | 38.287823 | 0.630457 | 0.034888 | 0 | 0.796078 | 0 | 0 | 0.379548 | 0.033587 | 0 | 0 | 0 | 0 | 0.019608 | 1 | 0.015686 | false | 0 | 0.003922 | 0 | 0.019608 | 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 |
f36b0e967d23b83573072b1385c4ce3c5d802899 | 88 | py | Python | eod/runner/__init__.py | scott-mao/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | 1 | 2022-01-12T01:51:39.000Z | 2022-01-12T01:51:39.000Z | eod/runner/__init__.py | YZW-explorer/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | null | null | null | eod/runner/__init__.py | YZW-explorer/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | null | null | null | from .base_runner import BaseRunner # noqa
from .quant_runner import QuantRunner # noqa
| 29.333333 | 44 | 0.818182 | 12 | 88 | 5.833333 | 0.666667 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 2 | 45 | 44 | 0.921053 | 0.102273 | 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 |
f36db3be3d72b932bbf88cacd5dfc7e022c60d1b | 126,657 | py | Python | healthier/entries/migrations/0015_physicalactivity.py | muatik/healthier | 571662f0e9bbae4ff09014e4f6e37e11fa485a12 | [
"MIT"
] | 9 | 2017-02-07T12:00:00.000Z | 2021-03-15T05:29:13.000Z | healthier/entries/migrations/0015_physicalactivity.py | muatik/healthier | 571662f0e9bbae4ff09014e4f6e37e11fa485a12 | [
"MIT"
] | 37 | 2016-10-03T08:26:33.000Z | 2016-12-18T15:49:30.000Z | healthier/entries/migrations/0015_physicalactivity.py | muatik/healthier | 571662f0e9bbae4ff09014e4f6e37e11fa485a12 | [
"MIT"
] | 6 | 2017-02-09T17:23:11.000Z | 2018-04-19T02:17:09.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-12-11 17:49
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('entries', '0014_auto_20161211_1436'),
]
operations = [
migrations.CreateMod... | 149.536009 | 331 | 0.652581 | 15,432 | 126,657 | 5.302035 | 0.145347 | 0.100341 | 0.17058 | 0.331125 | 0.661114 | 0.648684 | 0.643356 | 0.639139 | 0.632478 | 0.624021 | 0 | 0.06264 | 0.185509 | 126,657 | 847 | 332 | 149.536009 | 0.730499 | 0.000537 | 0 | 0 | 1 | 0.977381 | 0.839683 | 0.156264 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.004762 | 0.002381 | 0 | 0.005952 | 0.00119 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.