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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4a882340e389d58567246eb4bd9f99b34280b6ba | 7,827 | py | Python | venv/Lib/site-packages/caffe2/python/operator_test/adagrad_test.py | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | 1 | 2022-01-08T12:30:44.000Z | 2022-01-08T12:30:44.000Z | venv/Lib/site-packages/caffe2/python/operator_test/adagrad_test.py | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/caffe2/python/operator_test/adagrad_test.py | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | null | null | null | import functools
import caffe2.python.hypothesis_test_util as hu
import caffe2.python.serialized_test.serialized_test_util as serial
import hypothesis.strategies as st
import numpy as np
from caffe2.python import core
from caffe2.python.operator_test.adagrad_test_helper import (
adagrad_sparse_test_helper,... | 32.342975 | 88 | 0.544653 | 882 | 7,827 | 4.61678 | 0.133787 | 0.035363 | 0.032417 | 0.047151 | 0.834725 | 0.808694 | 0.786591 | 0.743369 | 0.693517 | 0.670432 | 0 | 0.034483 | 0.351603 | 7,827 | 241 | 89 | 32.477178 | 0.767882 | 0.024658 | 0 | 0.712329 | 0 | 0 | 0.034786 | 0.006768 | 0 | 0 | 0 | 0 | 0.013699 | 1 | 0.031963 | false | 0 | 0.03653 | 0 | 0.073059 | 0.009132 | 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 |
4a967d979646d23be4ccd7b75fc09adda76b80a5 | 9,308 | py | Python | python/paddle/fluid/tests/unittests/test_math_op_patch_var_base.py | slf12/Paddle | fa43d74a3a16ac696db5dc893c9a7b1c6913dc85 | [
"Apache-2.0"
] | 2 | 2020-02-11T08:53:05.000Z | 2020-02-20T08:06:25.000Z | python/paddle/fluid/tests/unittests/test_math_op_patch_var_base.py | slf12/Paddle | fa43d74a3a16ac696db5dc893c9a7b1c6913dc85 | [
"Apache-2.0"
] | null | null | null | python/paddle/fluid/tests/unittests/test_math_op_patch_var_base.py | slf12/Paddle | fa43d74a3a16ac696db5dc893c9a7b1c6913dc85 | [
"Apache-2.0"
] | 2 | 2019-08-16T12:03:28.000Z | 2019-09-03T13:02:57.000Z | # Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
#
# 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 app... | 38.304527 | 74 | 0.584443 | 1,360 | 9,308 | 3.833824 | 0.109559 | 0.036824 | 0.102033 | 0.160338 | 0.792865 | 0.778289 | 0.770234 | 0.770234 | 0.768316 | 0.752781 | 0 | 0.01816 | 0.284164 | 9,308 | 242 | 75 | 38.46281 | 0.76437 | 0.070262 | 0 | 0.563452 | 0 | 0 | 0.002085 | 0 | 0 | 0 | 0 | 0 | 0.152284 | 1 | 0.121827 | false | 0 | 0.030457 | 0 | 0.15736 | 0.005076 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a985fd14c32371ab38c9347bbb136fa33b9a30c | 64,974 | py | Python | tests/test_database.py | santosderek/Vitality | cc90d3b561c3b75f000288345d7a1442fb2b3fec | [
"MIT"
] | 1 | 2020-09-18T17:08:53.000Z | 2020-09-18T17:08:53.000Z | tests/test_database.py | santosderek/Vitality | cc90d3b561c3b75f000288345d7a1442fb2b3fec | [
"MIT"
] | 91 | 2020-09-25T23:12:58.000Z | 2020-12-19T04:57:50.000Z | tests/test_database.py | santosderek/4155-Team | cc90d3b561c3b75f000288345d7a1442fb2b3fec | [
"MIT"
] | 3 | 2020-09-26T22:35:42.000Z | 2020-10-13T18:22:22.000Z | from bson.objectid import ObjectId
from copy import deepcopy
from datetime import datetime
from vitality.database import *
from vitality.trainee import Trainee
from vitality.trainer import Trainer
from vitality.workout import Workout
from vitality.settings import MONGO_URI
import unittest
class TestDatabase(unittest.... | 38.468917 | 103 | 0.591206 | 6,787 | 64,974 | 5.384264 | 0.037867 | 0.116575 | 0.054183 | 0.036122 | 0.857374 | 0.820294 | 0.790083 | 0.745669 | 0.698574 | 0.66393 | 0 | 0.015048 | 0.321898 | 64,974 | 1,688 | 104 | 38.491706 | 0.814363 | 0.065811 | 0 | 0.700748 | 0 | 0 | 0.058636 | 0.006221 | 0 | 0 | 0 | 0 | 0.175395 | 1 | 0.049875 | false | 0.024938 | 0.007481 | 0 | 0.061513 | 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 |
4aba4343e27429a07aa1f018a1ce3dbd2c6e891c | 7,249 | py | Python | tests/test_integration.py | caseynbrock/opal2 | 518291955c9a2bc2c958988bf405afd57546e1f2 | [
"MIT"
] | null | null | null | tests/test_integration.py | caseynbrock/opal2 | 518291955c9a2bc2c958988bf405afd57546e1f2 | [
"MIT"
] | null | null | null | tests/test_integration.py | caseynbrock/opal2 | 518291955c9a2bc2c958988bf405afd57546e1f2 | [
"MIT"
] | 1 | 2019-05-14T22:01:35.000Z | 2019-05-14T22:01:35.000Z | #!/usr/bin/env python
import sys
sys.path.append('.')
import os
import shutil
import tools_for_tests
import numpy as np
import pytest
import eval_pp
import analysis_driver
# directory of test input files
main_test_inputs_dir = os.path.join(os.getcwd(), 'tests', 'test_inputs_integration')
def test_eval_pp_main_no_co... | 48.97973 | 114 | 0.678163 | 999 | 7,249 | 4.733734 | 0.152152 | 0.101501 | 0.129203 | 0.138719 | 0.778389 | 0.754916 | 0.750053 | 0.737365 | 0.737365 | 0.721294 | 0 | 0.038526 | 0.180025 | 7,249 | 147 | 115 | 49.312925 | 0.757066 | 0.122776 | 0 | 0.702128 | 0 | 0 | 0.24972 | 0.102064 | 0 | 0 | 0 | 0 | 0.053191 | 1 | 0.053191 | false | 0 | 0.085106 | 0 | 0.138298 | 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 |
4359ddba3b02f31eb08c9143b767f943ec3e26e0 | 320 | py | Python | practices/practice_2.2/src/database/manage/__init__.py | JoelHernandez343/networking-administration | 65de814cde6fc08c47e989027a95a328ba9950df | [
"MIT"
] | null | null | null | practices/practice_2.2/src/database/manage/__init__.py | JoelHernandez343/networking-administration | 65de814cde6fc08c47e989027a95a328ba9950df | [
"MIT"
] | null | null | null | practices/practice_2.2/src/database/manage/__init__.py | JoelHernandez343/networking-administration | 65de814cde6fc08c47e989027a95a328ba9950df | [
"MIT"
] | 1 | 2022-03-02T16:19:34.000Z | 2022-03-02T16:19:34.000Z | from database import models
from database.database import engine
from database.manage import interface
from database.manage import vlan
def drop_db():
models.Base.metadata.drop_all(bind=engine)
def create_db():
models.Base.metadata.create_all(bind=engine)
def recreate_db():
drop_db()
create_db()
| 16.842105 | 48 | 0.759375 | 46 | 320 | 5.130435 | 0.369565 | 0.20339 | 0.152542 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153125 | 320 | 18 | 49 | 17.777778 | 0.870849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.363636 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
435a6237d6348784a8a2945a0a9ce59ab99f4a11 | 7,846 | py | Python | hypha/apply/projects/models/payment.py | killapop/hypha | a2880e384029dae77012abfc753f2af9cef1a5e1 | [
"BSD-3-Clause"
] | 16 | 2020-01-24T11:52:46.000Z | 2021-02-02T22:21:04.000Z | hypha/apply/projects/models/payment.py | killapop/hypha | a2880e384029dae77012abfc753f2af9cef1a5e1 | [
"BSD-3-Clause"
] | 538 | 2020-01-24T08:27:13.000Z | 2021-04-05T07:15:01.000Z | hypha/apply/projects/models/payment.py | killapop/hypha | a2880e384029dae77012abfc753f2af9cef1a5e1 | [
"BSD-3-Clause"
] | 17 | 2020-02-07T14:55:54.000Z | 2021-04-04T19:32:38.000Z | import decimal
import os
from django.conf import settings
from django.core.validators import MinValueValidator
from django.db import models
from django.db.models import Sum, Value
from django.db.models.functions import Coalesce
from django.urls import reverse
from django.utils.translation import gettext_lazy as _
fro... | 30.410853 | 112 | 0.684935 | 927 | 7,846 | 5.586839 | 0.153182 | 0.04441 | 0.045955 | 0.027032 | 0.779301 | 0.771771 | 0.755937 | 0.729484 | 0.704962 | 0.686812 | 0 | 0.004534 | 0.212847 | 7,846 | 257 | 113 | 30.529183 | 0.834035 | 0.0065 | 0 | 0.62963 | 0 | 0 | 0.081751 | 0.024641 | 0 | 0 | 0 | 0 | 0 | 1 | 0.174603 | false | 0 | 0.05291 | 0.142857 | 0.661376 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
436321348fe8fda261946859f8cfaea74aa02537 | 222 | py | Python | gdc/gdc/doctype/kurseinladungsteilnehmerin/kurseinladungsteilnehmerin.py | motzmose/gdcvw | 356cb094b70219ccda060c4c0ba9fcca842162ff | [
"MIT"
] | null | null | null | gdc/gdc/doctype/kurseinladungsteilnehmerin/kurseinladungsteilnehmerin.py | motzmose/gdcvw | 356cb094b70219ccda060c4c0ba9fcca842162ff | [
"MIT"
] | null | null | null | gdc/gdc/doctype/kurseinladungsteilnehmerin/kurseinladungsteilnehmerin.py | motzmose/gdcvw | 356cb094b70219ccda060c4c0ba9fcca842162ff | [
"MIT"
] | null | null | null | # Copyright (c) 2022, didaktik-aktuell e.V. and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class Kurseinladungsteilnehmerin(Document):
pass
| 24.666667 | 60 | 0.801802 | 28 | 222 | 6.357143 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.126126 | 222 | 8 | 61 | 27.75 | 0.896907 | 0.540541 | 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 |
436ba9c698a1431a95278733e5d431fe030d9795 | 406 | py | Python | vertica_python/vertica/messages/frontend_messages/copy_fail.py | jbfavre/vertica-python | c53ffc49a971e9a806679f95e8680847120f49e4 | [
"MIT"
] | 1 | 2016-10-01T20:28:31.000Z | 2016-10-01T20:28:31.000Z | vertica_python/vertica/messages/frontend_messages/copy_fail.py | jbfavre/vertica-python | c53ffc49a971e9a806679f95e8680847120f49e4 | [
"MIT"
] | null | null | null | vertica_python/vertica/messages/frontend_messages/copy_fail.py | jbfavre/vertica-python | c53ffc49a971e9a806679f95e8680847120f49e4 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from struct import pack
from vertica_python.vertica.messages.message import FrontendMessage
class CopyFail(FrontendMessage):
def __init__(self, error_message):
self.error_message = error_message
def to_bytes(self):
return self.message_string(pack('{0}... | 22.555556 | 101 | 0.76601 | 53 | 406 | 5.509434 | 0.509434 | 0.205479 | 0.219178 | 0.136986 | 0.219178 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0.002874 | 0.142857 | 406 | 17 | 102 | 23.882353 | 0.836207 | 0 | 0 | 0 | 0 | 0 | 0.014778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
4375453c54665a3e3f4b980173d08daf1903eb0a | 33 | py | Python | demo/test3/test3.py | phpython/phpython | 1dd7a4f36461eca1fbe04364fd05f2e08209a499 | [
"MIT"
] | 13 | 2017-09-03T17:33:14.000Z | 2022-03-16T00:38:32.000Z | demo/test3/test3.py | phpython/phpython | 1dd7a4f36461eca1fbe04364fd05f2e08209a499 | [
"MIT"
] | 2 | 2017-10-09T11:33:11.000Z | 2019-01-08T17:45:28.000Z | demo/test3/test3.py | phpython/phpython | 1dd7a4f36461eca1fbe04364fd05f2e08209a499 | [
"MIT"
] | 4 | 2019-01-08T15:33:33.000Z | 2020-09-28T15:17:08.000Z | print "A"
import lupa
print "C" | 6.6 | 11 | 0.666667 | 6 | 33 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 5 | 12 | 6.6 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
43845483b6501fe50b53f265595351a82afaf910 | 26,265 | py | Python | tests/test_broker.py | mikenerone/distmqtt | aa33c401bcc9728516b2cae123ee78d7b22bbbe9 | [
"MIT"
] | null | null | null | tests/test_broker.py | mikenerone/distmqtt | aa33c401bcc9728516b2cae123ee78d7b22bbbe9 | [
"MIT"
] | null | null | null | tests/test_broker.py | mikenerone/distmqtt | aa33c401bcc9728516b2cae123ee78d7b22bbbe9 | [
"MIT"
] | null | null | null | # Copyright (c) 2015 Nicolas JOUANIN
#
# See the file license.txt for copying permission.
import anyio
import os
import logging
import unittest
from unittest.mock import patch, call, MagicMock
from distmqtt.adapters import StreamAdapter
from distmqtt.broker import (
EVENT_BROKER_PRE_START,
EVENT_BROKER_POST_ST... | 42.986907 | 98 | 0.5585 | 2,592 | 26,265 | 5.42091 | 0.085262 | 0.044837 | 0.048395 | 0.075012 | 0.846274 | 0.830404 | 0.801011 | 0.795175 | 0.785709 | 0.758878 | 0 | 0.010088 | 0.350847 | 26,265 | 610 | 99 | 43.057377 | 0.814018 | 0.033086 | 0 | 0.697897 | 0 | 0.001912 | 0.060579 | 0.034329 | 0 | 0 | 0.000315 | 0 | 0.191205 | 1 | 0.036329 | false | 0 | 0.021033 | 0 | 0.066922 | 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 |
439cdaafc8510e05f9b5b80fad907e91cd97f3da | 193 | py | Python | src/graph_transpiler/webdnn/backend/webassembly/kernels/rsqrt.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | 1 | 2021-04-09T15:55:35.000Z | 2021-04-09T15:55:35.000Z | src/graph_transpiler/webdnn/backend/webassembly/kernels/rsqrt.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | src/graph_transpiler/webdnn/backend/webassembly/kernels/rsqrt.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | from webdnn.backend.webassembly.kernels.elementwise import register_elementwise_kernel
from webdnn.graph.operators.rsqrt import Rsqrt
register_elementwise_kernel(Rsqrt, "y = 1.0 / sqrt(x0);")
| 38.6 | 86 | 0.829016 | 26 | 193 | 6 | 0.653846 | 0.128205 | 0.320513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016854 | 0.07772 | 193 | 4 | 87 | 48.25 | 0.859551 | 0 | 0 | 0 | 0 | 0 | 0.098446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
439ff71e647df8c6d48ba7b3f0d655999507fc62 | 49 | py | Python | app/subrunner.py | AI-Wars-Soc/web-api | d5a2048f94e92c95fed40af84abccca9c75a4eca | [
"MIT"
] | null | null | null | app/subrunner.py | AI-Wars-Soc/web-api | d5a2048f94e92c95fed40af84abccca9c75a4eca | [
"MIT"
] | null | null | null | app/subrunner.py | AI-Wars-Soc/web-api | d5a2048f94e92c95fed40af84abccca9c75a4eca | [
"MIT"
] | null | null | null | def get_next_board(board, move):
return None
| 16.333333 | 32 | 0.734694 | 8 | 49 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 2 | 33 | 24.5 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
43d559f3dc40af4a000629b2cbf7ad9bddadd74f | 14,629 | py | Python | ambari-server/src/test/python/stacks/test_ambari_configuration.py | thaibui/ambari | e8bf4ec5f0e8de15048b4c81027277de4faa94d3 | [
"Apache-2.0"
] | null | null | null | ambari-server/src/test/python/stacks/test_ambari_configuration.py | thaibui/ambari | e8bf4ec5f0e8de15048b4c81027277de4faa94d3 | [
"Apache-2.0"
] | null | null | null | ambari-server/src/test/python/stacks/test_ambari_configuration.py | thaibui/ambari | e8bf4ec5f0e8de15048b4c81027277de4faa94d3 | [
"Apache-2.0"
] | null | null | null | """
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this ... | 46.44127 | 127 | 0.686855 | 1,356 | 14,629 | 7.09882 | 0.140118 | 0.159879 | 0.046541 | 0.058176 | 0.823187 | 0.805734 | 0.794827 | 0.762414 | 0.734469 | 0.726366 | 0 | 0.004456 | 0.171645 | 14,629 | 314 | 128 | 46.589172 | 0.789899 | 0.05824 | 0 | 0.676 | 0 | 0 | 0.312995 | 0.246677 | 0 | 0 | 0 | 0 | 0.26 | 1 | 0.052 | false | 0.008 | 0.016 | 0.008 | 0.084 | 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 |
60284e69f92a3beef43109e0a416d36bb81978c6 | 1,632 | py | Python | pi1/GPD Test.py | Rose-Hulman-Rover-Team/Rover-2019-2020 | d75a9086fa733f8a8b5240005bee058737ad82c7 | [
"MIT"
] | null | null | null | pi1/GPD Test.py | Rose-Hulman-Rover-Team/Rover-2019-2020 | d75a9086fa733f8a8b5240005bee058737ad82c7 | [
"MIT"
] | null | null | null | pi1/GPD Test.py | Rose-Hulman-Rover-Team/Rover-2019-2020 | d75a9086fa733f8a8b5240005bee058737ad82c7 | [
"MIT"
] | null | null | null |
import serial, string
import time
output = " "
lon=0
lat=0
stringVal=""
ser = serial.Serial('/dev/ttyUSB0',115200, 8, 'N',1, timeout = 1)
#file = open("Save.csv", "w")
while True:
print("----")
while output != "":
output = (ser.readline().decode())
if output[:6] == "$GPG... | 24.727273 | 78 | 0.479167 | 180 | 1,632 | 4.344444 | 0.272222 | 0.143223 | 0.076726 | 0.061381 | 0.928389 | 0.928389 | 0.928389 | 0.928389 | 0.928389 | 0.826087 | 0 | 0.044983 | 0.291667 | 1,632 | 65 | 79 | 25.107692 | 0.631488 | 0.647059 | 0 | 0.133333 | 0 | 0 | 0.059242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.133333 | 0.133333 | 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 |
603adb37ff8d59149e85a4c88d5e533fe4b6bb2e | 41 | py | Python | python/testData/resolve/multiFile/keywordArgument/KeywordArgument.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/multiFile/keywordArgument/KeywordArgument.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/multiFile/keywordArgument/KeywordArgument.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from a import A
print(A())
# <ref>
| 6.833333 | 15 | 0.512195 | 7 | 41 | 3 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.317073 | 41 | 5 | 16 | 8.2 | 0.75 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
60403e0b8a33ef536edc4249522d2055c17c2538 | 23 | py | Python | build/lib/roro/__init__.py | samyabdellatif/roro | 80c90e1b87a46d5d9dff39316ec0f5f35bc1337d | [
"MIT"
] | null | null | null | build/lib/roro/__init__.py | samyabdellatif/roro | 80c90e1b87a46d5d9dff39316ec0f5f35bc1337d | [
"MIT"
] | null | null | null | build/lib/roro/__init__.py | samyabdellatif/roro | 80c90e1b87a46d5d9dff39316ec0f5f35bc1337d | [
"MIT"
] | null | null | null | from . import roroclass | 23 | 23 | 0.826087 | 3 | 23 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 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 |
60525d1554e6f9eb0fd83404636cdfc57b7b98c7 | 37,558 | py | Python | graph4nlp/pytorch/test/kg_completion/models_graph4nlp.py | stjordanis/graph4nlp | c6ebde32bc77d3a7b78f86a93f19b1c057963ffa | [
"Apache-2.0"
] | 1 | 2021-06-06T15:23:11.000Z | 2021-06-06T15:23:11.000Z | graph4nlp/pytorch/test/kg_completion/models_graph4nlp.py | stjordanis/graph4nlp | c6ebde32bc77d3a7b78f86a93f19b1c057963ffa | [
"Apache-2.0"
] | null | null | null | graph4nlp/pytorch/test/kg_completion/models_graph4nlp.py | stjordanis/graph4nlp | c6ebde32bc77d3a7b78f86a93f19b1c057963ffa | [
"Apache-2.0"
] | 1 | 2021-11-01T08:41:26.000Z | 2021-11-01T08:41:26.000Z | import torch
from torch.nn import functional as F, Parameter
from torch.autograd import Variable
from src.spodernet.spodernet.utils.global_config import Config
from src.spodernet.spodernet.utils.cuda_utils import CUDATimer
from torch.nn.init import xavier_normal_, xavier_uniform_
from src.spodernet.spodernet.utils.cu... | 41.363436 | 134 | 0.625406 | 5,224 | 37,558 | 4.18549 | 0.056087 | 0.023325 | 0.012074 | 0.020123 | 0.889001 | 0.861056 | 0.831191 | 0.80375 | 0.777956 | 0.750972 | 0 | 0.012339 | 0.272831 | 37,558 | 908 | 135 | 41.363436 | 0.788254 | 0.194552 | 0 | 0.693632 | 0 | 0 | 0.022834 | 0 | 0 | 0 | 0 | 0.002203 | 0.024096 | 1 | 0.063683 | false | 0 | 0.032702 | 0.003442 | 0.156627 | 0.003442 | 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 |
6058840844b73128e58dd27ec5845ab72b1c2e4e | 5,171 | py | Python | tests/unit/recommenders/models/test_newsrec_model.py | enowy/Recommenders | 60033231b9167438032843c23158c0c776856e0e | [
"MIT"
] | 10,147 | 2019-05-07T07:24:36.000Z | 2022-03-31T21:16:41.000Z | tests/unit/recommenders/models/test_newsrec_model.py | enowy/Recommenders | 60033231b9167438032843c23158c0c776856e0e | [
"MIT"
] | 750 | 2019-05-07T07:34:33.000Z | 2022-03-31T10:11:55.000Z | tests/unit/recommenders/models/test_newsrec_model.py | enowy/Recommenders | 60033231b9167438032843c23158c0c776856e0e | [
"MIT"
] | 1,983 | 2019-05-07T08:56:48.000Z | 2022-03-31T16:43:00.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import os
import pytest
try:
from recommenders.models.deeprec.deeprec_utils import download_deeprec_resources
from recommenders.models.newsrec.io.mind_all_iterator import MINDAllIterator
from recommenders.models.... | 36.673759 | 84 | 0.70876 | 678 | 5,171 | 5.178466 | 0.141593 | 0.088864 | 0.118485 | 0.087724 | 0.821418 | 0.775847 | 0.75591 | 0.75591 | 0.735973 | 0.735973 | 0 | 0.003842 | 0.19474 | 5,171 | 140 | 85 | 36.935714 | 0.839337 | 0.026107 | 0 | 0.649573 | 0 | 0 | 0.125397 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 1 | 0.034188 | false | 0.008547 | 0.094017 | 0 | 0.128205 | 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 |
6064b305300ad3a1c3a5521f27fbb72d07efc384 | 160 | py | Python | multiner/utils/__init__.py | ugurcanozalp/multilingual-ner | c8bd9085be3e6377a56e167419464911e5cd0834 | [
"Apache-2.0"
] | 2 | 2021-12-24T12:40:36.000Z | 2022-03-04T03:14:50.000Z | multiner/utils/__init__.py | ugurcanozalp/multilingual-ner | c8bd9085be3e6377a56e167419464911e5cd0834 | [
"Apache-2.0"
] | 2 | 2021-04-26T08:56:25.000Z | 2021-07-23T11:48:05.000Z | multiner/utils/__init__.py | ugurcanozalp/multilingual-ner | c8bd9085be3e6377a56e167419464911e5cd0834 | [
"Apache-2.0"
] | null | null | null | from .custom_tokenizer import CustomTokenizer
from .custom_tokenizer_np import CustomTokenizerNP
from .dataset import NerDataset
from .crf_numpy import CRFNumpy | 40 | 50 | 0.88125 | 20 | 160 | 6.85 | 0.6 | 0.145985 | 0.277372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 160 | 4 | 51 | 40 | 0.944828 | 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 |
6065e6fee42322b585a97acebd96a267765b8867 | 40,991 | py | Python | symphony/bdk/gen/pod_api/security_api.py | symphony-elias/symphony-bdk-python | 0d1cd94a9982e3687ea52c49acdb5f942ecd9bec | [
"Apache-2.0"
] | 17 | 2018-09-06T09:58:18.000Z | 2021-07-13T12:54:20.000Z | symphony/bdk/gen/pod_api/security_api.py | symphony-elias/symphony-bdk-python | 0d1cd94a9982e3687ea52c49acdb5f942ecd9bec | [
"Apache-2.0"
] | 59 | 2018-11-21T15:17:57.000Z | 2021-08-03T10:00:43.000Z | symphony/bdk/gen/pod_api/security_api.py | symphony-elias/symphony-bdk-python | 0d1cd94a9982e3687ea52c49acdb5f942ecd9bec | [
"Apache-2.0"
] | 37 | 2018-09-01T03:07:48.000Z | 2021-07-06T10:21:50.000Z | """
Pod API
This document refers to Symphony API calls that do not need encryption or decryption of content. - sessionToken can be obtained by calling the authenticationAPI on the symphony back end and the key manager respectively. Refer to the methods described in authenticatorAPI.yaml. - Actions are defined... | 37.849492 | 637 | 0.474031 | 3,519 | 40,991 | 5.244388 | 0.076442 | 0.052018 | 0.022541 | 0.023408 | 0.880466 | 0.860417 | 0.836196 | 0.826172 | 0.807586 | 0.803522 | 0 | 0.004495 | 0.446391 | 40,991 | 1,082 | 638 | 37.884473 | 0.808752 | 0.324681 | 0 | 0.684282 | 0 | 0 | 0.221972 | 0.040069 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012195 | false | 0 | 0.01626 | 0 | 0.04065 | 0.058266 | 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 |
6071adebf5dbd6d42f1d6d60ac48c086fd7751de | 42 | py | Python | rockit/core/resolvers/__init__.py | acreations/rockit-server | 4d1e87b563d9339e73bf0e5c698a59e8e124cc01 | [
"MIT"
] | null | null | null | rockit/core/resolvers/__init__.py | acreations/rockit-server | 4d1e87b563d9339e73bf0e5c698a59e8e124cc01 | [
"MIT"
] | null | null | null | rockit/core/resolvers/__init__.py | acreations/rockit-server | 4d1e87b563d9339e73bf0e5c698a59e8e124cc01 | [
"MIT"
] | null | null | null | from commands import *
from mixes import * | 21 | 22 | 0.785714 | 6 | 42 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 23 | 21 | 0.942857 | 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 |
60acc5b3e7740b90b3f30649b84bfca11acad7f8 | 3,546 | py | Python | app/views/search_ip.py | aluisq/flask_mysql_jinja | 6fc9bd23ac31647744be0a1016bca42e2bc32961 | [
"MIT"
] | null | null | null | app/views/search_ip.py | aluisq/flask_mysql_jinja | 6fc9bd23ac31647744be0a1016bca42e2bc32961 | [
"MIT"
] | null | null | null | app/views/search_ip.py | aluisq/flask_mysql_jinja | 6fc9bd23ac31647744be0a1016bca42e2bc32961 | [
"MIT"
] | null | null | null | from app import cursor, app
from flask import render_template, request, redirect, url_for, jsonify, flash
from mysql.connector import Error
# Mostra os resultados
# print(dados)
@app.route("/search-ip/hgmi")
def ip_hgmi():
#QUERY ALTERADA PARA TESTE
sql = ("SELECT id, ur, ip, hostname, unidade, lo... | 41.232558 | 148 | 0.635928 | 456 | 3,546 | 4.905702 | 0.127193 | 0.080465 | 0.091194 | 0.118015 | 0.877962 | 0.877962 | 0.877962 | 0.877962 | 0.861869 | 0.734019 | 0 | 0.00355 | 0.205584 | 3,546 | 86 | 149 | 41.232558 | 0.790557 | 0.027355 | 0 | 0.631579 | 0 | 0.105263 | 0.33982 | 0.047342 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.263158 | 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 |
8812dd73eecd7df3d97f88c385ddb34298d35f1d | 97 | py | Python | groklog/ui/scenes/__init__.py | apockill/groklog | 3d7de51086851fc68dba6ae77aafd3e5274549c7 | [
"MIT"
] | 2 | 2021-07-15T02:18:56.000Z | 2022-02-01T19:33:34.000Z | groklog/ui/scenes/__init__.py | apockill/groklog | 3d7de51086851fc68dba6ae77aafd3e5274549c7 | [
"MIT"
] | 1 | 2022-03-08T23:24:00.000Z | 2022-03-08T23:24:00.000Z | groklog/ui/scenes/__init__.py | apockill/groklog | 3d7de51086851fc68dba6ae77aafd3e5274549c7 | [
"MIT"
] | null | null | null | from .app import GrokLog
from .base_app import BaseApp
from .filter_creator import FilterCreator
| 24.25 | 41 | 0.845361 | 14 | 97 | 5.714286 | 0.642857 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 3 | 42 | 32.333333 | 0.941176 | 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 |
714a5064a62ea88f8206620d2f5854559fba5677 | 162 | py | Python | mla/__init__.py | thejevans/mla | 0c583741cfc7626b0653bf58f4efaa1e7681424c | [
"Apache-2.0"
] | 1 | 2020-11-20T15:47:00.000Z | 2020-11-20T15:47:00.000Z | mla/__init__.py | thejevans/mla | 0c583741cfc7626b0653bf58f4efaa1e7681424c | [
"Apache-2.0"
] | 57 | 2020-11-27T02:23:08.000Z | 2022-02-12T20:14:24.000Z | mla/__init__.py | thejevans/mla | 0c583741cfc7626b0653bf58f4efaa1e7681424c | [
"Apache-2.0"
] | null | null | null | """__init__.py"""
# flake8: noqa
from .analysis import *
from .models import *
from .sources import *
from .test_statistics import *
from .time_profiles import *
| 20.25 | 30 | 0.734568 | 21 | 162 | 5.380952 | 0.619048 | 0.353982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.148148 | 162 | 7 | 31 | 23.142857 | 0.811594 | 0.154321 | 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 |
7179edb352a299f8ba51b98500cb188948fe5b12 | 121 | py | Python | 2395.py | bigMARAC/uri-python-solves | 3dd6dadace8a7b6b8e3274e3fa9e22ef1ec94aa4 | [
"MIT"
] | null | null | null | 2395.py | bigMARAC/uri-python-solves | 3dd6dadace8a7b6b8e3274e3fa9e22ef1ec94aa4 | [
"MIT"
] | null | null | null | 2395.py | bigMARAC/uri-python-solves | 3dd6dadace8a7b6b8e3274e3fa9e22ef1ec94aa4 | [
"MIT"
] | null | null | null | a, b, c = map(int, input().split(' '))
x, y, z = map(int, input().split(' '))
print(int(x / a) * int(y / b) * int(z / c)) | 40.333333 | 43 | 0.479339 | 24 | 121 | 2.416667 | 0.458333 | 0.206897 | 0.37931 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198347 | 121 | 3 | 43 | 40.333333 | 0.597938 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71864bb93fe01bcd901a91f5f6db1edcb2d12674 | 146 | py | Python | main_model_hpOpt.py | zhangruochi/Mol-HGT | 81c1662cdfcf9796651c761c4c64715cf7be64ce | [
"MIT"
] | 3 | 2022-01-25T08:36:20.000Z | 2022-02-23T09:16:49.000Z | main_model_hpOpt.py | zhangruochi/Mol-HGT | 81c1662cdfcf9796651c761c4c64715cf7be64ce | [
"MIT"
] | 1 | 2022-02-15T10:19:26.000Z | 2022-02-24T14:25:37.000Z | main_model_hpOpt.py | zhangruochi/Mol-HGT | 81c1662cdfcf9796651c761c4c64715cf7be64ce | [
"MIT"
] | null | null | null | import core.molPred.init
from models import models
from core.molPred.molPred_datas_hpOpt import main
if __name__ == '__main__':
main(models)
| 20.857143 | 49 | 0.787671 | 21 | 146 | 5 | 0.52381 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 146 | 6 | 50 | 24.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
71a3b41cad2fc928a5fdc69e163ef946ed092cc5 | 287 | py | Python | ontology-tools/CMCLABoxManagement/chemaboxwriters/chemaboxwriters/kgoperations/queryendpoints.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | 21 | 2021-03-08T01:58:25.000Z | 2022-03-09T15:46:16.000Z | ontology-tools/CMCLABoxManagement/chemaboxwriters/chemaboxwriters/kgoperations/queryendpoints.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | 63 | 2021-05-04T15:05:30.000Z | 2022-03-23T14:32:29.000Z | ontology-tools/CMCLABoxManagement/chemaboxwriters/chemaboxwriters/kgoperations/queryendpoints.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | 15 | 2021-03-08T07:52:03.000Z | 2022-03-29T04:46:20.000Z | SPARQL_ENDPOINTS = {
'ontocompchem': 'http://theworldavatar.com/blazegraph/namespace/ontocompchem/sparql',
'ontospecies': 'http://theworldavatar.com/blazegraph/namespace/ontospecies/sparql',
'ontopesscan': 'http://theworldavatar.com/blazegraph/namespace/ontopesscan/sparql'
} | 57.4 | 89 | 0.773519 | 26 | 287 | 8.5 | 0.384615 | 0.244344 | 0.285068 | 0.420814 | 0.542986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 287 | 5 | 90 | 57.4 | 0.830827 | 0 | 0 | 0 | 0 | 0 | 0.798611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71c1a0291726e85561ce8f504f1f744e8a42d885 | 90 | py | Python | eggmorning/models/__init__.py | beautifultools/eggmorning-django | 2f805088bcf8f2473bd742e76267364c6985074e | [
"MIT",
"Unlicense"
] | null | null | null | eggmorning/models/__init__.py | beautifultools/eggmorning-django | 2f805088bcf8f2473bd742e76267364c6985074e | [
"MIT",
"Unlicense"
] | 4 | 2021-06-04T23:52:54.000Z | 2021-09-22T19:33:34.000Z | eggmorning/models/__init__.py | beautifultools/eggmorning-django | 2f805088bcf8f2473bd742e76267364c6985074e | [
"MIT",
"Unlicense"
] | 1 | 2021-06-24T12:22:14.000Z | 2021-06-24T12:22:14.000Z | from .common import *
from .user import *
from .hotel import *
from .component import *
| 12.857143 | 24 | 0.711111 | 12 | 90 | 5.333333 | 0.5 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 90 | 6 | 25 | 15 | 0.888889 | 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 |
71c9367725b36d3daebdea3e7e2e8b8bab59119a | 310 | py | Python | test/testMat.py | rayline/WebMat | c8ed120d693670dd14c90105df6b9ab78a1deac0 | [
"MIT"
] | null | null | null | test/testMat.py | rayline/WebMat | c8ed120d693670dd14c90105df6b9ab78a1deac0 | [
"MIT"
] | null | null | null | test/testMat.py | rayline/WebMat | c8ed120d693670dd14c90105df6b9ab78a1deac0 | [
"MIT"
] | null | null | null | import numpy
a = [[5,2,5,2,0,7,1,7,9,4,7],[1,3,1,6,4,5,1,2,1,3,2],[6,7,2,6,9,2,5,6,6,5,3],[7,3,4,2,7,8,4,7,5,4,4],[2,1,1,3,2,2,2,1,9,2,8],[7,9,0,0,3,9,9,8,6,5,2],[4,5,0,8,8,0,5,1,2,3,3],[6,7,1,6,2,9,3,9,4,6,4],[7,6,2,9,0,4,3,3,0,5,0],[3,7,0,6,1,7,7,1,9,5,0],[6,5,0,1,7,2,6,7,5,0,4]]
print(numpy.linalg.det(a))
| 77.5 | 269 | 0.493548 | 129 | 310 | 1.186047 | 0.124031 | 0.065359 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.398026 | 0.019355 | 310 | 3 | 270 | 103.333333 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e09d25c6923f60035d1a6ccd34679d8bb3bd93f3 | 2,324 | py | Python | Algorithms/register.py | kasimte/RLs | 0eba84bd7cc571269f874b65923bec2188828ef6 | [
"Apache-2.0"
] | null | null | null | Algorithms/register.py | kasimte/RLs | 0eba84bd7cc571269f874b65923bec2188828ef6 | [
"Apache-2.0"
] | null | null | null | Algorithms/register.py | kasimte/RLs | 0eba84bd7cc571269f874b65923bec2188828ef6 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
try:
tf_version = tf.version.VERSION[0]
except:
tf_version = tf.VERSION[0]
finally:
if tf_version == '1':
from .tf1algos import *
# algorithms based on TF 1.x
version = 'tf1algos'
algos = {
'pg': [PG, 'on-policy', 'perEpisode'],
... | 42.254545 | 99 | 0.496558 | 257 | 2,324 | 4.412451 | 0.245136 | 0.198413 | 0.352734 | 0.095238 | 0.765432 | 0.72134 | 0.72134 | 0.72134 | 0.72134 | 0.72134 | 0 | 0.014198 | 0.302926 | 2,324 | 55 | 100 | 42.254545 | 0.685802 | 0.064114 | 0 | 0.615385 | 0 | 0 | 0.316444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0.057692 | 0 | 0.096154 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e09f0fb22f42f8c4bd91a55212f80b77d8c9b80d | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/core/tests/test__exceptions.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/core/tests/test__exceptions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/core/tests/test__exceptions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/42/ac/50/48b5dba0f5c45701f3f93c84d8978897f4c2fab3ee8337e8db99db727b | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 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 |
1cf0b8f6e8ccab2ff2b41746c5dd57927d83045f | 8,990 | py | Python | py/g1/asyncs/bases/tests/test_streams.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | 3 | 2016-01-04T06:28:52.000Z | 2020-09-20T13:18:40.000Z | py/g1/asyncs/bases/tests/test_streams.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | py/g1/asyncs/bases/tests/test_streams.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | import unittest
from g1.asyncs.bases import streams
from g1.asyncs.kernels import contexts
from g1.asyncs.kernels import errors
from g1.asyncs.kernels import kernels
class BytesStreamTest(unittest.TestCase):
def setUp(self):
self.s = streams.BytesStream()
self.k = kernels.Kernel()
self.t... | 30.893471 | 78 | 0.601001 | 1,185 | 8,990 | 4.459916 | 0.08692 | 0.136235 | 0.178619 | 0.189782 | 0.861306 | 0.829518 | 0.791864 | 0.707852 | 0.583349 | 0.509934 | 0 | 0.006907 | 0.243048 | 8,990 | 290 | 79 | 31 | 0.769728 | 0.008009 | 0 | 0.625571 | 0 | 0 | 0.040386 | 0 | 0 | 0 | 0 | 0 | 0.639269 | 1 | 0.068493 | false | 0 | 0.022831 | 0 | 0.100457 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1cf35f9253c38501eaa0f4a43b356c7d84a2927f | 23,391 | py | Python | elstruct/elstruct/writer/_writer.py | sjklipp/autoio | e2b471e9c9dec933319c98a30d4d519ca5d47645 | [
"Apache-2.0"
] | null | null | null | elstruct/elstruct/writer/_writer.py | sjklipp/autoio | e2b471e9c9dec933319c98a30d4d519ca5d47645 | [
"Apache-2.0"
] | null | null | null | elstruct/elstruct/writer/_writer.py | sjklipp/autoio | e2b471e9c9dec933319c98a30d4d519ca5d47645 | [
"Apache-2.0"
] | null | null | null | """ Electronic structure program input writing module.
"""
from elstruct import par
from elstruct.writer import program_modules as pm
# energy input writers
def programs():
""" Constructs a list of available electronic structure programs.
At minimum, each program must have an energy reader to be enumerat... | 37.910859 | 77 | 0.630114 | 2,733 | 23,391 | 5.251372 | 0.064764 | 0.042921 | 0.035326 | 0.051561 | 0.907539 | 0.89869 | 0.888796 | 0.883013 | 0.854097 | 0.850404 | 0 | 0.00115 | 0.293788 | 23,391 | 616 | 78 | 37.972403 | 0.867668 | 0.532427 | 0 | 0.678788 | 0 | 0 | 0.002003 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 1 | 0.090909 | false | 0 | 0.012121 | 0 | 0.193939 | 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 |
e8173eed17c5a231e40693e845ff24899cb5d249 | 4,202 | py | Python | drop-linux/check_keys.py | ddesmond/clarisse-drop | 5b83f693ff1c950c473e6bdd5c0d6c0cf798e630 | [
"MIT"
] | 5 | 2018-11-28T19:23:50.000Z | 2022-03-07T03:59:43.000Z | drop-linux/check_keys.py | ddesmond/clarisse-drop | 5b83f693ff1c950c473e6bdd5c0d6c0cf798e630 | [
"MIT"
] | 1 | 2018-11-29T08:58:25.000Z | 2018-11-29T08:58:25.000Z | drop-linux/check_keys.py | ddesmond/clarisse-drop | 5b83f693ff1c950c473e6bdd5c0d6c0cf798e630 | [
"MIT"
] | 1 | 2020-07-04T18:34:23.000Z | 2020-07-04T18:34:23.000Z | import os
from cryptography.fernet import Fernet
path_to_keyfile = r'keyfile.key'
datasample = '''#Isotropix_Clarisse_Clipboard_Serialization 0.94
Context "context" {
copy_from "project://scene/context"
}
'''
if os.path.isfile(path_to_keyfile):
print "-------------------------------------------------------"
f = ... | 107.74359 | 1,534 | 0.905045 | 180 | 4,202 | 20.788889 | 0.738889 | 0.00481 | 0.010422 | 0.007483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135643 | 0.024512 | 4,202 | 38 | 1,535 | 110.578947 | 0.777263 | 0.013327 | 0 | 0.111111 | 0 | 0.074074 | 0.901232 | 0.872495 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.074074 | null | null | 0.259259 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c756a4993961cd443de95710343b4f19217a317 | 213 | py | Python | librespot/audio/decrypt/NoopAudioDecrypt.py | JeffmeisterJ/librespot-python | 0e0e1db65aa40262bd13479b97f81ae8c29ae049 | [
"Apache-2.0"
] | 1 | 2021-12-15T22:44:46.000Z | 2021-12-15T22:44:46.000Z | librespot/audio/decrypt/NoopAudioDecrypt.py | JeffmeisterJ/librespot-python | 0e0e1db65aa40262bd13479b97f81ae8c29ae049 | [
"Apache-2.0"
] | 12 | 2021-10-06T02:18:44.000Z | 2022-02-07T02:16:47.000Z | librespot/audio/decrypt/NoopAudioDecrypt.py | JeffmeisterJ/librespot-python | 0e0e1db65aa40262bd13479b97f81ae8c29ae049 | [
"Apache-2.0"
] | null | null | null | from librespot.audio.decrypt import AudioDecrypt
class NoopAudioDecrypt(AudioDecrypt):
def decrypt_chunk(self, chunk_index: int, buffer: bytes):
pass
def decrypt_time_ms(self):
return 0
| 21.3 | 61 | 0.723005 | 26 | 213 | 5.769231 | 0.769231 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.206573 | 213 | 9 | 62 | 23.666667 | 0.881657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
c714e0022037c798838c5bbe39eab40994360617 | 197 | py | Python | first-homework.py | spaceghst007/astro-119 | bb9aa0c27781774ffa9dfbeefcd5267934eaaece | [
"MIT"
] | null | null | null | first-homework.py | spaceghst007/astro-119 | bb9aa0c27781774ffa9dfbeefcd5267934eaaece | [
"MIT"
] | 9 | 2021-09-23T18:54:54.000Z | 2021-12-09T19:56:08.000Z | first-homework.py | spaceghst007/astro-119 | bb9aa0c27781774ffa9dfbeefcd5267934eaaece | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#this program will write
#my Name and preferred pronouns
print("My name is Jesse Runkle") #print full name
print("Preferred pronouns are he/him") #print preferred pronouns
| 24.625 | 64 | 0.766497 | 31 | 197 | 4.870968 | 0.677419 | 0.337748 | 0.291391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.142132 | 197 | 7 | 65 | 28.142857 | 0.887574 | 0.573604 | 0 | 0 | 0 | 0 | 0.658228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c78ce57daed2424afafb81863d8932099fe27dd8 | 2,283 | py | Python | src/Algs/factories/args_generators/args_generators.py | EDA-Asp/Algebras_of_Multioperations | fe41831d06dd80c4191dd25c0c5d6901a8b860ee | [
"MIT"
] | null | null | null | src/Algs/factories/args_generators/args_generators.py | EDA-Asp/Algebras_of_Multioperations | fe41831d06dd80c4191dd25c0c5d6901a8b860ee | [
"MIT"
] | null | null | null | src/Algs/factories/args_generators/args_generators.py | EDA-Asp/Algebras_of_Multioperations | fe41831d06dd80c4191dd25c0c5d6901a8b860ee | [
"MIT"
] | null | null | null | from itertools import product, chain, combinations
def gen_intersection_and_union_binary_new(substitution_new):
return combinations(substitution_new, 2)
def gen_intersection_and_union_binary_cross_1(substitution_new, substitution_old):
for x in substitution_new:
for y in substitution_old:
... | 33.573529 | 107 | 0.713973 | 292 | 2,283 | 5.202055 | 0.119863 | 0.315997 | 0.231073 | 0.138249 | 0.85846 | 0.84266 | 0.80316 | 0.731402 | 0.671494 | 0.573404 | 0 | 0.006108 | 0.211126 | 2,283 | 67 | 108 | 34.074627 | 0.837313 | 0 | 0 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.191489 | false | 0 | 0.021277 | 0.042553 | 0.319149 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c79c21887337236ed2692b6d19ab1ee7df1eb9d2 | 18,805 | py | Python | model/cut.py | jingkunchen/MS-CMR_miccai_2019 | ce4b67e017c0891533efadbdce4947b1c4821d6c | [
"MIT"
] | 14 | 2019-08-29T07:34:29.000Z | 2021-06-07T13:16:39.000Z | model/cut.py | jingkunchen/MS-CMR_miccai_2019 | ce4b67e017c0891533efadbdce4947b1c4821d6c | [
"MIT"
] | 2 | 2020-11-03T05:07:43.000Z | 2021-05-07T12:03:24.000Z | model/cut.py | jingkunchen/MS-CMR_miccai_2019 | ce4b67e017c0891533efadbdce4947b1c4821d6c | [
"MIT"
] | 3 | 2019-09-12T07:04:08.000Z | 2021-10-29T18:50:42.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import print_function
import os
import numpy as np
import SimpleITK as sitk
import scipy.misc
from skimage.transform import resize
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import scipy.ndimage
import cv2
import time
from decimal imp... | 39.672996 | 115 | 0.564212 | 2,952 | 18,805 | 3.366192 | 0.057249 | 0.109188 | 0.08574 | 0.098621 | 0.866861 | 0.836671 | 0.800845 | 0.776391 | 0.760894 | 0.751333 | 0 | 0.057295 | 0.259346 | 18,805 | 473 | 116 | 39.756871 | 0.65616 | 0.319277 | 0 | 0.632867 | 0 | 0 | 0.074001 | 0.04163 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003497 | false | 0.006993 | 0.045455 | 0 | 0.048951 | 0.076923 | 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 |
c7a967c0aa72f3fa083f0a104fa0f0048c81136b | 3,757 | py | Python | vimms/Controller/model.py | hechth/vimms | ce5922578cf225d46cb285da8e7af97b5321f5aa | [
"MIT"
] | 11 | 2019-07-11T09:19:18.000Z | 2021-03-07T08:44:36.000Z | vimms/Controller/model.py | hechth/vimms | ce5922578cf225d46cb285da8e7af97b5321f5aa | [
"MIT"
] | 159 | 2019-12-11T14:41:40.000Z | 2021-03-31T19:47:08.000Z | vimms/Controller/model.py | hechth/vimms | ce5922578cf225d46cb285da8e7af97b5321f5aa | [
"MIT"
] | 4 | 2019-10-09T18:42:49.000Z | 2020-07-10T14:21:59.000Z | import numpy as np
from vimms.Controller import RoiController
class ModelRoiController(RoiController):
def __init__(self, ionisation_mode, isolation_width, mz_tol, min_ms1_intensity, min_roi_intensity,
min_roi_length, boxes, p_values, N=None, rt_tol=10,
min_roi_length_for_fragme... | 55.25 | 106 | 0.650253 | 497 | 3,757 | 4.434608 | 0.138833 | 0.051724 | 0.07078 | 0.053085 | 0.839383 | 0.83167 | 0.825771 | 0.793103 | 0.793103 | 0.779492 | 0 | 0.017066 | 0.266968 | 3,757 | 67 | 107 | 56.074627 | 0.783224 | 0.377961 | 0 | 0.285714 | 0 | 0 | 0.004327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.057143 | 0 | 0.228571 | 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 |
c7cfa484ce82a9eb52a5a953579b557f76d37d07 | 8,389 | py | Python | tests/test_payload_check.py | unfoldingWord-dev/door43-enqueue-job | f153c92660ad2f59cacd04ecc96fad89cfa8f9da | [
"Unlicense"
] | null | null | null | tests/test_payload_check.py | unfoldingWord-dev/door43-enqueue-job | f153c92660ad2f59cacd04ecc96fad89cfa8f9da | [
"Unlicense"
] | 37 | 2018-10-11T03:30:55.000Z | 2021-01-08T13:52:30.000Z | tests/test_payload_check.py | unfoldingWord-dev/door43-enqueue-job | f153c92660ad2f59cacd04ecc96fad89cfa8f9da | [
"Unlicense"
] | null | null | null | from unittest import TestCase
from unittest.mock import Mock
import json
import logging
from enqueue.check_posted_payload import check_posted_payload
class TestPayloadCheck(TestCase):
def test_blank(self):
payload_json = ''
mock_request = Mock()
mock_request.data = payload_json
o... | 36.159483 | 103 | 0.586602 | 876 | 8,389 | 5.374429 | 0.116438 | 0.13785 | 0.064996 | 0.070093 | 0.879779 | 0.867247 | 0.867247 | 0.83921 | 0.829014 | 0.808199 | 0 | 0.003077 | 0.302658 | 8,389 | 231 | 104 | 36.316017 | 0.801709 | 0 | 0 | 0.666667 | 0 | 0 | 0.205269 | 0.03147 | 0 | 0 | 0 | 0 | 0.070423 | 1 | 0.070423 | false | 0 | 0.023474 | 0 | 0.098592 | 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 |
c7d648f5cfc6a78ddb9c677722d02575657c7b42 | 45 | py | Python | tfds_juliet/__init__.py | alexpotter1/vulndetect-ml | 338fbf919b24520f9107a1604d1c8af48aadff76 | [
"MIT"
] | 1 | 2020-02-25T01:53:23.000Z | 2020-02-25T01:53:23.000Z | tfds_juliet/__init__.py | alexpotter1/vulndetect-ml | 338fbf919b24520f9107a1604d1c8af48aadff76 | [
"MIT"
] | null | null | null | tfds_juliet/__init__.py | alexpotter1/vulndetect-ml | 338fbf919b24520f9107a1604d1c8af48aadff76 | [
"MIT"
] | 1 | 2020-10-24T15:30:38.000Z | 2020-10-24T15:30:38.000Z | from tfds_juliet import * # noqa: F403,F401
| 22.5 | 44 | 0.733333 | 7 | 45 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 0.177778 | 45 | 1 | 45 | 45 | 0.702703 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1be2480423c00fbfc5a30417ede469b1a1ea668b | 105 | py | Python | slackerbehave/__init__.py | raghavendranekkanti/slacker-behave | 7638ef9dac8a377ddfe425a5bcd10fd57f2354cd | [
"MIT"
] | 1 | 2021-03-08T14:39:57.000Z | 2021-03-08T14:39:57.000Z | slackerbehave/__init__.py | raghavendranekkanti/slacker-behave | 7638ef9dac8a377ddfe425a5bcd10fd57f2354cd | [
"MIT"
] | null | null | null | slackerbehave/__init__.py | raghavendranekkanti/slacker-behave | 7638ef9dac8a377ddfe425a5bcd10fd57f2354cd | [
"MIT"
] | null | null | null | from slackerbehave.slacker import Slacker
from slackerbehave.scenario import SFeature, SScenario, SStatus | 52.5 | 63 | 0.87619 | 12 | 105 | 7.666667 | 0.666667 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 105 | 2 | 63 | 52.5 | 0.958333 | 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 |
400a0a1fa17dc9c685a9268667e8b8923812769f | 7,084 | py | Python | modnet/tests/test_preprocessing.py | Matgenix/modnet | e0ae0c9e24d6f48b8f0602a3422e8613870a31c2 | [
"MIT"
] | null | null | null | modnet/tests/test_preprocessing.py | Matgenix/modnet | e0ae0c9e24d6f48b8f0602a3422e8613870a31c2 | [
"MIT"
] | null | null | null | modnet/tests/test_preprocessing.py | Matgenix/modnet | e0ae0c9e24d6f48b8f0602a3422e8613870a31c2 | [
"MIT"
] | 1 | 2020-06-19T12:05:26.000Z | 2020-06-19T12:05:26.000Z | #!/usr/bin/env python
import numpy as np
import pandas as pd
import pytest
from modnet.preprocessing import get_cross_nmi
from modnet.preprocessing import nmi_target
def test_nmi_target():
# Test with linear data (should get 1.0 mutual information, or very close due to algorithm used
# in mutual_info_regre... | 37.481481 | 116 | 0.648786 | 1,217 | 7,084 | 3.601479 | 0.112572 | 0.052019 | 0.057039 | 0.065937 | 0.874059 | 0.863564 | 0.858773 | 0.854666 | 0.846452 | 0.794205 | 0 | 0.03674 | 0.208498 | 7,084 | 188 | 117 | 37.680851 | 0.744962 | 0.182101 | 0 | 0.645161 | 0 | 0 | 0.040049 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.016129 | false | 0 | 0.040323 | 0 | 0.056452 | 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 |
40469d2b21f82f655d8cd2164a0300b5c9dbdc4d | 162 | py | Python | HDPy/puppy/__init__.py | igsor/HDPy | c02ec62e90d0a2b6f6d29569becac45f017490b1 | [
"BSD-3-Clause"
] | 6 | 2017-06-09T11:32:29.000Z | 2021-07-08T07:24:44.000Z | HDPy/puppy/__init__.py | igsor/HDPy | c02ec62e90d0a2b6f6d29569becac45f017490b1 | [
"BSD-3-Clause"
] | null | null | null | HDPy/puppy/__init__.py | igsor/HDPy | c02ec62e90d0a2b6f6d29569becac45f017490b1 | [
"BSD-3-Clause"
] | 1 | 2015-07-11T00:41:22.000Z | 2015-07-11T00:41:22.000Z | """
.. automodule:: HDPy.puppy.puppy
.. automodule:: HDPy.puppy.analysis_puppy
"""
from puppy import *
from analysis_puppy import *
import policy
import plant
| 13.5 | 41 | 0.734568 | 20 | 162 | 5.85 | 0.4 | 0.239316 | 0.324786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141975 | 162 | 11 | 42 | 14.727273 | 0.841727 | 0.462963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4057cfaeae671d885148c1ffdc387518e229fa02 | 10,074 | py | Python | src/eddington/fitting_functions_list.py | EddLabs/eddington_core | 0923fc7fdf1240181554b2612a97d5708d6244bf | [
"Apache-2.0"
] | 3 | 2020-09-09T20:01:24.000Z | 2020-10-14T00:29:44.000Z | src/eddington/fitting_functions_list.py | EddLabs/eddington_core | 0923fc7fdf1240181554b2612a97d5708d6244bf | [
"Apache-2.0"
] | 43 | 2020-08-07T11:29:02.000Z | 2021-12-19T23:28:29.000Z | src/eddington/fitting_functions_list.py | EddLabs/eddington_core | 0923fc7fdf1240181554b2612a97d5708d6244bf | [
"Apache-2.0"
] | 5 | 2020-08-08T17:56:13.000Z | 2020-10-01T12:24:51.000Z | """List of common fitting functions."""
from typing import Union
import numpy as np
import scipy.special
from eddington.exceptions import FittingFunctionLoadError
from eddington.fitting_function_class import FittingFunction, fitting_function
@fitting_function(
n=2,
syntax="a[0] + a[1] * x",
x_derivative... | 31.285714 | 88 | 0.554 | 1,636 | 10,074 | 3.384474 | 0.067848 | 0.112155 | 0.015712 | 0.078021 | 0.807838 | 0.791403 | 0.774065 | 0.75763 | 0.739751 | 0.718078 | 0 | 0.039406 | 0.264443 | 10,074 | 321 | 89 | 31.383178 | 0.707827 | 0.315763 | 0 | 0.278107 | 0 | 0.035503 | 0.062969 | 0 | 0.005917 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.029586 | 0.005917 | 0.189349 | 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 |
40ffbade3d07139a98e571390da36319b4ed0934 | 47,637 | py | Python | lasagne/tests/layers/test_recurrent.py | BenjaminBossan/Lasagne | 8772ebbbaf15951f2deb1bc2d76940ebd8ad2076 | [
"MIT"
] | null | null | null | lasagne/tests/layers/test_recurrent.py | BenjaminBossan/Lasagne | 8772ebbbaf15951f2deb1bc2d76940ebd8ad2076 | [
"MIT"
] | 1 | 2021-03-20T04:42:05.000Z | 2021-03-20T04:42:05.000Z | lasagne/tests/layers/test_recurrent.py | BenjaminBossan/Lasagne | 8772ebbbaf15951f2deb1bc2d76940ebd8ad2076 | [
"MIT"
] | null | null | null | import pytest
from lasagne.layers import RecurrentLayer, LSTMLayer, CustomRecurrentLayer
from lasagne.layers import InputLayer, DenseLayer, GRULayer, Gate, Layer
from lasagne.layers import helper
import theano
import theano.tensor as T
import numpy as np
import lasagne
from mock import Mock
def test_recurrent_return... | 38.887347 | 79 | 0.680395 | 7,672 | 47,637 | 3.880344 | 0.038843 | 0.027141 | 0.019819 | 0.022573 | 0.907155 | 0.892241 | 0.876486 | 0.855459 | 0.838025 | 0.815385 | 0 | 0.020368 | 0.214665 | 47,637 | 1,224 | 80 | 38.919118 | 0.775387 | 0.141592 | 0 | 0.654921 | 0 | 0 | 0.008836 | 0 | 0 | 0 | 0 | 0 | 0.085055 | 1 | 0.069259 | false | 0.009721 | 0.010936 | 0 | 0.080194 | 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 |
90574bfee9dab136f797c5275b2b563b84a6cd18 | 109 | py | Python | src/decko/pytest.py | JWLee89/yeezy | b64d9ee65c5abd2d38c10c47bda5e65a83826cb2 | [
"MIT"
] | null | null | null | src/decko/pytest.py | JWLee89/yeezy | b64d9ee65c5abd2d38c10c47bda5e65a83826cb2 | [
"MIT"
] | null | null | null | src/decko/pytest.py | JWLee89/yeezy | b64d9ee65c5abd2d38c10c47bda5e65a83826cb2 | [
"MIT"
] | null | null | null | """
These methods all wrap pytest functions:
TODO
"""
import typing as t
from .decorators import deckorator
| 13.625 | 40 | 0.761468 | 15 | 109 | 5.533333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 109 | 7 | 41 | 15.571429 | 0.912088 | 0.412844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9073d9c97cd34095c889f8ba64f24b75d898a397 | 218 | py | Python | model/transform_twice.py | kamiyakenta/knowledge-distillation-pytorch | 749c6bb353961147718371b2b694046af0a6e3f1 | [
"MIT"
] | null | null | null | model/transform_twice.py | kamiyakenta/knowledge-distillation-pytorch | 749c6bb353961147718371b2b694046af0a6e3f1 | [
"MIT"
] | 1 | 2021-06-28T10:17:20.000Z | 2021-06-28T10:17:20.000Z | model/transform_twice.py | kamiyakenta/knowledge-distillation-pytorch | 749c6bb353961147718371b2b694046af0a6e3f1 | [
"MIT"
] | null | null | null | class TransformTwice:
def __init__(self, transform):
self.transform = transform
def __call__(self, inp):
out1 = self.transform(inp)
out2 = self.transform(inp)
return out1, out2
| 24.222222 | 34 | 0.62844 | 24 | 218 | 5.375 | 0.458333 | 0.403101 | 0.248062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025478 | 0.279817 | 218 | 8 | 35 | 27.25 | 0.796178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
90b5d9b42901f8dec9f037437d7942deb298002f | 9 | py | Python | settings/sample_translation/start_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | null | null | null | settings/sample_translation/start_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 1 | 2019-10-22T21:28:31.000Z | 2019-10-22T21:39:12.000Z | settings/sample_translation/start_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 2 | 2019-06-06T15:06:46.000Z | 2020-07-20T02:03:22.000Z | = 11.75
| 4.5 | 8 | 0.444444 | 2 | 9 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.333333 | 9 | 1 | 9 | 9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90dc9dc53de6bcbff71fbea8bb67a4fb87e359e2 | 117 | py | Python | poiolib/__init__.py | Poio-NLP/poio-lib | 2af55c863593511dbcf4c611c9265072022d8cdb | [
"Apache-2.0"
] | 1 | 2019-11-05T09:49:13.000Z | 2019-11-05T09:49:13.000Z | poiolib/__init__.py | Poio-NLP/poio-lib | 2af55c863593511dbcf4c611c9265072022d8cdb | [
"Apache-2.0"
] | null | null | null | poiolib/__init__.py | Poio-NLP/poio-lib | 2af55c863593511dbcf4c611c9265072022d8cdb | [
"Apache-2.0"
] | null | null | null | import poiolib.langinfo
import poiolib.corpus
import poiolib.ngrams
import poiolib.capitals
import poiolib.wikipedia
| 19.5 | 24 | 0.871795 | 15 | 117 | 6.8 | 0.466667 | 0.637255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 117 | 5 | 25 | 23.4 | 0.953271 | 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 |
90e4a7e8d8475309f5f82c55864d63bfab80d454 | 9,801 | py | Python | tests/unit/network_graph/test_interests.py | weilbith/relay | ab1fc05cbb0ce664409a055f18a67255917c6959 | [
"MIT"
] | null | null | null | tests/unit/network_graph/test_interests.py | weilbith/relay | ab1fc05cbb0ce664409a055f18a67255917c6959 | [
"MIT"
] | null | null | null | tests/unit/network_graph/test_interests.py | weilbith/relay | ab1fc05cbb0ce664409a055f18a67255917c6959 | [
"MIT"
] | null | null | null | import math
import pytest
from conftest import addresses
from relay.blockchain.currency_network_proxy import Trustline
from relay.network_graph.graph import Account, NetworkGraphConfig
from relay.network_graph.graph_constants import (
balance_ab,
creditline_ab,
creditline_ba,
fees_outstanding_a,
f... | 26.276139 | 86 | 0.658096 | 1,127 | 9,801 | 5.33984 | 0.110914 | 0.111665 | 0.048853 | 0.049352 | 0.826022 | 0.777168 | 0.76321 | 0.757893 | 0.742606 | 0.742606 | 0 | 0.050258 | 0.267116 | 9,801 | 372 | 87 | 26.346774 | 0.787554 | 0.050913 | 0 | 0.523333 | 0 | 0 | 0.037947 | 0.037947 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.083333 | false | 0 | 0.023333 | 0.006667 | 0.116667 | 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 |
2913850cced6c8a7a03644d07790d7c9e4d87147 | 96 | py | Python | venv/lib/python3.8/site-packages/yapftests/__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/yapftests/__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/yapftests/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/69/b0/6a/86aa8f3f5d232baa4d084b795435597d82b4bb47d0ba04e9d800b42b89 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 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 |
291996842f4a2b5217165cdca25c43167a436ffd | 30 | py | Python | gtm/__init__.py | TimurGimadiev/GTM | 6fbf7de9c9e90a2a8702dbd93da9020e670f04f6 | [
"MIT"
] | null | null | null | gtm/__init__.py | TimurGimadiev/GTM | 6fbf7de9c9e90a2a8702dbd93da9020e670f04f6 | [
"MIT"
] | null | null | null | gtm/__init__.py | TimurGimadiev/GTM | 6fbf7de9c9e90a2a8702dbd93da9020e670f04f6 | [
"MIT"
] | 1 | 2021-07-19T15:34:13.000Z | 2021-07-19T15:34:13.000Z | from .GTM import GTMEstimator
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2935e4550b4fb0896ed412fc0d3927fc756683c4 | 20,594 | py | Python | freezer-api-7.1.0/freezer_api/tests/unit/v1/test_sessions.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | null | null | null | freezer-api-7.1.0/freezer_api/tests/unit/v1/test_sessions.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | 5 | 2019-08-14T06:46:03.000Z | 2021-12-13T20:01:25.000Z | freezer-api-7.1.0/freezer_api/tests/unit/v1/test_sessions.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | 2 | 2020-03-15T01:24:15.000Z | 2020-07-22T20:34:26.000Z | """
Copyright 2015 Hewlett-Packard
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, softwar... | 43.631356 | 79 | 0.623434 | 2,500 | 20,594 | 4.7632 | 0.0888 | 0.11085 | 0.084061 | 0.039301 | 0.826923 | 0.791317 | 0.762429 | 0.751008 | 0.731273 | 0.698606 | 0 | 0.014148 | 0.279256 | 20,594 | 471 | 80 | 43.723992 | 0.788116 | 0.02695 | 0 | 0.683544 | 0 | 0 | 0.078233 | 0.005891 | 0 | 0 | 0 | 0 | 0.113924 | 1 | 0.091139 | false | 0 | 0.017722 | 0 | 0.121519 | 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 |
294af699408cea7e94bcfe99fb3066d1937639d0 | 2,807 | py | Python | epytope/Data/pssms/smmpmbec/mat/B_08_01_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/B_08_01_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/B_08_01_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_08_01_11 = {0: {'A': -0.026, 'C': -0.004, 'E': -0.048, 'D': -0.021, 'G': 0.016, 'F': -0.001, 'I': -0.0, 'H': 0.026, 'K': 0.036, 'M': 0.004, 'L': -0.047, 'N': 0.004, 'Q': -0.001, 'P': -0.0, 'S': 0.017, 'R': 0.054, 'T': -0.013, 'W': 0.015, 'V': -0.045, 'Y': 0.034}, 1: {'A': 0.024, 'C': 0.015, 'E': -0.003, 'D': -0.026, ... | 2,807 | 2,807 | 0.393659 | 679 | 2,807 | 1.622975 | 0.172312 | 0.019964 | 0.013612 | 0.016334 | 0.225953 | 0 | 0 | 0 | 0 | 0 | 0 | 0.373299 | 0.162095 | 2,807 | 1 | 2,807 | 2,807 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0.079416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
465f958545af93c73d463a336f2ff9fcee147926 | 138 | py | Python | Modulo4/modulos/mas/despedida.py | DiegoAV95/python_curso_-domingos | 3e0cf0d4c08aab797a3defde8af44e9243987b4d | [
"Apache-2.0"
] | null | null | null | Modulo4/modulos/mas/despedida.py | DiegoAV95/python_curso_-domingos | 3e0cf0d4c08aab797a3defde8af44e9243987b4d | [
"Apache-2.0"
] | null | null | null | Modulo4/modulos/mas/despedida.py | DiegoAV95/python_curso_-domingos | 3e0cf0d4c08aab797a3defde8af44e9243987b4d | [
"Apache-2.0"
] | null | null | null | import os
import numpy as np
def chau():
print('este es el adios')
def otro_saludo():
print('otro saludo!!!!')
# despedida() | 10.615385 | 29 | 0.623188 | 20 | 138 | 4.25 | 0.75 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224638 | 138 | 13 | 30 | 10.615385 | 0.794393 | 0.07971 | 0 | 0 | 0 | 0 | 0.246032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4681854a6c823b8ab6cbb78bafbf7c1afd17f986 | 109 | py | Python | src/cmp/cool_lang/utils/__init__.py | codestrange/cool-compiler-2020 | 30508965d75a1a1d1362d0b51bef8da3978fd0c2 | [
"MIT"
] | 3 | 2020-01-14T04:47:32.000Z | 2020-09-10T17:57:20.000Z | src/cmp/cool_lang/utils/__init__.py | codestrange/cool-compiler-2020 | 30508965d75a1a1d1362d0b51bef8da3978fd0c2 | [
"MIT"
] | 5 | 2020-01-14T06:06:35.000Z | 2020-02-19T01:01:33.000Z | src/cmp/cool_lang/utils/__init__.py | codestrange/cool-compiler-2020 | 30508965d75a1a1d1362d0b51bef8da3978fd0c2 | [
"MIT"
] | 3 | 2020-01-14T04:58:24.000Z | 2020-01-14T16:23:41.000Z | from .attribute_dict import AttributeDict
from .find_column import find_column
from .visitor import on, when
| 27.25 | 41 | 0.844037 | 16 | 109 | 5.5625 | 0.625 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119266 | 109 | 3 | 42 | 36.333333 | 0.927083 | 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 |
d3c81ac291bcca5e02197346a5692a957c79a294 | 123 | py | Python | canvas/tools/__init__.py | SilicalNZ/canvas | 44d1eee02c334aae6b41aeba01ed0ecdf83aed21 | [
"MIT"
] | 7 | 2019-08-04T20:37:55.000Z | 2020-03-05T08:36:10.000Z | canvas/tools/__init__.py | SilicalNZ/canvas | 44d1eee02c334aae6b41aeba01ed0ecdf83aed21 | [
"MIT"
] | 1 | 2019-10-21T05:43:28.000Z | 2019-10-21T05:43:28.000Z | canvas/tools/__init__.py | SilicalNZ/canvas | 44d1eee02c334aae6b41aeba01ed0ecdf83aed21 | [
"MIT"
] | null | null | null | from .alterations import *
from .shapes import *
from .sorters import *
from .transformers import *
from .geometry import * | 24.6 | 27 | 0.764228 | 15 | 123 | 6.266667 | 0.466667 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154472 | 123 | 5 | 28 | 24.6 | 0.903846 | 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 |
d3cad218ce4eb7e184da64dfcffa0a1d5e24f619 | 40,594 | py | Python | trait_browser/test_searches.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | null | null | null | trait_browser/test_searches.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | 3 | 2020-01-02T20:17:06.000Z | 2020-01-04T21:13:09.000Z | trait_browser/test_searches.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | 1 | 2021-10-29T22:15:27.000Z | 2021-10-29T22:15:27.000Z | """Test the functions in searches.py."""
from django.test import TestCase
from watson.models import SearchEntry
from . import factories
from . import models
from . import searches
class ClearSearchIndexMixin(object):
"""Clear django-watson search index records in tests.
Normally, django runs the TestCase ... | 55.380628 | 111 | 0.72964 | 4,705 | 40,594 | 6.045484 | 0.043996 | 0.032485 | 0.050626 | 0.049501 | 0.939003 | 0.918436 | 0.887498 | 0.838982 | 0.801856 | 0.74768 | 0 | 0.005687 | 0.177021 | 40,594 | 732 | 112 | 55.456284 | 0.845726 | 0.159974 | 0 | 0.653409 | 0 | 0 | 0.051523 | 0 | 0 | 0 | 0 | 0 | 0.200758 | 1 | 0.176136 | false | 0 | 0.00947 | 0 | 0.193182 | 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 |
d3e4f7c92fc9e7dd6d6fdcadea1cb145c15a815c | 90 | py | Python | brawlbracket/routes/test.py | TheLastBanana/BrawlBracket | 1cad26b6499352b1b282388f4f76bfb4b2b6b4fe | [
"BSD-3-Clause"
] | null | null | null | brawlbracket/routes/test.py | TheLastBanana/BrawlBracket | 1cad26b6499352b1b282388f4f76bfb4b2b6b4fe | [
"BSD-3-Clause"
] | null | null | null | brawlbracket/routes/test.py | TheLastBanana/BrawlBracket | 1cad26b6499352b1b282388f4f76bfb4b2b6b4fe | [
"BSD-3-Clause"
] | null | null | null | from brawlbracket.app import app
print('\n\n\n----------------test----------------\n\n\n') | 45 | 57 | 0.477778 | 13 | 90 | 3.307692 | 0.538462 | 0.186047 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 90 | 2 | 57 | 45 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.527473 | 0.527473 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d3eb1d1666bc60916979183c8fc2be7611060750 | 354 | py | Python | renormalizer/mps/__init__.py | liwt31/Renormalizer | 123a9d53f4f5f32c0088c255475f0ee60d02c745 | [
"Apache-2.0"
] | null | null | null | renormalizer/mps/__init__.py | liwt31/Renormalizer | 123a9d53f4f5f32c0088c255475f0ee60d02c745 | [
"Apache-2.0"
] | null | null | null | renormalizer/mps/__init__.py | liwt31/Renormalizer | 123a9d53f4f5f32c0088c255475f0ee60d02c745 | [
"Apache-2.0"
] | null | null | null | from renormalizer.mps.backend import backend
from renormalizer.mps.mpo import Mpo
from renormalizer.mps.mps import Mps, BraKetPair
from renormalizer.mps.mpdm import MpDm, MpDmFull
from renormalizer.mps.thermalprop import ThermalProp, load_thermal_state
from renormalizer.mps.supermpo import SuperLiouville
from renormali... | 50.571429 | 72 | 0.867232 | 48 | 354 | 6.333333 | 0.354167 | 0.368421 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 354 | 7 | 73 | 50.571429 | 0.938272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
31057aaf5c592240d3a230082e9f3cdab5add908 | 151 | py | Python | easygraph/functions/structural_holes/__init__.py | coreturn/Easy-Graph | ee46d84250c4d4cf22271ca13449b15fad88ad7b | [
"BSD-3-Clause"
] | null | null | null | easygraph/functions/structural_holes/__init__.py | coreturn/Easy-Graph | ee46d84250c4d4cf22271ca13449b15fad88ad7b | [
"BSD-3-Clause"
] | null | null | null | easygraph/functions/structural_holes/__init__.py | coreturn/Easy-Graph | ee46d84250c4d4cf22271ca13449b15fad88ad7b | [
"BSD-3-Clause"
] | null | null | null | from .HIS import *
from .MaxD import *
from .AP_Greedy import *
from .HAM import *
from .evaluation import *
from .metrics import *
from .ICC import * | 18.875 | 25 | 0.721854 | 22 | 151 | 4.909091 | 0.454545 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18543 | 151 | 8 | 26 | 18.875 | 0.878049 | 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 |
31138988fc12976cd03c967511413c1f58791dbc | 46 | py | Python | SubShell.py | Anirban83314/OutLook-Automation-All-scopes-with-APP-utility. | 91b5f8edbc6136be82b1f78fa8f5ce40cb1158ec | [
"MIT"
] | 1 | 2019-04-16T10:31:41.000Z | 2019-04-16T10:31:41.000Z | SubShell.py | Anirban83314/OutLook-Automation-All-scopes-with-APP-utility. | 91b5f8edbc6136be82b1f78fa8f5ce40cb1158ec | [
"MIT"
] | 1 | 2017-12-28T13:25:50.000Z | 2017-12-28T13:25:50.000Z | SubShell.py | Anirban83314/OutLook-Automation-All-scopes-with-APP-utility. | 91b5f8edbc6136be82b1f78fa8f5ce40cb1158ec | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
import sys
| 11.5 | 22 | 0.695652 | 8 | 46 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 3 | 23 | 15.333333 | 0.864865 | 0.434783 | 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 |
312e51705255540888acb615c2ac6aa14ccf7602 | 104 | py | Python | bitmovin_api_sdk/encoding/encodings/streams/sprites/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/streams/sprites/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/streams/sprites/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.streams.sprites.customdata.customdata_api import CustomdataApi
| 52 | 103 | 0.903846 | 13 | 104 | 7 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 104 | 1 | 104 | 104 | 0.91 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
313b13b8a6b1c9a192dca6413b60af94714f3b5c | 94 | py | Python | data/demos/loading_models/scripts/python/constantly_rotate.py | Jean-LouisH/Omnia | e637746839801eb73707d10e3243d4a430dfea78 | [
"MIT"
] | null | null | null | data/demos/loading_models/scripts/python/constantly_rotate.py | Jean-LouisH/Omnia | e637746839801eb73707d10e3243d4a430dfea78 | [
"MIT"
] | null | null | null | data/demos/loading_models/scripts/python/constantly_rotate.py | Jean-LouisH/Omnia | e637746839801eb73707d10e3243d4a430dfea78 | [
"MIT"
] | null | null | null | import omnia
def on_logic_frame():
omnia.get_component("Transform").rotate_y(0.325)
| 15.666667 | 52 | 0.712766 | 14 | 94 | 4.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 0.159574 | 94 | 5 | 53 | 18.8 | 0.746835 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
317c0b10c3c9b6a80c20d82b58dff7dc4b3bf23a | 32 | py | Python | python/testData/refactoring/introduceParameter/simple.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/introduceParameter/simple.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/introduceParameter/simple.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def f(x, a="test"):
return a | 16 | 19 | 0.53125 | 7 | 32 | 2.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 32 | 2 | 20 | 16 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7dff284ba8c3b8def671f13b064630d09c7a40c6 | 11,892 | py | Python | esp_sdk/apis/stat_signatures_api.py | zimmermanc/esp-sdk-python | cdef13c0dc6c3996b6c444160c71b2f1e3910c97 | [
"MIT"
] | 6 | 2017-06-05T20:37:19.000Z | 2019-04-10T08:43:59.000Z | esp_sdk/apis/stat_signatures_api.py | zimmermanc/esp-sdk-python | cdef13c0dc6c3996b6c444160c71b2f1e3910c97 | [
"MIT"
] | 18 | 2016-06-22T16:14:33.000Z | 2018-10-29T21:53:15.000Z | esp_sdk/apis/stat_signatures_api.py | zimmermanc/esp-sdk-python | cdef13c0dc6c3996b6c444160c71b2f1e3910c97 | [
"MIT"
] | 18 | 2016-07-27T19:20:01.000Z | 2020-11-17T02:09:58.000Z | # coding: utf-8
"""
ESP Documentation
The Evident Security Platform API (version 2.0) is designed to allow users granular control over their Amazon Web Service security experience by allowing them to review alerts, monitor signatures, and create custom signatures.
OpenAPI spec version: v2_sdk
Ge... | 43.720588 | 264 | 0.596283 | 1,327 | 11,892 | 5.16428 | 0.16202 | 0.018386 | 0.017073 | 0.021013 | 0.864293 | 0.834817 | 0.825332 | 0.795272 | 0.793521 | 0.767547 | 0 | 0.000999 | 0.326606 | 11,892 | 271 | 265 | 43.881919 | 0.85477 | 0.404726 | 0 | 0.653846 | 0 | 0 | 0.15682 | 0.048168 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.053846 | 0 | 0.146154 | 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 |
b42221ff0c0bf2d355e7be8bf5e1be706c4355d2 | 40 | py | Python | fivempy/__init__.py | itasli/fivempy | 827abb3b76a761c5a3cde68cc66fbe564bdc7c96 | [
"MIT"
] | 1 | 2021-04-26T10:45:33.000Z | 2021-04-26T10:45:33.000Z | fivempy/__init__.py | itasli/fivempy | 827abb3b76a761c5a3cde68cc66fbe564bdc7c96 | [
"MIT"
] | null | null | null | fivempy/__init__.py | itasli/fivempy | 827abb3b76a761c5a3cde68cc66fbe564bdc7c96 | [
"MIT"
] | null | null | null | from fivempy.Server import Server, Fivem | 40 | 40 | 0.85 | 6 | 40 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 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 |
b4426d5527b28b94f8d7aabf96a5359a50fe0766 | 35 | py | Python | src/python/stup/core/__init__.py | Wizmann/STUP-Protocol | e06a3442082e5061d2be32be3ffd681675e7ffb5 | [
"MIT"
] | 14 | 2017-05-06T10:14:32.000Z | 2018-07-17T02:58:00.000Z | src/python/stup/core/__init__.py | Wizmann/STUP-Protocol | e06a3442082e5061d2be32be3ffd681675e7ffb5 | [
"MIT"
] | 2 | 2017-06-13T05:40:18.000Z | 2017-06-13T16:23:01.000Z | src/python/stup/core/__init__.py | Wizmann/STUP-Protocol | e06a3442082e5061d2be32be3ffd681675e7ffb5 | [
"MIT"
] | 4 | 2017-06-09T20:20:54.000Z | 2018-07-17T02:58:10.000Z | #coding=utf-8
from .core import *
| 8.75 | 19 | 0.685714 | 6 | 35 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.171429 | 35 | 3 | 20 | 11.666667 | 0.793103 | 0.342857 | 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 |
b47e1b88222d9d7fda7443528ce58f54e4f348df | 9,059 | py | Python | model/multitaskmodel.py | afprati/Bayesian-Causal-Inference | 385d42f27fe736c4147cffa6f23d3ee338a54b1c | [
"MIT",
"Unlicense"
] | 1 | 2021-04-22T02:09:48.000Z | 2021-04-22T02:09:48.000Z | model/multitaskmodel.py | afprati/Bayesian-Causal-Inference | 385d42f27fe736c4147cffa6f23d3ee338a54b1c | [
"MIT",
"Unlicense"
] | null | null | null | model/multitaskmodel.py | afprati/Bayesian-Causal-Inference | 385d42f27fe736c4147cffa6f23d3ee338a54b1c | [
"MIT",
"Unlicense"
] | 1 | 2021-02-14T20:30:19.000Z | 2021-02-14T20:30:19.000Z | import torch
import gpytorch
from torch.nn import ModuleList
import json
import numpy as np
from model.customizedkernel import myIndexKernel, constantKernel, myIndicatorKernel
from model.customizedkernel import ConstantVectorMean, DriftScaleKernel, DriftIndicatorKernel
class MultitaskGPModel(gpytorch.models.ExactGP):
... | 46.45641 | 104 | 0.660338 | 1,176 | 9,059 | 4.845238 | 0.118197 | 0.016673 | 0.053352 | 0.071253 | 0.870481 | 0.840821 | 0.830642 | 0.788522 | 0.762022 | 0.762022 | 0 | 0.013965 | 0.233249 | 9,059 | 194 | 105 | 46.695876 | 0.806363 | 0.172094 | 0 | 0.640351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035088 | false | 0 | 0.061404 | 0 | 0.131579 | 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 |
81ff2418aba47a23ba1363578637085bfc1be891 | 4,610 | py | Python | data/diffusion_model_flags.py | clintonjwang/clip-guided-diffusion | 14910f3d41fb951565d0f15ed0585fb787377a94 | [
"MIT"
] | 291 | 2021-07-21T04:15:14.000Z | 2022-03-29T23:19:34.000Z | data/diffusion_model_flags.py | clintonjwang/clip-guided-diffusion | 14910f3d41fb951565d0f15ed0585fb787377a94 | [
"MIT"
] | 13 | 2021-08-21T22:23:39.000Z | 2022-02-19T09:51:49.000Z | data/diffusion_model_flags.py | clintonjwang/clip-guided-diffusion | 14910f3d41fb951565d0f15ed0585fb787377a94 | [
"MIT"
] | 43 | 2021-07-27T18:28:05.000Z | 2022-03-30T16:16:05.000Z | DIFFUSION_LOOKUP = {
'cond': {
64: {
'url': 'https://openaipublic.blob.core.windows.net/diffusion/jul-2021/64x64_diffusion.pt',
"filename": '64x64_diffusion.pt',
'model_flags': {
"attention_resolutions": '32,16,8',
"class_cond": True,
... | 38.099174 | 142 | 0.468764 | 405 | 4,610 | 5.009877 | 0.195062 | 0.04485 | 0.035485 | 0.0621 | 0.834894 | 0.821587 | 0.785116 | 0.770823 | 0.770823 | 0.75308 | 0 | 0.091874 | 0.407375 | 4,610 | 120 | 143 | 38.416667 | 0.650805 | 0 | 0 | 0.625 | 0 | 0.041667 | 0.435792 | 0.047505 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
c35bb403fe2a38b9a514b01e62464851a4a7990d | 10,414 | py | Python | tests/intensive/model_tests.py | FLIR/fiftyone | eeed8bc9dbdada0530036ae5b3afbbe7ab423ce3 | [
"Apache-2.0"
] | 11 | 2021-08-18T08:33:40.000Z | 2022-02-15T12:28:19.000Z | tests/intensive/model_tests.py | FLIR/fiftyone | eeed8bc9dbdada0530036ae5b3afbbe7ab423ce3 | [
"Apache-2.0"
] | 1 | 2022-03-25T19:27:53.000Z | 2022-03-25T19:27:53.000Z | tests/intensive/model_tests.py | FLIR/fiftyone | eeed8bc9dbdada0530036ae5b3afbbe7ab423ce3 | [
"Apache-2.0"
] | 1 | 2022-03-01T07:54:21.000Z | 2022-03-01T07:54:21.000Z | """
Model inference/embeddings tests.
All of these tests are designed to be run manually via::
pytest tests/intensive/model_tests.py -s -k test_<name>
| Copyright 2017-2021, Voxel51, Inc.
| `voxel51.com <https://voxel51.com/>`_
|
"""
import unittest
import numpy as np
import fiftyone as fo
import fiftyone.zoo ... | 30.810651 | 79 | 0.681582 | 1,290 | 10,414 | 5.287597 | 0.09845 | 0.034892 | 0.049846 | 0.061575 | 0.939598 | 0.935347 | 0.935347 | 0.906905 | 0.903973 | 0.903973 | 0 | 0.025478 | 0.197234 | 10,414 | 337 | 80 | 30.902077 | 0.790431 | 0.111869 | 0 | 0.62037 | 0 | 0 | 0.213805 | 0.103538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.018519 | 0 | 0.074074 | 0.018519 | 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 |
6f05e9fe7e34dd00bb4349f29a647ca50077e531 | 133 | py | Python | t/stdout_stderr_fatalexit.py | rbriski/asvab | 13504980d6c7af86a1122af6a2b7489d91bad16f | [
"WTFPL",
"Unlicense"
] | 1 | 2016-05-08T06:22:28.000Z | 2016-05-08T06:22:28.000Z | t/stdout_stderr_fatalexit.py | rbriski/asvab | 13504980d6c7af86a1122af6a2b7489d91bad16f | [
"WTFPL",
"Unlicense"
] | null | null | null | t/stdout_stderr_fatalexit.py | rbriski/asvab | 13504980d6c7af86a1122af6a2b7489d91bad16f | [
"WTFPL",
"Unlicense"
] | 4 | 2020-09-30T19:55:10.000Z | 2021-07-13T19:19:29.000Z | #!/usr/local/bin/python
import sys
print "fatalexit prints to stdout"
sys.stderr.write('fatalexit prints to stderr\n')
print 1/0
| 13.3 | 48 | 0.744361 | 22 | 133 | 4.5 | 0.727273 | 0.30303 | 0.343434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.135338 | 133 | 9 | 49 | 14.777778 | 0.843478 | 0.165414 | 0 | 0 | 0 | 0 | 0.490909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6f1448876baee2381665878d58edec2b7fa395b0 | 101 | py | Python | RemoveWindowsLockScreenAds/__init__.py | clarkb7/RemoveWindowsLockScreenAds | 83382f78f63b17e452c02c1b9bb7a197900a4703 | [
"MIT"
] | null | null | null | RemoveWindowsLockScreenAds/__init__.py | clarkb7/RemoveWindowsLockScreenAds | 83382f78f63b17e452c02c1b9bb7a197900a4703 | [
"MIT"
] | null | null | null | RemoveWindowsLockScreenAds/__init__.py | clarkb7/RemoveWindowsLockScreenAds | 83382f78f63b17e452c02c1b9bb7a197900a4703 | [
"MIT"
] | null | null | null | from RemoveWindowsLockScreenAds.RemoveWindowsLockScreenAds import GetAdSettingsDirectory, AdRemover
| 33.666667 | 99 | 0.920792 | 6 | 101 | 15.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 101 | 2 | 100 | 50.5 | 0.978947 | 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 |
488bb0fb12b7ff7abae3d505c2e5eb56855297de | 221 | py | Python | syft/frameworks/tensorflow/__init__.py | MariaRigaki/PySyft | 8d8baa440f7afce7efedee3f402551853cb7c910 | [
"Apache-2.0"
] | null | null | null | syft/frameworks/tensorflow/__init__.py | MariaRigaki/PySyft | 8d8baa440f7afce7efedee3f402551853cb7c910 | [
"Apache-2.0"
] | 1 | 2019-07-05T09:49:48.000Z | 2019-07-05T09:49:48.000Z | syft/frameworks/tensorflow/__init__.py | MariaRigaki/PySyft | 8d8baa440f7afce7efedee3f402551853cb7c910 | [
"Apache-2.0"
] | 1 | 2021-04-18T15:27:15.000Z | 2021-04-18T15:27:15.000Z | import syft
if syft.dependency_check.tensorflow_available:
from syft_tensorflow.hook import TensorFlowHook
from syft_tensorflow.tensor import TensorFlowTensor
setattr(syft, "TensorFlowHook", TensorFlowHook)
| 27.625 | 55 | 0.819005 | 24 | 221 | 7.375 | 0.541667 | 0.090395 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131222 | 221 | 7 | 56 | 31.571429 | 0.921875 | 0 | 0 | 0 | 0 | 0 | 0.063348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48b004cfab6d65f8fbe5140bd30fa5d0779a075e | 43 | py | Python | nfspy/__init__.py | SKsample/NfSpy | a588acbe471229c9dce0472d32055d30fe671f2f | [
"MIT"
] | 254 | 2015-01-09T17:50:20.000Z | 2022-03-25T03:18:27.000Z | nfspy/__init__.py | SKsample/NfSpy | a588acbe471229c9dce0472d32055d30fe671f2f | [
"MIT"
] | 5 | 2015-06-07T09:57:45.000Z | 2021-01-29T19:32:21.000Z | nfspy/__init__.py | SKsample/NfSpy | a588acbe471229c9dce0472d32055d30fe671f2f | [
"MIT"
] | 68 | 2015-03-11T15:25:10.000Z | 2022-02-04T01:30:30.000Z | #!/usr/bin/env python
from nfspy import *
| 10.75 | 21 | 0.697674 | 7 | 43 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 3 | 22 | 14.333333 | 0.833333 | 0.465116 | 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 |
48c445d582ec5e860f03cf876f0dd95d502faa24 | 73 | py | Python | systemtests/__init__.py | nliao6622/QuantaDB-1 | e5db80c7b9e9f5b3c2c6715ce77c56d56e4c4c94 | [
"Apache-2.0"
] | 12 | 2021-01-20T23:20:27.000Z | 2021-12-10T12:14:26.000Z | systemtests/__init__.py | behnamm/cs244b_project | 957e8b3979e4ca24814edd73254cc4c69ea14126 | [
"0BSD"
] | null | null | null | systemtests/__init__.py | behnamm/cs244b_project | 957e8b3979e4ca24814edd73254cc4c69ea14126 | [
"0BSD"
] | 2 | 2021-01-13T02:03:32.000Z | 2022-01-20T17:26:55.000Z | import sys
sys.path.append('scripts')
sys.path.append('bindings/python')
| 18.25 | 34 | 0.767123 | 11 | 73 | 5.090909 | 0.636364 | 0.25 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 73 | 3 | 35 | 24.333333 | 0.811594 | 0 | 0 | 0 | 0 | 0 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5b112612f28c86255eba872de32695351fc8ad59 | 211 | py | Python | app/spot/exceptions.py | valeriansaliou/waaave-web | 8a0cde773563865a905af38f5a0b723a43b17341 | [
"RSA-MD"
] | 1 | 2020-04-06T10:04:43.000Z | 2020-04-06T10:04:43.000Z | app/spot/exceptions.py | valeriansaliou/waaave-web | 8a0cde773563865a905af38f5a0b723a43b17341 | [
"RSA-MD"
] | null | null | null | app/spot/exceptions.py | valeriansaliou/waaave-web | 8a0cde773563865a905af38f5a0b723a43b17341 | [
"RSA-MD"
] | null | null | null | class SpotNotFound(Exception):
"""
Exception raised when spot cannot be found
"""
pass
class SpotDataOverflow(Exception):
"""
Exception raised when spot data overflows
"""
pass
| 16.230769 | 46 | 0.64455 | 21 | 211 | 6.47619 | 0.619048 | 0.264706 | 0.352941 | 0.411765 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270142 | 211 | 12 | 47 | 17.583333 | 0.883117 | 0.398104 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8285b463740685aa6b9fe37e8926d42e7791be33 | 15,295 | py | Python | cased/tests/test_sensitive.py | cased/cased-python | e3c529e3fe816331277812bf4e3db537eb5a54fc | [
"MIT"
] | null | null | null | cased/tests/test_sensitive.py | cased/cased-python | e3c529e3fe816331277812bf4e3db537eb5a54fc | [
"MIT"
] | null | null | null | cased/tests/test_sensitive.py | cased/cased-python | e3c529e3fe816331277812bf4e3db537eb5a54fc | [
"MIT"
] | null | null | null | import re
import cased
from cased.data.sensitive import SensitiveDataHandler, SensitiveDataProcessor
username_regex = r"@([A-Za-z0-9_]+)"
name_regex = r"Smith"
event = {
"actor": "some-actor",
"action": "user.create",
"new_username": "@someusername",
}
event_with_two_usernames = {
"actor": "some-ac... | 36.50358 | 87 | 0.586597 | 1,449 | 15,295 | 5.906832 | 0.096618 | 0.045566 | 0.02734 | 0.105386 | 0.860381 | 0.814932 | 0.771001 | 0.737352 | 0.703937 | 0.619114 | 0 | 0.01721 | 0.278195 | 15,295 | 418 | 88 | 36.590909 | 0.758062 | 0.003792 | 0 | 0.622807 | 0 | 0 | 0.188197 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.090643 | false | 0 | 0.008772 | 0.002924 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
829aab6b165065a64e2c8da5d5e7795d55835615 | 162 | py | Python | Condition expressions/Boolean operators/boolean_operators.py | kislyakovm/introduction-to-python | 2b44da4eb5a4fc1cba7676db5f49b651fa130b87 | [
"MIT"
] | null | null | null | Condition expressions/Boolean operators/boolean_operators.py | kislyakovm/introduction-to-python | 2b44da4eb5a4fc1cba7676db5f49b651fa130b87 | [
"MIT"
] | null | null | null | Condition expressions/Boolean operators/boolean_operators.py | kislyakovm/introduction-to-python | 2b44da4eb5a4fc1cba7676db5f49b651fa130b87 | [
"MIT"
] | null | null | null | name = "John"
age = 17
print(name == "John" or age == 17) # Checks that either name equals to "John" OR age equals to 17
print(name == "John" and age != 23)
| 23.142857 | 100 | 0.623457 | 28 | 162 | 3.607143 | 0.464286 | 0.237624 | 0.217822 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.234568 | 162 | 6 | 101 | 27 | 0.75 | 0.37037 | 0 | 0 | 0 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
82afec1e0fb140d195d87e043b8d91bcd91c1bf3 | 49 | py | Python | market_values_api/parsers/__init__.py | johnjichaowei/market-values-api | 4b675736348fdb1d3f98ea7e1e040f6343ba9abd | [
"MIT"
] | null | null | null | market_values_api/parsers/__init__.py | johnjichaowei/market-values-api | 4b675736348fdb1d3f98ea7e1e040f6343ba9abd | [
"MIT"
] | null | null | null | market_values_api/parsers/__init__.py | johnjichaowei/market-values-api | 4b675736348fdb1d3f98ea7e1e040f6343ba9abd | [
"MIT"
] | null | null | null | from .parse_market_value import ParseMarketValue
| 24.5 | 48 | 0.897959 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d59d2027efa0f8a4aaa10930f9757f2649ba609 | 185,874 | py | Python | webapp/tests/test_functions.py | ctavan/graphite-web | 337eacf8ec4507fea097e08ca875306b19426e84 | [
"Apache-2.0"
] | null | null | null | webapp/tests/test_functions.py | ctavan/graphite-web | 337eacf8ec4507fea097e08ca875306b19426e84 | [
"Apache-2.0"
] | null | null | null | webapp/tests/test_functions.py | ctavan/graphite-web | 337eacf8ec4507fea097e08ca875306b19426e84 | [
"Apache-2.0"
] | null | null | null | import copy
import math
import pytz
from datetime import datetime
from fnmatch import fnmatch
from mock import patch, call, MagicMock
from django.test import TestCase
from django.conf import settings
from graphite.render.datalib import TimeSeries
from graphite.render import functions
from graphite.render.functions i... | 50.688301 | 396 | 0.597351 | 24,799 | 185,874 | 4.418485 | 0.031171 | 0.078048 | 0.081589 | 0.07082 | 0.876914 | 0.853213 | 0.810092 | 0.78087 | 0.752843 | 0.726815 | 0 | 0.119313 | 0.239802 | 185,874 | 3,666 | 397 | 50.702128 | 0.656152 | 0.016371 | 0 | 0.56345 | 0 | 0.017845 | 0.190055 | 0.145045 | 0 | 0 | 0 | 0.000273 | 0.097819 | 1 | 0.108063 | false | 0 | 0.003635 | 0.003966 | 0.125909 | 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 |
7d805abebc4ad9cb7fab34d4c5c4a12fc16557b1 | 25 | py | Python | tests/test.py | alanwuha/map-reduce | 50b459839159b8cb3b39020bd034b542535e48c3 | [
"MIT"
] | null | null | null | tests/test.py | alanwuha/map-reduce | 50b459839159b8cb3b39020bd034b542535e48c3 | [
"MIT"
] | null | null | null | tests/test.py | alanwuha/map-reduce | 50b459839159b8cb3b39020bd034b542535e48c3 | [
"MIT"
] | null | null | null | from .context import src
| 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 |
7d9279ebf4ad2535bf7112c8640e1d1c728993f2 | 33 | py | Python | limbo/slackclient/__init__.py | dorian1453/limbo | 0c17b6d431ea33dfe96e4b258767636ca05b6e0d | [
"MIT"
] | 3 | 2015-03-11T05:01:55.000Z | 2021-04-29T01:52:52.000Z | limbo/slackclient/__init__.py | dorian1453/limbo | 0c17b6d431ea33dfe96e4b258767636ca05b6e0d | [
"MIT"
] | null | null | null | limbo/slackclient/__init__.py | dorian1453/limbo | 0c17b6d431ea33dfe96e4b258767636ca05b6e0d | [
"MIT"
] | null | null | null | from ._client import SlackClient
| 16.5 | 32 | 0.848485 | 4 | 33 | 6.75 | 1 | 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 |
7dbe03973507c3eb995e28c4dd53f1c2dbd70b97 | 2,421 | py | Python | invoke_based/tasks/utils/aws.py | netpyoung/nf.task-flow | 1b8beb231e310d35848326b89944761f2919450a | [
"MIT"
] | null | null | null | invoke_based/tasks/utils/aws.py | netpyoung/nf.task-flow | 1b8beb231e310d35848326b89944761f2919450a | [
"MIT"
] | null | null | null | invoke_based/tasks/utils/aws.py | netpyoung/nf.task-flow | 1b8beb231e310d35848326b89944761f2919450a | [
"MIT"
] | null | null | null | from boto3.session import Session
import json
import hashlib
import requests
ACCESS_KEY=''
SECRET_KEY=''
def upload_db_to_aws(fpath, version):
try:
file_bytes = open(fpath, "rb").read()
m = hashlib.md5()
m.update(file_bytes)
md5 = m.hexdigest().upper()
json_txt = json.d... | 24.958763 | 63 | 0.547708 | 287 | 2,421 | 4.376307 | 0.191638 | 0.050955 | 0.076433 | 0.105096 | 0.863057 | 0.863057 | 0.863057 | 0.83121 | 0.83121 | 0.83121 | 0 | 0.010322 | 0.319703 | 2,421 | 96 | 64 | 25.21875 | 0.752277 | 0 | 0 | 0.694444 | 0 | 0 | 0.176786 | 0.098306 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.055556 | 0 | 0.138889 | 0.027778 | 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 |
81913bc3ae06a5693a14d13c32ace27310dec35c | 30,172 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_crypto_macsec_mka_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_crypto_macsec_mka_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_crypto_macsec_mka_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 47.514961 | 245 | 0.47733 | 2,646 | 30,172 | 5.251323 | 0.058957 | 0.121123 | 0.110112 | 0.147391 | 0.828068 | 0.799064 | 0.776538 | 0.757179 | 0.721626 | 0.626125 | 0 | 0.01909 | 0.37326 | 30,172 | 634 | 246 | 47.589905 | 0.715706 | 0 | 0 | 0.530909 | 0 | 0.001818 | 0.388853 | 0.300808 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014545 | 0 | 0.014545 | 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 |
819b6215d21515bee2bf6ee1a39962875c0b50b3 | 56 | py | Python | src/ts_analysis/utilities/__init__.py | tedchengf/ts_analysis | b1ed127b5392d177c51bd136107aa0fec4a1759c | [
"MIT"
] | 1 | 2022-01-11T00:19:26.000Z | 2022-01-11T00:19:26.000Z | src/ts_analysis/utilities/__init__.py | tedchengf/ts_analysis | b1ed127b5392d177c51bd136107aa0fec4a1759c | [
"MIT"
] | null | null | null | src/ts_analysis/utilities/__init__.py | tedchengf/ts_analysis | b1ed127b5392d177c51bd136107aa0fec4a1759c | [
"MIT"
] | null | null | null | from . import aux
from . import func
from . import matop | 18.666667 | 19 | 0.75 | 9 | 56 | 4.666667 | 0.555556 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 56 | 3 | 19 | 18.666667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81d0d785ff4514acf137b58d87005e3f5cf5dd0f | 30 | py | Python | colab_ssh/utils/logger/__init__.py | mushonnip/colab-ssh | a7ec5877e486da1cdf07e38294e450e64b0bf81e | [
"MIT"
] | 623 | 2020-06-22T10:47:07.000Z | 2022-03-31T15:23:08.000Z | colab_ssh/utils/logger/__init__.py | mushonnip/colab-ssh | a7ec5877e486da1cdf07e38294e450e64b0bf81e | [
"MIT"
] | 63 | 2020-07-16T16:15:03.000Z | 2022-03-29T22:54:46.000Z | colab_ssh/utils/logger/__init__.py | mushonnip/colab-ssh | a7ec5877e486da1cdf07e38294e450e64b0bf81e | [
"MIT"
] | 135 | 2020-06-29T18:13:31.000Z | 2022-03-25T10:41:48.000Z | from .logger import get_logger | 30 | 30 | 0.866667 | 5 | 30 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 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 |
81d214843941b30400727b1176a926486b1e574f | 194 | py | Python | util/__init__.py | mlnyang/AE-NeRF | 08778d8c37b06c9cea2346c68318bcb1e6816237 | [
"MIT"
] | null | null | null | util/__init__.py | mlnyang/AE-NeRF | 08778d8c37b06c9cea2346c68318bcb1e6816237 | [
"MIT"
] | null | null | null | util/__init__.py | mlnyang/AE-NeRF | 08778d8c37b06c9cea2346c68318bcb1e6816237 | [
"MIT"
] | null | null | null | # from .iter_counter import IterationCounter
# from .visualizer import Visualizer
# from .metric_tracker import MetricTracker
from .util import *
# from .html import HTML
# from .pca import PCA
| 27.714286 | 44 | 0.78866 | 25 | 194 | 6.04 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149485 | 194 | 6 | 45 | 32.333333 | 0.915152 | 0.840206 | 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 |
81d5fe506aa48c889c5c6f1995ef2dd33924c714 | 73 | py | Python | exercises/palindrome-products/palindrome_products.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 1 | 2021-05-15T19:59:04.000Z | 2021-05-15T19:59:04.000Z | exercises/palindrome-products/palindrome_products.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | null | null | null | exercises/palindrome-products/palindrome_products.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 2 | 2018-03-03T08:32:12.000Z | 2019-08-22T11:55:53.000Z | def largest_palindrome():
pass
def smallest_palindrome():
pass
| 10.428571 | 26 | 0.69863 | 8 | 73 | 6.125 | 0.625 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219178 | 73 | 6 | 27 | 12.166667 | 0.859649 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
81d6d8a95e3ab41aec48897e16153762e4941865 | 426 | py | Python | Losses/GeometricMeanRelativeAbsoluteError.py | recep-yildirim/Machine-Learning-Algorithms | dc4f4e6939631468246efc7537b1569007fee792 | [
"MIT"
] | 3 | 2021-05-12T13:13:52.000Z | 2022-01-19T19:54:16.000Z | Losses/GeometricMeanRelativeAbsoluteError.py | recep-yildirim/Machine-Learning-Algorithms | dc4f4e6939631468246efc7537b1569007fee792 | [
"MIT"
] | null | null | null | Losses/GeometricMeanRelativeAbsoluteError.py | recep-yildirim/Machine-Learning-Algorithms | dc4f4e6939631468246efc7537b1569007fee792 | [
"MIT"
] | null | null | null | import numpy as np
from Losses import Loss
class GeometricMeanRelativeAbsoluteError(Loss):
def call(self, true_labels, predicted_labels):
result = np.abs(true_labels - predicted_labels) / np.abs(true_labels - np.mean(true_labels))
return np.power(np.prod(result), (1 / true_labels.shape[0]))
... | 35.5 | 100 | 0.734742 | 58 | 426 | 5.137931 | 0.413793 | 0.234899 | 0.255034 | 0.33557 | 0.241611 | 0.241611 | 0.241611 | 0 | 0 | 0 | 0 | 0.005618 | 0.164319 | 426 | 12 | 101 | 35.5 | 0.831461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.875 | 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 |
c4943e4b04d06ba5f49272963be970403e803554 | 21,031 | py | Python | retro_data_structures/conversion/part.py | duncathan/Retro-data-structures | 88c0a685e45c9c6935c1bd9d95ba549849947beb | [
"MIT"
] | 2 | 2021-06-18T16:47:00.000Z | 2021-07-06T22:36:32.000Z | retro_data_structures/conversion/part.py | duncathan/Retro-data-structures | 88c0a685e45c9c6935c1bd9d95ba549849947beb | [
"MIT"
] | 1 | 2021-10-01T20:26:01.000Z | 2021-10-01T20:26:01.000Z | retro_data_structures/conversion/part.py | duncathan/Retro-data-structures | 88c0a685e45c9c6935c1bd9d95ba549849947beb | [
"MIT"
] | 5 | 2021-08-23T17:01:01.000Z | 2021-11-20T03:57:14.000Z | import copy
from retro_data_structures.conversion.asset_converter import AssetConverter, Resource, AssetDetails
from retro_data_structures.game_check import Game
def upgrade(data, converter: AssetConverter, source_game: Game):
if source_game < Game.ECHOES <= converter.target_game:
for element in data["el... | 54.911227 | 123 | 0.329323 | 1,863 | 21,031 | 3.37037 | 0.057434 | 0.154165 | 0.167224 | 0.086001 | 0.833254 | 0.819239 | 0.794394 | 0.721452 | 0.683548 | 0.641503 | 0 | 0.002471 | 0.518853 | 21,031 | 382 | 124 | 55.054974 | 0.618045 | 0.003471 | 0 | 0.441595 | 0 | 0 | 0.105178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011396 | false | 0 | 0.008547 | 0 | 0.031339 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 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 |
c4ba6be963f594a0882f4c18ef20916d0f27cfb5 | 39 | py | Python | app/models/__init__.py | lucademian/spotifycards | 86bb76b491f5d66f563294ac5b63d97fa5306284 | [
"MIT"
] | null | null | null | app/models/__init__.py | lucademian/spotifycards | 86bb76b491f5d66f563294ac5b63d97fa5306284 | [
"MIT"
] | null | null | null | app/models/__init__.py | lucademian/spotifycards | 86bb76b491f5d66f563294ac5b63d97fa5306284 | [
"MIT"
] | null | null | null | """Models package"""
from . import user | 19.5 | 20 | 0.692308 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 21 | 19.5 | 0.794118 | 0.358974 | 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 |
f200740dc34d8bca9d0e1d3672b8b010b761e013 | 911 | py | Python | edabit/very_hard/advanced_sort/test_advanced_sort.py | ticotheps/practice_problems | 943c5ab9eebeac4e5cf162adbdc681119603dc36 | [
"MIT"
] | null | null | null | edabit/very_hard/advanced_sort/test_advanced_sort.py | ticotheps/practice_problems | 943c5ab9eebeac4e5cf162adbdc681119603dc36 | [
"MIT"
] | null | null | null | edabit/very_hard/advanced_sort/test_advanced_sort.py | ticotheps/practice_problems | 943c5ab9eebeac4e5cf162adbdc681119603dc36 | [
"MIT"
] | null | null | null | import unittest
from advanced_sort import advanced_sort
class Test(unittest.TestCase):
def test_advanced_sort(self):
self.assertEqual(advanced_sort([1,2,1,2]) , [[1,1],[2,2]])
self.assertEqual(advanced_sort([2,1,2,1]) , [[2,2],[1,1]])
self.assertEqual(advanced_sort([3,2,1,3,2,1]) , [[3,3],[... | 56.9375 | 142 | 0.575192 | 144 | 911 | 3.5 | 0.180556 | 0.261905 | 0.365079 | 0.428571 | 0.573413 | 0.464286 | 0.420635 | 0.420635 | 0.297619 | 0.297619 | 0 | 0.204342 | 0.140505 | 911 | 16 | 143 | 56.9375 | 0.439336 | 0 | 0 | 0 | 0 | 0 | 0.072368 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.071429 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f2053315c07d95b148c00bf6011ab87adcfa1848 | 155 | py | Python | petrophys/vshale/clavier.py | smiles21/petrophys | 03ccf2c65cd472013596b293cb2daaa95a1a05a6 | [
"MIT"
] | null | null | null | petrophys/vshale/clavier.py | smiles21/petrophys | 03ccf2c65cd472013596b293cb2daaa95a1a05a6 | [
"MIT"
] | null | null | null | petrophys/vshale/clavier.py | smiles21/petrophys | 03ccf2c65cd472013596b293cb2daaa95a1a05a6 | [
"MIT"
] | null | null | null | from .linear import linear
def clavier(df, gamma_ray_col):
gr_index = linear(df, gamma_ray_col)
return 1.7 - ((3.38 - (gr_index + 0.7) ** 2)) ** 0.5
| 22.142857 | 54 | 0.645161 | 29 | 155 | 3.241379 | 0.655172 | 0.148936 | 0.212766 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 0.187097 | 155 | 6 | 55 | 25.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
f208bd01be99e2c11b4f552fa2af015a7c1c7d01 | 3,886 | py | Python | tests/test_admin.py | Microdisseny/django-adminfilters | ec7f3ed5b0730d394bc5d14ce85765dbbbe2a49e | [
"BSD-1-Clause"
] | 17 | 2015-03-03T23:15:31.000Z | 2022-03-02T16:55:18.000Z | tests/test_admin.py | Microdisseny/django-adminfilters | ec7f3ed5b0730d394bc5d14ce85765dbbbe2a49e | [
"BSD-1-Clause"
] | 9 | 2015-11-10T15:30:27.000Z | 2022-02-12T20:55:39.000Z | tests/test_admin.py | Microdisseny/django-adminfilters | ec7f3ed5b0730d394bc5d14ce85765dbbbe2a49e | [
"BSD-1-Clause"
] | 14 | 2015-04-07T13:52:42.000Z | 2022-02-03T17:54:42.000Z | from django.contrib.auth.models import User
from django.test import RequestFactory, TestCase
from django.urls import reverse
class AdminFilterTests(TestCase):
fixtures = ['demoproject']
def setUp(self):
# Every test needs access to the request factory.
self.factory = RequestFactory()
... | 46.261905 | 109 | 0.689655 | 394 | 3,886 | 6.581218 | 0.187817 | 0.061705 | 0.076359 | 0.089086 | 0.78789 | 0.78789 | 0.774007 | 0.743926 | 0.743926 | 0.720787 | 0 | 0.014131 | 0.216933 | 3,886 | 83 | 110 | 46.819277 | 0.837989 | 0.112712 | 0 | 0.559322 | 0 | 0 | 0.276411 | 0.243097 | 0 | 0 | 0 | 0 | 0.271186 | 1 | 0.101695 | false | 0.101695 | 0.050847 | 0 | 0.186441 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
481aed7dd984b03d32b9c2fcc3be993465e5fbaf | 150 | py | Python | hecuba_py/tests/app/result.py | cugni/hecuba | 5f4654d068dff0ef641d37d98bdac46e539fea48 | [
"Apache-2.0"
] | 6 | 2017-11-09T12:59:54.000Z | 2022-02-03T14:04:29.000Z | hecuba_py/tests/app/result.py | cugni/hecuba | 5f4654d068dff0ef641d37d98bdac46e539fea48 | [
"Apache-2.0"
] | 150 | 2017-10-18T09:24:46.000Z | 2021-11-02T13:28:50.000Z | hecuba_py/tests/app/result.py | cugni/hecuba | 5f4654d068dff0ef641d37d98bdac46e539fea48 | [
"Apache-2.0"
] | 3 | 2017-11-10T18:56:46.000Z | 2021-11-02T10:35:14.000Z | from hecuba.storageobj import StorageObj
class Result(StorageObj):
'''
@ClassField instances dict<<word:str>,instances:int>
'''
pass
| 18.75 | 56 | 0.686667 | 16 | 150 | 6.4375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193333 | 150 | 7 | 57 | 21.428571 | 0.85124 | 0.346667 | 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 |
485d0851bdfb83f8314c870bf54a745abacd9a31 | 31 | py | Python | main.py | mtracy/dockerpy | 07183f65b3450f8f1cc5f0d8638d8a0c17a690ae | [
"Apache-2.0"
] | null | null | null | main.py | mtracy/dockerpy | 07183f65b3450f8f1cc5f0d8638d8a0c17a690ae | [
"Apache-2.0"
] | null | null | null | main.py | mtracy/dockerpy | 07183f65b3450f8f1cc5f0d8638d8a0c17a690ae | [
"Apache-2.0"
] | null | null | null | print("hello docker world!!!")
| 15.5 | 30 | 0.677419 | 4 | 31 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 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 |
487721698ced2f8a8914eb7d4cfc08d38595b80c | 281 | py | Python | PythonExercicios/ex014.py | lordvinick/Python | c03fd08d4c204104bf0196b0bd129427fd2067ae | [
"MIT"
] | null | null | null | PythonExercicios/ex014.py | lordvinick/Python | c03fd08d4c204104bf0196b0bd129427fd2067ae | [
"MIT"
] | null | null | null | PythonExercicios/ex014.py | lordvinick/Python | c03fd08d4c204104bf0196b0bd129427fd2067ae | [
"MIT"
] | null | null | null | print('\033[33m=\033[m'*12, '\033[1;31mConversor de Temperaturas\033[m', '\033[33m=\033[m'*12)
c = float(input('\033[7;30mInforme a temperatura em °C:\033[m'))
f = (c*9/5) + 32
print('\033[4;33mA temperatura de \033[4;31m{}°C \033[4;33mcorresponde a \033[4;31m{}°F!'.format(c, f))
| 56.2 | 103 | 0.647687 | 59 | 281 | 3.135593 | 0.457627 | 0.086486 | 0.097297 | 0.108108 | 0.12973 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257813 | 0.088968 | 281 | 4 | 104 | 70.25 | 0.453125 | 0 | 0 | 0 | 0 | 0.25 | 0.697509 | 0.074733 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6fa9f30cb9b087ef5e948a9dd241b9e2c5621cec | 16,299 | py | Python | src/securityinsight/azext_sentinel/generated/action.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 207 | 2017-11-29T06:59:41.000Z | 2022-03-31T10:00:53.000Z | src/securityinsight/azext_sentinel/generated/action.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 4,061 | 2017-10-27T23:19:56.000Z | 2022-03-31T23:18:30.000Z | src/securityinsight/azext_sentinel/generated/action.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 802 | 2017-10-11T17:36:26.000Z | 2022-03-31T22:24:32.000Z | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | 37.5553 | 83 | 0.52764 | 1,793 | 16,299 | 4.672616 | 0.10039 | 0.081642 | 0.090236 | 0.03915 | 0.772738 | 0.754118 | 0.74445 | 0.74075 | 0.74075 | 0.735498 | 0 | 0.006652 | 0.33591 | 16,299 | 433 | 84 | 37.642032 | 0.767369 | 0.053009 | 0 | 0.728947 | 0 | 0 | 0.140947 | 0.031603 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073684 | false | 0 | 0.007895 | 0 | 0.155263 | 0.002632 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.