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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
454862ed0335535e0622f4cd4d4b3040600274f8 | 254 | py | Python | setup.py | piotrmaslanka/python-cassandra-jaeger | 961a33955e54a84348d97a5e0b0985a3850ee1ad | [
"MIT"
] | null | null | null | setup.py | piotrmaslanka/python-cassandra-jaeger | 961a33955e54a84348d97a5e0b0985a3850ee1ad | [
"MIT"
] | null | null | null | setup.py | piotrmaslanka/python-cassandra-jaeger | 961a33955e54a84348d97a5e0b0985a3850ee1ad | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from distutils.core import setup
from setuptools import find_packages
import python_cassandra_jaeger
setup(version=python_cassandra_jaeger.__version__,
packages=find_packages(include=['python_cassandra_jaeger']),
)
| 19.538462 | 66 | 0.795276 | 31 | 254 | 6.129032 | 0.516129 | 0.236842 | 0.331579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125984 | 254 | 12 | 67 | 21.166667 | 0.855856 | 0.07874 | 0 | 0 | 0 | 0 | 0.098712 | 0.098712 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
45712dc508f41385cf0cbd9c2e96f1445b5789c9 | 163 | py | Python | utils/decorators/__init__.py | jemand2001/python-utils | 652d3998cb272530e42100ae844178ad7a092c8c | [
"MIT"
] | null | null | null | utils/decorators/__init__.py | jemand2001/python-utils | 652d3998cb272530e42100ae844178ad7a092c8c | [
"MIT"
] | null | null | null | utils/decorators/__init__.py | jemand2001/python-utils | 652d3998cb272530e42100ae844178ad7a092c8c | [
"MIT"
] | null | null | null | from .strict import (strict)
from .overload import (overload)
from .template import (template)
from .convert import (convert)
from .auto_slots import (auto_slots)
| 27.166667 | 36 | 0.785276 | 22 | 163 | 5.727273 | 0.363636 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122699 | 163 | 5 | 37 | 32.6 | 0.881119 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
458860860a8c1e1c28fb5b0848e12367ffab7ad3 | 370 | py | Python | serial_scripts/system_test/flow_tests/ReleaseToFlowSetupRateMapping.py | atsgen/tf-test | 2748fcd81491450c75dadc71849d2a1c11061029 | [
"Apache-2.0"
] | 5 | 2020-09-29T00:36:57.000Z | 2022-02-16T06:51:32.000Z | serial_scripts/system_test/flow_tests/ReleaseToFlowSetupRateMapping.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | 27 | 2019-11-02T02:18:34.000Z | 2022-02-24T18:49:08.000Z | serial_scripts/system_test/flow_tests/ReleaseToFlowSetupRateMapping.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | 20 | 2019-11-28T16:02:25.000Z | 2022-01-06T05:56:58.000Z | # Here the rate is set for Policy flows, local to a compute, which is
# lesser than policy flows across computes
expected_flow_setup_rate = {}
expected_flow_setup_rate['policy'] = {
'1.04': 6000, '1.05': 9000, '1.06': 10000, '1.10': 10000, '2.10': 13000}
expected_flow_setup_rate['nat'] = {
'1.04': 4200, '1.05':... | 46.25 | 76 | 0.654054 | 64 | 370 | 3.640625 | 0.53125 | 0.154506 | 0.218884 | 0.270386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237942 | 0.159459 | 370 | 7 | 77 | 52.857143 | 0.511254 | 0.291892 | 0 | 0 | 0 | 0 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
45b52df1d91555aa0d10d06f736b608de959c083 | 60 | py | Python | tests/__init__.py | ExterraGroup/pyrsi | 7999e58dc9260ec61dd7efe33c32dbcf02fdfa86 | [
"MIT"
] | 8 | 2018-12-10T17:07:35.000Z | 2020-12-25T01:25:15.000Z | tests/__init__.py | ExterraGroup/pyrsi | 7999e58dc9260ec61dd7efe33c32dbcf02fdfa86 | [
"MIT"
] | 1 | 2020-01-15T03:52:47.000Z | 2020-01-15T03:52:47.000Z | tests/__init__.py | ExterraGroup/pyrsi | 7999e58dc9260ec61dd7efe33c32dbcf02fdfa86 | [
"MIT"
] | 2 | 2019-05-16T16:43:30.000Z | 2020-06-05T11:24:07.000Z | # -*- coding: utf-8 -*-
"""Unit test package for pyrsi."""
| 15 | 34 | 0.55 | 8 | 60 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.183333 | 60 | 3 | 35 | 20 | 0.653061 | 0.85 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
45bc6a97de7432ce7d1214a830d477fd1ce1003b | 222 | py | Python | app/test/test_DQI.py | qianjing2020/lambda_lab | 53a29796e42fe1d2c4e5785eaa65938cb64af67c | [
"MIT"
] | null | null | null | app/test/test_DQI.py | qianjing2020/lambda_lab | 53a29796e42fe1d2c4e5785eaa65938cb64af67c | [
"MIT"
] | 6 | 2021-04-30T21:10:55.000Z | 2022-03-12T00:32:07.000Z | app/test/test_DQI.py | qianjing2020/lambda_lab | 53a29796e42fe1d2c4e5785eaa65938cb64af67c | [
"MIT"
] | null | null | null | import context
from modules.data_preprocess import DataCleaning, DataQualityCheck
from modules.db_connect import dbConnect
from test_sequence import sale
qc = DataQualityCheck()
result = qc.generate_QC(sale)
print(result) | 27.75 | 66 | 0.846847 | 29 | 222 | 6.344828 | 0.62069 | 0.119565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099099 | 222 | 8 | 67 | 27.75 | 0.92 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
45d23d997247a4451b26d7281ff5d784047731ab | 1,066 | py | Python | django_blog/blog/models.py | lidysun/test1 | 94db6637be6c0008f2454a0192121b1f1286c437 | [
"MIT"
] | null | null | null | django_blog/blog/models.py | lidysun/test1 | 94db6637be6c0008f2454a0192121b1f1286c437 | [
"MIT"
] | null | null | null | django_blog/blog/models.py | lidysun/test1 | 94db6637be6c0008f2454a0192121b1f1286c437 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from time import timezone
from django.db import models
# Create your models here.
class UserInfo(models.Model):
user= models.CharField(max_length = 30)
pwd = models.CharField(max_length = 30)
# class Publisher(models.Model):
# name = models... | 31.352941 | 50 | 0.721388 | 136 | 1,066 | 5.5 | 0.389706 | 0.260695 | 0.312834 | 0.417112 | 0.411765 | 0.235294 | 0.104278 | 0 | 0 | 0 | 0 | 0.038031 | 0.161351 | 1,066 | 33 | 51 | 32.30303 | 0.798658 | 0.464353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.230769 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
45d84ac7252e18717ee747f54457d11d39050e86 | 162 | py | Python | src/controllers/main_ctrl.py | donglinwu6066/2022-NYCU-EVA-lab-project-demo-app | 5de1021173240b2f9b325510e2c75f59cf3b14e1 | [
"MIT"
] | null | null | null | src/controllers/main_ctrl.py | donglinwu6066/2022-NYCU-EVA-lab-project-demo-app | 5de1021173240b2f9b325510e2c75f59cf3b14e1 | [
"MIT"
] | null | null | null | src/controllers/main_ctrl.py | donglinwu6066/2022-NYCU-EVA-lab-project-demo-app | 5de1021173240b2f9b325510e2c75f59cf3b14e1 | [
"MIT"
] | 1 | 2022-03-25T10:08:41.000Z | 2022-03-25T10:08:41.000Z | from PyQt5.QtCore import QObject, pyqtSlot
class MainController(QObject):
def __init__(self, model):
super().__init__()
self._model = model
| 20.25 | 42 | 0.679012 | 18 | 162 | 5.611111 | 0.722222 | 0.158416 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.222222 | 162 | 7 | 43 | 23.142857 | 0.793651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
aff28c5107917776458b32939693487f544f849c | 1,198 | py | Python | tests/no_train_or_test/model.py | NehzUx/autodl | c80fdc4b297ed1ec2b9e6911d313f1fe31d83cb9 | [
"Apache-2.0"
] | 25 | 2018-09-26T14:07:11.000Z | 2021-12-02T15:19:08.000Z | tests/no_train_or_test/model.py | NehzUx/autodl | c80fdc4b297ed1ec2b9e6911d313f1fe31d83cb9 | [
"Apache-2.0"
] | 8 | 2018-11-23T15:35:28.000Z | 2020-02-27T14:55:11.000Z | tests/no_train_or_test/model.py | NehzUx/autodl | c80fdc4b297ed1ec2b9e6911d313f1fe31d83cb9 | [
"Apache-2.0"
] | 5 | 2019-03-05T11:05:59.000Z | 2020-01-08T13:05:35.000Z | # Copyright 2016 Google Inc. 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 applicable law or ... | 37.4375 | 78 | 0.769616 | 183 | 1,198 | 4.983607 | 0.655738 | 0.065789 | 0.028509 | 0.035088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009018 | 0.166945 | 1,198 | 31 | 79 | 38.645161 | 0.90481 | 0.90985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
affe1f7c5acaa073ae333db92fc0f2ba9b660efd | 28 | py | Python | tests/math/__init__.py | Ejjaffe/dit | c9d206f03d1de5a0a298b1d0ea9d79ea5e789ee1 | [
"BSD-3-Clause"
] | 1 | 2021-03-15T08:51:42.000Z | 2021-03-15T08:51:42.000Z | tests/math/__init__.py | Ejjaffe/dit | c9d206f03d1de5a0a298b1d0ea9d79ea5e789ee1 | [
"BSD-3-Clause"
] | null | null | null | tests/math/__init__.py | Ejjaffe/dit | c9d206f03d1de5a0a298b1d0ea9d79ea5e789ee1 | [
"BSD-3-Clause"
] | null | null | null | """
Tests for dit.math.
"""
| 7 | 19 | 0.535714 | 4 | 28 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 3 | 20 | 9.333333 | 0.652174 | 0.678571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b3002f19f23fd7a651f2fd21a8598fc87385b360 | 306 | py | Python | FATS/featureFunction.py | serdarozsoy/FATS | e2a1bf4f142c20eada5d0d63435599e9139d4a9d | [
"MIT"
] | null | null | null | FATS/featureFunction.py | serdarozsoy/FATS | e2a1bf4f142c20eada5d0d63435599e9139d4a9d | [
"MIT"
] | null | null | null | FATS/featureFunction.py | serdarozsoy/FATS | e2a1bf4f142c20eada5d0d63435599e9139d4a9d | [
"MIT"
] | null | null | null | <<<<<<< HEAD
import os,sys,time
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import Base
=======
import os,sys,time
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import Base
>>>>>>> e5e6c78995f79de751f6aa5e3ad47cb15bd3fffc
from FeatureFunctionLib import * | 21.857143 | 48 | 0.777778 | 43 | 306 | 5.534884 | 0.395349 | 0.067227 | 0.092437 | 0.12605 | 0.697479 | 0.697479 | 0.697479 | 0.697479 | 0.697479 | 0.697479 | 0 | 0.075188 | 0.130719 | 306 | 14 | 49 | 21.857143 | 0.819549 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.785714 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b302348ee4bab662ae5fc00d100adcd638224ab8 | 56 | py | Python | result_helpers/__init__.py | CFM-MSG/CMAN_pytorch | e176debef6888ae96781a6cfafabcbd438fbfcb0 | [
"MIT"
] | null | null | null | result_helpers/__init__.py | CFM-MSG/CMAN_pytorch | e176debef6888ae96781a6cfafabcbd438fbfcb0 | [
"MIT"
] | null | null | null | result_helpers/__init__.py | CFM-MSG/CMAN_pytorch | e176debef6888ae96781a6cfafabcbd438fbfcb0 | [
"MIT"
] | null | null | null | from result_helpers.mem_one_class import MEMResultHelper | 56 | 56 | 0.928571 | 8 | 56 | 6.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 56 | 1 | 56 | 56 | 0.924528 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b3231dd9d1c15c0eaaa1376b68c6482d2fb00f29 | 104 | py | Python | constants.py | pvantonov/kodi-amvnews | 504eeb59dc0b2b9fe60a0aa7debbe35140dc4156 | [
"MIT"
] | 3 | 2019-05-14T21:41:18.000Z | 2020-08-06T13:25:45.000Z | constants.py | pvantonov/kodi-amvnews | 504eeb59dc0b2b9fe60a0aa7debbe35140dc4156 | [
"MIT"
] | null | null | null | constants.py | pvantonov/kodi-amvnews | 504eeb59dc0b2b9fe60a0aa7debbe35140dc4156 | [
"MIT"
] | null | null | null | # coding=utf-8
"""
Definition of constants.
"""
from xbmcswift2.plugin import Plugin
PLUGIN = Plugin()
| 13 | 36 | 0.721154 | 13 | 104 | 5.769231 | 0.769231 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.144231 | 104 | 7 | 37 | 14.857143 | 0.820225 | 0.365385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b32a64ff545e87a33e77785c0b313ddafd790edf | 38 | py | Python | python/testData/quickFixes/PyRemoveUnusedLocalQuickFixTest/removeChainedAssignmentStatementFirstTarget_after.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/quickFixes/PyRemoveUnusedLocalQuickFixTest/removeChainedAssignmentStatementFirstTarget_after.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/quickFixes/PyRemoveUnusedLocalQuickFixTest/removeChainedAssignmentStatementFirstTarget_after.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | def f():
<caret>b = 0
return b | 12.666667 | 16 | 0.473684 | 7 | 38 | 2.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.368421 | 38 | 3 | 17 | 12.666667 | 0.708333 | 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 | 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 | 0 | 0 | 4 |
b347c2e19c64fdbc38703b93493ffd39b10d1790 | 104 | py | Python | gpt/config.py | jimth001/formality_emnlp19 | fa2f48f2ac6efd98c0cf986681747ea41adbac48 | [
"MIT"
] | 22 | 2019-08-28T16:36:51.000Z | 2022-01-13T07:30:36.000Z | gpt/config.py | jimth001/formality_emnlp19 | fa2f48f2ac6efd98c0cf986681747ea41adbac48 | [
"MIT"
] | 11 | 2020-01-28T22:16:38.000Z | 2022-02-09T23:31:41.000Z | gpt/config.py | jimth001/formality_emnlp19 | fa2f48f2ac6efd98c0cf986681747ea41adbac48 | [
"MIT"
] | 5 | 2019-11-12T13:28:36.000Z | 2022-01-13T07:30:39.000Z | from gpt.src import encoder
text_enc = encoder.get_encoder('./models/117M')
config_path='./models/117M'
| 26 | 47 | 0.769231 | 16 | 104 | 4.8125 | 0.75 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.076923 | 104 | 3 | 48 | 34.666667 | 0.739583 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2fb9ac82ed503a345c0e22abf61b359a4bddd5eb | 10,806 | py | Python | userbot/modules/warn.py | akborana/Devil | 30ef9c5ac910d6344e206921e343a0932ffd6460 | [
"MIT"
] | 1 | 2021-05-06T18:30:50.000Z | 2021-05-06T18:30:50.000Z | userbot/modules/warn.py | hellboi-atul/javes-3.0 | 8777d482bd1ee877a96332a2cd84d880c151fa43 | [
"MIT"
] | null | null | null | userbot/modules/warn.py | hellboi-atul/javes-3.0 | 8777d482bd1ee877a96332a2cd84d880c151fa43 | [
"MIT"
] | null | null | null | import re
import hashlib
import asyncio
import datetime
import logging
from userbot import CMD_HELP
import os
import math
import html
import os.path
import sys
import time
from typing import Tuple, Union
from userbot import bot
from telethon import errors
from telethon import events
from telethon.tl import types
from ... | 35.781457 | 142 | 0.638627 | 1,463 | 10,806 | 4.571429 | 0.129187 | 0.077751 | 0.036184 | 0.053828 | 0.7811 | 0.752542 | 0.72503 | 0.710377 | 0.691238 | 0.691238 | 0 | 0.004731 | 0.237091 | 10,806 | 301 | 143 | 35.900332 | 0.806526 | 0 | 0 | 0.637795 | 0 | 0.023622 | 0.165556 | 0.019444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.098425 | 0 | 0.208661 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2fc7dff3416e231ccfed10d4c3e8b24fde9aebea | 200 | py | Python | opmd_viewer/__init__.py | soerenjalas/openPMD-viewer | 1754ade96040920016a79ecc5b7b40597a5a6bf5 | [
"BSD-3-Clause-LBNL"
] | null | null | null | opmd_viewer/__init__.py | soerenjalas/openPMD-viewer | 1754ade96040920016a79ecc5b7b40597a5a6bf5 | [
"BSD-3-Clause-LBNL"
] | 1 | 2016-01-04T18:09:31.000Z | 2016-01-04T18:09:31.000Z | opmd_viewer/__init__.py | soerenjalas/openPMD-viewer | 1754ade96040920016a79ecc5b7b40597a5a6bf5 | [
"BSD-3-Clause-LBNL"
] | null | null | null | # Make the OpenPMDTimeSeries object accessible from outside the package
from .openpmd_timeseries import OpenPMDTimeSeries, FieldMetaInformation
__all__ = ['OpenPMDTimeSeries', 'FieldMetaInformation']
| 50 | 71 | 0.85 | 18 | 200 | 9.166667 | 0.722222 | 0.448485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095 | 200 | 3 | 72 | 66.666667 | 0.911602 | 0.345 | 0 | 0 | 0 | 0 | 0.286822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2fd2bfab59ea98625232ec8c5527f3a9ee521861 | 28 | py | Python | python/testData/editing/enterAfterColonOfCaseClauseWithoutBody.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/editing/enterAfterColonOfCaseClauseWithoutBody.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/editing/enterAfterColonOfCaseClauseWithoutBody.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | match x:
case 42:<caret> | 14 | 19 | 0.607143 | 5 | 28 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.25 | 28 | 2 | 19 | 14 | 0.714286 | 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 | 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 | 0 | 0 | 4 |
6441c2d5103ee3c27b662443bb780f5d7c5a8064 | 132 | py | Python | ppgr/__init__.py | PolarPayne/ppgr | a3ce482999bbd0c71042f18880553ebba60074c5 | [
"MIT"
] | null | null | null | ppgr/__init__.py | PolarPayne/ppgr | a3ce482999bbd0c71042f18880553ebba60074c5 | [
"MIT"
] | null | null | null | ppgr/__init__.py | PolarPayne/ppgr | a3ce482999bbd0c71042f18880553ebba60074c5 | [
"MIT"
] | null | null | null | from .terminal import write, no_cursor
from .screen import Screen
__all__ = ["write", "no_cursor", "Screen"]
__version__ = "0.5.0"
| 22 | 42 | 0.719697 | 19 | 132 | 4.473684 | 0.578947 | 0.164706 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.136364 | 132 | 5 | 43 | 26.4 | 0.719298 | 0 | 0 | 0 | 0 | 0 | 0.189394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ff2cc3e4fa0010425f995d6994abc80dcad5bb40 | 92 | py | Python | codes_auto/1203.print-in-order.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/1203.print-in-order.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/1203.print-in-order.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=1203 lang=python3
#
# [1203] print-in-order
#
None
# @lc code=end | 13.142857 | 42 | 0.663043 | 16 | 92 | 3.8125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.152174 | 92 | 7 | 43 | 13.142857 | 0.666667 | 0.815217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
ff59e3ae0336b603d2a05d8f243ce3a51a93e303 | 802 | py | Python | brdashsite/batchrecords/migrations/0003_auto_20190226_2017.py | JNDib/brdashproject | f9a7cb543024bfb6bb3556b9affdcddb46add2e1 | [
"MIT"
] | null | null | null | brdashsite/batchrecords/migrations/0003_auto_20190226_2017.py | JNDib/brdashproject | f9a7cb543024bfb6bb3556b9affdcddb46add2e1 | [
"MIT"
] | null | null | null | brdashsite/batchrecords/migrations/0003_auto_20190226_2017.py | JNDib/brdashproject | f9a7cb543024bfb6bb3556b9affdcddb46add2e1 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.5 on 2019-02-27 02:17
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('batchrecords', '0002_auto_20190226_1939'),
]
operations = [
migrations.RemoveField(
model_name='historicalbatchrecord',
name... | 24.30303 | 52 | 0.574813 | 63 | 802 | 7.15873 | 0.539683 | 0.277162 | 0.230599 | 0.266075 | 0.487805 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0.057196 | 0.32419 | 802 | 32 | 53 | 25.0625 | 0.774908 | 0.05611 | 0 | 0.5 | 1 | 0 | 0.237086 | 0.169536 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038462 | 0 | 0.153846 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ff759b9f072d1f9296066ec627c9c855987dabdc | 29 | py | Python | security/open_alchemy/__init__.py | open-alchemy/OpenAlchemyPackage | 8bf0ed62ed7f6c5015f1bf1c4658dc353395fe9b | [
"Apache-2.0"
] | null | null | null | security/open_alchemy/__init__.py | open-alchemy/OpenAlchemyPackage | 8bf0ed62ed7f6c5015f1bf1c4658dc353395fe9b | [
"Apache-2.0"
] | 79 | 2020-11-28T04:02:25.000Z | 2021-01-06T08:52:30.000Z | security/open_alchemy/__init__.py | open-alchemy/Package | 8bf0ed62ed7f6c5015f1bf1c4658dc353395fe9b | [
"Apache-2.0"
] | null | null | null | """Namespace placeholder."""
| 14.5 | 28 | 0.689655 | 2 | 29 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 29 | 1 | 29 | 29 | 0.740741 | 0.758621 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ff8936a87c1d6aa51ae7c9ad6e4ebecebdf9df3e | 317 | py | Python | DPGAnalysis/SiStripTools/python/poolSource_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DPGAnalysis/SiStripTools/python/poolSource_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DPGAnalysis/SiStripTools/python/poolSource_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(),
# skipBadFiles = cms.untracked.bool(True),
inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
)
| 35.222222 | 98 | 0.564669 | 26 | 317 | 6.769231 | 0.692308 | 0.204545 | 0.215909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.321767 | 317 | 8 | 99 | 39.625 | 0.818605 | 0.126183 | 0 | 0 | 0 | 0 | 0.168627 | 0.086275 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ffa0bb48d7404e573b6c9e5fa52446d5003efd93 | 99 | py | Python | cdp_scrapers/instances/__init__.py | dhanya-shraddha/cdp-scrapers | 7e0d841a2a64963405a075cd91985d24e3dedfa6 | [
"MIT"
] | null | null | null | cdp_scrapers/instances/__init__.py | dhanya-shraddha/cdp-scrapers | 7e0d841a2a64963405a075cd91985d24e3dedfa6 | [
"MIT"
] | 1 | 2021-10-01T05:27:21.000Z | 2021-10-01T05:27:21.000Z | cdp_scrapers/instances/__init__.py | dhanya-shraddha/cdp-scrapers | 7e0d841a2a64963405a075cd91985d24e3dedfa6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Individual scratchpad and maybe up-to-date CDP instance scrapers.
"""
| 16.5 | 65 | 0.656566 | 13 | 99 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.161616 | 99 | 5 | 66 | 19.8 | 0.771084 | 0.888889 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
ffa5465bfb3e2c7f5391b04142db505e1022b582 | 424 | py | Python | tests/dictionary1.py | Oshanath/lpython | 582e1718c04fcccd2b6e444d85dda3aae3e3292e | [
"BSD-3-Clause"
] | null | null | null | tests/dictionary1.py | Oshanath/lpython | 582e1718c04fcccd2b6e444d85dda3aae3e3292e | [
"BSD-3-Clause"
] | null | null | null | tests/dictionary1.py | Oshanath/lpython | 582e1718c04fcccd2b6e444d85dda3aae3e3292e | [
"BSD-3-Clause"
] | null | null | null | def test_Dict():
x: dict[i32, i32]
x = {1: 2, 3: 4}
# x = {1: "2", "3": 4} -> sematic error
y: dict[str, i32]
y = {"a": -1, "b": -2}
z: i32
z = y["a"]
z = y["b"]
z = x[1]
def test_dict_insert():
y: dict[str, i32]
y = {"a": -1, "b": -2}
y["c"] = -3
def test_dict_get(... | 15.703704 | 43 | 0.379717 | 79 | 424 | 1.974684 | 0.253165 | 0.051282 | 0.211538 | 0.211538 | 0.371795 | 0.307692 | 0.307692 | 0.307692 | 0.307692 | 0 | 0 | 0.112727 | 0.351415 | 424 | 26 | 44 | 16.307692 | 0.454545 | 0.087264 | 0 | 0.315789 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4400856d181d08220fa50547c19d7bab6d8e6fbd | 2,393 | py | Python | marlgrid/pz_envs/contentFB.py | aivaslab/marlgrid | 10b53d27ce224fadeeb5830d6034350a69feb4b4 | [
"Apache-2.0"
] | null | null | null | marlgrid/pz_envs/contentFB.py | aivaslab/marlgrid | 10b53d27ce224fadeeb5830d6034350a69feb4b4 | [
"Apache-2.0"
] | null | null | null | marlgrid/pz_envs/contentFB.py | aivaslab/marlgrid | 10b53d27ce224fadeeb5830d6034350a69feb4b4 | [
"Apache-2.0"
] | null | null | null | from ..base_AEC import *
from ..objects import *
from random import randrange
import random
import math
class ContentFBEnv(para_MultiGridEnv):
"""
Environment with a door and key, sparse reward.
Similar to DoorKeyEnv in
https://github.com/maximecb/gym-minigrid/blob/master/gym_minigrid/envs/doorkey... | 32.337838 | 91 | 0.610113 | 341 | 2,393 | 4.175953 | 0.284457 | 0.033708 | 0.035112 | 0.044944 | 0.829354 | 0.820927 | 0.802669 | 0.699438 | 0.699438 | 0.699438 | 0 | 0.025267 | 0.255746 | 2,393 | 73 | 92 | 32.780822 | 0.774284 | 0.195153 | 0 | 0.634146 | 0 | 0 | 0.085379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.121951 | 0 | 0.365854 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
442b82682f3eee1189a613f243e844bcbfce1414 | 62 | py | Python | tests/__init__.py | NickolasHKraus/statikos | 7d098760caa2ae8969801249c8c4761f02fd2372 | [
"MIT"
] | null | null | null | tests/__init__.py | NickolasHKraus/statikos | 7d098760caa2ae8969801249c8c4761f02fd2372 | [
"MIT"
] | null | null | null | tests/__init__.py | NickolasHKraus/statikos | 7d098760caa2ae8969801249c8c4761f02fd2372 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Unit test package for statikos."""
| 20.666667 | 37 | 0.580645 | 8 | 62 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.16129 | 62 | 2 | 38 | 31 | 0.673077 | 0.870968 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
443e880e410b850c486af0532ecd8869505aeb29 | 60 | py | Python | investigateModules/compareModulePatches.py | kromerh/solarAnalytics | 8d450746dcf45b5ae3933b5e2d8838a23c8b32ea | [
"MIT"
] | null | null | null | investigateModules/compareModulePatches.py | kromerh/solarAnalytics | 8d450746dcf45b5ae3933b5e2d8838a23c8b32ea | [
"MIT"
] | null | null | null | investigateModules/compareModulePatches.py | kromerh/solarAnalytics | 8d450746dcf45b5ae3933b5e2d8838a23c8b32ea | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import os
import re
| 10 | 19 | 0.783333 | 12 | 60 | 3.916667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 60 | 5 | 20 | 12 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
44762b0d5bcbe4b280011acbe66456167cfb82a3 | 7,580 | py | Python | arabert_summarize_example.py | abdullah-abunada/bert-extractive-summarizer | 45e69deed3dcc00c4073cb07507889ff44f1ca72 | [
"MIT"
] | 2 | 2021-10-02T08:12:35.000Z | 2022-01-09T20:41:14.000Z | arabert_summarize_example.py | abdullah-abunada/bert-extractive-summarizer | 45e69deed3dcc00c4073cb07507889ff44f1ca72 | [
"MIT"
] | null | null | null | arabert_summarize_example.py | abdullah-abunada/bert-extractive-summarizer | 45e69deed3dcc00c4073cb07507889ff44f1ca72 | [
"MIT"
] | 1 | 2021-12-29T21:53:31.000Z | 2021-12-29T21:53:31.000Z | from summarizer import Summarizer
from transformers import AutoTokenizer, AutoModel
from rouge import Rouge
body='''
أعلن اليوم الخميس في ماليزيا عن دخول ملك البلاد في حجر صحي بعد إصابة 7 عاملين في القصر بفيروس كورونا، ليكون بذلك أحدث زعماء العالم التحاقا بقائمة القادة الذين تحوم حولهم شبهة الإصابة بهذا الفيروس.
وقال... | 118.4375 | 346 | 0.812797 | 1,323 | 7,580 | 4.695389 | 0.402116 | 0.023181 | 0.012556 | 0.007244 | 0.663554 | 0.663554 | 0.647135 | 0.647135 | 0.647135 | 0.647135 | 0 | 0.003471 | 0.163852 | 7,580 | 63 | 347 | 120.31746 | 0.966393 | 0 | 0 | 0.545455 | 0 | 0.581818 | 0.929938 | 0.006333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.054545 | 0 | 0.054545 | 0.036364 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9242274087f97ac266387b636296af92b2d7d9f8 | 422 | py | Python | global_covid_tracker/plotting/__init__.py | kvanderveen/global_covid_tracker | ad4466b099aae30cbc73b62cce440c62a4fc87f9 | [
"MIT"
] | null | null | null | global_covid_tracker/plotting/__init__.py | kvanderveen/global_covid_tracker | ad4466b099aae30cbc73b62cce440c62a4fc87f9 | [
"MIT"
] | 3 | 2021-08-23T20:45:46.000Z | 2022-03-12T00:33:28.000Z | global_covid_tracker/plotting/__init__.py | kvanderveen/global_covid_tracker | ad4466b099aae30cbc73b62cce440c62a4fc87f9 | [
"MIT"
] | null | null | null | from .plot_positive_test_rates import plot_positive_test_rates
from .plot_total_cases import plot_total_cases
from .plot_total_deaths import plot_total_deaths
from .plot_deaths_by_country import plot_deaths_by_country
from .plot_cases_by_country import plot_cases_by_country
from .plot_total_tests import plot_total_test... | 46.888889 | 62 | 0.905213 | 70 | 422 | 4.914286 | 0.185714 | 0.186047 | 0.113372 | 0.122093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075829 | 422 | 8 | 63 | 52.75 | 0.882051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
92460118208d7c2379de4fa4f0cbfe2ad3d68845 | 223 | py | Python | Cogs/Nullify.py | TheMasterGhost/CorpBot | 3133d5b7fdfef09ac4b75fb42d91628b86d94ac0 | [
"MIT"
] | null | null | null | Cogs/Nullify.py | TheMasterGhost/CorpBot | 3133d5b7fdfef09ac4b75fb42d91628b86d94ac0 | [
"MIT"
] | null | null | null | Cogs/Nullify.py | TheMasterGhost/CorpBot | 3133d5b7fdfef09ac4b75fb42d91628b86d94ac0 | [
"MIT"
] | null | null | null | def clean(string):
# A helper script to strip out @here and @everyone mentions
zerospace = ""
return string.replace("@everyone", "@{}everyone".format(zerospace)).replace("@here", "@{}here".format(zerospace)) | 55.75 | 117 | 0.668161 | 26 | 223 | 5.730769 | 0.653846 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152466 | 223 | 4 | 117 | 55.75 | 0.78836 | 0.255605 | 0 | 0 | 0 | 0 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
92a2ade8e25bb89801f783432bcd0131ea069e28 | 68 | py | Python | atcoder/abc149/b.py | sugitanishi/competitive-programming | 51af65fdce514ece12f8afbf142b809d63eefb5d | [
"MIT"
] | null | null | null | atcoder/abc149/b.py | sugitanishi/competitive-programming | 51af65fdce514ece12f8afbf142b809d63eefb5d | [
"MIT"
] | null | null | null | atcoder/abc149/b.py | sugitanishi/competitive-programming | 51af65fdce514ece12f8afbf142b809d63eefb5d | [
"MIT"
] | null | null | null | a,b,k=map(int,input().split())
print(max(a-k,0),max(b-max(k-a,0),0)) | 34 | 37 | 0.602941 | 19 | 68 | 2.157895 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0.014706 | 68 | 2 | 37 | 34 | 0.567164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
92a704fccf87ceb7853e4a72b95d94d37432b6bb | 18 | py | Python | anchore_manager/version.py | Nordix/anchore-engine | f25baa5cbf9aa34d56e56b341a90f577d85e6146 | [
"Apache-2.0"
] | 110 | 2017-09-14T02:15:15.000Z | 2022-03-30T20:14:21.000Z | anchore_manager/version.py | Nordix/anchore-engine | f25baa5cbf9aa34d56e56b341a90f577d85e6146 | [
"Apache-2.0"
] | 115 | 2017-09-22T12:15:30.000Z | 2022-01-17T12:31:21.000Z | anchore_manager/version.py | Nordix/anchore-engine | f25baa5cbf9aa34d56e56b341a90f577d85e6146 | [
"Apache-2.0"
] | 56 | 2017-09-22T11:26:25.000Z | 2022-03-03T14:14:58.000Z | version = "0.9.4"
| 9 | 17 | 0.555556 | 4 | 18 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
92abf94301c78871fdaeb06a8f1ddaf5bff99c2c | 268 | py | Python | floodsystem/analysis.py | AndrewKeYanzhe/part-ia-flood-warning-system | eb3a32d3722be7b45acf3924fd4d2431652d3053 | [
"MIT"
] | null | null | null | floodsystem/analysis.py | AndrewKeYanzhe/part-ia-flood-warning-system | eb3a32d3722be7b45acf3924fd4d2431652d3053 | [
"MIT"
] | null | null | null | floodsystem/analysis.py | AndrewKeYanzhe/part-ia-flood-warning-system | eb3a32d3722be7b45acf3924fd4d2431652d3053 | [
"MIT"
] | null | null | null | import matplotlib
import numpy as np
def polyfit (dates, levels, p):
# dates = matplotlib.dates.date2num(dates)
p_coeff = np.polyfit(dates,levels,p)
# p_coeff = np.polyfit(dates-dates[0],levels,p)
poly = np.poly1d(p_coeff)
return poly, dates[0] | 22.333333 | 51 | 0.682836 | 41 | 268 | 4.390244 | 0.390244 | 0.2 | 0.2 | 0.211111 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018433 | 0.190299 | 268 | 12 | 52 | 22.333333 | 0.81106 | 0.320896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2b94150c3b79e3074d21274247ea053c2cb884e0 | 178 | py | Python | scripts/core/pass_types.py | evolving-dev/holo | d8ef8dd58302d9f2589e5d2b3011015ff145528d | [
"MIT"
] | null | null | null | scripts/core/pass_types.py | evolving-dev/holo | d8ef8dd58302d9f2589e5d2b3011015ff145528d | [
"MIT"
] | null | null | null | scripts/core/pass_types.py | evolving-dev/holo | d8ef8dd58302d9f2589e5d2b3011015ff145528d | [
"MIT"
] | null | null | null | class HoloResponse:
def __init__(self, success, response=None):
self.success = success
if response != None:
self.response = response
| 17.8 | 48 | 0.578652 | 17 | 178 | 5.823529 | 0.529412 | 0.222222 | 0.323232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.342697 | 178 | 9 | 49 | 19.777778 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2bbd518b542fcf51bf60ace183944d104900efbf | 55 | py | Python | luigi/contrib/__init__.py | Mappy/luigi | 539cd2cf69902bb6cef688afdf55e991cae4b537 | [
"Apache-2.0"
] | 2 | 2017-05-03T12:15:20.000Z | 2018-09-14T02:28:54.000Z | luigi/contrib/__init__.py | Mappy/luigi | 539cd2cf69902bb6cef688afdf55e991cae4b537 | [
"Apache-2.0"
] | null | null | null | luigi/contrib/__init__.py | Mappy/luigi | 539cd2cf69902bb6cef688afdf55e991cae4b537 | [
"Apache-2.0"
] | null | null | null | """Package containing optional and-on functionality.""" | 55 | 55 | 0.781818 | 6 | 55 | 7.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.843137 | 0.890909 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
2be799f355f713970380efb0ff0e7ecb819eb1f7 | 77 | py | Python | terrascript/consul/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/consul/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/consul/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | # Consul provider is not created through makecode.py
# because of issues 24.
| 25.666667 | 52 | 0.779221 | 12 | 77 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.168831 | 77 | 2 | 53 | 38.5 | 0.90625 | 0.935065 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
2bec0c607c3e98c35152779520d4098296b2008b | 226 | py | Python | key_server/key_management_system/apps.py | TV-Encryption/key_server | db243f3941cef82a9eb8f01bbb3fa72d7b32d77e | [
"MIT"
] | null | null | null | key_server/key_management_system/apps.py | TV-Encryption/key_server | db243f3941cef82a9eb8f01bbb3fa72d7b32d77e | [
"MIT"
] | null | null | null | key_server/key_management_system/apps.py | TV-Encryption/key_server | db243f3941cef82a9eb8f01bbb3fa72d7b32d77e | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class KeyManagementSystemConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "key_server.key_management_system"
verbose_name = "Key Management System"
| 28.25 | 56 | 0.787611 | 26 | 226 | 6.615385 | 0.730769 | 0.081395 | 0.22093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137168 | 226 | 7 | 57 | 32.285714 | 0.882051 | 0 | 0 | 0 | 0 | 0 | 0.362832 | 0.269912 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
920aca29cb5a19cdc1c9d17f62a1e4f246af7860 | 112 | py | Python | datrie/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 130 | 2015-07-28T03:41:21.000Z | 2022-03-16T03:07:41.000Z | datrie/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 119 | 2015-08-01T00:54:06.000Z | 2021-01-05T13:00:46.000Z | datrie/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 72 | 2015-07-29T02:35:56.000Z | 2022-02-26T14:31:15.000Z | import string
import datrie
trie = datrie.Trie(string.ascii_lowercase)
trie[u'foo'] = 5
assert u'foo' in trie
| 14 | 42 | 0.75 | 19 | 112 | 4.368421 | 0.578947 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.142857 | 112 | 7 | 43 | 16 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
920ae2c4b1ffab09874d3603b23d3df7ab55beeb | 962 | py | Python | projects/models.py | plaf2000/webspec | 487ccccff088ddbda0e5e475aaad167a01f4aab2 | [
"MIT"
] | null | null | null | projects/models.py | plaf2000/webspec | 487ccccff088ddbda0e5e475aaad167a01f4aab2 | [
"MIT"
] | null | null | null | projects/models.py | plaf2000/webspec | 487ccccff088ddbda0e5e475aaad167a01f4aab2 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
class Project(models.Model):
hf = models.PositiveIntegerField(default=18000)
lf = models.PositiveIntegerField(default=0)
nfft_view = models.PositiveIntegerField(default=2048)
nfft_projec... | 56.588235 | 104 | 0.697505 | 105 | 962 | 6.190476 | 0.419048 | 0.24 | 0.304615 | 0.227692 | 0.461538 | 0.313846 | 0.172308 | 0.172308 | 0.172308 | 0.172308 | 0 | 0.031957 | 0.219335 | 962 | 17 | 105 | 56.588235 | 0.833555 | 0 | 0 | 0 | 0 | 0 | 0.026999 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
92169128033b3d7a3bf8aa8e0095c438a88138a8 | 297 | py | Python | salty/exceptions.py | Markcial/salty | c9e5ad3e71af94cb5260f175e4d3734885efda30 | [
"MIT"
] | null | null | null | salty/exceptions.py | Markcial/salty | c9e5ad3e71af94cb5260f175e4d3734885efda30 | [
"MIT"
] | null | null | null | salty/exceptions.py | Markcial/salty | c9e5ad3e71af94cb5260f175e4d3734885efda30 | [
"MIT"
] | null | null | null |
__all__ = ['EncryptException', 'DecryptException', 'DefaultKeyNotSet', 'NoValidKeyFound']
class EncryptException(BaseException):
pass
class DecryptException(BaseException):
pass
class DefaultKeyNotSet(EncryptException):
pass
class NoValidKeyFound(DecryptException):
pass
| 14.85 | 89 | 0.76431 | 21 | 297 | 10.619048 | 0.380952 | 0.121076 | 0.197309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 297 | 19 | 90 | 15.631579 | 0.881423 | 0 | 0 | 0.444444 | 0 | 0 | 0.213559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.444444 | 0 | 0 | 0.444444 | 0 | 1 | 0 | 1 | null | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a61004468602027708717a182ff1b7708af746b8 | 1,907 | py | Python | mongox/fields.py | Collector0/mongox | 40fc6b7076c959e7bf8c001527584891fca8631c | [
"MIT"
] | 1 | 2021-11-13T15:03:04.000Z | 2021-11-13T15:03:04.000Z | mongox/fields.py | ischaojie/mongox | 29e1dc3cb5f34190f6678c727132776068a09655 | [
"MIT"
] | null | null | null | mongox/fields.py | ischaojie/mongox | 29e1dc3cb5f34190f6678c727132776068a09655 | [
"MIT"
] | null | null | null | import typing
import bson
from pydantic import Field
from pydantic.fields import ModelField as PydanticModelField
__all__ = ["Field", "ObjectId"]
class ObjectId(bson.ObjectId):
"""
Pydantic ObjectId field with validators
"""
@classmethod
def __get_validators__(cls) -> typing.Generator[bson.Obje... | 27.242857 | 79 | 0.617724 | 229 | 1,907 | 4.912664 | 0.30131 | 0.104 | 0.138667 | 0.202667 | 0.376889 | 0.376889 | 0.376889 | 0.376889 | 0.376889 | 0.376889 | 0 | 0 | 0.240692 | 1,907 | 69 | 80 | 27.637681 | 0.776934 | 0.092816 | 0 | 0.333333 | 0 | 0 | 0.03241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.088889 | 0.155556 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a618f828871a4f9f42a3e61da6a4defd594afbdb | 176 | py | Python | d2/detr/__init__.py | reubenwenisch/detr_custom | ae03ed599336f184e471eaf0048614dd788ffaf9 | [
"Apache-2.0"
] | 8,849 | 2020-05-27T00:52:55.000Z | 2022-03-31T14:21:30.000Z | d2/detr/__init__.py | reubenwenisch/detr_custom | ae03ed599336f184e471eaf0048614dd788ffaf9 | [
"Apache-2.0"
] | 453 | 2020-05-27T04:01:32.000Z | 2022-03-30T03:48:26.000Z | d2/detr/__init__.py | reubenwenisch/detr_custom | ae03ed599336f184e471eaf0048614dd788ffaf9 | [
"Apache-2.0"
] | 1,691 | 2020-05-27T02:16:40.000Z | 2022-03-31T05:44:39.000Z | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
from .config import add_detr_config
from .detr import Detr
from .dataset_mapper import DetrDatasetMapper
| 35.2 | 70 | 0.818182 | 25 | 176 | 5.64 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130682 | 176 | 4 | 71 | 44 | 0.921569 | 0.386364 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a641d2aa2cfe97b524c9e4fc4f5456576d4c7c5c | 663 | py | Python | provarme_dashboard/migrations/0006_auto_20190623_1914.py | arferreira/dropazul_app | f341da5f2bcccd2c1f40fad00c6e5d77bba4c6f3 | [
"MIT"
] | null | null | null | provarme_dashboard/migrations/0006_auto_20190623_1914.py | arferreira/dropazul_app | f341da5f2bcccd2c1f40fad00c6e5d77bba4c6f3 | [
"MIT"
] | 9 | 2020-06-05T23:49:20.000Z | 2022-01-13T01:43:03.000Z | provarme_dashboard/migrations/0006_auto_20190623_1914.py | arferreira/dropazul_app | f341da5f2bcccd2c1f40fad00c6e5d77bba4c6f3 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.5 on 2019-06-23 19:14
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('provarme_dashboard', '0005_devolution_traffic'),
]
operations = [
migrations.RemoveField(
model_name='devolution',
name='add... | 22.1 | 58 | 0.544495 | 56 | 663 | 6.321429 | 0.571429 | 0.237288 | 0.293785 | 0.338983 | 0.497175 | 0.497175 | 0 | 0 | 0 | 0 | 0 | 0.043779 | 0.3454 | 663 | 29 | 59 | 22.862069 | 0.771889 | 0.067873 | 0 | 0.521739 | 1 | 0 | 0.168831 | 0.037338 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.173913 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a65a378d0980f12b970ed55c7de79ac039724e55 | 48 | py | Python | python/testData/keywordCompletion/finallyInExcept.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/keywordCompletion/finallyInExcept.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/keywordCompletion/finallyInExcept.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | try:
a = 1
except:
a = 2
fina<caret> | 9.6 | 15 | 0.458333 | 8 | 48 | 2.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.416667 | 48 | 5 | 15 | 9.6 | 0.714286 | 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 | 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 | 0 | 0 | 4 |
a66ef729e29a7b137d77c4428bb5f454b35d79aa | 330 | py | Python | backend/src/controllers/util/time_util.py | tmdt-buw/gideon-ts | b839672fcc19f13562f6da23e6407fff0b18d3ec | [
"MIT"
] | null | null | null | backend/src/controllers/util/time_util.py | tmdt-buw/gideon-ts | b839672fcc19f13562f6da23e6407fff0b18d3ec | [
"MIT"
] | null | null | null | backend/src/controllers/util/time_util.py | tmdt-buw/gideon-ts | b839672fcc19f13562f6da23e6407fff0b18d3ec | [
"MIT"
] | null | null | null | import datetime
import datetime as dt
import pytz
def current_time():
return dt.datetime.now().strftime("%H:%M:%S")
def time_string_to_js_timestamp(time: datetime) -> int:
# js need * 1000 because of different standards
timezone = pytz.timezone("UTC")
return round(timezone.localize(time).timestamp()... | 22 | 60 | 0.715152 | 46 | 330 | 5.021739 | 0.630435 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.163636 | 330 | 14 | 61 | 23.571429 | 0.807971 | 0.136364 | 0 | 0 | 0 | 0 | 0.039007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
a68cf49a12bc62a074851902de8ab970dee1d0f4 | 376 | py | Python | tests/protocol/primary/a.py | gufolabs/gufo_loader | ffb4e17b2e8f36d938a145d50b7bd27d976f9fce | [
"BSD-3-Clause"
] | 4 | 2022-03-04T07:49:18.000Z | 2022-03-08T07:57:05.000Z | tests/protocol/primary/a.py | gufolabs/gufo_loader | ffb4e17b2e8f36d938a145d50b7bd27d976f9fce | [
"BSD-3-Clause"
] | null | null | null | tests/protocol/primary/a.py | gufolabs/gufo_loader | ffb4e17b2e8f36d938a145d50b7bd27d976f9fce | [
"BSD-3-Clause"
] | 1 | 2022-03-08T07:57:07.000Z | 2022-03-08T07:57:07.000Z | # ---------------------------------------------------------------------
# Gufo Labs Loader:
# a plugin
# ---------------------------------------------------------------------
# Copyright (C) 2022, Gufo Labs
# ---------------------------------------------------------------------
class APlugin(object):
name = "a"
... | 26.857143 | 71 | 0.260638 | 23 | 376 | 4.217391 | 0.73913 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012232 | 0.130319 | 376 | 13 | 72 | 28.923077 | 0.284404 | 0.707447 | 0 | 0 | 0 | 0 | 0.009709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
a6987b7f5d13e03773ebbfeb594e4576981e0f1d | 72 | py | Python | Python/Matts_Lessons/comments.py | Josh-Luedke/Vision-Notes | 544e9ef53dbf34e19af5144012b90bfa19012c16 | [
"MIT"
] | null | null | null | Python/Matts_Lessons/comments.py | Josh-Luedke/Vision-Notes | 544e9ef53dbf34e19af5144012b90bfa19012c16 | [
"MIT"
] | null | null | null | Python/Matts_Lessons/comments.py | Josh-Luedke/Vision-Notes | 544e9ef53dbf34e19af5144012b90bfa19012c16 | [
"MIT"
] | null | null | null | # Here is something that I am typing
# print("I am printing something") | 36 | 37 | 0.736111 | 12 | 72 | 4.416667 | 0.75 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 72 | 2 | 38 | 36 | 0.898305 | 0.944444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
a6f626e57a1d82eddc8ff7025f8974f6515c91cf | 113 | py | Python | docs/constants.py | djangothon/django-mptt-docs | 802aebdbd3181ec006f4711b0a03d3d2a00d6af9 | [
"BSD-3-Clause"
] | 1 | 2017-09-02T20:06:41.000Z | 2017-09-02T20:06:41.000Z | docs/constants.py | djangothon/django-mptt-docs | 802aebdbd3181ec006f4711b0a03d3d2a00d6af9 | [
"BSD-3-Clause"
] | null | null | null | docs/constants.py | djangothon/django-mptt-docs | 802aebdbd3181ec006f4711b0a03d3d2a00d6af9 | [
"BSD-3-Clause"
] | null | null | null | """HackerEarth docs constants"""
DOC_URL_DICT = {
# 'doc_name': 'doc_url1',
# 'doc_name': 'doc_url2',
}
| 16.142857 | 32 | 0.60177 | 14 | 113 | 4.428571 | 0.642857 | 0.225806 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.19469 | 113 | 6 | 33 | 18.833333 | 0.659341 | 0.663717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
47179f5bf12e9b03efc4a0874bcc2fffe620b647 | 347 | py | Python | context_cache/context_cache.py | tervay/the-blue-alliance | e14c15cb04b455f90a2fcfdf4c1cdbf8454e17f8 | [
"MIT"
] | 266 | 2015-01-04T00:10:48.000Z | 2022-03-28T18:42:05.000Z | context_cache/context_cache.py | gregmarra/the-blue-alliance | 5bedaf5c80b4623984760d3da3289640639112f9 | [
"MIT"
] | 2,673 | 2015-01-01T20:14:33.000Z | 2022-03-31T18:17:16.000Z | context_cache/context_cache.py | gregmarra/the-blue-alliance | 5bedaf5c80b4623984760d3da3289640639112f9 | [
"MIT"
] | 230 | 2015-01-04T00:10:48.000Z | 2022-03-26T18:12:04.000Z | from google.appengine.ext import ndb
CACHE_DATA = {}
def get(cache_key):
full_cache_key = '{}:{}'.format(cache_key, ndb.get_context().__hash__())
return CACHE_DATA.get(full_cache_key, None)
def set(cache_key, value):
full_cache_key = '{}:{}'.format(cache_key, ndb.get_context().__hash__())
CACHE_DA... | 23.133333 | 76 | 0.70317 | 51 | 347 | 4.294118 | 0.372549 | 0.292237 | 0.219178 | 0.164384 | 0.392694 | 0.392694 | 0.392694 | 0.392694 | 0.392694 | 0.392694 | 0 | 0 | 0.138329 | 347 | 14 | 77 | 24.785714 | 0.732441 | 0 | 0 | 0.25 | 0 | 0 | 0.028818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 4 |
5b375610f2df94425cc6ff0fc566d0f540dd1a07 | 93 | py | Python | app/crawlzero/apps.py | rputh055/crawlzerotest | 6dfd919b2d59b5d3eec7ea9b2f5ff149428ae83f | [
"MIT"
] | null | null | null | app/crawlzero/apps.py | rputh055/crawlzerotest | 6dfd919b2d59b5d3eec7ea9b2f5ff149428ae83f | [
"MIT"
] | null | null | null | app/crawlzero/apps.py | rputh055/crawlzerotest | 6dfd919b2d59b5d3eec7ea9b2f5ff149428ae83f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class crawlzeroConfig(AppConfig):
name = 'crawlzero'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5b41dca0dc7f5a816592454fec9d09eb00293d8b | 199 | py | Python | users/urls.py | a-vek/news-aggregator | d1aafbf7f2eed365ba734912e494af5c92728379 | [
"MIT"
] | null | null | null | users/urls.py | a-vek/news-aggregator | d1aafbf7f2eed365ba734912e494af5c92728379 | [
"MIT"
] | null | null | null | users/urls.py | a-vek/news-aggregator | d1aafbf7f2eed365ba734912e494af5c92728379 | [
"MIT"
] | null | null | null | from django.urls import path
from news.views import scrape, news_list
from . import views
urlpatterns = [
# path('', views.index, name="home"),
# path('newslist', news_list, name="home"),
]
| 22.111111 | 47 | 0.678392 | 27 | 199 | 4.925926 | 0.518519 | 0.120301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170854 | 199 | 8 | 48 | 24.875 | 0.806061 | 0.386935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5bb15a5ffb620445f0397de1c06daebdacb8541a | 908 | py | Python | main/api/fields.py | lipis/gae-init-magic | 6b1e0b50f8e5200cb2dacebca9ac65e796b241a9 | [
"MIT"
] | 465 | 2015-01-01T17:49:09.000Z | 2021-12-06T15:00:40.000Z | main/api/fields.py | lipis/gae-init-magic | 6b1e0b50f8e5200cb2dacebca9ac65e796b241a9 | [
"MIT"
] | 652 | 2018-10-26T12:28:08.000Z | 2021-08-02T09:13:48.000Z | main/api/fields.py | lipis/gae-init-magic | 6b1e0b50f8e5200cb2dacebca9ac65e796b241a9 | [
"MIT"
] | 171 | 2015-01-01T16:48:09.000Z | 2022-03-15T21:48:52.000Z | # coding: utf-8
import urllib
from flask_restful import fields
from flask_restful.fields import *
class BlobKey(fields.Raw):
def format(self, value):
return urllib.quote(str(value))
class Blob(fields.Raw):
def format(self, value):
return repr(value)
class DateTime(fields.DateTime):
def format(self... | 18.916667 | 61 | 0.67511 | 123 | 908 | 4.96748 | 0.341463 | 0.08838 | 0.12766 | 0.176759 | 0.271686 | 0.271686 | 0.216039 | 0 | 0 | 0 | 0 | 0.045267 | 0.197137 | 908 | 47 | 62 | 19.319149 | 0.792867 | 0.014317 | 0 | 0.2 | 0 | 0 | 0.011198 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0 | 0.1 | 0.166667 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5bc10292408a422083d964a15112bb688f34a1cb | 3,592 | py | Python | scripts/molecules.py | abelcarreras/PyQchem | 2edf984ba17373ad3fd450b18592c8b7827b72e5 | [
"MIT"
] | 16 | 2020-03-06T00:15:16.000Z | 2022-02-21T12:54:46.000Z | scripts/molecules.py | abelcarreras/qchem_scripts | 992fc3d650f3b7651c63aba5759ba0f986eccffe | [
"MIT"
] | 3 | 2020-12-24T12:44:14.000Z | 2021-03-30T03:11:16.000Z | scripts/molecules.py | abelcarreras/qchem_scripts | 992fc3d650f3b7651c63aba5759ba0f986eccffe | [
"MIT"
] | 3 | 2020-06-05T20:55:41.000Z | 2021-03-23T18:17:15.000Z | from pyqchem.structure import Structure
import numpy as np
# Ethene parallel position
def dimer_ethene(distance, slide_y, slide_z):
coordinates = [[0.0000000, 0.0000000, 0.6660120],
[0.0000000, 0.0000000, -0.6660120],
[0.0000000, 0.9228100, 1.2279200],
... | 36.653061 | 74 | 0.52422 | 391 | 3,592 | 4.759591 | 0.143223 | 0.077378 | 0.062869 | 0.06878 | 0.758195 | 0.725954 | 0.687802 | 0.66201 | 0.66201 | 0.639441 | 0 | 0.342148 | 0.315702 | 3,592 | 98 | 75 | 36.653061 | 0.414972 | 0.034243 | 0 | 0.382353 | 0 | 0 | 0.025974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044118 | false | 0 | 0.029412 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5bcb99c6eaf056e3bdbaec31592016bcd7721ad5 | 118 | py | Python | python/rna-transcription/rna_transcription.py | guillaume-martin/exercism | 7008c31668bb8cc1d386421c665341568339c380 | [
"MIT"
] | null | null | null | python/rna-transcription/rna_transcription.py | guillaume-martin/exercism | 7008c31668bb8cc1d386421c665341568339c380 | [
"MIT"
] | null | null | null | python/rna-transcription/rna_transcription.py | guillaume-martin/exercism | 7008c31668bb8cc1d386421c665341568339c380 | [
"MIT"
] | null | null | null | def to_rna(dna_strand):
pairs = {'G':'C','C':'G','T':'A','A':'U'}
return ''.join(pairs[n] for n in dna_strand) | 39.333333 | 48 | 0.542373 | 23 | 118 | 2.652174 | 0.695652 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 118 | 3 | 48 | 39.333333 | 0.61 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5bd366b30abb8fedacf7c21ecc291b16250a6276 | 9,194 | py | Python | shc/utils.py | TransparentHealth/healthcards_python_sample_scripts | 85ffa973c21912399a6abc8b14faf99b5ee86f4d | [
"Apache-2.0"
] | 1 | 2022-03-08T22:29:23.000Z | 2022-03-08T22:29:23.000Z | shc/utils.py | TransparentHealth/healthcards_python_sample_scripts | 85ffa973c21912399a6abc8b14faf99b5ee86f4d | [
"Apache-2.0"
] | null | null | null | shc/utils.py | TransparentHealth/healthcards_python_sample_scripts | 85ffa973c21912399a6abc8b14faf99b5ee86f4d | [
"Apache-2.0"
] | 1 | 2021-10-20T13:28:08.000Z | 2021-10-20T13:28:08.000Z | #!/usr/bin/env python
import zlib
import requests
from jose import jwk as jose_jwk, jws
import json
import qrcode
sample_payload = "eyJ6aXAiOiJERUYiLCJhbGciOiJFUzI1NiIsImtpZCI6IjNLZmRnLVh3UC03Z1h5eXd0VWZVQUR3QnVtRE9QS01ReC1pRUxMMTFXOXMifQ.3VRNT9swGP4rkbmmTZxQSnIaZZPWCRBSy3aYOLiOSbw5duSPlq7qf99rp4FOg952WW62Xz_v8-E3O8SN... | 52.83908 | 2,103 | 0.758647 | 851 | 9,194 | 8.029377 | 0.297297 | 0.007025 | 0.008196 | 0.014049 | 0.215132 | 0.180594 | 0.180594 | 0.171521 | 0.171521 | 0.164789 | 0 | 0.302727 | 0.174353 | 9,194 | 173 | 2,104 | 53.144509 | 0.597418 | 0.229824 | 0 | 0.215909 | 0 | 0 | 0.479164 | 0.445029 | 0 | 1 | 0 | 0.00578 | 0 | 1 | 0.159091 | false | 0 | 0.056818 | 0.011364 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5be7e3e5fb635d52ffc510b5892ea90ed38f68fa | 151 | py | Python | configs/example/spectre_benchmark.py | Yujie-Cui/cleanupspec | 5bdfc551e27e673b170c15b3328559736f3d7848 | [
"BSD-3-Clause"
] | 9 | 2019-12-23T06:06:22.000Z | 2021-05-03T21:33:43.000Z | configs/example/spectre_benchmark.py | limengming/cleanupspec | 5426a0e2e3ce5c00edcb9734617dacf26ab18ef5 | [
"BSD-3-Clause"
] | 1 | 2020-11-12T06:23:36.000Z | 2020-11-12T06:23:36.000Z | configs/example/spectre_benchmark.py | limengming/cleanupspec | 5426a0e2e3ce5c00edcb9734617dacf26ab18ef5 | [
"BSD-3-Clause"
] | 9 | 2020-08-20T10:08:13.000Z | 2022-03-20T13:00:38.000Z | import m5
from m5.objects import *
#Spectre
spectre = Process() # Added by Gururaj
spectre.executable = 'spectre'
spectre.cmd = [spectre.executable]
| 16.777778 | 38 | 0.748344 | 19 | 151 | 5.947368 | 0.578947 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0.145695 | 151 | 8 | 39 | 18.875 | 0.860465 | 0.15894 | 0 | 0 | 0 | 0 | 0.056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f33d3bd029f3e85a817ccb3908d36449089ade03 | 691 | py | Python | pyning/tail_recursion/fibonacci_test.py | rkoyanagui/pyning | 3e8905e240d2554f217f168c48c9edeba8658dec | [
"Apache-2.0"
] | null | null | null | pyning/tail_recursion/fibonacci_test.py | rkoyanagui/pyning | 3e8905e240d2554f217f168c48c9edeba8658dec | [
"Apache-2.0"
] | null | null | null | pyning/tail_recursion/fibonacci_test.py | rkoyanagui/pyning | 3e8905e240d2554f217f168c48c9edeba8658dec | [
"Apache-2.0"
] | null | null | null | import unittest
from pyning.tail_recursion.fibonacci import naive_fib
from pyning.utils.testutils import BaseTest
class FibonacciTailRecursionTest(BaseTest):
def test_zero(self):
self.check(f=naive_fib, xr=0, n=0)
def test_one(self):
self.check(f=naive_fib, xr=1, n=1)
def test_two(self... | 20.939394 | 53 | 0.646889 | 115 | 691 | 3.678261 | 0.33913 | 0.1513 | 0.21513 | 0.231678 | 0.406619 | 0.406619 | 0.406619 | 0.122931 | 0.122931 | 0 | 0 | 0.025974 | 0.219971 | 691 | 32 | 54 | 21.59375 | 0.758813 | 0 | 0 | 0 | 0 | 0 | 0.011577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0 | 0.15 | 0 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f3588062eb6aef89f6985ff4837093034c99ff99 | 156 | py | Python | GwasJP/utils/__init__.py | 2waybene/GwasJP | ddd54b276655baa79556b5f10d7959099a2e3a0b | [
"BSD-3-Clause"
] | null | null | null | GwasJP/utils/__init__.py | 2waybene/GwasJP | ddd54b276655baa79556b5f10d7959099a2e3a0b | [
"BSD-3-Clause"
] | null | null | null | GwasJP/utils/__init__.py | 2waybene/GwasJP | ddd54b276655baa79556b5f10d7959099a2e3a0b | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""This is utility folder that contains useful functions"""
from . import statFittings
# from .model_eval_cv_genotyped import *
| 17.333333 | 59 | 0.711538 | 20 | 156 | 5.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.166667 | 156 | 8 | 60 | 19.5 | 0.823077 | 0.737179 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f35db14649e34fcd913939f8f437aec72367b212 | 344 | py | Python | Python/kata/bankocr.py | caichinger/BankOCR-Outside-in-Kata | 0296cc64d2559464300d2eb996bae41a5e13e26b | [
"BSD-3-Clause"
] | 2 | 2021-04-26T19:21:48.000Z | 2021-06-05T15:48:08.000Z | Python/kata/bankocr.py | caichinger/BankOCR-Outside-in-Kata | 0296cc64d2559464300d2eb996bae41a5e13e26b | [
"BSD-3-Clause"
] | 1 | 2021-01-21T19:50:21.000Z | 2021-01-21T21:01:07.000Z | Python/kata/bankocr.py | caichinger/BankOCR-Outside-in-Kata | 0296cc64d2559464300d2eb996bae41a5e13e26b | [
"BSD-3-Clause"
] | 3 | 2020-09-19T07:42:26.000Z | 2021-01-20T18:08:28.000Z | # coding=utf-8
from kata.accountnumber import AccountNumber
class BankOcr(object):
"""Example for the outside interface of the API we need to create."""
def __init__(self):
pass
def parse(self, raw_lines):
# TODO return an array of AccountNumber
raise NotImplementedEr... | 24.571429 | 74 | 0.665698 | 42 | 344 | 5.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003922 | 0.258721 | 344 | 13 | 75 | 26.461538 | 0.87451 | 0.334302 | 0 | 0 | 0 | 0 | 0.07177 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
f3653c62ef4fa176cfb63a279e20fab0dda730c3 | 188 | py | Python | tests/spec/cms/blogs/test_blogs.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 117 | 2020-04-06T08:22:53.000Z | 2022-03-18T03:41:29.000Z | tests/spec/cms/blogs/test_blogs.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 62 | 2020-04-06T16:21:06.000Z | 2022-03-17T16:50:44.000Z | tests/spec/cms/blogs/test_blogs.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 45 | 2020-04-06T16:13:52.000Z | 2022-03-30T21:33:17.000Z | from hubspot import HubSpot
from hubspot.discovery.cms.blogs.discovery import Discovery
def test_is_discoverable():
apis = HubSpot().cms
assert isinstance(apis.blogs, Discovery)
| 23.5 | 59 | 0.781915 | 24 | 188 | 6.041667 | 0.541667 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 188 | 7 | 60 | 26.857143 | 0.895062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f377fe060e7eef928a73ab32445d3e0a5afd5056 | 4,096 | py | Python | testproject/testapp/tests/test_password_reset.py | d1opensource/djoser | ebdd2f25f84df22891372afb53cc6b956917d1ba | [
"MIT"
] | null | null | null | testproject/testapp/tests/test_password_reset.py | d1opensource/djoser | ebdd2f25f84df22891372afb53cc6b956917d1ba | [
"MIT"
] | null | null | null | testproject/testapp/tests/test_password_reset.py | d1opensource/djoser | ebdd2f25f84df22891372afb53cc6b956917d1ba | [
"MIT"
] | null | null | null | from django.conf import settings
from django.contrib.sites.shortcuts import get_current_site
from django.core import mail
from django.test.utils import override_settings
from djet import assertions, restframework
from rest_framework import status
import djoser.views
from djoser.compat import get_user_email
from djoser... | 36.247788 | 91 | 0.7146 | 529 | 4,096 | 5.21172 | 0.187146 | 0.071817 | 0.027929 | 0.055858 | 0.727602 | 0.712369 | 0.712369 | 0.669206 | 0.669206 | 0.607544 | 0 | 0.008406 | 0.186768 | 4,096 | 112 | 92 | 36.571429 | 0.819273 | 0 | 0 | 0.522727 | 0 | 0 | 0.077148 | 0.02832 | 0 | 0 | 0 | 0 | 0.238636 | 1 | 0.079545 | false | 0.068182 | 0.125 | 0 | 0.227273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f38cd9bf72cf20ce46ec9a0d171610abb4fc724e | 544 | py | Python | main.py | traduttore/traduttore-model | c7c2f3eba11226a32bad547c4f89186afab676da | [
"MIT"
] | null | null | null | main.py | traduttore/traduttore-model | c7c2f3eba11226a32bad547c4f89186afab676da | [
"MIT"
] | null | null | null | main.py | traduttore/traduttore-model | c7c2f3eba11226a32bad547c4f89186afab676da | [
"MIT"
] | null | null | null | from run_translation.TestModelComputer import asl_translation
from run_translation.TextToSpeech import tts
from run_translation.RunPiModelStream import rasp_translation
# from run_translation.RunPiModelTesting import rasp_translation
from run_translation.TestModelComputerLetters import asl_translation_letters
# from ru... | 41.846154 | 76 | 0.816176 | 61 | 544 | 6.885246 | 0.377049 | 0.1 | 0.257143 | 0.207143 | 0.185714 | 0.185714 | 0 | 0 | 0 | 0 | 0 | 0.002088 | 0.119485 | 544 | 13 | 77 | 41.846154 | 0.874739 | 0.369485 | 0 | 0 | 0 | 0 | 0.023739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f38fbb026f37e5802966766250eb1e180269abf5 | 446 | py | Python | terrascript/data/logicmonitor.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/data/logicmonitor.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/data/logicmonitor.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/data/logicmonitor.py
import terrascript
class logicmonitor_collectors(terrascript.Data):
pass
class logicmonitor_dashboard(terrascript.Data):
pass
class logicmonitor_dashboard_group(terrascript.Data):
pass
class logicmonitor_device_group(terrascript.Data):
pass
__all__ = [
"l... | 16.518519 | 53 | 0.773543 | 43 | 446 | 7.651163 | 0.27907 | 0.227964 | 0.231003 | 0.218845 | 0.382979 | 0.273556 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147982 | 446 | 26 | 54 | 17.153846 | 0.865789 | 0.071749 | 0 | 0.266667 | 0 | 0 | 0.237864 | 0.237864 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.266667 | 0.066667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f3bfdc81eb1e2339210b6f5811b1e4a0893f03f6 | 218 | py | Python | flask_resultful_plugin/error.py | PushyZqin/flask-restful-plugin | 7a142de96500910f5f7648d5edf8986afaa72b70 | [
"MIT"
] | 2 | 2018-11-28T13:49:18.000Z | 2018-11-29T11:13:40.000Z | flask_resultful_plugin/error.py | PushyZqin/flask-restful-plugin | 7a142de96500910f5f7648d5edf8986afaa72b70 | [
"MIT"
] | null | null | null | flask_resultful_plugin/error.py | PushyZqin/flask-restful-plugin | 7a142de96500910f5f7648d5edf8986afaa72b70 | [
"MIT"
] | null | null | null | # encoding:utf-8
# 401 错误
class UnauthorizedError(Exception):
pass
# 400 错误
class BadRequestError(Exception):
pass
class MediaTypeError(Exception):
pass
# 父异常
class RestfulException(Exception):
pass | 13.625 | 35 | 0.729358 | 24 | 218 | 6.625 | 0.583333 | 0.327044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039548 | 0.188073 | 218 | 16 | 36 | 13.625 | 0.858757 | 0.146789 | 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 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
45ff2ecb9b4c51dd290f8df481731ee3dacbf736 | 67 | py | Python | localized_fields/__init__.py | GabLeRoux/django-localized-fields | f0ac0f7f2503317fde5d75ba8481e34db83512bd | [
"MIT"
] | null | null | null | localized_fields/__init__.py | GabLeRoux/django-localized-fields | f0ac0f7f2503317fde5d75ba8481e34db83512bd | [
"MIT"
] | null | null | null | localized_fields/__init__.py | GabLeRoux/django-localized-fields | f0ac0f7f2503317fde5d75ba8481e34db83512bd | [
"MIT"
] | null | null | null | default_app_config = 'localized_fields.apps.LocalizedFieldsConfig'
| 33.5 | 66 | 0.880597 | 7 | 67 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 67 | 1 | 67 | 67 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.641791 | 0.641791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3401e7d0ecf41d08ab5511f500baa59628ea1b4d | 336 | py | Python | 2409.py | ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python | 9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da | [
"MIT"
] | 1 | 2022-01-14T08:45:32.000Z | 2022-01-14T08:45:32.000Z | 2409.py | ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python | 9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da | [
"MIT"
] | null | null | null | 2409.py | ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python | 9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da | [
"MIT"
] | null | null | null | a, b, c = map(int, input().split())
h, l = map(int, input().split())
if a <= h and b <= l:
print("S")
elif a <= h and c <= l:
print("S")
elif b <= h and a <= l:
print("S")
elif b <= h and c <= l:
print("S")
elif c <= h and a <= l:
print("S")
elif c <= h and b <= l:
print("S")
else:... | 21 | 36 | 0.4375 | 64 | 336 | 2.296875 | 0.25 | 0.163265 | 0.285714 | 0.37415 | 0.62585 | 0.62585 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0.324405 | 336 | 16 | 37 | 21 | 0.647577 | 0 | 0 | 0.375 | 0 | 0 | 0.021739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4375 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
3405aae6a2b0713fec880df0831625e4b08bb01c | 8,578 | py | Python | naoqi-sdk-2.5.5.5-linux64/lib/python2.7/site-packages/ialbehavior.py | applejenny66/docker_pepper | 2469cc4db6585161a31ac44c8fcf2605d71318b1 | [
"MIT"
] | null | null | null | naoqi-sdk-2.5.5.5-linux64/lib/python2.7/site-packages/ialbehavior.py | applejenny66/docker_pepper | 2469cc4db6585161a31ac44c8fcf2605d71318b1 | [
"MIT"
] | null | null | null | naoqi-sdk-2.5.5.5-linux64/lib/python2.7/site-packages/ialbehavior.py | applejenny66/docker_pepper | 2469cc4db6585161a31ac44c8fcf2605d71318b1 | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.11
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path impo... | 49.017143 | 107 | 0.742597 | 996 | 8,578 | 5.963855 | 0.176707 | 0.079461 | 0.130471 | 0.117845 | 0.352525 | 0.174074 | 0.152862 | 0.142761 | 0.116498 | 0.108081 | 0 | 0.002078 | 0.158429 | 8,578 | 174 | 108 | 49.298851 | 0.820751 | 0.03439 | 0 | 0.184211 | 1 | 0 | 0.022483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.414474 | false | 0.013158 | 0.065789 | 0.368421 | 0.677632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
34210500bd30a4f38c9990538692f030d9f6352e | 57 | py | Python | card_detection_module/nanodet/__init__.py | nhatnxn/ID_Passport-OCR | 78322ec2b9648d0b027326dced7c4aec967bcab3 | [
"MIT"
] | 1 | 2021-06-30T11:01:25.000Z | 2021-06-30T11:01:25.000Z | card_detection_module/nanodet/__init__.py | nhatnxn/ID_Passport-OCR | 78322ec2b9648d0b027326dced7c4aec967bcab3 | [
"MIT"
] | null | null | null | card_detection_module/nanodet/__init__.py | nhatnxn/ID_Passport-OCR | 78322ec2b9648d0b027326dced7c4aec967bcab3 | [
"MIT"
] | null | null | null | from .dectect import detect_card
__all__ = [detect_card] | 19 | 32 | 0.807018 | 8 | 57 | 5 | 0.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 3 | 33 | 19 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3444a8319c7228a4e4f05ad69676ae8d14fa03cb | 271 | py | Python | galleries/admin.py | Ingabineza12/gallery-app | 5c28558203d68dd582b77df408cf6f21ccc01100 | [
"Unlicense"
] | 1 | 2021-08-02T01:29:38.000Z | 2021-08-02T01:29:38.000Z | galleries/admin.py | Ingabineza12/gallery-app | 5c28558203d68dd582b77df408cf6f21ccc01100 | [
"Unlicense"
] | null | null | null | galleries/admin.py | Ingabineza12/gallery-app | 5c28558203d68dd582b77df408cf6f21ccc01100 | [
"Unlicense"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Photographer,Location,Image,Category
# Register your models here.
admin.site.register(Photographer)
admin.site.register(Location)
admin.site.register(Image)
admin.site.register(Category)
| 24.636364 | 56 | 0.819188 | 36 | 271 | 6.166667 | 0.388889 | 0.162162 | 0.306306 | 0.198198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088561 | 271 | 10 | 57 | 27.1 | 0.898785 | 0.195572 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
344fe3a1bf94dc0bbf294fb4e913b4735993b476 | 1,318 | py | Python | autorest/multiapi/models/config.py | qwordy/autorest.python | 6b12df51c2a39a1285546b5a771b69f5896e794f | [
"MIT"
] | null | null | null | autorest/multiapi/models/config.py | qwordy/autorest.python | 6b12df51c2a39a1285546b5a771b69f5896e794f | [
"MIT"
] | null | null | null | autorest/multiapi/models/config.py | qwordy/autorest.python | 6b12df51c2a39a1285546b5a771b69f5896e794f | [
"MIT"
] | null | null | null | # -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
import jso... | 54.916667 | 114 | 0.679059 | 142 | 1,318 | 5.908451 | 0.380282 | 0.150179 | 0.235995 | 0.200238 | 0.376639 | 0.199046 | 0.199046 | 0.131108 | 0 | 0 | 0 | 0 | 0.132777 | 1,318 | 23 | 115 | 57.304348 | 0.734033 | 0.226859 | 0 | 0 | 0 | 0 | 0.189536 | 0.102665 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
346219eff16b54d9f3ede1460d4a16bec732ce9e | 170 | py | Python | TestMain/cool.py | ppcrong/TestMain | 38fa0d64439a7d02d2806be3b09043a4294912de | [
"Apache-2.0"
] | null | null | null | TestMain/cool.py | ppcrong/TestMain | 38fa0d64439a7d02d2806be3b09043a4294912de | [
"Apache-2.0"
] | null | null | null | TestMain/cool.py | ppcrong/TestMain | 38fa0d64439a7d02d2806be3b09043a4294912de | [
"Apache-2.0"
] | null | null | null | # cool.py
def cool_func():
print('cool_func(): Super Cool!')
print('__name__:', __name__)
if __name__ == '__main__':
print('Call it locally')
cool_func()
| 14.166667 | 37 | 0.629412 | 22 | 170 | 4 | 0.545455 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194118 | 170 | 11 | 38 | 15.454545 | 0.642336 | 0.041176 | 0 | 0 | 0 | 0 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0 | 0 | 0.166667 | 0.5 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
3463bda8bf81306d7b5d5fb016561e09a511a66d | 95 | py | Python | superlists/apps.py | cidyoon/django-blog | 9bbe90de935e694a5aafb19df1f4c0c87584418c | [
"MIT"
] | null | null | null | superlists/apps.py | cidyoon/django-blog | 9bbe90de935e694a5aafb19df1f4c0c87584418c | [
"MIT"
] | null | null | null | superlists/apps.py | cidyoon/django-blog | 9bbe90de935e694a5aafb19df1f4c0c87584418c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SuperlistsConfig(AppConfig):
name = 'superlists'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
346d8c6aecb6d5c799c07698354cb687ab52ff19 | 216 | py | Python | function/python/brightics/function/statistics/__init__.py | janrenz/studio | a0714ed8dcd9dcd8d024162104d3b4de89ac2b49 | [
"Apache-2.0"
] | null | null | null | function/python/brightics/function/statistics/__init__.py | janrenz/studio | a0714ed8dcd9dcd8d024162104d3b4de89ac2b49 | [
"Apache-2.0"
] | null | null | null | function/python/brightics/function/statistics/__init__.py | janrenz/studio | a0714ed8dcd9dcd8d024162104d3b4de89ac2b49 | [
"Apache-2.0"
] | null | null | null | from .profile_table import profile_table
from .correlation import correlation
from .pairplot import pairplot
from .anova import bartletts_test
from .anova import oneway_anova
from .anova import tukeys_range_test | 36 | 41 | 0.842593 | 30 | 216 | 5.866667 | 0.4 | 0.153409 | 0.255682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 216 | 6 | 42 | 36 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 4 |
caa3dd046c62cf7f7f653e5201f7bf879ec9032d | 164 | py | Python | model_wrappers/errors.py | SelfHacked/django-model-wrappers | 2aa0bb773d61c6b5c794126b1dc4f06d622ff079 | [
"MIT"
] | null | null | null | model_wrappers/errors.py | SelfHacked/django-model-wrappers | 2aa0bb773d61c6b5c794126b1dc4f06d622ff079 | [
"MIT"
] | null | null | null | model_wrappers/errors.py | SelfHacked/django-model-wrappers | 2aa0bb773d61c6b5c794126b1dc4f06d622ff079 | [
"MIT"
] | 1 | 2021-06-03T12:04:22.000Z | 2021-06-03T12:04:22.000Z | class FieldDoesNotExist(Exception):
def __init__(self, **kwargs):
super().__init__(f"{self.__class__.__name__}: {kwargs}")
self.kwargs = kwargs
| 32.8 | 64 | 0.664634 | 17 | 164 | 5.470588 | 0.588235 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182927 | 164 | 4 | 65 | 41 | 0.69403 | 0 | 0 | 0 | 0 | 0 | 0.213415 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cabbf72f74049f95a62204023ec60f67c663a913 | 1,130 | py | Python | exercises/exercise7.py | AsBeeb/DistributedExercisesAAU | b84343d5d5b86ccb4750d47a8594a428ecbd83ce | [
"MIT"
] | 4 | 2021-09-16T12:52:04.000Z | 2022-01-09T15:44:49.000Z | exercises/exercise7.py | AsBeeb/DistributedExercisesAAU | b84343d5d5b86ccb4750d47a8594a428ecbd83ce | [
"MIT"
] | null | null | null | exercises/exercise7.py | AsBeeb/DistributedExercisesAAU | b84343d5d5b86ccb4750d47a8594a428ecbd83ce | [
"MIT"
] | 21 | 2021-09-06T09:39:18.000Z | 2022-03-08T12:18:23.000Z | import math
import random
import threading
import time
from emulators.Medium import Medium
from emulators.Device import Device
from emulators.MessageStub import MessageStub
class Vote(MessageStub):
def __init__(self, sender: int, destination: int, vote: int, decided: bool):
super().__init__(sender, dest... | 24.565217 | 109 | 0.652212 | 140 | 1,130 | 4.992857 | 0.35 | 0.057225 | 0.060086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232743 | 1,130 | 46 | 110 | 24.565217 | 0.806228 | 0.007965 | 0 | 0 | 0 | 0.033333 | 0.122412 | 0 | 0 | 0 | 0 | 0.021739 | 0 | 1 | 0.3 | false | 0 | 0.233333 | 0.133333 | 0.733333 | 0.066667 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
cac1340a7afa2d15888e2ebc2d6dd2802d2bd8de | 85 | py | Python | basics_data_structure/queue.py | corenel/algorithm-exercises | f3f31f709e289e590c98247c019d36fc9cc44faf | [
"MIT"
] | null | null | null | basics_data_structure/queue.py | corenel/algorithm-exercises | f3f31f709e289e590c98247c019d36fc9cc44faf | [
"MIT"
] | null | null | null | basics_data_structure/queue.py | corenel/algorithm-exercises | f3f31f709e289e590c98247c019d36fc9cc44faf | [
"MIT"
] | null | null | null | """
Queue
https://algorithm.yuanbin.me/zh-hans/basics_data_structure/queue.html
"""
| 14.166667 | 69 | 0.752941 | 12 | 85 | 5.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 85 | 5 | 70 | 17 | 0.775 | 0.894118 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
cae8b2ce05a3582cc0f1a01c67f2c8e7637a486b | 99 | py | Python | staff/__init__.py | alvienzo720/Dep_Nadine | b23688aa87ba3cfe138f9b243eed3f50a74e1486 | [
"Apache-2.0"
] | 1 | 2019-08-15T00:10:38.000Z | 2019-08-15T00:10:38.000Z | staff/__init__.py | alvienzo720/Dep_Nadine | b23688aa87ba3cfe138f9b243eed3f50a74e1486 | [
"Apache-2.0"
] | 4 | 2021-03-19T16:10:13.000Z | 2022-03-12T00:55:50.000Z | staff/__init__.py | alvienzo720/Dep_Nadine | b23688aa87ba3cfe138f9b243eed3f50a74e1486 | [
"Apache-2.0"
] | 1 | 2020-02-24T08:23:45.000Z | 2020-02-24T08:23:45.000Z | """The Django app which provides member tracking and billing calculation for a coworking space."""
| 49.5 | 98 | 0.787879 | 14 | 99 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 99 | 1 | 99 | 99 | 0.917647 | 0.929293 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
caf860b3185ef94fc3db805ba75414ec7fad05a1 | 174 | py | Python | example/app/views.py | aolkin/django-bootstrap-form | 5fff56f715bd9f2f29793f6a5a87baa1be25e409 | [
"BSD-3-Clause"
] | 324 | 2015-01-12T19:30:51.000Z | 2022-02-11T07:13:19.000Z | example/app/views.py | caumons/django-bootstrap-form | 62af3e076612a5d3b67ebc020c05a8db20e3fe62 | [
"BSD-3-Clause"
] | 37 | 2015-03-04T23:43:45.000Z | 2021-10-18T16:08:52.000Z | example/app/views.py | caumons/django-bootstrap-form | 62af3e076612a5d3b67ebc020c05a8db20e3fe62 | [
"BSD-3-Clause"
] | 132 | 2015-01-01T18:13:06.000Z | 2022-01-10T07:06:19.000Z | from django.shortcuts import render
from app.forms import ExampleForm
def index(request):
form = ExampleForm()
return render(request, 'index.html', {'form': form})
| 21.75 | 56 | 0.724138 | 22 | 174 | 5.727273 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 174 | 7 | 57 | 24.857143 | 0.863014 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1b316ea404a1e338f174eb77075582820fee88dd | 21 | py | Python | vnpy/trader/dbHistory/historyDataFile/__init__.py | chenzj810/vnpy-stock | ca30eb309e38f9f916e9877538b98096303e0b60 | [
"MIT"
] | 2 | 2021-01-03T05:28:14.000Z | 2021-01-03T05:28:19.000Z | vnpy/trader/dbHistory/historyDataFile/__init__.py | chenzj810/vnpy | ca30eb309e38f9f916e9877538b98096303e0b60 | [
"MIT"
] | null | null | null | vnpy/trader/dbHistory/historyDataFile/__init__.py | chenzj810/vnpy | ca30eb309e38f9f916e9877538b98096303e0b60 | [
"MIT"
] | 1 | 2021-04-26T14:08:23.000Z | 2021-04-26T14:08:23.000Z | # encoding: UTF-8
| 7 | 18 | 0.571429 | 3 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.285714 | 21 | 2 | 19 | 10.5 | 0.733333 | 0.714286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1b3eb815d7dc1334894f133246fe3bca46ed81e2 | 216,073 | py | Python | fixtures/webui_test.py | rombie/contrail-test | a68c71d6f282142501a7e2e889bbb232fdd82dc3 | [
"Apache-2.0"
] | null | null | null | fixtures/webui_test.py | rombie/contrail-test | a68c71d6f282142501a7e2e889bbb232fdd82dc3 | [
"Apache-2.0"
] | null | null | null | fixtures/webui_test.py | rombie/contrail-test | a68c71d6f282142501a7e2e889bbb232fdd82dc3 | [
"Apache-2.0"
] | null | null | null | from netaddr import IPNetwork
from selenium import webdriver
from pyvirtualdisplay import Display
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import WebDriverWait
from selenium.common.exceptions import WebDriverException
import time
import random
import fixtures
from ipam_test imp... | 60.406206 | 542 | 0.542983 | 24,095 | 216,073 | 4.519485 | 0.029674 | 0.037981 | 0.051654 | 0.0281 | 0.815036 | 0.774411 | 0.720231 | 0.668246 | 0.627024 | 0.578372 | 0 | 0.005311 | 0.356019 | 216,073 | 3,576 | 543 | 60.423098 | 0.777293 | 0.019614 | 0 | 0.539857 | 0 | 0.001487 | 0.156228 | 0.024829 | 0.000892 | 0 | 0 | 0 | 0.000892 | 0 | null | null | 0.000892 | 0.006544 | null | null | 0.000297 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1b5b58c46eceee94ff2083f63bbd9128f0ea25c7 | 555 | py | Python | ivy/functional/backends/jax/statistical.py | odehDanOps/ivy | 996cabd0901ed331d5e8761e2cdee429d0ca8d43 | [
"Apache-2.0"
] | null | null | null | ivy/functional/backends/jax/statistical.py | odehDanOps/ivy | 996cabd0901ed331d5e8761e2cdee429d0ca8d43 | [
"Apache-2.0"
] | null | null | null | ivy/functional/backends/jax/statistical.py | odehDanOps/ivy | 996cabd0901ed331d5e8761e2cdee429d0ca8d43 | [
"Apache-2.0"
] | null | null | null | # global
import jax.numpy as jnp
from typing import Tuple, Union
# Array API Standard #
# -------------------#
def min(x: jnp.ndarray,
axis: Union[int, Tuple[int]] = None,
keepdims = False, device = None) \
-> jnp.ndarray:
return jnp.min(a = jnp.asarray(x), axis = axis, keepdims = keepdim... | 23.125 | 72 | 0.569369 | 71 | 555 | 4.450704 | 0.394366 | 0.126582 | 0.06962 | 0.094937 | 0.71519 | 0.71519 | 0.71519 | 0.71519 | 0.487342 | 0.487342 | 0 | 0 | 0.25045 | 555 | 23 | 73 | 24.130435 | 0.759615 | 0.108108 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
1ba6078890512ae4e2a9c49facfe629996e04ba9 | 1,405 | py | Python | Server/Protocol/Messages/Server/LoginOkMessage.py | Voeed/Brawl-stars-v11 | b60743c306ab471053d81aa59f812b19a2c7f8f3 | [
"MIT"
] | 3 | 2021-04-14T18:33:53.000Z | 2021-09-26T13:53:54.000Z | Server/Protocol/Messages/Server/LoginOkMessage.py | ImColette-dev/Brawl-stars-v11-server | b3232b574c5b2fcc29803e5c8c9e9650d0d59d73 | [
"MIT"
] | 1 | 2021-09-09T12:23:34.000Z | 2021-09-09T12:23:34.000Z | Server/Protocol/Messages/Server/LoginOkMessage.py | ImColette-dev/Brawl-stars-v11-server | b3232b574c5b2fcc29803e5c8c9e9650d0d59d73 | [
"MIT"
] | 1 | 2021-07-28T16:15:29.000Z | 2021-07-28T16:15:29.000Z | from DataStream.ByteStream import ByteStream
from Logic.Player import Player
class LoginOkMessage(ByteStream):
def __init__(self, client, player):
super().__init__(client)
self.id = 20104
self.version = 1
self.player = player;
def encode(self):
self.writeInt(... | 25.089286 | 61 | 0.525267 | 126 | 1,405 | 5.793651 | 0.301587 | 0.267123 | 0.234247 | 0.246575 | 0.494521 | 0.494521 | 0.371233 | 0.315068 | 0.315068 | 0.156164 | 0 | 0.025316 | 0.381495 | 1,405 | 56 | 61 | 25.089286 | 0.81473 | 0.037722 | 0 | 0.555556 | 0 | 0 | 0.042636 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.138889 | 0.027778 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1bcec325b98d968512d016ef80af5e36f6c9e424 | 3,422 | py | Python | backend/db/entities/mixin/pengaturan.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | backend/db/entities/mixin/pengaturan.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | backend/db/entities/mixin/pengaturan.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | from sqlalchemy import Column, Integer, Numeric
from sqlalchemy.ext.declarative import declared_attr
from .pengaturan_base import MxPengaturanBase
class MxPengaturan(MxPengaturanBase):
# TODO: Set precision & scale for Numerics
@declared_attr
def bpjs_ketenagakerjaan_perusahaan(cls):
return Column... | 30.553571 | 84 | 0.677382 | 358 | 3,422 | 6.156425 | 0.150838 | 0.12069 | 0.074864 | 0.11343 | 0.603448 | 0.544465 | 0.337568 | 0.337568 | 0.337568 | 0.249546 | 0 | 0 | 0.247808 | 3,422 | 111 | 85 | 30.828829 | 0.856255 | 0.011689 | 0 | 0.385965 | 0 | 0 | 0.089692 | 0.048193 | 0 | 0 | 0 | 0.018018 | 0 | 1 | 0.245614 | false | 0 | 0.052632 | 0.210526 | 0.54386 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1bcf777e137c1ad0fceae7a7461a0f96f18dbe05 | 127 | py | Python | test1/views/models/axfundaddress.py | biz2013/xwjy | 8f4b5e3e3fc964796134052ff34d58d31ed41904 | [
"Apache-2.0"
] | 1 | 2019-12-15T16:56:44.000Z | 2019-12-15T16:56:44.000Z | coinExchange/trading/views/models/axfundaddress.py | biz2013/xwjy | 8f4b5e3e3fc964796134052ff34d58d31ed41904 | [
"Apache-2.0"
] | 87 | 2018-01-06T10:18:31.000Z | 2022-03-11T23:32:30.000Z | test1/views/models/axfundaddress.py | biz2013/xwjy | 8f4b5e3e3fc964796134052ff34d58d31ed41904 | [
"Apache-2.0"
] | null | null | null | class AXFundAddress(object):
def __init__(self, address, alias):
self.address = address
self.alias = alias
| 25.4 | 39 | 0.653543 | 14 | 127 | 5.642857 | 0.571429 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251969 | 127 | 4 | 40 | 31.75 | 0.831579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
59f29643b40421242d0bea0de29a9058ef247935 | 49 | py | Python | pis_client/__init__.py | ignertic/pis_client | 12dd56b6801b53388cb46199a27a0a7d3d214523 | [
"MIT"
] | null | null | null | pis_client/__init__.py | ignertic/pis_client | 12dd56b6801b53388cb46199a27a0a7d3d214523 | [
"MIT"
] | null | null | null | pis_client/__init__.py | ignertic/pis_client | 12dd56b6801b53388cb46199a27a0a7d3d214523 | [
"MIT"
] | null | null | null | from .model import Client
__version__= "0.0.1"
| 9.8 | 25 | 0.714286 | 8 | 49 | 3.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.163265 | 49 | 4 | 26 | 12.25 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
942b66c8fc0310ad42fc87a38834d2efbab930c1 | 185 | py | Python | tests/core/test_setproctitle.py | STATION-I/STAI-blockchain | a8ca05cbd2602eee7c2e4ce49c74c447a091ef0f | [
"Apache-2.0"
] | 10 | 2021-10-02T18:33:56.000Z | 2021-11-14T17:10:48.000Z | tests/core/test_setproctitle.py | STATION-I/STAI-blockchain | a8ca05cbd2602eee7c2e4ce49c74c447a091ef0f | [
"Apache-2.0"
] | 14 | 2021-10-07T22:10:15.000Z | 2021-12-21T09:13:49.000Z | tests/core/test_setproctitle.py | STATION-I/STAI-blockchain | a8ca05cbd2602eee7c2e4ce49c74c447a091ef0f | [
"Apache-2.0"
] | 6 | 2021-10-29T19:36:59.000Z | 2021-12-19T19:52:57.000Z | import unittest
from stai.util.setproctitle import setproctitle
class TestSetProcTitle(unittest.TestCase):
def test_does_not_crash(self):
setproctitle("stai test title")
| 20.555556 | 47 | 0.778378 | 22 | 185 | 6.409091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151351 | 185 | 8 | 48 | 23.125 | 0.898089 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
942f5cd48c58389e331452b5be336e85b4cdd20b | 415 | py | Python | crmsystem/__init__.py | iomegak12/pythondockertry | dd91dc57a09141f94cb0a73e18a8ad9da4d5aa85 | [
"MIT"
] | null | null | null | crmsystem/__init__.py | iomegak12/pythondockertry | dd91dc57a09141f94cb0a73e18a8ad9da4d5aa85 | [
"MIT"
] | null | null | null | crmsystem/__init__.py | iomegak12/pythondockertry | dd91dc57a09141f94cb0a73e18a8ad9da4d5aa85 | [
"MIT"
] | null | null | null | from .config import GlobalConfiguration
from .controllers import DataController
from .utilities import ErrorProvider, CustomerEncoder, OrderEncoder, PrettyTableGenerator
from .services import CustomerService, OrderService
from .models import Customer, Order, CRMSystemError
from .decorators import Logger
from .routing i... | 41.5 | 89 | 0.857831 | 44 | 415 | 8.090909 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106024 | 415 | 9 | 90 | 46.111111 | 0.959569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
94464711b51aaed6bb644bb94d8782573a3c211b | 302 | py | Python | mmocr/models/common/__init__.py | yangrisheng/mmocr | 3ad4a8d3f8d2d22b7854b72ee68a7977a3f3631f | [
"Apache-2.0"
] | 2 | 2022-01-02T13:33:10.000Z | 2022-02-08T07:40:30.000Z | mmocr/models/common/__init__.py | yangrisheng/mmocr | 3ad4a8d3f8d2d22b7854b72ee68a7977a3f3631f | [
"Apache-2.0"
] | null | null | null | mmocr/models/common/__init__.py | yangrisheng/mmocr | 3ad4a8d3f8d2d22b7854b72ee68a7977a3f3631f | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
from . import backbones, layers, losses, modules
from .backbones import * # NOQA
from .layers import * # NOQA
from .losses import * # NOQA
from .modules import * # NOQA
__all__ = backbones.__all__ + losses.__all__ + layers.__all__ + modules.__all__
| 33.555556 | 79 | 0.731788 | 37 | 302 | 5.432432 | 0.351351 | 0.199005 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172185 | 302 | 8 | 80 | 37.75 | 0.804 | 0.215232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
944b49db9922d734d432d502d558b6874b8edee9 | 350 | py | Python | module3-nosql-and-document-oriented-databases/mongoDB.py | cocoisland/DS-Unit-3-Sprint-2-SQL-and-Databases | 063af0488fa5694ee233298ed76de71b4229fe4c | [
"MIT"
] | null | null | null | module3-nosql-and-document-oriented-databases/mongoDB.py | cocoisland/DS-Unit-3-Sprint-2-SQL-and-Databases | 063af0488fa5694ee233298ed76de71b4229fe4c | [
"MIT"
] | null | null | null | module3-nosql-and-document-oriented-databases/mongoDB.py | cocoisland/DS-Unit-3-Sprint-2-SQL-and-Databases | 063af0488fa5694ee233298ed76de71b4229fe4c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pymongo
conn_string="mongodb://dbUser19:LSVyKnHW@cluster0-shard-00-00-nadgn.mongodb.net:27017,cluster0-shard-00-01-nadgn.mongodb.net:27017,cluster0-shard-00-02-nadgn.mongodb.net:27017/test?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin&retryWrites=true"
client=pymongo.MongoClient(... | 31.818182 | 252 | 0.814286 | 54 | 350 | 5.240741 | 0.555556 | 0.183746 | 0.159011 | 0.212014 | 0.24735 | 0.24735 | 0.24735 | 0 | 0 | 0 | 0 | 0.100592 | 0.034286 | 350 | 10 | 253 | 35 | 0.736686 | 0.057143 | 0 | 0 | 0 | 0.25 | 0.72561 | 0.72561 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9453f91d17fbd3f26c0b9b47751d7481f19b12e8 | 109 | gyp | Python | binding.gyp | artik-snu/node-addon-gpio | 9530478d8543b0ffbfbcf8780a7b91ccbd56a111 | [
"MIT"
] | null | null | null | binding.gyp | artik-snu/node-addon-gpio | 9530478d8543b0ffbfbcf8780a7b91ccbd56a111 | [
"MIT"
] | null | null | null | binding.gyp | artik-snu/node-addon-gpio | 9530478d8543b0ffbfbcf8780a7b91ccbd56a111 | [
"MIT"
] | null | null | null | {
"targets": [
{
"target_name": "gpio",
"sources": ["gpio.cc", "tizen-gpio.cc"]
}
]
} | 13.625 | 45 | 0.422018 | 10 | 109 | 4.5 | 0.7 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.321101 | 109 | 8 | 46 | 13.625 | 0.608108 | 0 | 0 | 0 | 0 | 0 | 0.445455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
946e26227518ff513554910aa81069946aa27b6e | 858 | py | Python | simpleml/models/classifiers/sklearn/mixture.py | ptoman/SimpleML | a829ee05da01a75b64982d91a012e9274b6f7c6e | [
"BSD-3-Clause"
] | 15 | 2018-08-19T19:36:23.000Z | 2021-11-09T17:47:18.000Z | simpleml/models/classifiers/sklearn/mixture.py | ptoman/SimpleML | a829ee05da01a75b64982d91a012e9274b6f7c6e | [
"BSD-3-Clause"
] | 75 | 2020-10-11T17:58:59.000Z | 2022-03-29T22:34:54.000Z | simpleml/models/classifiers/sklearn/mixture.py | ptoman/SimpleML | a829ee05da01a75b64982d91a012e9274b6f7c6e | [
"BSD-3-Clause"
] | 4 | 2018-04-30T23:09:42.000Z | 2022-01-19T08:03:18.000Z | '''
Wrapper module around `sklearn.mixture`
'''
__author__ = 'Elisha Yadgaran'
from .base_sklearn_classifier import SklearnClassifier
from simpleml.models.classifiers.external_models import ClassificationExternalModelMixin
from sklearn.mixture import BayesianGaussianMixture, GaussianMixture
'''
Gaussian Mixture
'... | 26.8125 | 103 | 0.825175 | 64 | 858 | 10.859375 | 0.515625 | 0.040288 | 0.117986 | 0.097842 | 0.158273 | 0.158273 | 0.158273 | 0.158273 | 0 | 0 | 0 | 0 | 0.107226 | 858 | 31 | 104 | 27.677419 | 0.907311 | 0.045455 | 0 | 0.285714 | 0 | 0 | 0.01906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.214286 | 0.142857 | 0.785714 | 0 | 0 | 0 | 1 | null | 0 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
946ec27fdd23802b4feeaeb4d5ee19100b13e2f5 | 140 | py | Python | tools/bacommon/__init__.py | ritiek/ballistica | 5f909d0b91bfbed3e96c21dbf342616a2d2e7b41 | [
"MIT"
] | null | null | null | tools/bacommon/__init__.py | ritiek/ballistica | 5f909d0b91bfbed3e96c21dbf342616a2d2e7b41 | [
"MIT"
] | null | null | null | tools/bacommon/__init__.py | ritiek/ballistica | 5f909d0b91bfbed3e96c21dbf342616a2d2e7b41 | [
"MIT"
] | null | null | null | # Released under the MIT License. See LICENSE for details.
#
"""Bits of functionality common to ballistica client and server components."""
| 35 | 78 | 0.771429 | 19 | 140 | 5.684211 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 140 | 3 | 79 | 46.666667 | 0.907563 | 0.928571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
946f30f9387c6c8f7e6cd66ecde7c286751d1fc1 | 140 | py | Python | tests/tests/screens/screens/test_screens.py | centergy/flex_ussd | ddc0ccd192e3a0a82e8b7705f088862d59656c28 | [
"MIT"
] | null | null | null | tests/tests/screens/screens/test_screens.py | centergy/flex_ussd | ddc0ccd192e3a0a82e8b7705f088862d59656c28 | [
"MIT"
] | null | null | null | tests/tests/screens/screens/test_screens.py | centergy/flex_ussd | ddc0ccd192e3a0a82e8b7705f088862d59656c28 | [
"MIT"
] | null | null | null | from flex.ussd.screens import UssdScreen
class AbsractOne(UssdScreen):
class Meta:
abstract = True
class Home(AbsractOne):
pass
| 9.333333 | 40 | 0.742857 | 17 | 140 | 6.117647 | 0.764706 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 140 | 14 | 41 | 10 | 0.912281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
9481c1171edc52dfcbc1a9877ebb6348ed166a5e | 84 | py | Python | lumin/nn/ensemble/__init__.py | choisant/lumin | c039136eb096e8f3800f13925f9325b99cf7e76b | [
"Apache-2.0"
] | 43 | 2019-02-11T16:16:42.000Z | 2021-12-13T15:35:20.000Z | lumin/nn/ensemble/__init__.py | choisant/lumin | c039136eb096e8f3800f13925f9325b99cf7e76b | [
"Apache-2.0"
] | 48 | 2020-05-21T02:40:50.000Z | 2021-08-10T11:07:08.000Z | lumin/nn/ensemble/__init__.py | choisant/lumin | c039136eb096e8f3800f13925f9325b99cf7e76b | [
"Apache-2.0"
] | 14 | 2019-05-02T15:09:41.000Z | 2022-01-12T21:13:34.000Z | # from .ensemble import * # noqa 403
# __all__ = [*ensemble.__all__] # noqa F405
| 21 | 44 | 0.654762 | 10 | 84 | 4.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.214286 | 84 | 3 | 45 | 28 | 0.621212 | 0.904762 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
9488f4460b704b58bd7868b851740603de9d3660 | 6,962 | py | Python | overwatch/stats/ids.py | jonghwanhyeon/overwatch-stats | 37b19414dc746d0a9bd5a2cf38ee949ffdf62e25 | [
"MIT"
] | 12 | 2017-09-02T10:47:24.000Z | 2018-06-11T16:09:21.000Z | overwatch/stats/ids.py | jonghwanhyeon/overwatch-stats | 37b19414dc746d0a9bd5a2cf38ee949ffdf62e25 | [
"MIT"
] | 5 | 2018-04-01T09:30:39.000Z | 2021-01-14T09:52:04.000Z | overwatch/stats/ids.py | hyeon0145/overwatch-stats | 37b19414dc746d0a9bd5a2cf38ee949ffdf62e25 | [
"MIT"
] | 2 | 2017-09-19T15:11:49.000Z | 2018-03-30T20:02:50.000Z | OVERALL_CATEGORY_ID = '0x02E00000FFFFFFFF'
HERO_CATEGORY_IDS = {
'reaper': '0x02E0000000000002',
'tracer': '0x02E0000000000003',
'mercy': '0x02E0000000000004',
'hanzo': '0x02E0000000000005',
'torbjorn': '0x02E0000000000006',
'reinhardt': '0x02E0000000000007',
'pharah': '0x02E0000000000008',... | 31.502262 | 99 | 0.682275 | 457 | 6,962 | 10.365427 | 0.612691 | 0.010133 | 0.0095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.703704 | 0.185579 | 6,962 | 220 | 100 | 31.645455 | 0.131746 | 0.013358 | 0 | 0 | 0 | 0 | 0.574738 | 0 | 0 | 0 | 0.548077 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
847a476fd67e7e3cc4666225c8b259822acfd9f5 | 2,861 | py | Python | mincaml/beta.py | aita/MinCaml.py | 17ccd4377a08dffeaefab483032c46ec4979787d | [
"Apache-2.0"
] | 1 | 2022-01-26T10:50:28.000Z | 2022-01-26T10:50:28.000Z | mincaml/beta.py | aita/py-mincaml | 17ccd4377a08dffeaefab483032c46ec4979787d | [
"Apache-2.0"
] | null | null | null | mincaml/beta.py | aita/py-mincaml | 17ccd4377a08dffeaefab483032c46ec4979787d | [
"Apache-2.0"
] | null | null | null | from pyrsistent import pmap
from . import logger
from .util import find
class Visitor:
def visit(self, env, e):
method = "visit_" + e[0]
visitor = getattr(self, method)
return visitor(env, e)
def visit_Unit(self, env, e):
return e
def visit_Int(self, env, e):
ret... | 26.009091 | 72 | 0.496679 | 467 | 2,861 | 2.976445 | 0.139186 | 0.164029 | 0.14964 | 0.211511 | 0.608633 | 0.584173 | 0.584173 | 0.517986 | 0.501439 | 0.501439 | 0 | 0.037968 | 0.31877 | 2,861 | 109 | 73 | 26.247706 | 0.675218 | 0 | 0 | 0.345679 | 0 | 0 | 0.011884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.308642 | false | 0 | 0.037037 | 0.271605 | 0.679012 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
848241c80266ef1ad52d7380feee252a6561ee95 | 217 | py | Python | lista/schemas/prestador_schema.py | ViniciusGarciaSilva/izi-serv-backend | 6b9288b9bf4b20bfe86c291dc321f3e1476f1198 | [
"MIT"
] | null | null | null | lista/schemas/prestador_schema.py | ViniciusGarciaSilva/izi-serv-backend | 6b9288b9bf4b20bfe86c291dc321f3e1476f1198 | [
"MIT"
] | null | null | null | lista/schemas/prestador_schema.py | ViniciusGarciaSilva/izi-serv-backend | 6b9288b9bf4b20bfe86c291dc321f3e1476f1198 | [
"MIT"
] | null | null | null | from marshmallow_sqlalchemy import ModelSchema
from marshmallow import fields
from lista.models.prestador_model import PrestadorModel
class PrestadorSchema(ModelSchema):
class Meta:
model = PrestadorModel | 31 | 55 | 0.824885 | 23 | 217 | 7.695652 | 0.608696 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 217 | 7 | 56 | 31 | 0.951613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
84a06d1506beb62e6347ce70533ace4e51a84886 | 229 | py | Python | api/admin.py | SchoolOrchestration/Firehose | 4b1424c8b86e601a9fe87d64dd760627969e1a4b | [
"MIT"
] | null | null | null | api/admin.py | SchoolOrchestration/Firehose | 4b1424c8b86e601a9fe87d64dd760627969e1a4b | [
"MIT"
] | null | null | null | api/admin.py | SchoolOrchestration/Firehose | 4b1424c8b86e601a9fe87d64dd760627969e1a4b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Payload
class PayloadAdmin(admin.ModelAdmin):
list_display = ('method', 'path','get','post')
search_fields = ('get','post')
admin.site.register(Payload, PayloadAdmin) | 28.625 | 50 | 0.733624 | 28 | 229 | 5.928571 | 0.714286 | 0.084337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122271 | 229 | 8 | 51 | 28.625 | 0.825871 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
84c2f3a3d6bcd71b7de2df01f159831079d4eb6a | 210 | py | Python | core/wsgi.py | nicolaerario/djano-custom-user | c18f109bd1dbe3ae7a5a20fe1fd33313caace246 | [
"MIT"
] | 1 | 2019-08-23T05:05:33.000Z | 2019-08-23T05:05:33.000Z | core/wsgi.py | nicolaerario/djano-custom-user | c18f109bd1dbe3ae7a5a20fe1fd33313caace246 | [
"MIT"
] | 2 | 2021-06-04T21:56:46.000Z | 2021-09-22T17:58:55.000Z | core/wsgi.py | nicolaerario/djano-custom-user | c18f109bd1dbe3ae7a5a20fe1fd33313caace246 | [
"MIT"
] | null | null | null | import os
from django.core.wsgi import get_wsgi_application
from dotenv import load_dotenv
load_dotenv()
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings')
application = get_wsgi_application()
| 21 | 64 | 0.828571 | 29 | 210 | 5.724138 | 0.482759 | 0.084337 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090476 | 210 | 9 | 65 | 23.333333 | 0.86911 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.104762 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ca0bdbd7fc80cf5dd847073ab59694f33d27e22f | 2,678 | py | Python | test/test_store.py | 64bit/wikiracer | f2bb66dc0c24f80640578f79f952d58991028d6d | [
"MIT"
] | null | null | null | test/test_store.py | 64bit/wikiracer | f2bb66dc0c24f80640578f79f952d58991028d6d | [
"MIT"
] | null | null | null | test/test_store.py | 64bit/wikiracer | f2bb66dc0c24f80640578f79f952d58991028d6d | [
"MIT"
] | null | null | null | import unittest
import sys
sys.path.append("../")
from store.store import Store
from store.neo4jstore import Neo4jStore
from store.sqlitestore import SqliteStore
from neo4j.v1 import GraphDatabase, basic_auth
#TODO fix tests
'''
class TestStore(unittest.TestCase):
def setUp(self):
self.store = Neo4jStore()
... | 26.78 | 72 | 0.612024 | 363 | 2,678 | 4.269972 | 0.184573 | 0.08129 | 0.110323 | 0.082581 | 0.414194 | 0.263871 | 0.152903 | 0 | 0 | 0 | 0 | 0.028823 | 0.235624 | 2,678 | 99 | 73 | 27.050505 | 0.728383 | 0.005228 | 0 | 0 | 0 | 0 | 0.042471 | 0 | 0 | 0 | 0 | 0.010101 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.