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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3b50de8a6fa564ccc2023b2e7a70e457342c238f | 15,920 | py | Python | app/main.py | gniewus/gpt3-bias-paraphrase | d203b4fe788b5dd59be4caca87e77847470b25aa | [
"MIT"
] | 2 | 2022-01-22T01:20:16.000Z | 2022-01-26T13:28:03.000Z | app/main.py | gniewus/gpt3-bias-paraphrase | d203b4fe788b5dd59be4caca87e77847470b25aa | [
"MIT"
] | null | null | null | app/main.py | gniewus/gpt3-bias-paraphrase | d203b4fe788b5dd59be4caca87e77847470b25aa | [
"MIT"
] | 2 | 2022-01-15T18:27:37.000Z | 2022-01-22T01:20:25.000Z | import os
from fastapi import FastAPI, Request
from fastapi.responses import HTMLResponse, JSONResponse
from fastapi.staticfiles import StaticFiles
from fastapi.responses import HTMLResponse
from .library.helpers import *
from pydantic import BaseModel
import json
import re
import openai
from dotenv import load_doten... | 173.043478 | 4,920 | 0.788442 | 2,266 | 15,920 | 5.5203 | 0.19241 | 0.008794 | 0.012311 | 0.010073 | 0.76441 | 0.732752 | 0.715565 | 0.69494 | 0.65313 | 0.608762 | 0 | 0.001238 | 0.1375 | 15,920 | 91 | 4,921 | 174.945055 | 0.909766 | 0.577889 | 0 | 0 | 0 | 0.016129 | 0.700194 | 0.003129 | 0 | 0 | 0 | 0 | 0.016129 | 1 | 0.016129 | false | 0.016129 | 0.193548 | 0 | 0.274194 | 0.048387 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3b8b02caa045250ad40c99c0fcd2559d90921c4e | 32 | py | Python | initial.py | bhbline/MasterVan | a5e58c9710984ea239f600ed2f4b5d5daa5762c0 | [
"MIT"
] | null | null | null | initial.py | bhbline/MasterVan | a5e58c9710984ea239f600ed2f4b5d5daa5762c0 | [
"MIT"
] | null | null | null | initial.py | bhbline/MasterVan | a5e58c9710984ea239f600ed2f4b5d5daa5762c0 | [
"MIT"
] | null | null | null | print("Hello, my name is Van.")
| 16 | 31 | 0.65625 | 6 | 32 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8e658b3e24e04877e598f1b7c3259313ba7d0e23 | 13,304 | py | Python | connectomics/model/zoo/unet_2d.py | yixinliao/pytorch_connectomics | 0f6de546e6da1e0f3258b2c84f7e16b3a993c70c | [
"MIT"
] | 1 | 2020-05-17T08:01:56.000Z | 2020-05-17T08:01:56.000Z | connectomics/model/zoo/unet_2d.py | yixinliao/pytorch_connectomics | 0f6de546e6da1e0f3258b2c84f7e16b3a993c70c | [
"MIT"
] | null | null | null | connectomics/model/zoo/unet_2d.py | yixinliao/pytorch_connectomics | 0f6de546e6da1e0f3258b2c84f7e16b3a993c70c | [
"MIT"
] | 3 | 2020-03-31T21:40:12.000Z | 2021-06-09T02:26:43.000Z | import torch
import torch.nn as nn
from ..block import *
from ..utils import *
class unet_2d(nn.Module):
def __init__(self, in_num=1, out_num=1, filters=[32,64,128,256], activation='sigmoid'):
super(unet_2d, self).__init__()
self.activation = activation
print('final activation function: '+s... | 33.012407 | 98 | 0.567198 | 1,888 | 13,304 | 3.810381 | 0.070975 | 0.050737 | 0.023353 | 0.042535 | 0.823464 | 0.799416 | 0.78357 | 0.772171 | 0.748262 | 0.732277 | 0 | 0.062227 | 0.294573 | 13,304 | 402 | 99 | 33.094527 | 0.704315 | 0.078322 | 0 | 0.7 | 0 | 0 | 0.021606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.014286 | 0 | 0.114286 | 0.017857 | 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 |
8e7ab83474f1122ab5d2aeee872258ecdac6dc30 | 5,132 | py | Python | src/unittest/python/required_zip_file_tests.py | svaningelgem/required_files | 9c50451100fb8dd73ce9b045a0f7dd14c6366c4a | [
"MIT"
] | null | null | null | src/unittest/python/required_zip_file_tests.py | svaningelgem/required_files | 9c50451100fb8dd73ce9b045a0f7dd14c6366c4a | [
"MIT"
] | null | null | null | src/unittest/python/required_zip_file_tests.py | svaningelgem/required_files | 9c50451100fb8dd73ce9b045a0f7dd14c6366c4a | [
"MIT"
] | null | null | null | from pathlib import Path
from tempfile import TemporaryDirectory
from unittest import TestCase, main, mock
from common import (
TESTFILE_NAME,
TEST_STRING,
URL_ZIP_WITH_DIR_STRUCTURE,
URL_ZIP_WITH_MULTIPLE_DIRS,
URL_ZIP_WITH_SINGLE_DIR,
URL_ZIP_WITHOUT_DIR,
)
from required_files import Required... | 35.150685 | 115 | 0.626851 | 588 | 5,132 | 5.073129 | 0.117347 | 0.096547 | 0.04358 | 0.07241 | 0.807912 | 0.774723 | 0.767348 | 0.767348 | 0.767348 | 0.767348 | 0 | 0.008987 | 0.284489 | 5,132 | 145 | 116 | 35.393103 | 0.803377 | 0 | 0 | 0.503876 | 0 | 0 | 0.019486 | 0.010717 | 0 | 0 | 0 | 0 | 0.217054 | 1 | 0.085271 | false | 0 | 0.03876 | 0 | 0.131783 | 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 |
8e87bb43fa04090c522b6523d8ba899957b5f461 | 22 | py | Python | wedding/card/__init__.py | ackneal/wedday | b57b524e3aa237a2568bda4fadb2d5709773c507 | [
"MIT"
] | null | null | null | wedding/card/__init__.py | ackneal/wedday | b57b524e3aa237a2568bda4fadb2d5709773c507 | [
"MIT"
] | null | null | null | wedding/card/__init__.py | ackneal/wedday | b57b524e3aa237a2568bda4fadb2d5709773c507 | [
"MIT"
] | null | null | null | from .route import bp
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 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 |
8ed172a64e7a16868b8323dc7a35649a230ca912 | 28 | py | Python | cls/p2.py | sanchez0623/zsq.LearningPython | 419df031a2a905fe7d7c2dfe14aa2f8729989a9a | [
"Apache-2.0"
] | null | null | null | cls/p2.py | sanchez0623/zsq.LearningPython | 419df031a2a905fe7d7c2dfe14aa2f8729989a9a | [
"Apache-2.0"
] | null | null | null | cls/p2.py | sanchez0623/zsq.LearningPython | 419df031a2a905fe7d7c2dfe14aa2f8729989a9a | [
"Apache-2.0"
] | null | null | null | import sub
# 会先执行__init__文件 | 9.333333 | 16 | 0.821429 | 5 | 28 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 3 | 16 | 9.333333 | 0.791667 | 0.5 | 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 |
d93bfa57bf46a8addc7daab86b08521d0d6b2ac8 | 748 | py | Python | setup.py | looking-for-a-job/mac-finder.py | 67c7d614b560d92a67349c2139dd98c90542c07f | [
"Unlicense"
] | 7 | 2019-10-30T21:25:32.000Z | 2022-01-26T01:53:39.000Z | setup.py | looking-for-a-job/mac-finder.py | 67c7d614b560d92a67349c2139dd98c90542c07f | [
"Unlicense"
] | null | null | null | setup.py | looking-for-a-job/mac-finder.py | 67c7d614b560d92a67349c2139dd98c90542c07f | [
"Unlicense"
] | null | null | null | import setuptools
setuptools.setup(
name='mac-finder',
version='2020.12.3',
install_requires=open('requirements.txt').read().splitlines(),
packages=setuptools.find_packages(),
scripts=['scripts/.DS_Store','scripts/.finder-alias.applescript','scripts/.finder-close-bg.applescript','scripts/.finder-cl... | 74.8 | 552 | 0.77139 | 87 | 748 | 6.597701 | 0.37931 | 0.385017 | 0.292683 | 0.101045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009749 | 0.040107 | 748 | 9 | 553 | 83.111111 | 0.789694 | 0 | 0 | 0 | 0 | 0 | 0.695187 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d941c97715e433adcf300f44e67d44abff2cc48d | 394 | py | Python | src/openbiolink/graph_creation/file_reader/mapping/__init__.py | jerryhluo/OpenBioLink | 6fc073af978daec0b0db5938b73beed37f57f495 | [
"MIT"
] | 97 | 2019-11-26T09:53:18.000Z | 2022-03-19T10:33:10.000Z | src/openbiolink/graph_creation/file_reader/mapping/__init__.py | jerryhluo/OpenBioLink | 6fc073af978daec0b0db5938b73beed37f57f495 | [
"MIT"
] | 67 | 2019-12-09T21:01:52.000Z | 2021-12-21T15:19:41.000Z | src/openbiolink/graph_creation/file_reader/mapping/__init__.py | jerryhluo/OpenBioLink | 6fc073af978daec0b0db5938b73beed37f57f495 | [
"MIT"
] | 20 | 2020-01-13T23:02:25.000Z | 2022-03-16T21:43:31.000Z | from openbiolink.graph_creation.file_reader.mapping.mapDisGeNetReader import MapDisGeNetReader
from openbiolink.graph_creation.file_reader.mapping.mapDrugCentralPubchemReader import MapDrugCentralPubchemReader
from openbiolink.graph_creation.file_reader.mapping.mapStringReader import MapStringReader
from openbiolink.gr... | 78.8 | 114 | 0.918782 | 40 | 394 | 8.85 | 0.3 | 0.169492 | 0.225989 | 0.316384 | 0.508475 | 0.508475 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0.040609 | 394 | 4 | 115 | 98.5 | 0.936508 | 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 |
d9812c151978d69263c4ff75e015e47980eb6b2f | 4,976 | py | Python | hallo/modules/channel_control/mute.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2022-01-27T13:25:01.000Z | 2022-01-27T13:25:01.000Z | hallo/modules/channel_control/mute.py | joshcoales/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 75 | 2015-09-26T18:07:18.000Z | 2022-01-04T07:15:11.000Z | hallo/modules/channel_control/mute.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2021-04-10T12:02:47.000Z | 2021-04-10T12:02:47.000Z | from hallo.events import EventMode
from hallo.function import Function
import hallo.modules.channel_control.channel_control
from hallo.server import Server
class Mute(Function):
"""
Mutes the current or a selected channel. IRC only.
"""
def __init__(self):
"""
Constructor
"""
... | 37.984733 | 112 | 0.599076 | 618 | 4,976 | 4.694175 | 0.179612 | 0.037918 | 0.0586 | 0.086177 | 0.91141 | 0.895553 | 0.861772 | 0.850052 | 0.850052 | 0.850052 | 0 | 0 | 0.315113 | 4,976 | 130 | 113 | 38.276923 | 0.851232 | 0.220659 | 0 | 0.513514 | 0 | 0 | 0.167211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081081 | false | 0 | 0.054054 | 0 | 0.378378 | 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 |
794f0d30ddea85d733f4fa94de6749eb5a7ed8e3 | 9,191 | py | Python | tests/snc/agents/activity_rate_to_mpc_actions/test_feedback_mip_feasible_mpc_policy.py | dmcnamee/snc | c2da8c1e9ecdc42c59b9de73224b3d50ee1c9786 | [
"Apache-2.0"
] | 5 | 2021-03-24T16:23:10.000Z | 2021-11-17T12:44:51.000Z | tests/snc/agents/activity_rate_to_mpc_actions/test_feedback_mip_feasible_mpc_policy.py | dmcnamee/snc | c2da8c1e9ecdc42c59b9de73224b3d50ee1c9786 | [
"Apache-2.0"
] | 3 | 2021-03-26T01:16:08.000Z | 2021-05-08T22:06:47.000Z | tests/snc/agents/activity_rate_to_mpc_actions/test_feedback_mip_feasible_mpc_policy.py | dmcnamee/snc | c2da8c1e9ecdc42c59b9de73224b3d50ee1c9786 | [
"Apache-2.0"
] | 2 | 2021-03-24T17:20:06.000Z | 2021-04-19T09:01:12.000Z | import numpy as np
from snc.agents.activity_rate_to_mpc_actions.feedback_mip_feasible_mpc_policy \
import FeedbackMipFeasibleMpcPolicy
def get_mpc_policy_sirl():
# Simple reentrant line like environment.
constituency_matrix = np.array([[1, 0, 1], [0, 1, 0]])
buffer_processing_matrix = np.array([[-1, 0... | 40.311404 | 96 | 0.684909 | 1,374 | 9,191 | 4.213974 | 0.067686 | 0.124352 | 0.060104 | 0.059585 | 0.892746 | 0.868048 | 0.831088 | 0.780656 | 0.730915 | 0.673921 | 0 | 0.046294 | 0.163312 | 9,191 | 227 | 97 | 40.488987 | 0.706632 | 0.004243 | 0 | 0.508671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184971 | 1 | 0.150289 | false | 0 | 0.011561 | 0 | 0.179191 | 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 |
794fbb023063d4b88c35838db3913d2f58b25750 | 60 | py | Python | cifar10/models/__init__.py | huangleiBuaa/IterNorm-pytorch | 574b1247036106c40d199c73ab29785b16d05407 | [
"BSD-2-Clause"
] | 28 | 2019-04-23T14:40:47.000Z | 2022-03-28T13:55:21.000Z | cifar10/models/__init__.py | huangleiBuaa/IterNorm-pytorch | 574b1247036106c40d199c73ab29785b16d05407 | [
"BSD-2-Clause"
] | 2 | 2019-06-27T08:27:26.000Z | 2021-07-03T14:40:44.000Z | cifar10/models/__init__.py | huangleiBuaa/IterNorm-pytorch | 574b1247036106c40d199c73ab29785b16d05407 | [
"BSD-2-Clause"
] | 8 | 2019-04-10T13:20:25.000Z | 2021-07-29T11:10:49.000Z | from .resnet import *
from .vgg import *
from .WRN import *
| 15 | 21 | 0.7 | 9 | 60 | 4.666667 | 0.555556 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 3 | 22 | 20 | 0.875 | 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 |
79d6bc9fba6cb3efb39bb139a0b0e7d7984e2cc9 | 126 | py | Python | 2019/07/02/Solutions/malcolm-smith/solution.py | WillDaSilva/daily-questions | 6e86b3f625df5c60d9a57f1694fafdd24c4ff2c4 | [
"MIT"
] | 12 | 2019-07-02T22:17:49.000Z | 2020-10-08T16:02:04.000Z | 2019/07/02/Solutions/malcolm-smith/solution.py | WillDaSilva/daily-questions | 6e86b3f625df5c60d9a57f1694fafdd24c4ff2c4 | [
"MIT"
] | 2 | 2019-07-03T12:22:22.000Z | 2019-09-04T23:31:38.000Z | 2019/07/02/Solutions/malcolm-smith/solution.py | WillDaSilva/daily-questions | 6e86b3f625df5c60d9a57f1694fafdd24c4ff2c4 | [
"MIT"
] | 15 | 2019-07-02T23:29:07.000Z | 2020-05-11T15:53:07.000Z | def pushZeroes(arr):
return [i for i in arr if i != 0] + [i for i in arr if i == 0]
print(pushZeroes([0, 1, 0, 3, 12]))
| 21 | 66 | 0.563492 | 27 | 126 | 2.62963 | 0.481481 | 0.112676 | 0.140845 | 0.197183 | 0.394366 | 0.394366 | 0.394366 | 0.394366 | 0 | 0 | 0 | 0.086022 | 0.261905 | 126 | 5 | 67 | 25.2 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8dd35d4ae5a71f02afd852a3100afe994e103cde | 28 | py | Python | majora2/submodels/__init__.py | CLIMB-COVID/majora2 | 46ea1809a61e4a768f8cbacaf54cba5c4d82e1f2 | [
"MIT"
] | 29 | 2019-04-04T18:03:43.000Z | 2022-02-09T12:47:30.000Z | majora2/submodels/__init__.py | CLIMB-COVID/majora2 | 46ea1809a61e4a768f8cbacaf54cba5c4d82e1f2 | [
"MIT"
] | 66 | 2019-04-02T16:18:40.000Z | 2022-01-25T16:15:42.000Z | majora2/submodels/__init__.py | CLIMB-COVID/majora2 | 46ea1809a61e4a768f8cbacaf54cba5c4d82e1f2 | [
"MIT"
] | 6 | 2020-04-10T14:15:32.000Z | 2022-01-18T13:08:35.000Z | from .supplemental import *
| 14 | 27 | 0.785714 | 3 | 28 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8de98294dc0ea2c3f70705044f738a627e18bf64 | 1,699 | py | Python | simulation_pomegranate.py | malwash/Simulation_Calibration | fd0ebd54e78694aa0d256d3837fa67642a35c54b | [
"Apache-2.0"
] | null | null | null | simulation_pomegranate.py | malwash/Simulation_Calibration | fd0ebd54e78694aa0d256d3837fa67642a35c54b | [
"Apache-2.0"
] | null | null | null | simulation_pomegranate.py | malwash/Simulation_Calibration | fd0ebd54e78694aa0d256d3837fa67642a35c54b | [
"Apache-2.0"
] | null | null | null | import notears
import numpy as np
from pomegranate import BayesianNetwork
from notears.nonlinear import notears_nonlinear, NotearsMLP
from statsmodels.tools.eval_measures import bic
def pomegranate_setup(train_data, training_n):
model = BayesianNetwork.from_samples(train_data, state_names=train_data.columns.valu... | 41.439024 | 114 | 0.765156 | 234 | 1,699 | 5.217949 | 0.209402 | 0.17199 | 0.14742 | 0.044226 | 0.839476 | 0.839476 | 0.839476 | 0.839476 | 0.839476 | 0.839476 | 0 | 0.016118 | 0.123602 | 1,699 | 40 | 115 | 42.475 | 0.803895 | 0.217187 | 0 | 0.521739 | 0 | 0 | 0.051593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0.217391 | 0 | 0.478261 | 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 |
8df36a1face9d6c6b4a0e92f1d065d5bdef9cb4b | 21 | py | Python | __init__.py | tekromancr/pypurdypixels | 2a357bb5e423303d08c03dac871dbd0f98b63035 | [
"MIT"
] | null | null | null | __init__.py | tekromancr/pypurdypixels | 2a357bb5e423303d08c03dac871dbd0f98b63035 | [
"MIT"
] | null | null | null | __init__.py | tekromancr/pypurdypixels | 2a357bb5e423303d08c03dac871dbd0f98b63035 | [
"MIT"
] | null | null | null | from strand import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 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 |
5c2890399e7412165e09afb334e6d9e942573ac3 | 157 | py | Python | python_mbills/exceptions.py | boris-savic/python-mbills | a591be0a3e07ee825503c2e0dd8a54d5c991f56f | [
"MIT"
] | null | null | null | python_mbills/exceptions.py | boris-savic/python-mbills | a591be0a3e07ee825503c2e0dd8a54d5c991f56f | [
"MIT"
] | null | null | null | python_mbills/exceptions.py | boris-savic/python-mbills | a591be0a3e07ee825503c2e0dd8a54d5c991f56f | [
"MIT"
] | null | null | null |
class SignatureValidationException(Exception):
pass
class TransactionDoesNotExist(Exception):
pass
class InsufficientFunds(Exception):
pass
| 13.083333 | 46 | 0.77707 | 12 | 157 | 10.166667 | 0.5 | 0.319672 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165605 | 157 | 11 | 47 | 14.272727 | 0.931298 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5c37d5938bc6e4ff26abc6a0454650dbb466b92e | 46 | py | Python | datasets/__init__.py | rioyokotalab/ecl-isvr | ae274b1b81b1d1c10db008140c477f5893a0c1c3 | [
"BSD-4-Clause-UC"
] | null | null | null | datasets/__init__.py | rioyokotalab/ecl-isvr | ae274b1b81b1d1c10db008140c477f5893a0c1c3 | [
"BSD-4-Clause-UC"
] | null | null | null | datasets/__init__.py | rioyokotalab/ecl-isvr | ae274b1b81b1d1c10db008140c477f5893a0c1c3 | [
"BSD-4-Clause-UC"
] | 2 | 2021-09-30T02:13:40.000Z | 2021-12-14T07:33:28.000Z | #! -*- coding:utf-8
from .datasets import *
| 15.333333 | 24 | 0.608696 | 6 | 46 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.195652 | 46 | 2 | 25 | 23 | 0.72973 | 0.391304 | 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 |
eb76ec1152ded3758f71170ddfc00815659ac7b8 | 187 | py | Python | profiles_api/admin.py | jaesungreemei/profiles-rest-api | 385d6b8ba1891397771a4f4d36f603358cf33517 | [
"MIT"
] | null | null | null | profiles_api/admin.py | jaesungreemei/profiles-rest-api | 385d6b8ba1891397771a4f4d36f603358cf33517 | [
"MIT"
] | null | null | null | profiles_api/admin.py | jaesungreemei/profiles-rest-api | 385d6b8ba1891397771a4f4d36f603358cf33517 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Enable the model through imports
from profiles_api import models
admin.site.register(models.UserProfile)
admin.site.register(models.ProfileFeedItem)
| 20.777778 | 43 | 0.834225 | 25 | 187 | 6.2 | 0.68 | 0.116129 | 0.219355 | 0.296774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101604 | 187 | 8 | 44 | 23.375 | 0.922619 | 0.171123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ebe2de359eabe8105405f751046c2ddce10b0f70 | 16,070 | py | Python | datadog_checks_base/tests/openmetrics/test_config.py | vbarbaresi/integrations-core | ab26ab1cd6c28a97c1ad1177093a93659658c7aa | [
"BSD-3-Clause"
] | 1 | 2021-06-06T23:49:17.000Z | 2021-06-06T23:49:17.000Z | datadog_checks_base/tests/openmetrics/test_config.py | vbarbaresi/integrations-core | ab26ab1cd6c28a97c1ad1177093a93659658c7aa | [
"BSD-3-Clause"
] | null | null | null | datadog_checks_base/tests/openmetrics/test_config.py | vbarbaresi/integrations-core | ab26ab1cd6c28a97c1ad1177093a93659658c7aa | [
"BSD-3-Clause"
] | null | null | null | # (C) Datadog, Inc. 2020-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
import pytest
from datadog_checks.dev.testing import requires_py3
from .utils import get_check
pytestmark = [requires_py3, pytest.mark.openmetrics, pytest.mark.openmetrics_config]
class TestPrometheus... | 39.195122 | 119 | 0.646422 | 2,026 | 16,070 | 4.851431 | 0.07305 | 0.049852 | 0.099705 | 0.146505 | 0.900295 | 0.893072 | 0.88595 | 0.873131 | 0.820938 | 0.762539 | 0 | 0.014519 | 0.232794 | 16,070 | 409 | 120 | 39.290954 | 0.782707 | 0.006721 | 0 | 0.527586 | 0 | 0.010345 | 0.268392 | 0.012533 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168966 | false | 0 | 0.010345 | 0 | 0.231034 | 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 |
ccd9854e324566ae92a87c2fd96e8e156af84ee6 | 27 | py | Python | gen2-mask-detection/depthai_utils/__init__.py | ibaiGorordo/depthai-experiments | cde67e277120ddac815cbad6360695759cca900f | [
"MIT"
] | 381 | 2020-05-31T22:36:51.000Z | 2022-03-31T15:39:36.000Z | gen2-mask-detection/depthai_utils/__init__.py | ibaiGorordo/depthai-experiments | cde67e277120ddac815cbad6360695759cca900f | [
"MIT"
] | 211 | 2020-09-12T20:49:18.000Z | 2022-03-31T17:22:52.000Z | gen2-mask-detection/depthai_utils/__init__.py | ibaiGorordo/depthai-experiments | cde67e277120ddac815cbad6360695759cca900f | [
"MIT"
] | 189 | 2020-06-01T19:09:51.000Z | 2022-03-31T15:39:28.000Z | from .gen2_depthai import * | 27 | 27 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.111111 | 27 | 1 | 27 | 27 | 0.833333 | 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 |
ccdb03336fa4e60335500ce7924e6f29c4ccdec3 | 25 | py | Python | src/tfmars/modules/__init__.py | Shakshi3104/tfmars | f34d3fff49d9eabf130cd7c5fb8f7c6d0f12b5e8 | [
"MIT"
] | 1 | 2022-03-19T11:14:04.000Z | 2022-03-19T11:14:04.000Z | src/tfmars/modules/__init__.py | Shakshi3104/tfmars | f34d3fff49d9eabf130cd7c5fb8f7c6d0f12b5e8 | [
"MIT"
] | null | null | null | src/tfmars/modules/__init__.py | Shakshi3104/tfmars | f34d3fff49d9eabf130cd7c5fb8f7c6d0f12b5e8 | [
"MIT"
] | null | null | null | from .attention import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
692e2ec14110764034d7a064279febd7219b4110 | 53 | py | Python | VersionDetermination/LastVersionDetector/__init__.py | grobbles/verion-determination | 04600ff2c854b98849de12779e36b899cbff6679 | [
"MIT"
] | null | null | null | VersionDetermination/LastVersionDetector/__init__.py | grobbles/verion-determination | 04600ff2c854b98849de12779e36b899cbff6679 | [
"MIT"
] | null | null | null | VersionDetermination/LastVersionDetector/__init__.py | grobbles/verion-determination | 04600ff2c854b98849de12779e36b899cbff6679 | [
"MIT"
] | null | null | null | from .LastVersionDetector import LastVersionDetector
| 26.5 | 52 | 0.90566 | 4 | 53 | 12 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.979592 | 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 |
694698474062c3e2bc67478fdd66ae5beeefa20c | 882 | py | Python | python/ray/util/collective/__init__.py | Crissman/ray | 2092b097eab41b118a117fdfadd0fe664db41f63 | [
"Apache-2.0"
] | 3 | 2021-06-22T19:57:41.000Z | 2021-06-23T07:16:44.000Z | python/ray/util/collective/__init__.py | h453693821/ray | 9eb79727aa6ad94b01f8b660b83e1182555a89f6 | [
"Apache-2.0"
] | 72 | 2021-02-06T08:07:16.000Z | 2022-03-26T07:17:49.000Z | python/ray/util/collective/__init__.py | h453693821/ray | 9eb79727aa6ad94b01f8b660b83e1182555a89f6 | [
"Apache-2.0"
] | 2 | 2021-05-05T21:05:16.000Z | 2021-06-22T21:16:03.000Z | from ray.util.collective.collective import nccl_available, gloo_available, \
is_group_initialized, init_collective_group, destroy_collective_group, \
declare_collective_group, get_rank, get_world_size, allreduce, \
allreduce_multigpu, barrier, reduce, reduce_multigpu, broadcast, \
broadcast_multigpu, al... | 55.125 | 78 | 0.768707 | 93 | 882 | 6.817204 | 0.301075 | 0.141956 | 0.053628 | 0.082019 | 0.936909 | 0.936909 | 0.936909 | 0.936909 | 0.936909 | 0.936909 | 0 | 0 | 0.11678 | 882 | 15 | 79 | 58.8 | 0.813864 | 0 | 0 | 0 | 0 | 0 | 0.35941 | 0.103175 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 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 |
c6573bc6895ef6da2022e09bd658f96f01d948ac | 87,833 | py | Python | teospy/seaice4.py | jarethholt/teospy | 3bb23e67bbb765c0842aa8d4a73c1d55ea395d2f | [
"MIT"
] | null | null | null | teospy/seaice4.py | jarethholt/teospy | 3bb23e67bbb765c0842aa8d4a73c1d55ea395d2f | [
"MIT"
] | null | null | null | teospy/seaice4.py | jarethholt/teospy | 3bb23e67bbb765c0842aa8d4a73c1d55ea395d2f | [
"MIT"
] | null | null | null | """Seawater-ice equilibrium functions.
This module provides thermodynamic functions for seawater in equilibrium
with ice (sea-ice), e.g. the enthalpy of melting. It also provides a
Gibbs free energy function for sea-ice parcels, with primary variables
being the total salinity (mass of salt per mass of salt, liquid, an... | 42.92913 | 80 | 0.677968 | 13,182 | 87,833 | 4.452587 | 0.034137 | 0.035046 | 0.030173 | 0.038403 | 0.883804 | 0.862098 | 0.848008 | 0.824837 | 0.812127 | 0.802876 | 0 | 0.033886 | 0.231929 | 87,833 | 2,045 | 81 | 42.950122 | 0.836145 | 0.695798 | 0 | 0.423913 | 0 | 0 | 0.023769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071739 | false | 0 | 0.026087 | 0 | 0.191304 | 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 |
d687cf09eca45bb96738ee6a2dab0c2bbb4b8a46 | 30 | py | Python | kartverket_tide_api/__init__.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | kartverket_tide_api/__init__.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | kartverket_tide_api/__init__.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | from .tide_api import TideApi
| 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 |
ba95672ec341242f8978163c51676c13af938817 | 33 | py | Python | qurry/visualization/__init__.py | LSaldyt/curry | 9004a396ec2e351aa143a10a53156649a6747343 | [
"MIT"
] | 11 | 2018-07-28T17:08:23.000Z | 2019-02-08T03:04:03.000Z | qurry/visualization/__init__.py | LSaldyt/Qurry | 9004a396ec2e351aa143a10a53156649a6747343 | [
"MIT"
] | 33 | 2019-07-09T09:46:44.000Z | 2019-09-23T23:44:37.000Z | qurry/visualization/__init__.py | LSaldyt/Qurry | 9004a396ec2e351aa143a10a53156649a6747343 | [
"MIT"
] | 4 | 2019-05-28T01:27:49.000Z | 2019-12-26T18:01:51.000Z | from .histogram import histogram
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
bace3196bc905295c4d58e81efd6505cd963dc47 | 33 | py | Python | python/recognitionService_api/__init__.py | Koisell/SmartCoffeeMachine | 40844039970d177b20b9d3c6d3e7eedf7352885e | [
"MIT"
] | null | null | null | python/recognitionService_api/__init__.py | Koisell/SmartCoffeeMachine | 40844039970d177b20b9d3c6d3e7eedf7352885e | [
"MIT"
] | null | null | null | python/recognitionService_api/__init__.py | Koisell/SmartCoffeeMachine | 40844039970d177b20b9d3c6d3e7eedf7352885e | [
"MIT"
] | null | null | null | from .flask_app import add_route
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bae77b64464b436386a4f76548eec99e0d7a192d | 193 | py | Python | scripts/osmupdate-latvia-trolleybus/config.example.py | trolleway/osmot | 6fceaacb3d64b3d7d1a13f0b6a132a239fbab547 | [
"Unlicense"
] | 12 | 2015-02-23T17:31:46.000Z | 2021-03-11T21:52:31.000Z | scripts/osmupdate-latvia-trolleybus/config.example.py | trolleway/osmot | 6fceaacb3d64b3d7d1a13f0b6a132a239fbab547 | [
"Unlicense"
] | 8 | 2015-02-10T19:04:34.000Z | 2020-10-19T23:31:52.000Z | scripts/osmupdate-latvia-trolleybus/config.example.py | trolleway/osmot | 6fceaacb3d64b3d7d1a13f0b6a132a239fbab547 | [
"Unlicense"
] | 1 | 2018-01-26T19:38:20.000Z | 2018-01-26T19:38:20.000Z | dbname='gis'
user='trolleway'
host='localhost'
password='admin'
dump_url='http://download.geofabrik.de/europe/latvia-latest.osm.pbf'
poly_url='http://download.geofabrik.de/europe/latvia.poly'
| 24.125 | 68 | 0.777202 | 28 | 193 | 5.285714 | 0.714286 | 0.094595 | 0.202703 | 0.324324 | 0.513514 | 0.513514 | 0.513514 | 0 | 0 | 0 | 0 | 0 | 0.036269 | 193 | 7 | 69 | 27.571429 | 0.795699 | 0 | 0 | 0 | 0 | 0 | 0.673575 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0312f47f49120369ec8b514ab92ab4305bb4f87a | 33 | py | Python | ale/base/__init__.py | paarongiroux/ale | aaefdf555c4f24c5610912625e81dff57c479b4c | [
"Unlicense"
] | 4 | 2019-05-23T18:37:43.000Z | 2022-01-10T20:03:56.000Z | ale/base/__init__.py | paarongiroux/ale | aaefdf555c4f24c5610912625e81dff57c479b4c | [
"Unlicense"
] | 262 | 2018-12-12T16:33:00.000Z | 2022-03-28T01:28:33.000Z | ale/base/__init__.py | paarongiroux/ale | aaefdf555c4f24c5610912625e81dff57c479b4c | [
"Unlicense"
] | 20 | 2018-12-17T20:42:18.000Z | 2022-03-07T20:48:16.000Z | from ale.base.base import Driver
| 16.5 | 32 | 0.818182 | 6 | 33 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
03544b668855363e6d2313dde61f58f4b2160a8b | 89 | py | Python | numpyro/__init__.py | Anthonymcqueen21/numpyro | 94efe3a35491465eba66465b4dd1d4fb870d6c8c | [
"MIT"
] | 1 | 2019-06-24T04:27:18.000Z | 2019-06-24T04:27:18.000Z | numpyro/__init__.py | Anthonymcqueen21/numpyro | 94efe3a35491465eba66465b4dd1d4fb870d6c8c | [
"MIT"
] | null | null | null | numpyro/__init__.py | Anthonymcqueen21/numpyro | 94efe3a35491465eba66465b4dd1d4fb870d6c8c | [
"MIT"
] | null | null | null | import numpyro.patch # noqa: F401
from numpyro.version import __version__ # noqa: F401
| 29.666667 | 53 | 0.775281 | 12 | 89 | 5.416667 | 0.583333 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.157303 | 89 | 2 | 54 | 44.5 | 0.786667 | 0.235955 | 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 |
069beec455baa18fc5311f4fb043836a053d084c | 24,511 | py | Python | src/nexgen/command_line/nexus_generator.py | DominicOram/nexgen | 5a0dbb7bc7f8f3876e4cd69c6cd4eb7df0587af8 | [
"BSD-3-Clause"
] | null | null | null | src/nexgen/command_line/nexus_generator.py | DominicOram/nexgen | 5a0dbb7bc7f8f3876e4cd69c6cd4eb7df0587af8 | [
"BSD-3-Clause"
] | null | null | null | src/nexgen/command_line/nexus_generator.py | DominicOram/nexgen | 5a0dbb7bc7f8f3876e4cd69c6cd4eb7df0587af8 | [
"BSD-3-Clause"
] | null | null | null | """
Command line tool to generate NeXus files.
"""
import sys
import glob
import h5py
import time
import logging
import argparse
import freephil
import numpy as np
from pathlib import Path
from datetime import datetime
from . import (
version_parser,
detectormode_parser,
nexus_parser,
demo_parser,
... | 33.078273 | 176 | 0.637143 | 3,050 | 24,511 | 5.002623 | 0.114754 | 0.062262 | 0.034605 | 0.024577 | 0.759339 | 0.74669 | 0.735024 | 0.718705 | 0.71628 | 0.714117 | 0 | 0.003782 | 0.255763 | 24,511 | 740 | 177 | 33.122973 | 0.832639 | 0.056464 | 0 | 0.639535 | 1 | 0.011628 | 0.306926 | 0.048815 | 0 | 0 | 0 | 0 | 0.023256 | 1 | 0.007752 | false | 0.001938 | 0.027132 | 0 | 0.034884 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
234c7ba7dba7e1153eaebd2a9f976d8200caa41b | 487 | py | Python | src/pages/views.py | Neville-Loh/webdev_commerce | b025182e0df54a7dd156ee027efd57736a458b95 | [
"bzip2-1.0.6"
] | null | null | null | src/pages/views.py | Neville-Loh/webdev_commerce | b025182e0df54a7dd156ee027efd57736a458b95 | [
"bzip2-1.0.6"
] | null | null | null | src/pages/views.py | Neville-Loh/webdev_commerce | b025182e0df54a7dd156ee027efd57736a458b95 | [
"bzip2-1.0.6"
] | null | null | null | from django.shortcuts import render
def home_view(request):
return render(request, "home.html", {})
def about_view(request):
return render(request, "about.html", {})
def contact_view(request):
return render(request, "contact.html", {})
# For debug purpose
# -----------------------------------------------------... | 24.35 | 67 | 0.632444 | 59 | 487 | 5.033898 | 0.322034 | 0.218855 | 0.319865 | 0.43771 | 0.545455 | 0.228956 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.104723 | 487 | 19 | 68 | 25.631579 | 0.676606 | 0.170431 | 0 | 0 | 0 | 0 | 0.15212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
000106decf226374650a69d21bc7a44c65206ab7 | 6,023 | py | Python | tests/potato/test_potato_transferFrom.py | MostafaMhmod/potato-farm | fc99abbc162a61f432aae3ba054ab46fc6a901e1 | [
"MIT"
] | null | null | null | tests/potato/test_potato_transferFrom.py | MostafaMhmod/potato-farm | fc99abbc162a61f432aae3ba054ab46fc6a901e1 | [
"MIT"
] | null | null | null | tests/potato/test_potato_transferFrom.py | MostafaMhmod/potato-farm | fc99abbc162a61f432aae3ba054ab46fc6a901e1 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import brownie
def test_potato_sender_balance_decreases(accounts, potato):
sender_balance = potato.balanceOf(accounts[0])
amount = sender_balance // 4
potato.approve(accounts[1], amount, {'from': accounts[0]})
potato.transferFrom(accounts[0], accounts[2], amount, {'from': accounts[... | 36.50303 | 90 | 0.716254 | 742 | 6,023 | 5.665768 | 0.075472 | 0.139153 | 0.175071 | 0.125595 | 0.86156 | 0.840152 | 0.792816 | 0.783302 | 0.747621 | 0.734539 | 0 | 0.026291 | 0.134817 | 6,023 | 164 | 91 | 36.72561 | 0.780464 | 0.002823 | 0 | 0.60396 | 0 | 0 | 0.023314 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 1 | 0.168317 | false | 0 | 0.009901 | 0 | 0.178218 | 0.009901 | 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 |
000817092cd6b9ae5fbe118fd14a6d71e367a553 | 2,111 | py | Python | src/sort_strategy.py | Amatsukan/TechnicalAssessment | b30eaa2b94b9e34e61ee2372b61eb151fa8aa95c | [
"Unlicense"
] | null | null | null | src/sort_strategy.py | Amatsukan/TechnicalAssessment | b30eaa2b94b9e34e61ee2372b61eb151fa8aa95c | [
"Unlicense"
] | null | null | null | src/sort_strategy.py | Amatsukan/TechnicalAssessment | b30eaa2b94b9e34e61ee2372b61eb151fa8aa95c | [
"Unlicense"
] | null | null | null | from ordered_set import *
class Sort_strategy:
def sort(self, books):
pass
def setComposition(self,composition):
self.composition = composition
return self
def cleanComposition(self,composition):
self.composition = None
return self
def desc_order(self, recurs... | 35.183333 | 119 | 0.640455 | 246 | 2,111 | 5.390244 | 0.150407 | 0.226244 | 0.128959 | 0.067873 | 0.781297 | 0.781297 | 0.731523 | 0.731523 | 0.659125 | 0.615385 | 0 | 0 | 0.255803 | 2,111 | 60 | 119 | 35.183333 | 0.844048 | 0 | 0 | 0.5 | 0 | 0 | 0.014205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.229167 | false | 0.020833 | 0.020833 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0023bc2a40c6b9f6445e225b7289953888297c9d | 217 | py | Python | istock_app/resources.py | Jonas1015/ShoppySm | 52c8edf958ca705b489f8f4efb547bdd635cefd2 | [
"MIT"
] | null | null | null | istock_app/resources.py | Jonas1015/ShoppySm | 52c8edf958ca705b489f8f4efb547bdd635cefd2 | [
"MIT"
] | null | null | null | istock_app/resources.py | Jonas1015/ShoppySm | 52c8edf958ca705b489f8f4efb547bdd635cefd2 | [
"MIT"
] | null | null | null | # from import_export import resources
from .models import sales
# class salesResource(resources.ModelResource):
# class Meta:
# model = sales
# fields = ['sales_name', 'quantity', 'date_of_sale']
| 27.125 | 61 | 0.682028 | 24 | 217 | 6 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211982 | 217 | 7 | 62 | 31 | 0.842105 | 0.824885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
003e6f4c7bd179448c6e83447f86aa9321c675b4 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/chardet/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/chardet/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/chardet/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/99/66/5a/5a6bd9921c1f044013f4ed58ea74537cace14fb1478504d302e8dba940 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cc8767a7d431d9c6df0105ead6e11ccf39bfffda | 109 | py | Python | aula#22/desafio115/teste.py | daramariabs/exercicios-python | 0d9785a9cccd5442a190572c58ab8dd6e2fe0cce | [
"MIT"
] | null | null | null | aula#22/desafio115/teste.py | daramariabs/exercicios-python | 0d9785a9cccd5442a190572c58ab8dd6e2fe0cce | [
"MIT"
] | null | null | null | aula#22/desafio115/teste.py | daramariabs/exercicios-python | 0d9785a9cccd5442a190572c58ab8dd6e2fe0cce | [
"MIT"
] | null | null | null | arquivo = open("/home/daramariabs/Documentos/GITHUB/exercicios-python/aula#22/desafio115/contatos.txt", "a")
| 54.5 | 108 | 0.788991 | 14 | 109 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.036697 | 109 | 1 | 109 | 109 | 0.771429 | 0 | 0 | 0 | 0 | 1 | 0.788991 | 0.779817 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ccaf4e0e199ba5b6f44d8a76e29133fde5daff1f | 110 | py | Python | flaskeddit/user/__init__.py | aqche/flaskedd | 04edbf2e22c7a63c944cca91176df9119983eab2 | [
"MIT"
] | 1 | 2019-03-23T03:21:35.000Z | 2019-03-23T03:21:35.000Z | flaskeddit/user/__init__.py | aqche/flaskedd | 04edbf2e22c7a63c944cca91176df9119983eab2 | [
"MIT"
] | 7 | 2020-03-24T18:05:13.000Z | 2022-01-13T01:57:43.000Z | flaskeddit/user/__init__.py | aqche/flaskedd | 04edbf2e22c7a63c944cca91176df9119983eab2 | [
"MIT"
] | null | null | null | from flask import Blueprint
user_blueprint = Blueprint("user", __name__)
from flaskeddit.user import routes
| 18.333333 | 44 | 0.809091 | 14 | 110 | 6 | 0.571429 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 110 | 5 | 45 | 22 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
ccb3c2aef88ab43ffb7170b22436644354627886 | 452 | py | Python | wynncraft/__init__.py | martinkovacs/wynncraft-python | 0c35e3eb4d080aa32b997543d21998933ffa7819 | [
"0BSD"
] | null | null | null | wynncraft/__init__.py | martinkovacs/wynncraft-python | 0c35e3eb4d080aa32b997543d21998933ffa7819 | [
"0BSD"
] | null | null | null | wynncraft/__init__.py | martinkovacs/wynncraft-python | 0c35e3eb4d080aa32b997543d21998933ffa7819 | [
"0BSD"
] | null | null | null | from wynncraft.version import __version__
import wynncraft.utils
import wynncraft.cache
from wynncraft.wynncraft import Guild
from wynncraft.wynncraft import Ingredient
from wynncraft.wynncraft import Item
from wynncraft.wynncraft import Leaderboard
from wynncraft.wynncraft import Network
from wynncraft.wynncraft im... | 28.25 | 43 | 0.869469 | 56 | 452 | 6.946429 | 0.267857 | 0.33419 | 0.508997 | 0.647815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103982 | 452 | 15 | 44 | 30.133333 | 0.960494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ccc6109cd2681baeee129a990454d03dc1c8648e | 1,266 | py | Python | tests/dags/test_sub_provider_update_workflow.py | lyu4321/openverse-catalog | cd5be8fbff402a7420e772a803abdc2a20fd7235 | [
"MIT"
] | null | null | null | tests/dags/test_sub_provider_update_workflow.py | lyu4321/openverse-catalog | cd5be8fbff402a7420e772a803abdc2a20fd7235 | [
"MIT"
] | 1 | 2021-10-07T19:21:21.000Z | 2021-10-07T19:21:21.000Z | tests/dags/test_sub_provider_update_workflow.py | lyu4321/openverse-catalog | cd5be8fbff402a7420e772a803abdc2a20fd7235 | [
"MIT"
] | null | null | null | import os
from airflow.models import DagBag
FILE_DIR = os.path.abspath(os.path.dirname(__file__))
def test_flickr_dag_loads_with_no_errors(tmpdir):
tmp_directory = str(tmpdir)
dag_bag = DagBag(dag_folder=tmp_directory, include_examples=False)
dag_bag.process_file(
os.path.join(
FILE... | 27.521739 | 70 | 0.674566 | 172 | 1,266 | 4.569767 | 0.244186 | 0.091603 | 0.091603 | 0.114504 | 0.830789 | 0.830789 | 0.830789 | 0.830789 | 0.830789 | 0.830789 | 0 | 0.006079 | 0.220379 | 1,266 | 45 | 71 | 28.133333 | 0.790274 | 0 | 0 | 0.583333 | 0 | 0 | 0.122433 | 0.122433 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.083333 | false | 0 | 0.138889 | 0 | 0.222222 | 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 |
4e02bc1fdc8cad1317b4aee089994315c1fff569 | 212 | py | Python | Gamify/status/admin.py | Londa-LG/Gamify | 2fd8557650b584bf47ffaa6acfdc61c8fdbf64f6 | [
"MIT"
] | null | null | null | Gamify/status/admin.py | Londa-LG/Gamify | 2fd8557650b584bf47ffaa6acfdc61c8fdbf64f6 | [
"MIT"
] | 5 | 2021-03-30T14:10:33.000Z | 2021-09-22T19:33:59.000Z | Gamify/status/admin.py | Londa-LG/Gamify | 2fd8557650b584bf47ffaa6acfdc61c8fdbf64f6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Challenge_Body, Challenge_Mind, Challenge_Skill
admin.site.register(Challenge_Body)
admin.site.register(Challenge_Mind)
admin.site.register(Challenge_Skill)
| 26.5 | 67 | 0.853774 | 29 | 212 | 6.034483 | 0.413793 | 0.154286 | 0.291429 | 0.445714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070755 | 212 | 7 | 68 | 30.285714 | 0.888325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d1c4f0253e3e6f6c94b8bf4b96b5e73e1562811c | 943 | py | Python | test/test_upgrade_notification.py | dcompane/controlm_py | c521208be2f00303383bb32ca5eb2b7ff91999d3 | [
"MIT"
] | 2 | 2020-03-20T18:24:23.000Z | 2021-03-05T22:05:04.000Z | test/test_upgrade_notification.py | dcompane/controlm_py | c521208be2f00303383bb32ca5eb2b7ff91999d3 | [
"MIT"
] | null | null | null | test/test_upgrade_notification.py | dcompane/controlm_py | c521208be2f00303383bb32ca5eb2b7ff91999d3 | [
"MIT"
] | 1 | 2021-05-27T15:54:37.000Z | 2021-05-27T15:54:37.000Z | # coding: utf-8
"""
Control-M Services
Provides access to BMC Control-M Services # noqa: E501
OpenAPI spec version: 9.20.220
Contact: customer_support@bmc.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import con... | 23.575 | 93 | 0.718982 | 107 | 943 | 6.149533 | 0.616822 | 0.06079 | 0.048632 | 0.069909 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021164 | 0.198303 | 943 | 39 | 94 | 24.179487 | 0.849206 | 0.472959 | 0 | 0.214286 | 1 | 0 | 0.017582 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d1c9ec3e52a28dbdd9f4961c2c882911edcd85ec | 4,215 | py | Python | ksteta3pi/PotentialBackgrounds/MC_12_11164011_MagUp.py.py | Williams224/davinci-scripts | 730642d2ff13543eca4073a4ce0932631195de56 | [
"MIT"
] | null | null | null | ksteta3pi/PotentialBackgrounds/MC_12_11164011_MagUp.py.py | Williams224/davinci-scripts | 730642d2ff13543eca4073a4ce0932631195de56 | [
"MIT"
] | null | null | null | ksteta3pi/PotentialBackgrounds/MC_12_11164011_MagUp.py.py | Williams224/davinci-scripts | 730642d2ff13543eca4073a4ce0932631195de56 | [
"MIT"
] | null | null | null | #-- GAUDI jobOptions generated on Fri Jul 24 17:00:56 2015
#-- Contains event types :
#-- 11164011 - 17 files - 264994 events - 57.72 GBytes
#-- Extra information about the data processing phases:
#-- Processing Pass Step-124834
#-- StepId : 124834
#-- StepName : Reco14a for MC
#-- ApplicationName : Bru... | 45.322581 | 247 | 0.759431 | 507 | 4,215 | 6.240631 | 0.287968 | 0.139697 | 0.048357 | 0.069848 | 0.496839 | 0.496839 | 0.496839 | 0.496839 | 0.481669 | 0.46713 | 0 | 0.21054 | 0.095136 | 4,215 | 92 | 248 | 45.815217 | 0.619035 | 0.601186 | 0 | 0 | 1 | 0.85 | 0.849323 | 0.846863 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d1d6852d9425380edd3198c3036ae6e94053de0c | 116 | py | Python | src/utils/torch_utils.py | YetAnotherPolicy/RMIX | dbc8f0a6560aa3f274765fa78aaaca22351ab8ad | [
"Apache-2.0"
] | 6 | 2021-11-18T16:21:43.000Z | 2021-12-31T02:22:23.000Z | src/utils/torch_utils.py | YetAnotherPolicy/RMIX | dbc8f0a6560aa3f274765fa78aaaca22351ab8ad | [
"Apache-2.0"
] | null | null | null | src/utils/torch_utils.py | YetAnotherPolicy/RMIX | dbc8f0a6560aa3f274765fa78aaaca22351ab8ad | [
"Apache-2.0"
] | 1 | 2022-02-22T02:37:30.000Z | 2022-02-22T02:37:30.000Z | import torch as th
def huber(x, k=1.0):
return th.where(x.abs() < k, 0.5 * x.pow(2), k * (x.abs() - 0.5 * k))
| 19.333333 | 73 | 0.517241 | 27 | 116 | 2.222222 | 0.592593 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0.232759 | 116 | 5 | 74 | 23.2 | 0.595506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ae393a5beae32d41f4772ac1a0542ef95d370d06 | 23 | py | Python | river_model_io/__init__.py | joelrahman/river-model-io | f4ff3fabde40906ab798ae2a668afb68d4bcfae3 | [
"0BSD"
] | null | null | null | river_model_io/__init__.py | joelrahman/river-model-io | f4ff3fabde40906ab798ae2a668afb68d4bcfae3 | [
"0BSD"
] | null | null | null | river_model_io/__init__.py | joelrahman/river-model-io | f4ff3fabde40906ab798ae2a668afb68d4bcfae3 | [
"0BSD"
] | null | null | null | from .bigmod import *
| 7.666667 | 21 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 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 |
ae764cae0bb7c0087bbdf84868e0a40e8aa0d5a9 | 223 | py | Python | jotdx/__init__.py | jojoquant/jotdx | bc1cf478ddb262883d779d3c494877a767ebedd5 | [
"MIT"
] | null | null | null | jotdx/__init__.py | jojoquant/jotdx | bc1cf478ddb262883d779d3c494877a767ebedd5 | [
"MIT"
] | null | null | null | jotdx/__init__.py | jojoquant/jotdx | bc1cf478ddb262883d779d3c494877a767ebedd5 | [
"MIT"
] | null | null | null | from jotdx import config
from jotdx.consts import EX_HOSTS
from jotdx.consts import GP_HOSTS
from jotdx.consts import HQ_HOSTS
from jotdx.server import server
from jotdx.utils import get_config_path
__version__ = '0.1.11'
| 24.777778 | 39 | 0.829596 | 38 | 223 | 4.631579 | 0.447368 | 0.306818 | 0.255682 | 0.357955 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020513 | 0.125561 | 223 | 8 | 40 | 27.875 | 0.882051 | 0 | 0 | 0 | 0 | 0 | 0.026906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
884340d1890b3b844cae63e031d0cdc6ac2fda77 | 84,078 | py | Python | duke-cs671-fall21-coupon-recommendation/outputs/rules/ID3/10_features/maxdepth_5/0/rules.py | apcarrik/kaggle | 6e2d4db58017323e7ba5510bcc2598e01a4ee7bf | [
"MIT"
] | null | null | null | duke-cs671-fall21-coupon-recommendation/outputs/rules/ID3/10_features/maxdepth_5/0/rules.py | apcarrik/kaggle | 6e2d4db58017323e7ba5510bcc2598e01a4ee7bf | [
"MIT"
] | null | null | null | duke-cs671-fall21-coupon-recommendation/outputs/rules/ID3/10_features/maxdepth_5/0/rules.py | apcarrik/kaggle | 6e2d4db58017323e7ba5510bcc2598e01a4ee7bf | [
"MIT"
] | null | null | null | def findDecision(obj): #obj[0]: Passanger, obj[1]: Time, obj[2]: Coupon, obj[3]: Education, obj[4]: Occupation, obj[5]: Bar, obj[6]: Coffeehouse, obj[7]: Restaurant20to50, obj[8]: Direction_same, obj[9]: Distance
# {"feature": "Coupon", "instances": 8147, "metric_value": 0.4744, "depth": 1}
if obj[2]>1:
# {"feature... | 39.753191 | 212 | 0.494446 | 10,505 | 84,078 | 3.899857 | 0.049595 | 0.125122 | 0.136497 | 0.122535 | 0.922696 | 0.842438 | 0.819737 | 0.724639 | 0.667912 | 0.61221 | 0 | 0.105832 | 0.315362 | 84,078 | 2,114 | 213 | 39.771996 | 0.605875 | 0.44222 | 0 | 0.962985 | 0 | 0 | 0.079259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000607 | false | 0 | 0 | 0 | 0.21784 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8872eed8fe157740b389e61010fddf9443825d2b | 1,134 | py | Python | nnunet/training/network_training/nnUNetTrainerV2_TransferLess.py | ZXLam/nnUNet | 0cf7c8a857c248d6be171e4945427b405f6ac258 | [
"Apache-2.0"
] | null | null | null | nnunet/training/network_training/nnUNetTrainerV2_TransferLess.py | ZXLam/nnUNet | 0cf7c8a857c248d6be171e4945427b405f6ac258 | [
"Apache-2.0"
] | null | null | null | nnunet/training/network_training/nnUNetTrainerV2_TransferLess.py | ZXLam/nnUNet | 0cf7c8a857c248d6be171e4945427b405f6ac258 | [
"Apache-2.0"
] | 1 | 2022-03-15T03:15:02.000Z | 2022-03-15T03:15:02.000Z | from nnunet.training.network_training.nnUNetTrainer import nnUNetTrainer
from nnunet.training.network_training.nnUNetTrainerV2 import nnUNetTrainerV2
class nnUNetTrainerV2TransferLess(nnUNetTrainerV2):
def __init__(self, plans_file, fold, output_folder=None, dataset_directory=None, batch_dice=True, stage=None,
... | 54 | 113 | 0.719577 | 134 | 1,134 | 5.716418 | 0.313433 | 0.046997 | 0.067885 | 0.099217 | 0.793734 | 0.707572 | 0.707572 | 0.707572 | 0.707572 | 0.707572 | 0 | 0.02649 | 0.201058 | 1,134 | 21 | 114 | 54 | 0.818985 | 0 | 0 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 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 |
88857f939de5dcf31149a4f73b41342f6634dd1b | 48 | py | Python | lib/west_tools/trajtree/__init__.py | ajoshpratt/westpa | 545a42a5ae4cfa77de0e125a38a5b1ec2b9ab218 | [
"MIT"
] | 1 | 2019-12-21T09:11:54.000Z | 2019-12-21T09:11:54.000Z | lib/west_tools/trajtree/__init__.py | ajoshpratt/westpa | 545a42a5ae4cfa77de0e125a38a5b1ec2b9ab218 | [
"MIT"
] | 1 | 2019-04-25T14:10:33.000Z | 2019-04-25T14:10:33.000Z | lib/west_tools/trajtree/__init__.py | ajoshpratt/westpa | 545a42a5ae4cfa77de0e125a38a5b1ec2b9ab218 | [
"MIT"
] | 1 | 2020-04-14T20:42:11.000Z | 2020-04-14T20:42:11.000Z | import trajtree
from trajtree import TrajTreeSet | 24 | 32 | 0.895833 | 6 | 48 | 7.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 2 | 32 | 24 | 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 |
8897efa17268f45911b9e3024b5f78e0c4d3801e | 79 | py | Python | rmsectkf/core/modules/local/local_module.py | MartinR2295/rm-sec-toolkit | c3906dc97a8b778a29421efa982c3ab9d72873ff | [
"Apache-2.0"
] | null | null | null | rmsectkf/core/modules/local/local_module.py | MartinR2295/rm-sec-toolkit | c3906dc97a8b778a29421efa982c3ab9d72873ff | [
"Apache-2.0"
] | 15 | 2021-05-07T07:44:48.000Z | 2021-05-09T08:59:19.000Z | rmsectkf/core/modules/local/local_module.py | MartinR2295/rm-sec-toolkit | c3906dc97a8b778a29421efa982c3ab9d72873ff | [
"Apache-2.0"
] | null | null | null | from ..base_module import BaseModule
class LocalModule(BaseModule):
pass
| 13.166667 | 36 | 0.772152 | 9 | 79 | 6.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 5 | 37 | 15.8 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
88ab2f9e4b65b20b973f678eed6a4f7087f7b862 | 183 | py | Python | test.py | pangbo13/BiliSpider | 7f2b14b620f5abafed462b3edbe2437d59d0e17b | [
"MIT"
] | 1 | 2019-07-30T14:17:17.000Z | 2019-07-30T14:17:17.000Z | test.py | pangbo13/BiliSpider | 7f2b14b620f5abafed462b3edbe2437d59d0e17b | [
"MIT"
] | null | null | null | test.py | pangbo13/BiliSpider | 7f2b14b620f5abafed462b3edbe2437d59d0e17b | [
"MIT"
] | null | null | null | # from bilispider.bilispider import *
# s = spider(54,{'tid':(54,),'debug':True,'output':2})
# s.auto_run()
from bilispider.gui import gui_config
print(gui_config({'tid':30}).get())
| 26.142857 | 54 | 0.68306 | 28 | 183 | 4.357143 | 0.642857 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042169 | 0.092896 | 183 | 6 | 55 | 30.5 | 0.692771 | 0.551913 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
ee42990447a820842892b6708b0af588d3800d82 | 46 | py | Python | scripts/mell/layers/gpt2.py | zhenhua32/EasyTransfer | 07940087b80b7dc001fb688c81d9420a2055a2bd | [
"Apache-2.0"
] | 806 | 2020-09-02T03:05:24.000Z | 2022-03-26T03:45:23.000Z | scripts/mell/layers/gpt2.py | zhenhua32/EasyTransfer | 07940087b80b7dc001fb688c81d9420a2055a2bd | [
"Apache-2.0"
] | 48 | 2020-09-16T12:53:32.000Z | 2022-03-09T09:34:44.000Z | scripts/mell/layers/gpt2.py | zhenhua32/EasyTransfer | 07940087b80b7dc001fb688c81d9420a2055a2bd | [
"Apache-2.0"
] | 151 | 2020-09-16T12:31:06.000Z | 2022-03-24T08:51:47.000Z | from transformers import GPT2Model, GPT2Config | 46 | 46 | 0.891304 | 5 | 46 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.086957 | 46 | 1 | 46 | 46 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee4f7a577586f8c5f04a68206b967f7e49c3ffe3 | 83 | py | Python | src/advance/expression_evaluator/compiler/node_traversal/__init__.py | chuanhao01/Python_Expression_Evaluator | 016f7c0a593f47a2139df5949b26d7f93c23fffe | [
"MIT"
] | null | null | null | src/advance/expression_evaluator/compiler/node_traversal/__init__.py | chuanhao01/Python_Expression_Evaluator | 016f7c0a593f47a2139df5949b26d7f93c23fffe | [
"MIT"
] | null | null | null | src/advance/expression_evaluator/compiler/node_traversal/__init__.py | chuanhao01/Python_Expression_Evaluator | 016f7c0a593f47a2139df5949b26d7f93c23fffe | [
"MIT"
] | null | null | null | from .pre_order import PreOrderTraversal
from .post_order import PostOrderTraversal | 41.5 | 42 | 0.891566 | 10 | 83 | 7.2 | 0.7 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 83 | 2 | 42 | 41.5 | 0.947368 | 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 |
c9cbc3d5ffc4a66cf02c11146fed4de8cd985e1e | 47 | py | Python | reader.py | JKLako/welltopreader-1 | f78e0f76363cef38d8bf4b4c793e5a824119c0ec | [
"MIT"
] | null | null | null | reader.py | JKLako/welltopreader-1 | f78e0f76363cef38d8bf4b4c793e5a824119c0ec | [
"MIT"
] | null | null | null | reader.py | JKLako/welltopreader-1 | f78e0f76363cef38d8bf4b4c793e5a824119c0ec | [
"MIT"
] | null | null | null | import numpy as np
##Testing to commit changes | 15.666667 | 27 | 0.787234 | 8 | 47 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 3 | 27 | 15.666667 | 0.948718 | 0.531915 | 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 |
4e72be3bff6b9b73bdbe26671d49a040142593ed | 377 | py | Python | iCount/mapping/__init__.py | genialis/iCount | 80dba0f7292a364c62843d71e76c1b22e6268e14 | [
"MIT"
] | null | null | null | iCount/mapping/__init__.py | genialis/iCount | 80dba0f7292a364c62843d71e76c1b22e6268e14 | [
"MIT"
] | 1 | 2021-09-30T12:55:37.000Z | 2021-09-30T12:55:37.000Z | iCount/mapping/__init__.py | ulelab/iCount | b9dc1b21b80e4dae77b3ac33734514091fbe3151 | [
"MIT"
] | 4 | 2021-03-23T12:38:55.000Z | 2021-05-14T10:10:00.000Z | """.. Line to protect from pydocstyle D205, D400.
Mapping
=======
.. automodule:: iCount.mapping.indexstar
:members:
.. automodule:: iCount.mapping.mapstar
:members:
.. automodule:: iCount.mapping.filters
:members:
.. automodule:: iCount.mapping.xlsites
:members:
"""
from . import filters
from . impo... | 15.708333 | 49 | 0.69496 | 40 | 377 | 6.55 | 0.4 | 0.244275 | 0.351145 | 0.343511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.164456 | 377 | 23 | 50 | 16.391304 | 0.812698 | 0.734748 | 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 |
4ea4f2ba46af99b658edf74a1e9557ee0d84297f | 89,165 | py | Python | cottonformation/res/iotwireless.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/iotwireless.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/iotwireless.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class WirelessDeviceSessionKeysAbpV11(Property):
"""
AWS Object Type = "AWS... | 68.853282 | 250 | 0.776897 | 9,075 | 89,165 | 7.548871 | 0.022149 | 0.032114 | 0.044157 | 0.068242 | 0.929364 | 0.929043 | 0.913015 | 0.882317 | 0.882258 | 0.881018 | 0 | 0.003174 | 0.098862 | 89,165 | 1,294 | 251 | 68.906492 | 0.849421 | 0.361364 | 0 | 0.492637 | 0 | 0 | 0.089577 | 0.050981 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042838 | false | 0 | 0.005355 | 0 | 0.299866 | 0.002677 | 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 |
14d7ddf6e1e6127dd8e0b04f9ab07d85c5142473 | 241 | py | Python | fcos_core/modeling/discriminator/__init__.py | CityU-AIM-Group/SIGMA | 19f89777db8d42f750a9b87756d3326c7efd18f5 | [
"MIT"
] | 5 | 2022-03-02T02:57:44.000Z | 2022-03-25T02:48:43.000Z | fcos_core/modeling/discriminator/__init__.py | CityU-AIM-Group/SCAN | c42d67416fda5c44ee023e14307b63b1ad9890a2 | [
"MIT"
] | null | null | null | fcos_core/modeling/discriminator/__init__.py | CityU-AIM-Group/SCAN | c42d67416fda5c44ee023e14307b63b1ad9890a2 | [
"MIT"
] | null | null | null | from .fcos_head_discriminator import FCOSDiscriminator
from .fcos_head_discriminator_CA import FCOSDiscriminator_CA
from .fcos_head_discriminator_out import FCOSDiscriminator_out
from .fcos_head_discriminator_con import FCOSDiscriminator_con | 60.25 | 62 | 0.921162 | 30 | 241 | 6.933333 | 0.3 | 0.153846 | 0.230769 | 0.480769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062241 | 241 | 4 | 63 | 60.25 | 0.920354 | 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 |
0903f76474baec12080e8aa26a1c099fb0755aa4 | 29 | py | Python | Models/__init__.py | educauchy/kaggle-tab-playground-apr21 | c28d007970bcc3b3ddd4a1cf4811eddaa765ee38 | [
"MIT"
] | null | null | null | Models/__init__.py | educauchy/kaggle-tab-playground-apr21 | c28d007970bcc3b3ddd4a1cf4811eddaa765ee38 | [
"MIT"
] | null | null | null | Models/__init__.py | educauchy/kaggle-tab-playground-apr21 | c28d007970bcc3b3ddd4a1cf4811eddaa765ee38 | [
"MIT"
] | null | null | null | from .MetaClassifier import * | 29 | 29 | 0.827586 | 3 | 29 | 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 |
0923e33444074cfc54719898da419415ea161152 | 110 | py | Python | sirena_client/base/connection/__init__.py | utair-digital/sirena-client | 7cbdca66531f3c86b6780878b22a891e0df754ae | [
"Apache-2.0"
] | 11 | 2022-03-04T14:37:50.000Z | 2022-03-04T14:57:12.000Z | sirena_client/base/connection/__init__.py | utair-digital/sirena-client | 7cbdca66531f3c86b6780878b22a891e0df754ae | [
"Apache-2.0"
] | null | null | null | sirena_client/base/connection/__init__.py | utair-digital/sirena-client | 7cbdca66531f3c86b6780878b22a891e0df754ae | [
"Apache-2.0"
] | null | null | null | from .async_connection import AsyncConnection # noqa
from .async_pool import AsyncConnectionPool # noqa
| 36.666667 | 54 | 0.8 | 12 | 110 | 7.166667 | 0.666667 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 110 | 2 | 55 | 55 | 0.934783 | 0.081818 | 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 |
11b344a9e1bb465ec536f5bac14696fdf00681dc | 95 | py | Python | python/smqtk/algorithms/nn_index/lsh/functors/_plugins.py | joshanderson-kw/SMQTK | 594e7c733fe7f4e514a1a08a7343293a883a41fc | [
"BSD-3-Clause"
] | 82 | 2015-01-07T15:33:29.000Z | 2021-08-11T18:34:05.000Z | python/smqtk/algorithms/nn_index/lsh/functors/_plugins.py | joshanderson-kw/SMQTK | 594e7c733fe7f4e514a1a08a7343293a883a41fc | [
"BSD-3-Clause"
] | 230 | 2015-04-08T14:36:51.000Z | 2022-03-14T17:55:30.000Z | python/smqtk/algorithms/nn_index/lsh/functors/_plugins.py | joshanderson-kw/SMQTK | 594e7c733fe7f4e514a1a08a7343293a883a41fc | [
"BSD-3-Clause"
] | 65 | 2015-01-04T15:00:16.000Z | 2021-11-19T18:09:11.000Z | from .itq import ItqFunctor # noqa: F401
from .simple_rp import SimpleRPFunctor # noqa: F401
| 31.666667 | 52 | 0.768421 | 13 | 95 | 5.538462 | 0.692308 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 0.168421 | 95 | 2 | 53 | 47.5 | 0.835443 | 0.221053 | 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 |
ee9808c9424ece166d71e967cbebcc233b9cee15 | 155 | py | Python | helpers_calc.py | ahammadshawki8/Proggraming-Terms | 264156b6cfb347fc1b3aaa966c44aeab8dca26c2 | [
"MIT"
] | 1 | 2021-06-07T00:22:28.000Z | 2021-06-07T00:22:28.000Z | helpers_calc.py | ahammadshawki8/Proggraming-Terms | 264156b6cfb347fc1b3aaa966c44aeab8dca26c2 | [
"MIT"
] | 2 | 2021-03-03T02:22:42.000Z | 2021-04-24T03:26:42.000Z | helpers_calc.py | ahammadshawki8/Proggraming-Terms | 264156b6cfb347fc1b3aaa966c44aeab8dca26c2 | [
"MIT"
] | null | null | null | print("Imported helpers_calc!")
def add(x,y):
return x+y
def sub(x,y):
return x-y
def multiply(x,y):
return x*y
def devide(x,y):
return x/y | 17.222222 | 31 | 0.625806 | 32 | 155 | 3 | 0.375 | 0.166667 | 0.333333 | 0.375 | 0.510417 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212903 | 155 | 9 | 32 | 17.222222 | 0.786885 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0.111111 | 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 | 1 | 0 | 0 | 6 |
eeba5060e61f89875f63c3a4669a5265d78d2e18 | 149 | py | Python | viperdriver/src/__init__.py | Tesqos/viperdriver | 41f618221031c646e59adc146e7eb748a8ff5383 | [
"Apache-2.0"
] | null | null | null | viperdriver/src/__init__.py | Tesqos/viperdriver | 41f618221031c646e59adc146e7eb748a8ff5383 | [
"Apache-2.0"
] | null | null | null | viperdriver/src/__init__.py | Tesqos/viperdriver | 41f618221031c646e59adc146e7eb748a8ff5383 | [
"Apache-2.0"
] | null | null | null | import logging
# logger = logging.getLogger(__name__).addHandler(logging.NullHandler()) - remove upon testing
logger = logging.getLogger(__name__)
| 29.8 | 95 | 0.791946 | 16 | 149 | 6.875 | 0.625 | 0.236364 | 0.4 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100671 | 149 | 4 | 96 | 37.25 | 0.820896 | 0.624161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
eedcf6750dfeb0ff038ffdecd67f8ea9f2ee086f | 131 | py | Python | app/blog/__init__.py | ralphdc/blog | fe3ebe3aea4da38a3cf592c90b0dd9914e47f8de | [
"Apache-2.0"
] | null | null | null | app/blog/__init__.py | ralphdc/blog | fe3ebe3aea4da38a3cf592c90b0dd9914e47f8de | [
"Apache-2.0"
] | null | null | null | app/blog/__init__.py | ralphdc/blog | fe3ebe3aea4da38a3cf592c90b0dd9914e47f8de | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from flask import Blueprint
blog = Blueprint('blog', __name__)
from . import msgboard
from . import index | 16.375 | 34 | 0.748092 | 18 | 131 | 5.222222 | 0.666667 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.152672 | 131 | 8 | 35 | 16.375 | 0.837838 | 0.160305 | 0 | 0 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
eeff0450682e17379d80de0bcaa86e4f0bbf9a1d | 210 | py | Python | wrapclib/re2/__init__.py | sdpython/wrapclib | 41212ec526f3eaef29333e8947c8d6ca9816362d | [
"MIT"
] | null | null | null | wrapclib/re2/__init__.py | sdpython/wrapclib | 41212ec526f3eaef29333e8947c8d6ca9816362d | [
"MIT"
] | 4 | 2019-03-15T10:42:36.000Z | 2021-01-09T12:06:27.000Z | wrapclib/re2/__init__.py | sdpython/wrapclib | 41212ec526f3eaef29333e8947c8d6ca9816362d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@file
@brief Shortcut to *re2*.
"""
from .re2 import compile # pylint: disable=W0622
from .re2 import findall, search, match, fullmatch, Set, UNANCHORED, ANCHOR_START, ANCHOR_BOTH
| 23.333333 | 94 | 0.695238 | 28 | 210 | 5.142857 | 0.821429 | 0.097222 | 0.180556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0.152381 | 210 | 8 | 95 | 26.25 | 0.764045 | 0.361905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1114c7c54c13f847c09a49cfd8bb6e90bfcc7bf | 215 | py | Python | timm/loss/__init__.py | david-yd-hao/timm-biased-loss | dce603249a6c216aebab8cc5a504a8ac188ae32b | [
"Apache-2.0"
] | null | null | null | timm/loss/__init__.py | david-yd-hao/timm-biased-loss | dce603249a6c216aebab8cc5a504a8ac188ae32b | [
"Apache-2.0"
] | null | null | null | timm/loss/__init__.py | david-yd-hao/timm-biased-loss | dce603249a6c216aebab8cc5a504a8ac188ae32b | [
"Apache-2.0"
] | null | null | null | from .cross_entropy import LabelSmoothingCrossEntropy, SoftTargetCrossEntropy, BiasedLossCrossEntropy
from .jsd import JsdCrossEntropy
from .asymmetric_loss import AsymmetricLossMultiLabel, AsymmetricLossSingleLabel | 71.666667 | 101 | 0.906977 | 17 | 215 | 11.352941 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065116 | 215 | 3 | 102 | 71.666667 | 0.960199 | 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 |
e1295f1ac08e51c5e38b0f44b5adb2ee4511e636 | 114 | py | Python | lang/py/cookbook/v2/source/cb2_1_23_sol_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_1_23_sol_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_1_23_sol_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | def encode_for_xml(unicode_data, encoding='ascii'):
return unicode_data.encode(encoding, 'xmlcharrefreplace')
| 38 | 61 | 0.798246 | 14 | 114 | 6.214286 | 0.714286 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 114 | 2 | 62 | 57 | 0.836538 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
011e5c65f17050df6c0beccce92d3cae32ba5cc7 | 25 | py | Python | flowbee/workers/__init__.py | blitzagency/flowbee | 35e8977827eda34474aa5edc95bbfec86c61b33a | [
"MIT"
] | null | null | null | flowbee/workers/__init__.py | blitzagency/flowbee | 35e8977827eda34474aa5edc95bbfec86c61b33a | [
"MIT"
] | null | null | null | flowbee/workers/__init__.py | blitzagency/flowbee | 35e8977827eda34474aa5edc95bbfec86c61b33a | [
"MIT"
] | null | null | null | from .base import Worker
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
017e734ac3251dff1577cce59896d63f5935c575 | 40 | py | Python | cougar/structures/__init__.py | Swall0w/cougar | 9161b2b1d0c256f4bb952ec190351684f28ec1b7 | [
"MIT"
] | 1 | 2019-11-23T12:20:50.000Z | 2019-11-23T12:20:50.000Z | cougar/structures/__init__.py | Swall0w/cougar | 9161b2b1d0c256f4bb952ec190351684f28ec1b7 | [
"MIT"
] | 1 | 2022-01-13T01:41:34.000Z | 2022-01-13T01:41:34.000Z | cougar/structures/__init__.py | Swall0w/cougar | 9161b2b1d0c256f4bb952ec190351684f28ec1b7 | [
"MIT"
] | null | null | null | from cougar.structures import image_list | 40 | 40 | 0.9 | 6 | 40 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.945946 | 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 |
0199ee794d2e26dbb466994ddc39414941ab741c | 9,495 | py | Python | tests/test_lookup.py | mkorman9/yt-archiver | eaa9eb4b98c1a9b9262e1d6f83522370b95c5d8a | [
"MIT"
] | 6 | 2018-05-31T19:26:52.000Z | 2022-02-16T22:58:57.000Z | tests/test_lookup.py | mkorman9/yt-archiver | eaa9eb4b98c1a9b9262e1d6f83522370b95c5d8a | [
"MIT"
] | 1 | 2020-01-27T15:34:11.000Z | 2020-01-27T15:34:11.000Z | tests/test_lookup.py | mkorman9/yt-archiver | eaa9eb4b98c1a9b9262e1d6f83522370b95c5d8a | [
"MIT"
] | null | null | null | import logging
from datetime import datetime
from unittest import TestCase
from mock import MagicMock, create_autospec, call
from ytarchiver.api import YoutubeAPI, YoutubeChannel
from ytarchiver.common import Context, RecordersController, StorageManager, ContentItem, EventBus, Event, PluginsManager
from ytarchiver.lo... | 40.751073 | 120 | 0.729647 | 1,151 | 9,495 | 5.624674 | 0.099044 | 0.086654 | 0.06055 | 0.074606 | 0.820976 | 0.802132 | 0.800278 | 0.787458 | 0.746988 | 0.729688 | 0 | 0.005694 | 0.186203 | 9,495 | 232 | 121 | 40.926724 | 0.832147 | 0.00832 | 0 | 0.651163 | 0 | 0 | 0.01734 | 0.002234 | 0 | 0 | 0 | 0 | 0.203488 | 1 | 0.034884 | false | 0 | 0.040698 | 0 | 0.087209 | 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 |
6dc090ba9a2d3ef1eebb45e3d8efbc0ce8b6ac30 | 40 | py | Python | rgc/__init__.py | sievetech/rgc | 33f44b33e8b303e156c002983411203b44e9aebf | [
"BSD-3-Clause"
] | null | null | null | rgc/__init__.py | sievetech/rgc | 33f44b33e8b303e156c002983411203b44e9aebf | [
"BSD-3-Clause"
] | null | null | null | rgc/__init__.py | sievetech/rgc | 33f44b33e8b303e156c002983411203b44e9aebf | [
"BSD-3-Clause"
] | null | null | null | #coding: utf-8
from rgc import collect
| 10 | 23 | 0.75 | 7 | 40 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.175 | 40 | 3 | 24 | 13.333333 | 0.878788 | 0.325 | 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 |
61cac778e20cbd4888cc273942ca2f1ec25ee40b | 168 | py | Python | skgaip/flood/gaip/__init__.py | danielsuo/toy_flood | 471d3c4091d86d4a00fbf910937d4e60fdaf79a1 | [
"MIT"
] | 1 | 2020-04-30T07:42:12.000Z | 2020-04-30T07:42:12.000Z | skgaip/flood/gaip/__init__.py | danielsuo/toy_flood | 471d3c4091d86d4a00fbf910937d4e60fdaf79a1 | [
"MIT"
] | 3 | 2020-09-25T22:37:57.000Z | 2022-02-09T23:38:23.000Z | skgaip/flood/gaip/__init__.py | danielsuo/toy_flood | 471d3c4091d86d4a00fbf910937d4e60fdaf79a1 | [
"MIT"
] | null | null | null | # from ealstm.gaip.flood_lstm import FloodLSTM
from ealstm.gaip.flood_data import FloodData
# from ealstm.gaip.ar_stateless import ARStateless
__all__ = ["FloodData"]
| 28 | 50 | 0.815476 | 23 | 168 | 5.652174 | 0.565217 | 0.230769 | 0.323077 | 0.292308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 168 | 5 | 51 | 33.6 | 0.866667 | 0.553571 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
61cc168afb34e1b77bec3b26a135c92d29bba7ae | 25,449 | py | Python | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2pt6/Output/Histos/MadAnalysis5job_0/selection_6.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2pt6/Output/Histos/MadAnalysis5job_0/selection_6.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2pt6/Output/Histos/MadAnalysis5job_0/selection_6.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_6():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 116.738532 | 760 | 0.734999 | 5,335 | 25,449 | 3.330084 | 0.112465 | 0.240122 | 0.351908 | 0.458854 | 0.592761 | 0.592199 | 0.590454 | 0.585613 | 0.577057 | 0.577057 | 0 | 0.37683 | 0.07403 | 25,449 | 217 | 761 | 117.276498 | 0.377085 | 0.063067 | 0 | 0.171875 | 0 | 0.007813 | 0.049653 | 0.008402 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007813 | false | 0 | 0.03125 | 0 | 0.039063 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
61e126316f971a0e63d3f73f30ad3959f32beed2 | 37 | py | Python | src/lit_tracking/converter/__init__.py | Actis92/lit-tracking | 9e7b243ba77c80ca260bff479e54db271d10c195 | [
"MIT"
] | null | null | null | src/lit_tracking/converter/__init__.py | Actis92/lit-tracking | 9e7b243ba77c80ca260bff479e54db271d10c195 | [
"MIT"
] | 14 | 2021-11-01T08:48:23.000Z | 2022-01-08T14:20:17.000Z | src/lit_tracking/converter/__init__.py | Actis92/lit-tracking | 9e7b243ba77c80ca260bff479e54db271d10c195 | [
"MIT"
] | null | null | null | from .mot_to_coco import Mot20ToCoco
| 18.5 | 36 | 0.864865 | 6 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.108108 | 37 | 1 | 37 | 37 | 0.848485 | 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 |
11320fbed288ea9e813dfc48a063f201b7628dd8 | 8,777 | py | Python | demo/DeepForest/callbacks.py | bw4sz/SpeciesClassification | f661cf4409381a71b3ff7acf1383741c9eb19cdd | [
"MIT"
] | 1 | 2020-05-18T07:14:31.000Z | 2020-05-18T07:14:31.000Z | demo/DeepForest/callbacks.py | bw4sz/SpeciesClassification | f661cf4409381a71b3ff7acf1383741c9eb19cdd | [
"MIT"
] | 4 | 2019-11-12T02:48:19.000Z | 2020-02-07T18:01:25.000Z | Weinstein2019/DeepForest/callbacks.py | weecology/NeonTreeEvaluation_analysis | a426a1a6a621b67f11dc4e6cc46eb9df9d0fc677 | [
"MIT"
] | 1 | 2021-04-18T22:12:58.000Z | 2021-04-18T22:12:58.000Z | '''
Callback for evaluation. Modified in part from keras-retinanet by FizyR.
'''
import keras
from .evaluation import neonRecall
from .evalmAP import evaluate
class Evaluate(keras.callbacks.Callback):
""" Evaluation callback for arbitrary datasets.
"""
def __init__(self, generator, iou_threshold... | 43.885 | 211 | 0.635411 | 994 | 8,777 | 5.427565 | 0.151911 | 0.043373 | 0.025579 | 0.025023 | 0.827618 | 0.802224 | 0.794254 | 0.794254 | 0.794254 | 0.794254 | 0 | 0.006913 | 0.29133 | 8,777 | 199 | 212 | 44.105528 | 0.86045 | 0.291444 | 0 | 0.666667 | 0 | 0 | 0.034261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070175 | false | 0 | 0.026316 | 0 | 0.131579 | 0.052632 | 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 |
114b2c69786d06e5b502c67bc505fb5dc84be52f | 165 | py | Python | canteen/admin.py | vasundhara7/College-EWallet | 0a4c32bc08218650635a04fb9a9e28446fd4f3e1 | [
"Apache-2.0"
] | 2 | 2019-07-28T00:34:09.000Z | 2020-06-18T11:58:03.000Z | canteen/admin.py | vasundhara7/College-EWallet | 0a4c32bc08218650635a04fb9a9e28446fd4f3e1 | [
"Apache-2.0"
] | null | null | null | canteen/admin.py | vasundhara7/College-EWallet | 0a4c32bc08218650635a04fb9a9e28446fd4f3e1 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Payment, Order, card_pay
admin.site.register(Payment)
admin.site.register(Order)
admin.site.register(card_pay)
| 23.571429 | 44 | 0.818182 | 25 | 165 | 5.32 | 0.48 | 0.203008 | 0.383459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084848 | 165 | 6 | 45 | 27.5 | 0.880795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3a0f450a7bcebdc7c3b582246d0cef132e9ad897 | 23 | py | Python | grid_utils/tiler/__init__.py | claydodo/grid_utils | 1a08cb8ca226bb22ddac01be2a0863919d736767 | [
"Unlicense"
] | null | null | null | grid_utils/tiler/__init__.py | claydodo/grid_utils | 1a08cb8ca226bb22ddac01be2a0863919d736767 | [
"Unlicense"
] | 1 | 2018-11-07T08:05:41.000Z | 2018-11-07T08:05:41.000Z | grid_utils/tiler/__init__.py | claydodo/grid_utils | 1a08cb8ca226bb22ddac01be2a0863919d736767 | [
"Unlicense"
] | null | null | null | from .xy_tiler import * | 23 | 23 | 0.782609 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.85 | 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 |
28c1d0e84f2c4ff9653db6c3987ac19f0875b589 | 231 | py | Python | 03.Inheritance/Lab/multiple_inheritance/project/teacher.py | nmoskova/Python-OOP | 07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864 | [
"MIT"
] | null | null | null | 03.Inheritance/Lab/multiple_inheritance/project/teacher.py | nmoskova/Python-OOP | 07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864 | [
"MIT"
] | null | null | null | 03.Inheritance/Lab/multiple_inheritance/project/teacher.py | nmoskova/Python-OOP | 07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864 | [
"MIT"
] | null | null | null | from inheritance.Lab.multiple_inheritance.project.employee import Employee
from inheritance.Lab.multiple_inheritance.project.person import Person
class Teacher(Person, Employee):
def teach(self):
return "teaching..." | 28.875 | 74 | 0.787879 | 27 | 231 | 6.666667 | 0.555556 | 0.166667 | 0.2 | 0.288889 | 0.488889 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125541 | 231 | 8 | 75 | 28.875 | 0.891089 | 0 | 0 | 0 | 0 | 0 | 0.047414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
e910378db320015322ed2b7546d113a8d39c4ed3 | 138 | py | Python | tensorboardX/__init__.py | rococostudio/Deep-Exemplar-based-Video-Colorization | f9ded4ccfd276251ad8426c5628af46e619e0a0e | [
"MIT"
] | 402 | 2016-12-11T00:19:59.000Z | 2022-03-20T04:03:11.000Z | tensorboardX/__init__.py | avalonstrel/tensorboard-pytorch | 1cb71ccfe9016578c6ffd1802d13a888dca58a59 | [
"MIT"
] | 55 | 2016-12-11T19:53:23.000Z | 2020-03-24T15:07:51.000Z | tensorboardX/__init__.py | avalonstrel/tensorboard-pytorch | 1cb71ccfe9016578c6ffd1802d13a888dca58a59 | [
"MIT"
] | 74 | 2016-12-11T03:39:05.000Z | 2022-03-31T02:04:16.000Z | """A module for visualization with tensorboard
"""
from .writer import FileWriter, SummaryWriter
from .record_writer import RecordWriter
| 23 | 46 | 0.811594 | 16 | 138 | 6.9375 | 0.8125 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123188 | 138 | 5 | 47 | 27.6 | 0.917355 | 0.311594 | 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 |
3a7dcc9b7ad07981edad0b8c1c0a15b440b1c262 | 596 | py | Python | thualign/optimizers/__init__.py | bryant1410/Mask-Align | 329690919d6885a8fcdf13beef6cf98ff6a2d51a | [
"BSD-3-Clause"
] | 27 | 2021-05-11T07:24:59.000Z | 2022-03-25T05:23:45.000Z | thualign/optimizers/__init__.py | bryant1410/Mask-Align | 329690919d6885a8fcdf13beef6cf98ff6a2d51a | [
"BSD-3-Clause"
] | 11 | 2021-10-02T05:56:01.000Z | 2022-03-30T02:32:36.000Z | thualign/optimizers/__init__.py | bryant1410/Mask-Align | 329690919d6885a8fcdf13beef6cf98ff6a2d51a | [
"BSD-3-Clause"
] | 11 | 2021-06-04T05:23:39.000Z | 2022-03-19T19:40:55.000Z | from thualign.optimizers.optimizers import AdamOptimizer
from thualign.optimizers.optimizers import AdadeltaOptimizer
from thualign.optimizers.optimizers import SGDOptimizer
from thualign.optimizers.optimizers import MultiStepOptimizer
from thualign.optimizers.optimizers import LossScalingOptimizer
from thualign.optimi... | 54.181818 | 64 | 0.89094 | 60 | 596 | 8.783333 | 0.316667 | 0.204934 | 0.375712 | 0.303605 | 0.571158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072148 | 596 | 10 | 65 | 59.6 | 0.952984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.9 | 0 | 0.9 | 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 |
3a8016ae7719491d9c333b3d295c359ed2e23cff | 3,167 | py | Python | common/user_query.py | cedadev/download-stats | 3d18b08ce239e82e53c5a9bd4dd77b35a1f040bc | [
"BSD-3-Clause"
] | null | null | null | common/user_query.py | cedadev/download-stats | 3d18b08ce239e82e53c5a9bd4dd77b35a1f040bc | [
"BSD-3-Clause"
] | 6 | 2019-08-29T10:35:09.000Z | 2021-04-07T12:24:37.000Z | common/user_query.py | cedadev/access-stats | 3d18b08ce239e82e53c5a9bd4dd77b35a1f040bc | [
"BSD-3-Clause"
] | 1 | 2018-11-01T16:31:16.000Z | 2018-11-01T16:31:16.000Z | from common.query_builder import QueryBuilder
class UserQuery(QueryBuilder):
def get_size(self):
return 0
def update_aggs(self):
self.group_by()
def group_by_main(self):
self.generated_aggs["group_by_field"] = {}
self.generated_aggs["group_by_field"]["terms"] = ... | 58.648148 | 125 | 0.638459 | 377 | 3,167 | 5.013263 | 0.100796 | 0.137037 | 0.314815 | 0.407407 | 0.871958 | 0.858201 | 0.842857 | 0.708466 | 0.5 | 0.250265 | 0 | 0.000381 | 0.172087 | 3,167 | 53 | 126 | 59.754717 | 0.720442 | 0 | 0 | 0 | 0 | 0 | 0.401734 | 0.148362 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088889 | false | 0 | 0.022222 | 0.044444 | 0.177778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3a80ac0a1f58619078f9f3f3f6aec6b69e08303d | 62 | py | Python | copper/core/engine/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 6 | 2016-07-28T13:59:34.000Z | 2021-12-28T05:44:15.000Z | copper/core/engine/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 5 | 2016-06-30T10:19:25.000Z | 2022-03-11T23:19:01.000Z | copper/core/engine/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 3 | 2019-03-18T05:17:10.000Z | 2020-02-14T06:56:40.000Z | from .engine_signals import signals
from .engine import Engine | 31 | 35 | 0.854839 | 9 | 62 | 5.777778 | 0.444444 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 2 | 36 | 31 | 0.945455 | 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 |
aaf45d6dbb32cea95347efbbbf9946f0d33619d0 | 110 | py | Python | info/modules/user/__init__.py | Signss/The-news-program | 602c1c4970e4f96ec6772349f7628d179c3a00fa | [
"MIT"
] | null | null | null | info/modules/user/__init__.py | Signss/The-news-program | 602c1c4970e4f96ec6772349f7628d179c3a00fa | [
"MIT"
] | null | null | null | info/modules/user/__init__.py | Signss/The-news-program | 602c1c4970e4f96ec6772349f7628d179c3a00fa | [
"MIT"
] | null | null | null | from flask import Blueprint
user_blue = Blueprint('user', __name__, url_prefix='/user')
from . import views | 18.333333 | 59 | 0.754545 | 15 | 110 | 5.133333 | 0.666667 | 0.337662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 6 | 60 | 18.333333 | 0.810526 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
c945025354277c15cdb2f546fd5709b3a9bf6987 | 124 | py | Python | wooey/models/__init__.py | fridmundklaus/wooey | 4a2e31c282bfe86edf77b0ff8f58f4177eeab9dd | [
"BSD-3-Clause"
] | 1,572 | 2015-06-19T21:31:41.000Z | 2022-03-30T23:37:13.000Z | wooey/models/__init__.py | fridmundklaus/wooey | 4a2e31c282bfe86edf77b0ff8f58f4177eeab9dd | [
"BSD-3-Clause"
] | 309 | 2015-07-08T02:33:08.000Z | 2022-02-08T00:37:11.000Z | wooey/models/__init__.py | fridmundklaus/wooey | 4a2e31c282bfe86edf77b0ff8f58f4177eeab9dd | [
"BSD-3-Clause"
] | 220 | 2015-07-01T10:30:27.000Z | 2022-02-05T04:10:54.000Z | from __future__ import absolute_import, unicode_literals
from .core import *
from .favorite import *
from .widgets import *
| 24.8 | 56 | 0.806452 | 16 | 124 | 5.875 | 0.5625 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137097 | 124 | 4 | 57 | 31 | 0.878505 | 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 |
c9839fa4ef1ed8b86f362d58198ab5f1c3c48662 | 108 | py | Python | historical_weather/__init__.py | Shom770/xmacis | 5e9694d4f2ba37ab93fc83e03b88c707026e886a | [
"MIT"
] | null | null | null | historical_weather/__init__.py | Shom770/xmacis | 5e9694d4f2ba37ab93fc83e03b88c707026e886a | [
"MIT"
] | null | null | null | historical_weather/__init__.py | Shom770/xmacis | 5e9694d4f2ba37ab93fc83e03b88c707026e886a | [
"MIT"
] | null | null | null | from ._wrapped_endpoints import *
from .elements import *
from .oni import *
from .teleconnections import *
| 21.6 | 33 | 0.777778 | 13 | 108 | 6.307692 | 0.538462 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 108 | 4 | 34 | 27 | 0.891304 | 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 |
a33e0d9a2b5191b4ff7ae42bd5192ccd28e74918 | 21,704 | py | Python | Src/models/new_vat.py | SivanKe/SyntheticDataHandwrittenCharacterRecognition | c2b299009ddc24eab1bc2074787e82e566f79abc | [
"MIT"
] | 7 | 2019-07-14T06:49:15.000Z | 2021-11-03T12:13:37.000Z | Src/models/new_vat.py | SivanKe/SyntheticDataHandwrittenCharacterRecognition | c2b299009ddc24eab1bc2074787e82e566f79abc | [
"MIT"
] | 2 | 2019-07-16T07:44:37.000Z | 2019-07-18T10:57:23.000Z | Src/models/new_vat.py | SivanKe/SyntheticDataHandwrittenCharacterRecognition | c2b299009ddc24eab1bc2074787e82e566f79abc | [
"MIT"
] | 1 | 2020-09-03T14:51:53.000Z | 2020-09-03T14:51:53.000Z | import contextlib
import torch
import torch.nn as nn
import torch.nn.functional as F
from warpctc_pytorch import CTCLoss
from torch.autograd import Variable
import numpy as np
@contextlib.contextmanager
def _disable_tracking_bn_stats(model):
def switch_attr(m):
if hasattr(m, 'track_running_stats'):
... | 38.757143 | 128 | 0.565011 | 2,975 | 21,704 | 3.844034 | 0.05479 | 0.08447 | 0.032529 | 0.035414 | 0.80063 | 0.777894 | 0.752886 | 0.726478 | 0.705491 | 0.693861 | 0 | 0.016645 | 0.324595 | 21,704 | 559 | 129 | 38.826476 | 0.76349 | 0.166697 | 0 | 0.615169 | 0 | 0 | 0.005443 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070225 | false | 0 | 0.019663 | 0 | 0.157303 | 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 |
a3719461c944d994c377c4499b9b5bafd7b358e2 | 26 | py | Python | Python/Subtitle_Downloader/__init__.py | CharvyJain/Rotten-Scripts | c9b8f7dde378620e4a82eae7aacec53f1eeea3c5 | [
"MIT"
] | 7 | 2020-07-18T15:29:20.000Z | 2021-03-23T15:09:51.000Z | Python/Subtitle_Downloader/__init__.py | SKAUL05/Rotten-Scripts | c44e69754bbecb8a547fe2cc3a29be5acf97c46a | [
"MIT"
] | 3 | 2022-01-15T07:33:28.000Z | 2022-03-24T04:23:03.000Z | Python/Subtitle_Downloader/__init__.py | SKAUL05/Rotten-Scripts | c44e69754bbecb8a547fe2cc3a29be5acf97c46a | [
"MIT"
] | 1 | 2021-01-28T07:58:26.000Z | 2021-01-28T07:58:26.000Z | from .subtitle import main | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e650710e02e5ae13ec04c6abf239a0f873465ce | 100 | py | Python | blendSupports/Meshs/__init__.py | sbaker-dev/blendSupports | 42f9913f409c9e0d6bc39bde11ba6431b1a2ff30 | [
"MIT"
] | null | null | null | blendSupports/Meshs/__init__.py | sbaker-dev/blendSupports | 42f9913f409c9e0d6bc39bde11ba6431b1a2ff30 | [
"MIT"
] | null | null | null | blendSupports/Meshs/__init__.py | sbaker-dev/blendSupports | 42f9913f409c9e0d6bc39bde11ba6431b1a2ff30 | [
"MIT"
] | null | null | null | from .mesh_ref import make_mesh
from .text import make_text
from .graph_axis import make_graph_axis
| 25 | 39 | 0.85 | 18 | 100 | 4.388889 | 0.444444 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 3 | 40 | 33.333333 | 0.897727 | 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 |
42df6350281ced46b5692092157f68400226d105 | 19 | py | Python | multimodal/clip/__init__.py | sithu31296/multimodal | 78f57956cc84273579eb9e2e2be2a58fa1f38814 | [
"MIT"
] | 385 | 2020-10-26T13:12:11.000Z | 2021-10-07T15:14:48.000Z | multimodal/clip/__init__.py | sithu31296/multimodal | 78f57956cc84273579eb9e2e2be2a58fa1f38814 | [
"MIT"
] | 24 | 2020-10-29T13:16:31.000Z | 2021-08-31T06:47:33.000Z | multimodal/clip/__init__.py | sithu31296/multimodal | 78f57956cc84273579eb9e2e2be2a58fa1f38814 | [
"MIT"
] | 45 | 2020-10-29T15:25:19.000Z | 2021-09-05T21:50:57.000Z | from .clip import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 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 |
6e0bea132e4b61f3ac97b8c32a145b7faf76df4f | 217 | py | Python | tests/test_carveme.py | acbweiss/carveme | 08f44e3e180730a881fbd73f8af03fa8e1f5895a | [
"Apache-2.0"
] | 84 | 2018-01-13T15:38:26.000Z | 2022-02-12T14:31:05.000Z | tests/test_carveme.py | acbweiss/carveme | 08f44e3e180730a881fbd73f8af03fa8e1f5895a | [
"Apache-2.0"
] | 133 | 2017-09-19T14:58:23.000Z | 2022-03-16T12:04:15.000Z | tests/test_carveme.py | acbweiss/carveme | 08f44e3e180730a881fbd73f8af03fa8e1f5895a | [
"Apache-2.0"
] | 48 | 2017-09-19T16:00:47.000Z | 2022-03-24T13:47:54.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for `carveme` package."""
import unittest
from carveme import carveme
class TestCarveme(unittest.TestCase):
"""Tests for `carveme` package."""
pass
| 14.466667 | 38 | 0.658986 | 26 | 217 | 5.5 | 0.692308 | 0.111888 | 0.20979 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005587 | 0.175115 | 217 | 14 | 39 | 15.5 | 0.793296 | 0.460829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
6e3ddb397d1bf64d7c08134c0c6c33c64b211aee | 1,051 | py | Python | bukber/models.py | ppabcd/django-bukber | 8a5d272e988a63082977deb5ba026876d4c70ee4 | [
"BSD-3-Clause"
] | null | null | null | bukber/models.py | ppabcd/django-bukber | 8a5d272e988a63082977deb5ba026876d4c70ee4 | [
"BSD-3-Clause"
] | null | null | null | bukber/models.py | ppabcd/django-bukber | 8a5d272e988a63082977deb5ba026876d4c70ee4 | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
from django.utils import timezone
# Create your models here.
class Kelas(models.Model):
nama = models.CharField(max_length=200)
created_at = models.DateTimeField(editable=False)
updated_at = models.DateTimeField()
def save(self):
if self.id:
self.updat... | 26.275 | 64 | 0.633682 | 125 | 1,051 | 5.16 | 0.328 | 0.083721 | 0.12093 | 0.130233 | 0.741085 | 0.741085 | 0.741085 | 0.741085 | 0.610853 | 0.610853 | 0 | 0.007702 | 0.258801 | 1,051 | 39 | 65 | 26.948718 | 0.820282 | 0.022835 | 0 | 0.8 | 0 | 0 | 0.004878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0.066667 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
280e5c9629fe9185c4c9dae7b7d2676ce16a85a7 | 38 | py | Python | moda/models/stl/__init__.py | Patte1808/moda | 312c9594754ae0f6d17cbfafaa2c4c790c58efe5 | [
"MIT"
] | null | null | null | moda/models/stl/__init__.py | Patte1808/moda | 312c9594754ae0f6d17cbfafaa2c4c790c58efe5 | [
"MIT"
] | null | null | null | moda/models/stl/__init__.py | Patte1808/moda | 312c9594754ae0f6d17cbfafaa2c4c790c58efe5 | [
"MIT"
] | null | null | null | from moda.models.stl import stl_model
| 19 | 37 | 0.842105 | 7 | 38 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 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 |
2832a65a5061020c837ca4e4d03271dc5d234dc2 | 151 | py | Python | continual_learning/backbone_networks/__init__.py | jaryP/ContinualAI | 7d9b7614066d219ebd72049692da23ad6ec132b0 | [
"MIT"
] | null | null | null | continual_learning/backbone_networks/__init__.py | jaryP/ContinualAI | 7d9b7614066d219ebd72049692da23ad6ec132b0 | [
"MIT"
] | null | null | null | continual_learning/backbone_networks/__init__.py | jaryP/ContinualAI | 7d9b7614066d219ebd72049692da23ad6ec132b0 | [
"MIT"
] | null | null | null | from .resnet.resnet import *
from .resnet.torch_resnet import *
from .alexnet import AlexNet
from .lenet import LeNet, LeNet_300_100
from .vgg import * | 30.2 | 39 | 0.794702 | 23 | 151 | 5.086957 | 0.391304 | 0.17094 | 0.273504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045802 | 0.13245 | 151 | 5 | 40 | 30.2 | 0.847328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
28397f5d1262c53eaf574f2535bad6003f1068cc | 21 | py | Python | models/__init__.py | hhj1897/fan_training | 5882f9edf2f1a07c80a6d1f3341a7cf1d348e217 | [
"MIT"
] | 1 | 2021-12-11T21:31:57.000Z | 2021-12-11T21:31:57.000Z | models/__init__.py | hhj1897/fan_training | 5882f9edf2f1a07c80a6d1f3341a7cf1d348e217 | [
"MIT"
] | null | null | null | models/__init__.py | hhj1897/fan_training | 5882f9edf2f1a07c80a6d1f3341a7cf1d348e217 | [
"MIT"
] | 1 | 2021-12-11T21:31:49.000Z | 2021-12-11T21:31:49.000Z | from .fan import FAN
| 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 |
284092cc0cdfbe3cc230105f4b35fef6cb577976 | 5,783 | py | Python | suspect/processing/phase.py | hjiang1/suspect | f8b320b16bbd73a95d58eea1660921d6cad16f36 | [
"MIT"
] | 16 | 2016-08-31T21:05:06.000Z | 2022-02-06T12:48:33.000Z | suspect/processing/phase.py | hjiang1/suspect | f8b320b16bbd73a95d58eea1660921d6cad16f36 | [
"MIT"
] | 141 | 2016-07-28T21:34:17.000Z | 2022-03-30T09:00:36.000Z | suspect/processing/phase.py | hjiang1/suspect | f8b320b16bbd73a95d58eea1660921d6cad16f36 | [
"MIT"
] | 21 | 2016-08-04T14:54:19.000Z | 2022-03-29T16:04:08.000Z | import lmfit
import numpy as np
def mag_real(data, *args, range_hz=None, range_ppm=None):
"""
Estimates the zero and first order phase parameters which minimise the
difference between the real part of the spectrum and the magnitude. Note
that these are the phase correction terms, designed to be used d... | 35.478528 | 78 | 0.621304 | 769 | 5,783 | 4.564369 | 0.174252 | 0.035897 | 0.020513 | 0.025641 | 0.832194 | 0.828205 | 0.819373 | 0.809687 | 0.758405 | 0.745299 | 0 | 0.016788 | 0.289296 | 5,783 | 162 | 79 | 35.697531 | 0.837226 | 0.386305 | 0 | 0.61194 | 0 | 0 | 0.051988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.119403 | false | 0 | 0.029851 | 0 | 0.268657 | 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 |
2843ba3aa64e127ac4da4877930f346f9d4cad44 | 7,761 | py | Python | tests/test_response_handler.py | Alex-Weatherhead/riot_api | 2d589f57cd46e0f7c54de29245078c730acd710f | [
"MIT"
] | null | null | null | tests/test_response_handler.py | Alex-Weatherhead/riot_api | 2d589f57cd46e0f7c54de29245078c730acd710f | [
"MIT"
] | null | null | null | tests/test_response_handler.py | Alex-Weatherhead/riot_api | 2d589f57cd46e0f7c54de29245078c730acd710f | [
"MIT"
] | null | null | null | import unittest
from riot_api.api import _response_handler
class ResponseMock:
def __init__ (self, status_code, headers=None):
self.status_code = status_code
self.headers = headers
class TestResponseHandler (unittest.TestCase):
def test_handle_yields_successful_equals_true_when_status_code... | 31.677551 | 95 | 0.718335 | 900 | 7,761 | 5.707778 | 0.057778 | 0.179093 | 0.08176 | 0.103562 | 0.949971 | 0.948024 | 0.934787 | 0.934787 | 0.934787 | 0.930504 | 0 | 0.030461 | 0.208994 | 7,761 | 245 | 96 | 31.677551 | 0.80632 | 0 | 0 | 0.698718 | 0 | 0 | 0.031178 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 1 | 0.185897 | false | 0 | 0.012821 | 0 | 0.211538 | 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 |
285470d5580301217271de4b90c77c082d47b943 | 201 | py | Python | papyruslib/__init__.py | hrmorley34/papyrusplusplus | bdda49f586b9780aef41002bc519b273187fb6f7 | [
"MIT"
] | null | null | null | papyruslib/__init__.py | hrmorley34/papyrusplusplus | bdda49f586b9780aef41002bc519b273187fb6f7 | [
"MIT"
] | null | null | null | papyruslib/__init__.py | hrmorley34/papyrusplusplus | bdda49f586b9780aef41002bc519b273187fb6f7 | [
"MIT"
] | null | null | null | from .bases import Definition, PlayerMarker, Spreadsheet, Remote, Webhook
from . import helpers
__all__ = ["Definition", "PlayerMarker", "Spreadsheet", "Remote", "Webhook", "Definition", "helpers"]
| 28.714286 | 101 | 0.736318 | 19 | 201 | 7.578947 | 0.526316 | 0.305556 | 0.458333 | 0.541667 | 0.638889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 201 | 6 | 102 | 33.5 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 0.313433 | 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 |
95556148fadeaee463dfe202a1320951679e9473 | 26 | py | Python | src/dwriteshapepy/__init__.py | microsoft/DWriteShapePy | ced3341bf2c76a09135491660311c09d725a8b35 | [
"MIT"
] | 9 | 2021-03-26T08:20:24.000Z | 2022-03-29T12:35:12.000Z | src/dwriteshapepy/__init__.py | paullinnerud/DWriteShapePy | f351de0de47818a7cff00ae9ba16d58086a76878 | [
"MIT"
] | 2 | 2021-07-14T13:39:59.000Z | 2021-12-22T11:48:24.000Z | src/dwriteshapepy/__init__.py | paullinnerud/DWriteShapePy | f351de0de47818a7cff00ae9ba16d58086a76878 | [
"MIT"
] | 2 | 2021-03-30T06:00:08.000Z | 2021-07-14T13:33:22.000Z | from .dwriteshape import * | 26 | 26 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
95fe5b95a0c6e28964ab48ef953dc6c1ce110af9 | 4,021 | py | Python | test/unit/test_should_investigate.py | nicolaslazo/chess-puzzle-maker | 17ca484ab40f1e82d53b7ae93239b2abd37e4cdd | [
"MIT"
] | 34 | 2019-08-28T16:49:45.000Z | 2022-03-04T18:05:20.000Z | test/unit/test_should_investigate.py | nicolaslazo/chess-puzzle-maker | 17ca484ab40f1e82d53b7ae93239b2abd37e4cdd | [
"MIT"
] | 10 | 2019-11-27T14:15:25.000Z | 2021-03-30T07:46:24.000Z | test/unit/test_should_investigate.py | nicolaslazo/chess-puzzle-maker | 17ca484ab40f1e82d53b7ae93239b2abd37e4cdd | [
"MIT"
] | 14 | 2019-12-06T12:41:28.000Z | 2021-12-27T01:40:27.000Z | import unittest
from chess import Board
from chess.engine import Cp, Mate
from puzzlemaker.puzzle_finder import should_investigate
board = Board()
class TestShouldInvestigate(unittest.TestCase):
def test_investigating_moderate_score_changes(self):
score_changes = [
[0, 200],
[50... | 27.353741 | 71 | 0.575479 | 518 | 4,021 | 4.245174 | 0.11583 | 0.027285 | 0.196453 | 0.207367 | 0.821282 | 0.773079 | 0.717599 | 0.699864 | 0.698954 | 0.679854 | 0 | 0.047482 | 0.30863 | 4,021 | 146 | 72 | 27.541096 | 0.743525 | 0 | 0 | 0.591304 | 0 | 0 | 0.010196 | 0.00572 | 0 | 0 | 0 | 0 | 0.208696 | 1 | 0.121739 | false | 0 | 0.034783 | 0 | 0.165217 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
254c52bea569929462a780cd2d3f6c21abc6b2b5 | 148 | py | Python | tests/test_package_import.py | rolando/parsel-cli | c211fe5ddfc53ac965acaeffde00082ebc57081d | [
"MIT"
] | 5 | 2016-07-26T18:26:29.000Z | 2017-04-28T14:47:05.000Z | tests/test_package_import.py | rmax/parsel-cli | c211fe5ddfc53ac965acaeffde00082ebc57081d | [
"MIT"
] | 2 | 2016-07-28T17:27:27.000Z | 2016-08-15T20:35:21.000Z | tests/test_package_import.py | rmax/parsel-cli | c211fe5ddfc53ac965acaeffde00082ebc57081d | [
"MIT"
] | 3 | 2016-07-26T19:50:45.000Z | 2017-03-17T17:36:44.000Z | import parsel_cli
def test_package_metadata():
assert parsel_cli.__author__
assert parsel_cli.__email__
assert parsel_cli.__version__
| 18.5 | 33 | 0.797297 | 19 | 148 | 5.263158 | 0.578947 | 0.36 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 148 | 7 | 34 | 21.142857 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
254ee93de9badfce23215ecadcfc63e4dc555223 | 17,656 | py | Python | tests/test_app_routers_files_GET.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 2 | 2021-08-19T12:35:25.000Z | 2022-02-16T04:13:38.000Z | tests/test_app_routers_files_GET.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 46 | 2021-09-02T03:22:05.000Z | 2022-03-31T09:20:00.000Z | tests/test_app_routers_files_GET.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 1 | 2021-11-17T23:18:27.000Z | 2021-11-17T23:18:27.000Z | """
Copyright BOOSTRY Co., Ltd.
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 distr... | 35.453815 | 120 | 0.533926 | 1,909 | 17,656 | 4.600314 | 0.092719 | 0.14803 | 0.05739 | 0.054657 | 0.848895 | 0.842633 | 0.839672 | 0.835003 | 0.820314 | 0.81872 | 0 | 0.085985 | 0.3413 | 17,656 | 498 | 121 | 35.453815 | 0.668788 | 0.082635 | 0 | 0.683246 | 0 | 0 | 0.195324 | 0.037536 | 0 | 0 | 0.018578 | 0 | 0.04712 | 1 | 0.02356 | false | 0 | 0.005236 | 0 | 0.041885 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.