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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ea6f78590bc071b958b247c093a75969d4e4c333 | 12,525 | py | Python | tests/pygosolnp_input_validation_test.py | KristerSJakobsson/pygosolnp | 5a890d67782ff04f521644daeaef2f7708959e79 | [
"BSL-1.0"
] | null | null | null | tests/pygosolnp_input_validation_test.py | KristerSJakobsson/pygosolnp | 5a890d67782ff04f521644daeaef2f7708959e79 | [
"BSL-1.0"
] | null | null | null | tests/pygosolnp_input_validation_test.py | KristerSJakobsson/pygosolnp | 5a890d67782ff04f521644daeaef2f7708959e79 | [
"BSL-1.0"
] | null | null | null | import itertools
import unittest
from pygosolnp.pygosolnp import solve
from pygosolnp.sampling import NormalDistribution
from .resources import alkyla_equality_function, parameter_lower_bounds, parameter_upper_bounds, \
alkyla_inequality_function, alkyla_objective_function, inequality_lower_bounds, inequality_uppe... | 45.711679 | 110 | 0.637764 | 1,281 | 12,525 | 5.771272 | 0.071819 | 0.092249 | 0.078453 | 0.117679 | 0.869742 | 0.859867 | 0.839849 | 0.823346 | 0.816583 | 0.816583 | 0 | 0.004755 | 0.311537 | 12,525 | 273 | 111 | 45.879121 | 0.852604 | 0.056766 | 0 | 0.818182 | 0 | 0 | 0.002968 | 0 | 0 | 0 | 0 | 0 | 0.131818 | 1 | 0.022727 | false | 0 | 0.022727 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ea8e64c9daccd475f43f2703de1fee4287f1e6f2 | 14,154 | py | Python | src/python/tensorflow_cloud/core/tests/unit/validate_test.py | SinaChavoshi/cloud | 5ecfadd7f962e5b864e140fdba1324cc4bcf207f | [
"Apache-2.0"
] | null | null | null | src/python/tensorflow_cloud/core/tests/unit/validate_test.py | SinaChavoshi/cloud | 5ecfadd7f962e5b864e140fdba1324cc4bcf207f | [
"Apache-2.0"
] | null | null | null | src/python/tensorflow_cloud/core/tests/unit/validate_test.py | SinaChavoshi/cloud | 5ecfadd7f962e5b864e140fdba1324cc4bcf207f | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Google LLC. 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 a... | 39.758427 | 87 | 0.59114 | 1,430 | 14,154 | 5.493007 | 0.111189 | 0.061235 | 0.082241 | 0.101846 | 0.859962 | 0.844303 | 0.840484 | 0.824316 | 0.818969 | 0.818969 | 0 | 0.016539 | 0.329306 | 14,154 | 355 | 88 | 39.870423 | 0.810913 | 0.042603 | 0 | 0.752381 | 0 | 0 | 0.079805 | 0.014557 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.050794 | false | 0 | 0.015873 | 0 | 0.069841 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
577776aa374fa6004c15a305e760ea24128e2f8b | 4,595 | py | Python | calories/models.py | shawonAlam/Django-Calorie-tracker | c6713a4108882ad0838932c78cff1a3f15753510 | [
"MIT"
] | null | null | null | calories/models.py | shawonAlam/Django-Calorie-tracker | c6713a4108882ad0838932c78cff1a3f15753510 | [
"MIT"
] | null | null | null | calories/models.py | shawonAlam/Django-Calorie-tracker | c6713a4108882ad0838932c78cff1a3f15753510 | [
"MIT"
] | null | null | null | """from django.db import models
from django.contrib.auth.models import User
from datetime import date
class Food(models.Model):
name = models.CharField(max_length=200, null=False)
quantity = models.PositiveIntegerField(null=False, default=0)
calorie = models.FloatField(null=False, default=0)
... | 41.772727 | 114 | 0.642655 | 525 | 4,595 | 5.468571 | 0.135238 | 0.044584 | 0.048764 | 0.073145 | 0.989202 | 0.989202 | 0.989202 | 0.989202 | 0.989202 | 0.989202 | 0 | 0.00644 | 0.256583 | 4,595 | 110 | 115 | 41.772727 | 0.834016 | 0.520348 | 0 | 0.157895 | 0 | 0 | 0.008142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0.078947 | 0.052632 | 0.710526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
57867de14c1d5eb2d435f2c6eeb097f22ad38e71 | 143 | py | Python | project_checker/checker/buildservice/__init__.py | zuzannnaobajtek/github-cmake-project-checker | 1406c2247bbbecb490bc5000c7fa521b9bf96ec0 | [
"MIT"
] | 1 | 2017-05-17T21:21:54.000Z | 2017-05-17T21:21:54.000Z | project_checker/checker/buildservice/__init__.py | zuzannnaobajtek/github-cmake-project-checker | 1406c2247bbbecb490bc5000c7fa521b9bf96ec0 | [
"MIT"
] | 13 | 2018-03-28T15:36:17.000Z | 2018-04-25T16:44:00.000Z | project_checker/checker/buildservice/__init__.py | zuzannnaobajtek/github-cmake-project-checker | 1406c2247bbbecb490bc5000c7fa521b9bf96ec0 | [
"MIT"
] | 15 | 2017-05-31T11:44:20.000Z | 2018-04-19T15:03:35.000Z | from project_checker.checker.buildservice.cmakeservice import Target
from project_checker.checker.buildservice.cmakeservice import CMakeService | 71.5 | 74 | 0.909091 | 16 | 143 | 8 | 0.4375 | 0.171875 | 0.28125 | 0.390625 | 0.859375 | 0.859375 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.048951 | 143 | 2 | 74 | 71.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 10 |
578902c5918a9aa68db770000968a3307cdeafb2 | 2,996 | py | Python | migrations/versions/77442fc8e343_managedresults_uses_text_fields.py | louking/rrwebapp | 5c73f84e1a21bc3b5fa51d83ba576c3152e6cf27 | [
"Apache-2.0"
] | null | null | null | migrations/versions/77442fc8e343_managedresults_uses_text_fields.py | louking/rrwebapp | 5c73f84e1a21bc3b5fa51d83ba576c3152e6cf27 | [
"Apache-2.0"
] | 417 | 2015-05-07T16:50:22.000Z | 2022-03-14T16:16:13.000Z | migrations/versions/77442fc8e343_managedresults_uses_text_fields.py | louking/rrwebapp | 5c73f84e1a21bc3b5fa51d83ba576c3152e6cf27 | [
"Apache-2.0"
] | null | null | null | """ManagedResults uses Text fields
Revision ID: 77442fc8e343
Revises: bd228893783a
Create Date: 2021-07-14 06:41:04.343278
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
# revision identifiers, used by Alembic.
revision = '77442fc8e343'
down_revision = 'bd228893783a'
branch_... | 36.096386 | 65 | 0.593124 | 309 | 2,996 | 5.559871 | 0.20712 | 0.057043 | 0.105937 | 0.211874 | 0.826542 | 0.802095 | 0.763679 | 0.719441 | 0.67986 | 0.67986 | 0 | 0.038407 | 0.287383 | 2,996 | 82 | 66 | 36.536585 | 0.766276 | 0.104473 | 0 | 0.8 | 0 | 0 | 0.104308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030769 | false | 0 | 0.046154 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
57ba282a6429f885026672fef2c4876939506e59 | 6,991 | py | Python | app/models.py | CirculusVCFB/example-fastapi | 87a9ba0c7db245326e3aa9b952585a440ba2327c | [
"bzip2-1.0.6"
] | null | null | null | app/models.py | CirculusVCFB/example-fastapi | 87a9ba0c7db245326e3aa9b952585a440ba2327c | [
"bzip2-1.0.6"
] | 1 | 2022-03-01T07:02:47.000Z | 2022-03-01T07:02:47.000Z | app/models.py | CirculusVCFB/example-fastapi | 87a9ba0c7db245326e3aa9b952585a440ba2327c | [
"bzip2-1.0.6"
] | null | null | null | from .database import Base
from sqlalchemy import Boolean, Column, ForeignKey, Integer, String
from sqlalchemy.orm import relationship
from .database import Base
from sqlalchemy.sql.sqltypes import TIMESTAMP
from sqlalchemy.sql.expression import text
class Post(Base):
__tablename__ = "posts"
id = Column(Integer, pr... | 36.222798 | 102 | 0.733658 | 824 | 6,991 | 6.069175 | 0.11165 | 0.10138 | 0.068986 | 0.083583 | 0.816437 | 0.816437 | 0.793041 | 0.793041 | 0.785443 | 0.775245 | 0 | 0.02737 | 0.132456 | 6,991 | 193 | 103 | 36.222798 | 0.797197 | 0 | 0 | 0.680723 | 0 | 0 | 0.034468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.006024 | 0.036145 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
57be85e1363d3667d01723ead5a9fd73ed6aeda2 | 5,792 | py | Python | build/lib/pytorch_rl/networks.py | himanshusahni/Pytorch-RL | 0d49f6e627f6e3449af2f958b3b03f41f973f355 | [
"MIT"
] | null | null | null | build/lib/pytorch_rl/networks.py | himanshusahni/Pytorch-RL | 0d49f6e627f6e3449af2f958b3b03f41f973f355 | [
"MIT"
] | null | null | null | build/lib/pytorch_rl/networks.py | himanshusahni/Pytorch-RL | 0d49f6e627f6e3449af2f958b3b03f41f973f355 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
class ConvPolicy_64x64(nn.Module):
"""policy network with a convolutional head best for 64x64 images"""
def __init__(self, nb_actions):
super(ConvPolicy_64x64, self).__init__()
self.conv1 = nn.Conv2d(3, 8, 5, stride=1, padding... | 40.788732 | 114 | 0.606181 | 855 | 5,792 | 3.987135 | 0.111111 | 0.030801 | 0.031681 | 0.042241 | 0.88941 | 0.872397 | 0.85773 | 0.841302 | 0.831916 | 0.807862 | 0 | 0.071982 | 0.242058 | 5,792 | 141 | 115 | 41.078014 | 0.704556 | 0.053004 | 0 | 0.765766 | 0 | 0 | 0.082599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135135 | false | 0 | 0.027027 | 0 | 0.252252 | 0.288288 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
57dafc0acc8cdceea9492a1a964f9b693a0ecae1 | 88,623 | py | Python | devilry/devilry_student/tests/test_group/test_projectgroupapp.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 29 | 2015-01-18T22:56:23.000Z | 2020-11-10T21:28:27.000Z | devilry/devilry_student/tests/test_group/test_projectgroupapp.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 786 | 2015-01-06T16:10:18.000Z | 2022-03-16T11:10:50.000Z | devilry/devilry_student/tests/test_group/test_projectgroupapp.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 15 | 2015-04-06T06:18:43.000Z | 2021-02-24T12:28:30.000Z | import mock
from django.contrib import messages
from django.http import Http404
from django.test import TestCase
from django.utils import timezone
from django.utils.timezone import datetime, timedelta
from cradmin_legacy import cradmin_testhelpers
from model_bakery import baker
from devilry.apps.core import devilry_co... | 53.035907 | 122 | 0.662413 | 8,804 | 88,623 | 6.474103 | 0.030214 | 0.043107 | 0.062265 | 0.063757 | 0.966139 | 0.963507 | 0.950297 | 0.942787 | 0.934945 | 0.929331 | 0 | 0.013305 | 0.235898 | 88,623 | 1,670 | 123 | 53.067665 | 0.828404 | 0 | 0 | 0.778699 | 0 | 0 | 0.14705 | 0.00501 | 0 | 0 | 0 | 0 | 0.079082 | 1 | 0.054847 | false | 0 | 0.008291 | 0 | 0.072704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
57e5c97d5a250431679849afaa5de89ed20c7cbf | 13,511 | py | Python | MISSIONS/air_fight/environment/world/replay.py | Harold0/hmp | 4745e1d3e56c7f08947c839526e6827daa3e6048 | [
"MIT"
] | null | null | null | MISSIONS/air_fight/environment/world/replay.py | Harold0/hmp | 4745e1d3e56c7f08947c839526e6827daa3e6048 | [
"MIT"
] | null | null | null | MISSIONS/air_fight/environment/world/replay.py | Harold0/hmp | 4745e1d3e56c7f08947c839526e6827daa3e6048 | [
"MIT"
] | null | null | null | __pyarmor__(__name__, __file__, b'\xe7\x50\x8c\x64\x26\x42\xd6\x01\xb9\x4e\x3f\xdf\x40\x98\x75\xef\xac\x7b\x63\x36\xc5\x93\x0f\xa5\x45\x39\x8b\x1e\xb7\xc8\xd4\xc3\x28\x3b\x32\xff\xee\x98\x64\x3b\xf3\x1d\x3b\xae\x8d\x5d\xb0\xac\x1e\xaa\xd2\x8f\x55\xd6\x62\x54\xc9\x2a\x5f\x02\x13\x06\xcd\x3b\x46\xa5\x35\xfd\xa7\xb1\x55\x... | 13,511 | 13,511 | 0.749981 | 3,373 | 13,511 | 3.000593 | 0.077379 | 0.001778 | 0.001778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.312111 | 0.000222 | 13,511 | 1 | 13,511 | 13,511 | 0.437148 | 0 | 0 | 0 | 0 | 1 | 0.99704 | 0.99704 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
17b1050e7a459a10d0ed98c5d23a04d8637d0c93 | 9,157 | py | Python | unit_tests/test_std_replay_data.py | abraker-osu/osu_analyzer | f930b1e75d1c4c973dfa49fdab2afedb2a432e31 | [
"MIT"
] | null | null | null | unit_tests/test_std_replay_data.py | abraker-osu/osu_analyzer | f930b1e75d1c4c973dfa49fdab2afedb2a432e31 | [
"MIT"
] | null | null | null | unit_tests/test_std_replay_data.py | abraker-osu/osu_analyzer | f930b1e75d1c4c973dfa49fdab2afedb2a432e31 | [
"MIT"
] | null | null | null | import unittest
from replay_reader import ReplayIO
from analysis.std.replay_data import StdReplayData
class TestStdReplayData(unittest.TestCase):
@classmethod
def setUpClass(cls):
pass
@classmethod
def tearDown(cls):
pass
def test_get_replay_data(self):
replay = Re... | 51.734463 | 143 | 0.701867 | 1,165 | 9,157 | 5.232618 | 0.070386 | 0.12336 | 0.057743 | 0.1729 | 0.909777 | 0.905348 | 0.894521 | 0.894521 | 0.878117 | 0.776411 | 0 | 0.00506 | 0.201485 | 9,157 | 176 | 144 | 52.028409 | 0.828638 | 0.246369 | 0 | 0.47619 | 0 | 0.047619 | 0.056139 | 0.019539 | 0 | 0 | 0 | 0.005682 | 0.333333 | 1 | 0.071429 | false | 0.02381 | 0.035714 | 0 | 0.119048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
aa1407ef26ba307a12aa88f928c9f29071c4075c | 550 | py | Python | eval_covid20cases_timm-regnetx_002_RandomCrop.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_covid20cases_timm-regnetx_002_RandomCrop.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_covid20cases_timm-regnetx_002_RandomCrop.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_0_RandomCrop.yml",
"python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_1_RandomCrop.yml",
"python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_2_RandomCrop.yml",
"p... | 50 | 104 | 0.849091 | 80 | 550 | 5.4625 | 0.3 | 0.114416 | 0.1373 | 0.217391 | 0.897025 | 0.897025 | 0.897025 | 0.897025 | 0.897025 | 0.897025 | 0 | 0.057803 | 0.056364 | 550 | 11 | 105 | 50 | 0.7842 | 0 | 0 | 0 | 0 | 0 | 0.880218 | 0.653358 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a4c4c11b932748bc86132b7691c58eebc4c36ed1 | 21,441 | py | Python | petroeval/plots.py | olawaleibrahim/petroeval | d52ed03f8d79377aa9ff0781fc670a0d5b1cbc5c | [
"MIT"
] | 17 | 2020-07-09T11:04:46.000Z | 2021-09-21T17:56:33.000Z | petroeval/plots.py | gladaki/petroeval | 561857e5ae37d14915643f54702a2e8d8300eb91 | [
"MIT"
] | 4 | 2020-07-09T11:40:11.000Z | 2021-08-19T23:05:01.000Z | petroeval/plots.py | gladaki/petroeval | 561857e5ae37d14915643f54702a2e8d8300eb91 | [
"MIT"
] | 13 | 2020-07-09T11:11:21.000Z | 2021-08-23T13:44:06.000Z | '''
Module for log displays and visualizations
Functions
four_plot(logs, top, base, depth=False)
four_plots(logs, x1, x2, x3, x4, top, base, depth=False)
three_plots(logs, x1, x2, x3, top, base, depth=False)
two_plots(logs, x1, x2, top, base, depth=False)
two_plot(logs, x1, x2, top, base, depth=False, scale=False... | 32.684451 | 91 | 0.542139 | 3,035 | 21,441 | 3.752554 | 0.093904 | 0.06559 | 0.017385 | 0.020546 | 0.878128 | 0.871806 | 0.861445 | 0.854684 | 0.830275 | 0.811836 | 0 | 0.038891 | 0.290052 | 21,441 | 656 | 92 | 32.684451 | 0.709302 | 0.169861 | 0 | 0.778338 | 0 | 0 | 0.117321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020151 | false | 0 | 0.015113 | 0 | 0.035264 | 0.020151 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3518aea3193561a4de3b8d33e698b3202d70ee9c | 102 | py | Python | flanautils/data_structures/__init__.py | AlberLC/flanautils | e7fe5ca5b941cb680ade9714c311de56bf81c2de | [
"MIT"
] | null | null | null | flanautils/data_structures/__init__.py | AlberLC/flanautils | e7fe5ca5b941cb680ade9714c311de56bf81c2de | [
"MIT"
] | null | null | null | flanautils/data_structures/__init__.py | AlberLC/flanautils | e7fe5ca5b941cb680ade9714c311de56bf81c2de | [
"MIT"
] | null | null | null | from flanautils.data_structures.bi_dict import *
from flanautils.data_structures.ordered_set import *
| 34 | 52 | 0.862745 | 14 | 102 | 6 | 0.642857 | 0.333333 | 0.428571 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 2 | 53 | 51 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
351d80aa692796947039fd768cbecde1b8036d89 | 176 | py | Python | src/prefect/engine/results/__init__.py | Digiterre/prefect | 3bc254d759b4a86d215b320ce14085898085e1f8 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-05-10T14:32:32.000Z | 2020-05-10T14:32:32.000Z | src/prefect/engine/results/__init__.py | Digiterre/prefect | 3bc254d759b4a86d215b320ce14085898085e1f8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/prefect/engine/results/__init__.py | Digiterre/prefect | 3bc254d759b4a86d215b320ce14085898085e1f8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from prefect.engine.results.constant_result import ConstantResult
from prefect.engine.results.gcs_result import GCSResult
from prefect.engine.results.s3_result import S3Result
| 44 | 65 | 0.880682 | 24 | 176 | 6.333333 | 0.5 | 0.217105 | 0.335526 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.068182 | 176 | 3 | 66 | 58.666667 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3525f5630f27b89ff2d7fad94935864a146f4482 | 688 | py | Python | chapter05/alien_colors3.py | rafalmaziejuk/PythonCrashCourseSolutions | 733a393c8ee0eeb4212ee7c1cd629c62eacb7cc4 | [
"MIT"
] | null | null | null | chapter05/alien_colors3.py | rafalmaziejuk/PythonCrashCourseSolutions | 733a393c8ee0eeb4212ee7c1cd629c62eacb7cc4 | [
"MIT"
] | null | null | null | chapter05/alien_colors3.py | rafalmaziejuk/PythonCrashCourseSolutions | 733a393c8ee0eeb4212ee7c1cd629c62eacb7cc4 | [
"MIT"
] | null | null | null | alien_color = 'green'
print("alien_color = " + alien_color)
if alien_color == 'green':
print("You earned 5 points!")
elif alien_color == 'yellow':
print("You earned 10 points!")
else:
print("You earned 15 points!")
alien_color = 'yellow'
print("\nalien_color = " + alien_color)
if alien_color == 'green':
... | 23.724138 | 39 | 0.659884 | 96 | 688 | 4.572917 | 0.166667 | 0.296128 | 0.287016 | 0.182232 | 0.922551 | 0.922551 | 0.922551 | 0.922551 | 0.922551 | 0.922551 | 0 | 0.026738 | 0.184593 | 688 | 29 | 40 | 23.724138 | 0.755793 | 0 | 0 | 0.833333 | 0 | 0 | 0.404935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
1049bb9ff190e2bca33ecb3a2c86f1cbd5a071aa | 286 | py | Python | tests/test_utils.py | sbg/seventweets | a2733ff175e8be6e34f346a9a14f7f30ab24ea74 | [
"Apache-2.0"
] | 2 | 2017-06-12T11:00:38.000Z | 2018-06-21T07:54:38.000Z | tests/test_utils.py | sbg/seventweets | a2733ff175e8be6e34f346a9a14f7f30ab24ea74 | [
"Apache-2.0"
] | null | null | null | tests/test_utils.py | sbg/seventweets | a2733ff175e8be6e34f346a9a14f7f30ab24ea74 | [
"Apache-2.0"
] | null | null | null | from seventweets.utils import generate_api_token
def test_generate_api_token():
# since this should be random, just test if two consequent calls
# did not return same result
assert generate_api_token() != generate_api_token()
assert type(generate_api_token()) is str
| 28.6 | 68 | 0.762238 | 42 | 286 | 4.928571 | 0.666667 | 0.2657 | 0.386473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178322 | 286 | 9 | 69 | 31.777778 | 0.880851 | 0.311189 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
10707e1215eed0d2523877e14079cbdc61b6039f | 1,913 | py | Python | upload/decorators.py | LCBRU/lbrc_upload | be42fef97b67c1f25329db52ae3a88eb293a1203 | [
"MIT"
] | null | null | null | upload/decorators.py | LCBRU/lbrc_upload | be42fef97b67c1f25329db52ae3a88eb293a1203 | [
"MIT"
] | null | null | null | upload/decorators.py | LCBRU/lbrc_upload | be42fef97b67c1f25329db52ae3a88eb293a1203 | [
"MIT"
] | null | null | null | from functools import wraps
from flask import request, abort
from flask_login import current_user
from upload.model import Study, Upload, UploadFile
def must_be_study_owner():
def decorator(f):
@wraps(f)
def decorated_function(*args, **kwargs):
study = Study.query.get_or_404(... | 27.328571 | 78 | 0.605855 | 230 | 1,913 | 4.808696 | 0.186957 | 0.122966 | 0.03255 | 0.065099 | 0.818264 | 0.818264 | 0.818264 | 0.818264 | 0.818264 | 0.818264 | 0 | 0.017964 | 0.30162 | 1,913 | 69 | 79 | 27.724638 | 0.80988 | 0 | 0 | 0.695652 | 0 | 0 | 0.008677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.086957 | 0 | 0.608696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
1083d5d7b91e92e02450e2b5f02c0af1bdb31adf | 184 | py | Python | notecoin/huobi/dataset/download_symbol.py | notechats/notecoin | 57e1ed71567ce8864158f24c00ed47addbd9851f | [
"Apache-2.0"
] | null | null | null | notecoin/huobi/dataset/download_symbol.py | notechats/notecoin | 57e1ed71567ce8864158f24c00ed47addbd9851f | [
"Apache-2.0"
] | null | null | null | notecoin/huobi/dataset/download_symbol.py | notechats/notecoin | 57e1ed71567ce8864158f24c00ed47addbd9851f | [
"Apache-2.0"
] | 1 | 2022-03-26T11:42:18.000Z | 2022-03-26T11:42:18.000Z |
from notecoin.huobi.history.core import (load_daily_all, load_symbol_all,
load_symbol_all_to_db)
#load_symbol_all()
load_symbol_all_to_db()
| 23 | 73 | 0.652174 | 25 | 184 | 4.24 | 0.48 | 0.377358 | 0.490566 | 0.45283 | 0.566038 | 0.566038 | 0.566038 | 0.566038 | 0 | 0 | 0 | 0 | 0.282609 | 184 | 7 | 74 | 26.285714 | 0.80303 | 0.092391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
1086a76333d9a6b6c181b316b2567e89bce3244d | 173 | py | Python | elsie/render/backends/__init__.py | spirali/elsie | c221ed68f85d1d5c80b1a58bfc7a473eb1b712d5 | [
"MIT"
] | 30 | 2018-05-21T13:26:47.000Z | 2021-11-08T11:25:13.000Z | elsie/render/backends/__init__.py | spirali/elsie | c221ed68f85d1d5c80b1a58bfc7a473eb1b712d5 | [
"MIT"
] | 30 | 2019-01-04T21:21:41.000Z | 2022-02-05T18:05:30.000Z | elsie/render/backends/__init__.py | spirali/elsie | c221ed68f85d1d5c80b1a58bfc7a473eb1b712d5 | [
"MIT"
] | 4 | 2018-08-17T04:59:40.000Z | 2021-01-02T17:03:30.000Z | from .backend import Backend # noqa
from .svg.backend import InkscapeBackend # noqa
try:
from .cairo.backend import CairoBackend # noqa
except ImportError:
pass
| 21.625 | 51 | 0.745665 | 21 | 173 | 6.142857 | 0.571429 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196532 | 173 | 7 | 52 | 24.714286 | 0.928058 | 0.080925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
52a46a7fb2e7867caded94f5b6fbecf088dee847 | 200 | py | Python | packages/gtmcore/gtmcore/gitlib/__init__.py | gigabackup/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 60 | 2018-09-26T15:46:00.000Z | 2021-10-10T02:37:14.000Z | packages/gtmcore/gtmcore/gitlib/__init__.py | gigabackup/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 1,706 | 2018-09-26T16:11:22.000Z | 2021-08-20T13:37:59.000Z | packages/gtmcore/gtmcore/gitlib/__init__.py | griffinmilsap/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 11 | 2019-03-14T13:23:51.000Z | 2022-01-25T01:29:16.000Z | from gtmcore.gitlib.git import get_git_interface, GitAuthor, GitRepoInterface, RepoLocation
from gtmcore.gitlib.git_fs import GitFilesystem
from gtmcore.gitlib.git_fs_shim import GitFilesystemShimmed
| 50 | 91 | 0.88 | 26 | 200 | 6.576923 | 0.538462 | 0.192982 | 0.298246 | 0.350877 | 0.25731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 200 | 3 | 92 | 66.666667 | 0.924324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
eac23d57724ba8bf24d0375f46866d48c92514a7 | 261 | py | Python | DMOJ/TSOC/TSOC_15_C2P2_Diamonds.py | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | null | null | null | DMOJ/TSOC/TSOC_15_C2P2_Diamonds.py | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | 1 | 2021-10-14T18:26:56.000Z | 2021-10-14T18:26:56.000Z | DMOJ/TSOC/TSOC_15_C2P2_Diamonds.py | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | 1 | 2021-08-06T03:39:55.000Z | 2021-08-06T03:39:55.000Z | N = int(input())
print("*"*N)
for i in range(N//2-1):
print("*"*((N//2-i)) + " "*(N-2*(N//2-i)) + "*"*((N//2-i)))
print("*" + " "*(N-2) + "*")
for i in range(N//2-2, -1, -1):
print("*"*((N//2-i)) + " "*(N-2*(N//2-i)) + "*"*((N//2-i)))
print("*"*N)
| 18.642857 | 63 | 0.344828 | 50 | 261 | 1.8 | 0.2 | 0.244444 | 0.2 | 0.177778 | 0.8 | 0.8 | 0.511111 | 0.511111 | 0.511111 | 0.511111 | 0 | 0.069767 | 0.176245 | 261 | 13 | 64 | 20.076923 | 0.348837 | 0 | 0 | 0.5 | 0 | 0 | 0.042146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.625 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 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 | 1 | 0 | 7 |
d806d45e392d39815d83d285ce68adbc56a8ca8a | 1,132 | py | Python | futureWork/bertConstitution/pybert/io/utils.py | multimedia-application-course/HeyConstitution | c8a12e38bc48bf8b7d816508b24e428c251f3bad | [
"MIT"
] | 1 | 2021-01-28T08:16:15.000Z | 2021-01-28T08:16:15.000Z | futureWork/bertConstitution/pybert/io/utils.py | multimedia-application-course/HeyConstitution | c8a12e38bc48bf8b7d816508b24e428c251f3bad | [
"MIT"
] | null | null | null | futureWork/bertConstitution/pybert/io/utils.py | multimedia-application-course/HeyConstitution | c8a12e38bc48bf8b7d816508b24e428c251f3bad | [
"MIT"
] | 1 | 2021-05-10T09:50:12.000Z | 2021-05-10T09:50:12.000Z | import torch
def collate_fn(batch):
"""
batch should be a list of (sequence, target, length) tuples...
Returns a padded tensor of sequences sorted from longest to shortest,
"""
all_input_ids, all_input_mask, all_segment_ids, all_label_ids,all_input_lens = map(torch.stack, zip(*batch))
max_len = ... | 43.538462 | 112 | 0.732332 | 181 | 1,132 | 4.165746 | 0.21547 | 0.212202 | 0.116711 | 0.111406 | 0.970822 | 0.970822 | 0.970822 | 0.970822 | 0.970822 | 0.970822 | 0 | 0 | 0.166078 | 1,132 | 25 | 113 | 45.28 | 0.798729 | 0.234099 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d80ae9813f8cd6f6f3cf9ade79484f19b967053f | 25,955 | py | Python | leo/modes/md.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 1,550 | 2015-01-14T16:30:37.000Z | 2022-03-31T08:55:58.000Z | leo/modes/md.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 2,009 | 2015-01-13T16:28:52.000Z | 2022-03-31T18:21:48.000Z | leo/modes/md.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 200 | 2015-01-05T15:07:41.000Z | 2022-03-07T17:05:01.000Z | # Leo colorizer control file for md mode.
# This file is in the public domain.
# Properties for md mode.
# Important: most of this file is actually an html colorizer.
properties = {
"commentEnd": "-->",
"commentStart": "<!--",
"indentSize": "4",
"maxLineLen": "120",
"tabSize": "4",
}
... | 39.147813 | 172 | 0.658987 | 3,598 | 25,955 | 4.39383 | 0.068649 | 0.016193 | 0.036435 | 0.064773 | 0.847808 | 0.817256 | 0.797141 | 0.764438 | 0.74135 | 0.71687 | 0 | 0.026744 | 0.180274 | 25,955 | 662 | 173 | 39.206949 | 0.7163 | 0.125409 | 0 | 0.43326 | 0 | 0.002188 | 0.135484 | 0.038697 | 0 | 0 | 0 | 0 | 0 | 1 | 0.140044 | false | 0 | 0.002188 | 0.140044 | 0.282276 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
d81c7e96f89927b945b4f69ba744d4aba1de1e46 | 478 | py | Python | apps/API/permissions.py | ExpoAshique/ProveBanking__s | f0b45fffea74d00d14014be27aa50fe5f42f6903 | [
"MIT"
] | null | null | null | apps/API/permissions.py | ExpoAshique/ProveBanking__s | f0b45fffea74d00d14014be27aa50fe5f42f6903 | [
"MIT"
] | null | null | null | apps/API/permissions.py | ExpoAshique/ProveBanking__s | f0b45fffea74d00d14014be27aa50fe5f42f6903 | [
"MIT"
] | null | null | null | from rest_framework import permissions
class IsClient(permissions.BasePermission):
def has_permission(self, request, view):
return request.user.is_client
class IsVendor(permissions.BasePermission):
def has_permission(self, request, view):
return request.user.is_vendor
class VendorReadOnly(... | 28.117647 | 83 | 0.771967 | 57 | 478 | 6.333333 | 0.45614 | 0.207756 | 0.232687 | 0.257618 | 0.606648 | 0.606648 | 0.606648 | 0.606648 | 0.606648 | 0.606648 | 0 | 0 | 0.154812 | 478 | 16 | 84 | 29.875 | 0.893564 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.3 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
dc9e896d6627bc0058fc879547e5dba4f4810de4 | 4,748 | py | Python | openrl/models/models.py | natetsang/open-rl | 426723d0d6759672ce77e02afeb55cbeb68fcfb0 | [
"MIT"
] | 2 | 2021-09-10T18:52:35.000Z | 2022-01-03T19:48:06.000Z | openrl/models/models.py | natetsang/open-rl | 426723d0d6759672ce77e02afeb55cbeb68fcfb0 | [
"MIT"
] | 1 | 2021-12-28T17:42:23.000Z | 2021-12-28T17:42:23.000Z | openrl/models/models.py | natetsang/open-rl | 426723d0d6759672ce77e02afeb55cbeb68fcfb0 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.keras import layers
def actor_critic_fc_discrete_network(state_dims: int,
num_actions: int,
num_hidden_layers: int,
hidden_size: int) -> tf.keras.Model:
"""
Cr... | 36.523077 | 96 | 0.659436 | 620 | 4,748 | 4.91129 | 0.129032 | 0.094581 | 0.050575 | 0.047291 | 0.882102 | 0.8578 | 0.829557 | 0.792118 | 0.778325 | 0.763547 | 0 | 0.001125 | 0.251264 | 4,748 | 129 | 97 | 36.806202 | 0.855415 | 0.39048 | 0 | 0.708333 | 0 | 0 | 0.084733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.041667 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f4edffc25f833fce9c43509e639cb64fcbaead7a | 124,557 | py | Python | underworld_graph.py | Coin-Miner-5000/support | 3dd89e64ef85f890ec2649bc083ae2a3f6b72078 | [
"MIT"
] | null | null | null | underworld_graph.py | Coin-Miner-5000/support | 3dd89e64ef85f890ec2649bc083ae2a3f6b72078 | [
"MIT"
] | null | null | null | underworld_graph.py | Coin-Miner-5000/support | 3dd89e64ef85f890ec2649bc083ae2a3f6b72078 | [
"MIT"
] | null | null | null | underworld_graph = {
992: {
"title": "Darkness",
"description": "You are standing on grass and surrounded by darkness.",
"terrain": "NORMAL",
"coordinates": "(75,61)",
"elevation": 0,
"w": 966
},
966: {
"title": "Darkness",
"description": "You ... | 27.673184 | 120 | 0.470146 | 12,013 | 124,557 | 4.874636 | 0.047865 | 0.110999 | 0.204922 | 0.213033 | 0.799262 | 0.799262 | 0.799262 | 0.799262 | 0.799262 | 0.799262 | 0 | 0.087362 | 0.357258 | 124,557 | 4,500 | 121 | 27.679333 | 0.644096 | 0 | 0 | 0.443556 | 0 | 0.000222 | 0.478247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f4fefcc87a21390eeb6ca3511675484fd71b4a69 | 7,578 | py | Python | test/unit/outcome_table_decider.py | angelonakos/aws-build-accumulator | 8768bb60dfda13d1f8b3ca334a2d0c4d84eea2bb | [
"Apache-2.0"
] | 369 | 2017-01-27T14:40:37.000Z | 2022-03-30T09:34:08.000Z | test/unit/outcome_table_decider.py | angelonakos/aws-build-accumulator | 8768bb60dfda13d1f8b3ca334a2d0c4d84eea2bb | [
"Apache-2.0"
] | 68 | 2020-09-11T17:36:33.000Z | 2022-03-30T18:14:45.000Z | test/unit/outcome_table_decider.py | angelonakos/aws-build-accumulator | 8768bb60dfda13d1f8b3ca334a2d0c4d84eea2bb | [
"Apache-2.0"
] | 141 | 2017-01-12T06:19:22.000Z | 2022-03-17T01:49:33.000Z | # Copyright Amazon.com, Inc. or its affiliates. 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.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license" fil... | 28.704545 | 87 | 0.538797 | 759 | 7,578 | 5.229249 | 0.168643 | 0.070295 | 0.081381 | 0.070547 | 0.826405 | 0.826405 | 0.817082 | 0.817082 | 0.817082 | 0.817082 | 0 | 0.006688 | 0.348905 | 7,578 | 263 | 88 | 28.813688 | 0.79773 | 0.09488 | 0 | 0.941799 | 0 | 0 | 0.121292 | 0 | 0 | 0 | 0 | 0 | 0.10582 | 1 | 0.10582 | false | 0 | 0.015873 | 0 | 0.137566 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
762bc5d53a2848daa8641f24b9b4fcf4db70322f | 15,845 | py | Python | lightnion/path_selection.py | pthevenet/lightnion | c9e842d3c269d0d39fa62d68f7f83ffb17c5161e | [
"BSD-3-Clause"
] | 120 | 2019-02-24T20:34:17.000Z | 2021-11-24T16:03:43.000Z | lightnion/path_selection.py | pthevenet/lightnion | c9e842d3c269d0d39fa62d68f7f83ffb17c5161e | [
"BSD-3-Clause"
] | 5 | 2020-01-20T11:45:41.000Z | 2020-03-03T12:22:42.000Z | lightnion/path_selection.py | pthevenet/lightnion | c9e842d3c269d0d39fa62d68f7f83ffb17c5161e | [
"BSD-3-Clause"
] | 3 | 2019-03-18T21:24:43.000Z | 2020-10-09T02:53:00.000Z | import random
import sys
import logging
import lightnion.descriptors as descriptors
# Chutney launches all relays in the same subnet.
# So to test the proxy with Chutney, these checks needs to be disabled.
check_different_subnets = False
def select_path(routers, state, testing=False):
"""Handle the path selectio... | 31.69 | 123 | 0.662354 | 2,183 | 15,845 | 4.720568 | 0.087494 | 0.055507 | 0.034158 | 0.042698 | 0.837263 | 0.817661 | 0.79049 | 0.748957 | 0.675885 | 0.641048 | 0 | 0.007217 | 0.247965 | 15,845 | 499 | 124 | 31.753507 | 0.857586 | 0.3213 | 0 | 0.718367 | 0 | 0 | 0.095657 | 0 | 0 | 0 | 0 | 0.012024 | 0 | 1 | 0.073469 | false | 0 | 0.016327 | 0 | 0.379592 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
523c1e341a5204826fd89a4dda3bfe095e52581a | 154 | py | Python | todo/admin.py | jonpas/FERI-WebApps | 27e4fa0e741af31ac9344c72cf7e8a5e6289725d | [
"MIT"
] | null | null | null | todo/admin.py | jonpas/FERI-WebApps | 27e4fa0e741af31ac9344c72cf7e8a5e6289725d | [
"MIT"
] | null | null | null | todo/admin.py | jonpas/FERI-WebApps | 27e4fa0e741af31ac9344c72cf7e8a5e6289725d | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Tag)
admin.site.register(models.List)
admin.site.register(models.Task)
| 19.25 | 32 | 0.805195 | 23 | 154 | 5.391304 | 0.478261 | 0.217742 | 0.41129 | 0.556452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084416 | 154 | 7 | 33 | 22 | 0.879433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
524129be14735599c90cd7cf94bbc7d92edceeb8 | 1,013 | py | Python | my_life/lifeServerApiApp/App/DiaryService/order/diary_serializer.py | CLAY-zhao/MyLife | 994e1f4b2cb20b0bd09edc95ea5ed0b09010a1e3 | [
"bzip2-1.0.6"
] | null | null | null | my_life/lifeServerApiApp/App/DiaryService/order/diary_serializer.py | CLAY-zhao/MyLife | 994e1f4b2cb20b0bd09edc95ea5ed0b09010a1e3 | [
"bzip2-1.0.6"
] | 1 | 2022-01-15T05:36:51.000Z | 2022-01-15T05:36:51.000Z | my_life/lifeServerApiApp/App/DiaryService/order/diary_serializer.py | CLAY-zhao/MyLife | 994e1f4b2cb20b0bd09edc95ea5ed0b09010a1e3 | [
"bzip2-1.0.6"
] | null | null | null | from rest_framework import serializers
class HomeDiarySerializer(serializers.Serializer):
# read_only = True 只能读不能写
id = serializers.IntegerField(read_only=True, label='id')
name = serializers.CharField(max_length=255, label='名称')
title = serializers.CharField()
comment = serializers.CharField()... | 38.961538 | 70 | 0.729516 | 116 | 1,013 | 6.284483 | 0.318966 | 0.301783 | 0.1893 | 0.238683 | 0.79561 | 0.79561 | 0.79561 | 0.79561 | 0.79561 | 0.79561 | 0 | 0.022857 | 0.136229 | 1,013 | 25 | 71 | 40.52 | 0.810286 | 0.023692 | 0 | 0.777778 | 0 | 0 | 0.056738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
529467e9c302cb7a582c26802fe3981b08831d31 | 524 | py | Python | OpenGLCffi/GL/EXT/EXT/texture3D.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/EXT/texture3D.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/EXT/texture3D.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GL import params
@params(api='gl', prms=['target', 'level', 'internalformat', 'width', 'height', 'depth', 'border', 'format', 'type', 'pixels'])
def glTexImage3DEXT(target, level, internalformat, width, height, depth, border, format, type, pixels):
pass
@params(api='gl', prms=['target', 'level', 'xof... | 43.666667 | 132 | 0.685115 | 61 | 524 | 5.885246 | 0.393443 | 0.122563 | 0.178273 | 0.083565 | 0.791086 | 0.791086 | 0.707521 | 0.707521 | 0.707521 | 0.707521 | 0 | 0.004292 | 0.110687 | 524 | 11 | 133 | 47.636364 | 0.766094 | 0 | 0 | 0.285714 | 0 | 0 | 0.250958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
52973b676bf8441632180263b05b22b443f4a4d0 | 14,172 | py | Python | gwide/Classes/HittableClass.py | tturowski/gwide | 32ab0168fba15fa1ad904639057d90014448f821 | [
"Apache-2.0"
] | 7 | 2015-11-06T16:18:12.000Z | 2021-04-16T09:43:50.000Z | gwide/Classes/HittableClass.py | tturowski/gwide | 32ab0168fba15fa1ad904639057d90014448f821 | [
"Apache-2.0"
] | null | null | null | gwide/Classes/HittableClass.py | tturowski/gwide | 32ab0168fba15fa1ad904639057d90014448f821 | [
"Apache-2.0"
] | 1 | 2020-06-26T18:58:48.000Z | 2020-06-26T18:58:48.000Z | #!/usr/bin/env python
import os, re, math, sys
import pandas as pd
import gwide.methods as gtk
import matplotlib.pyplot as plt
class HittableClass():
def __init__(self, gtf, whole_name, n_rpM, out_prefix, read_stdin):
self.gtf = gtf
self.whole_name = whole_name
self.n_rpM = n_rpM
... | 52.880597 | 153 | 0.559836 | 1,711 | 14,172 | 4.435418 | 0.125073 | 0.063249 | 0.023719 | 0.027672 | 0.826591 | 0.804322 | 0.786533 | 0.753327 | 0.749111 | 0.737778 | 0 | 0.011789 | 0.311671 | 14,172 | 268 | 154 | 52.880597 | 0.766171 | 0.060471 | 0 | 0.633929 | 0 | 0 | 0.111304 | 0.003615 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017857 | null | null | 0.075893 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8704196f0bfc8d94f14be529b50fafc7d897826c | 21,934 | py | Python | tests/forum/comments/test_comments.py | kozzztik/tulius | 81b8f6484eefdc453047f62173a08f5e6f640cd6 | [
"MIT"
] | 1 | 2020-04-21T15:09:18.000Z | 2020-04-21T15:09:18.000Z | tests/forum/comments/test_comments.py | kozzztik/tulius | 81b8f6484eefdc453047f62173a08f5e6f640cd6 | [
"MIT"
] | 70 | 2019-04-10T22:32:32.000Z | 2022-03-11T23:12:54.000Z | tests/forum/comments/test_comments.py | kozzztik/tulius | 81b8f6484eefdc453047f62173a08f5e6f640cd6 | [
"MIT"
] | 1 | 2019-04-12T14:55:39.000Z | 2019-04-12T14:55:39.000Z | import pytest
from tulius.forum.threads import models
from tulius.forum.comments import signals
def test_comments_api(client, superuser, admin, user):
# create root room and thread in it
response = superuser.put(
'/api/forum/', {
'title': 'group', 'body': 'group description',
... | 37.817241 | 79 | 0.600802 | 2,585 | 21,934 | 4.953965 | 0.06499 | 0.081993 | 0.117133 | 0.140559 | 0.802202 | 0.780337 | 0.752538 | 0.726769 | 0.714977 | 0.693113 | 0 | 0.02016 | 0.242409 | 21,934 | 579 | 80 | 37.882556 | 0.750496 | 0.081198 | 0 | 0.801653 | 0 | 0 | 0.205597 | 0 | 0 | 0 | 0 | 0 | 0.326446 | 1 | 0.022727 | false | 0 | 0.014463 | 0 | 0.039256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8724c00d286dceb76669b1e4dfaefc59ded98c4b | 43 | py | Python | svd/__init__.py | t-brandt/acorns-adi | 6645fae7878a1801beeda0c6604b01e61f37ca15 | [
"BSD-2-Clause"
] | 1 | 2016-10-30T16:29:51.000Z | 2016-10-30T16:29:51.000Z | svd/__init__.py | t-brandt/acorns-adi | 6645fae7878a1801beeda0c6604b01e61f37ca15 | [
"BSD-2-Clause"
] | null | null | null | svd/__init__.py | t-brandt/acorns-adi | 6645fae7878a1801beeda0c6604b01e61f37ca15 | [
"BSD-2-Clause"
] | null | null | null | from stochastic_svd import stochastic_svd
| 14.333333 | 41 | 0.883721 | 6 | 43 | 6 | 0.666667 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 42 | 21.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8744944593aaded956e163f09500e7803c88cdf4 | 64 | py | Python | python/testData/psi/PatternMatchingRecoveryIncompleteOrPatterns.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/psi/PatternMatchingRecoveryIncompleteOrPatterns.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/psi/PatternMatchingRecoveryIncompleteOrPatterns.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | match x:
case 1 |:
pass
case (1 |):
pass | 12.8 | 15 | 0.375 | 8 | 64 | 3 | 0.625 | 0.416667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.515625 | 64 | 5 | 16 | 12.8 | 0.709677 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.4 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
874c13a44b109db00b9bf7790b85ee8b8c504a14 | 1,385 | py | Python | test/espnet2/asr/specaug/test_specaug.py | Hertin/espnet | a0f2175df08b4750a9f0305c20b8c11f6e941867 | [
"Apache-2.0"
] | 5,053 | 2017-12-13T06:21:41.000Z | 2022-03-31T13:38:29.000Z | test/espnet2/asr/specaug/test_specaug.py | Hertin/espnet | a0f2175df08b4750a9f0305c20b8c11f6e941867 | [
"Apache-2.0"
] | 3,666 | 2017-12-14T05:58:50.000Z | 2022-03-31T22:11:49.000Z | test/espnet2/asr/specaug/test_specaug.py | Hertin/espnet | a0f2175df08b4750a9f0305c20b8c11f6e941867 | [
"Apache-2.0"
] | 1,709 | 2017-12-13T01:02:42.000Z | 2022-03-31T11:57:45.000Z | import pytest
import torch
from espnet2.asr.specaug.specaug import SpecAug
@pytest.mark.parametrize("apply_time_warp", [False, True])
@pytest.mark.parametrize("apply_freq_mask", [False, True])
@pytest.mark.parametrize("apply_time_mask", [False, True])
def test_SpecAuc(apply_time_warp, apply_freq_mask, apply_time_mas... | 34.625 | 75 | 0.699639 | 190 | 1,385 | 4.705263 | 0.178947 | 0.241611 | 0.174497 | 0.161074 | 0.841163 | 0.841163 | 0.841163 | 0.841163 | 0.841163 | 0.841163 | 0 | 0.007326 | 0.211552 | 1,385 | 39 | 76 | 35.512821 | 0.811355 | 0 | 0 | 0.588235 | 0 | 0 | 0.064982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.088235 | 0 | 0.176471 | 0.029412 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8764162ce9ffbac8c518bad4f3f9e8f219f7300b | 2,948 | py | Python | January16th/test_assignment.py | EricCharnesky/CIS2001-Winter2020 | e51d967e97399248dc8b69aaed2d5ca8aee0cd6e | [
"MIT"
] | 3 | 2020-01-06T23:21:36.000Z | 2021-03-01T08:36:57.000Z | January16th/test_assignment.py | EricCharnesky/CIS2001-Winter2020 | e51d967e97399248dc8b69aaed2d5ca8aee0cd6e | [
"MIT"
] | null | null | null | January16th/test_assignment.py | EricCharnesky/CIS2001-Winter2020 | e51d967e97399248dc8b69aaed2d5ca8aee0cd6e | [
"MIT"
] | 2 | 2020-01-21T16:00:03.000Z | 2020-05-05T14:57:34.000Z | from unittest import TestCase
from January16th import Assignment, AdjustedAssignment
class TestAssignment(TestCase):
def test_get_average_score(self):
# AAA
# arrange
score1 = 10
score2 = 20
score3 = 30
expected_average_score = 20
assignment = Assignment()
... | 24.773109 | 70 | 0.620081 | 309 | 2,948 | 5.595469 | 0.113269 | 0.135338 | 0.187392 | 0.065934 | 0.927704 | 0.908039 | 0.908039 | 0.908039 | 0.908039 | 0.908039 | 0 | 0.043112 | 0.315468 | 2,948 | 118 | 71 | 24.983051 | 0.813677 | 0.046472 | 0 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.086957 | false | 0 | 0.028986 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5eb07f632cc384f1216855705075020038325002 | 120 | py | Python | docs/en/docs_src/get_me/get_me_package.py | AliRn76/rubika-bot | 203da2e585f03d6b2cef96cbd7a68b471e010db7 | [
"MIT"
] | 1 | 2022-03-30T10:33:33.000Z | 2022-03-30T10:33:33.000Z | docs/fa/docs_src/get_me/get_me_package.py | AliRn76/rubika-bot | 203da2e585f03d6b2cef96cbd7a68b471e010db7 | [
"MIT"
] | null | null | null | docs/fa/docs_src/get_me/get_me_package.py | AliRn76/rubika-bot | 203da2e585f03d6b2cef96cbd7a68b471e010db7 | [
"MIT"
] | null | null | null | from rubika_bot.requests import get_me
from rubika_bot.models import Bot
bot: Bot = get_me(token='SUPER_SECRET_TOKEN')
| 24 | 45 | 0.816667 | 21 | 120 | 4.380952 | 0.52381 | 0.217391 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 120 | 4 | 46 | 30 | 0.859813 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5ed74c8be50250a9ddedce6534b4c67a0b6da011 | 879,306 | py | Python | python/M2M_Toolbox.py | crisien/OOI_M2M_Toolbox | 8e83b641fb164488ddc3166bdb3eb51251113e7b | [
"MIT"
] | null | null | null | python/M2M_Toolbox.py | crisien/OOI_M2M_Toolbox | 8e83b641fb164488ddc3166bdb3eb51251113e7b | [
"MIT"
] | null | null | null | python/M2M_Toolbox.py | crisien/OOI_M2M_Toolbox | 8e83b641fb164488ddc3166bdb3eb51251113e7b | [
"MIT"
] | 1 | 2020-04-07T21:32:28.000Z | 2020-04-07T21:32:28.000Z | import numpy as np
import os
import re
import requests
import sys
import time
from netCDF4 import Dataset
import pandas as pd
from bs4 import BeautifulSoup
from tqdm import tqdm
# setup constants used to access the data from the different M2M interfaces
BASE_URL = 'https://ooinet.oceanobservatories.org/api/m2m/' # b... | 45.315708 | 123 | 0.639777 | 133,550 | 879,306 | 3.968394 | 0.005354 | 0.228658 | 0.132005 | 0.152421 | 0.993956 | 0.993887 | 0.993615 | 0.993087 | 0.984416 | 0.984211 | 0 | 0.055564 | 0.189092 | 879,306 | 19,404 | 124 | 45.315708 | 0.687707 | 0.002088 | 0 | 0.899063 | 0 | 0 | 0.263024 | 0.117856 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000518 | false | 0 | 0.000518 | 0.000052 | 0.001553 | 0.000207 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0d6d383fc839b1893db48eacde5ca62abeb3441e | 81,928 | py | Python | alerter/test/monitors/managers/test_github.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 41 | 2019-08-23T12:40:42.000Z | 2022-03-28T11:06:02.000Z | alerter/test/monitors/managers/test_github.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 147 | 2019-08-30T22:09:48.000Z | 2022-03-30T08:46:26.000Z | alerter/test/monitors/managers/test_github.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 3 | 2019-09-03T21:12:28.000Z | 2021-08-18T14:27:56.000Z | import copy
import json
import logging
import multiprocessing
import time
import unittest
from datetime import timedelta, datetime
from multiprocessing import Process
from unittest import mock
import pika
import pika.exceptions
from freezegun import freeze_time
from src.configs.repo import RepoConfig
from src.message... | 47.220749 | 80 | 0.596805 | 8,767 | 81,928 | 5.231778 | 0.046538 | 0.04936 | 0.079796 | 0.04162 | 0.870975 | 0.851418 | 0.828591 | 0.807901 | 0.800728 | 0.788214 | 0 | 0.006771 | 0.324004 | 81,928 | 1,734 | 81 | 47.247982 | 0.821407 | 0.09617 | 0 | 0.761268 | 0 | 0 | 0.083075 | 0.00827 | 0 | 0 | 0 | 0 | 0.090141 | 1 | 0.022535 | false | 0.007746 | 0.015493 | 0 | 0.038732 | 0.000704 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0d85fc52a94a6298aebc8f70bd07fc702993fdaa | 649 | py | Python | lists_name/list_name_row.py | Skrad20/UI_lab | 95cd3aeaecf29d06cbe0a13803650e2bb23df508 | [
"BSD-3-Clause"
] | null | null | null | lists_name/list_name_row.py | Skrad20/UI_lab | 95cd3aeaecf29d06cbe0a13803650e2bb23df508 | [
"BSD-3-Clause"
] | null | null | null | lists_name/list_name_row.py | Skrad20/UI_lab | 95cd3aeaecf29d06cbe0a13803650e2bb23df508 | [
"BSD-3-Clause"
] | null | null | null | list_name_row_add_father = [
'Имя',
'Инвертарный номер',
'Хозяйство',
'BM1818',
'BM1824',
'BM2113',
'CSRM60',
'CSSM66',
'CYP21',
'ETH10',
'ETH225',
'ETH3',
'ILSTS6',
'INRA023',
'RM067',
'SPS115',
'TGLA122',
'TGLA126',
'TGLA227',
'TGLA53',
... | 13.808511 | 31 | 0.469954 | 52 | 649 | 5.711538 | 0.557692 | 0.053872 | 0.074074 | 0.161616 | 0.760943 | 0.760943 | 0.760943 | 0.760943 | 0.760943 | 0.760943 | 0 | 0.225806 | 0.331279 | 649 | 46 | 32 | 14.108696 | 0.458525 | 0 | 0 | 0.844444 | 0 | 0 | 0.392912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0db18ef822bd6e08373699d087d2f10286e9e618 | 453 | py | Python | day01/__init__.py | T-101/aoc17 | 23bd338c89c640c5a43e1b3a41e22aed12a9c796 | [
"MIT"
] | null | null | null | day01/__init__.py | T-101/aoc17 | 23bd338c89c640c5a43e1b3a41e22aed12a9c796 | [
"MIT"
] | null | null | null | day01/__init__.py | T-101/aoc17 | 23bd338c89c640c5a43e1b3a41e22aed12a9c796 | [
"MIT"
] | null | null | null | def day01_1(input_data):
result = 0
for i in range(len(input_data)):
if int(input_data[i]) == int(input_data[(i + 1) % len(input_data)]):
result += int(input_data[i])
return result
def day01_2(input_data):
result = 0
for i in range(len(input_data)):
if int(input_data[i... | 26.647059 | 99 | 0.596026 | 72 | 453 | 3.541667 | 0.222222 | 0.458824 | 0.282353 | 0.305882 | 0.87451 | 0.862745 | 0.862745 | 0.862745 | 0.862745 | 0.862745 | 0 | 0.029499 | 0.251656 | 453 | 16 | 100 | 28.3125 | 0.722714 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2175823ce49c9e2e30390805b568c52388a32fb8 | 11,681 | py | Python | tests/test_early_init.py | sm0k/tortoise-orm | a3f0ff621a449362f11461d670665afc2f20d31a | [
"Apache-2.0"
] | null | null | null | tests/test_early_init.py | sm0k/tortoise-orm | a3f0ff621a449362f11461d670665afc2f20d31a | [
"Apache-2.0"
] | null | null | null | tests/test_early_init.py | sm0k/tortoise-orm | a3f0ff621a449362f11461d670665afc2f20d31a | [
"Apache-2.0"
] | null | null | null | from tortoise import Tortoise, fields
from tortoise.contrib import test
from tortoise.contrib.pydantic import pydantic_model_creator
from tortoise.models import Model
class Tournament(Model):
id = fields.IntField(pk=True)
name = fields.CharField(max_length=100)
created_at = fields.DatetimeField(auto_now_a... | 39.197987 | 98 | 0.362212 | 732 | 11,681 | 5.64071 | 0.161202 | 0.032696 | 0.047954 | 0.037297 | 0.804311 | 0.767498 | 0.760959 | 0.739162 | 0.718334 | 0.681037 | 0 | 0.01939 | 0.51434 | 11,681 | 297 | 99 | 39.329966 | 0.708444 | 0.007876 | 0 | 0.700361 | 0 | 0 | 0.26046 | 0.012016 | 0 | 0 | 0 | 0 | 0.01444 | 1 | 0.00361 | false | 0 | 0.028881 | 0 | 0.079422 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
21abdfee14f7af74c2492d7cab810a18e40ee363 | 6,367 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtGui/QItemSelection.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QItemSelection.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QItemSelection.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtGui
# from C:\Python27\lib\site-packages\PySide\QtGui.pyd
# by generator 1.147
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
import Shiboken as __Shiboken
class QItemSelection(__Shiboken.Object):
# no doc
def append(self, *args, **kwargs): # real signature unk... | 27.682609 | 80 | 0.597142 | 763 | 6,367 | 4.70118 | 0.150721 | 0.239197 | 0.367996 | 0.250906 | 0.792306 | 0.761639 | 0.751882 | 0.741846 | 0.251464 | 0 | 0 | 0.001517 | 0.275326 | 6,367 | 229 | 81 | 27.803493 | 0.775899 | 0.389665 | 0 | 0.485294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.485294 | false | 0.485294 | 0.014706 | 0 | 0.507353 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
df1e9411a71505cbb183a8cd66da9d55d314769c | 19,510 | py | Python | test/nn/test_geometrictensor.py | steven-lang/e2cnn | 48f49760766ec958b52d0dd7b02483886dfa2096 | [
"BSD-3-Clause"
] | 3 | 2021-04-24T08:40:28.000Z | 2021-12-31T08:08:54.000Z | test/nn/test_geometrictensor.py | steven-lang/e2cnn | 48f49760766ec958b52d0dd7b02483886dfa2096 | [
"BSD-3-Clause"
] | null | null | null | test/nn/test_geometrictensor.py | steven-lang/e2cnn | 48f49760766ec958b52d0dd7b02483886dfa2096 | [
"BSD-3-Clause"
] | null | null | null | import unittest
from unittest import TestCase
from e2cnn.nn import *
from e2cnn.gspaces import *
import torch
import random
class TestGeometricTensor(TestCase):
def test_sum(self):
for N in [2, 4, 7, 16]:
gs = Rot2dOnR2(N)
for irr in gs.irreps.values():
type =... | 36.062847 | 124 | 0.328447 | 1,668 | 19,510 | 3.82494 | 0.065947 | 0.151411 | 0.205486 | 0.292006 | 0.887774 | 0.877273 | 0.867712 | 0.835266 | 0.798276 | 0.782602 | 0 | 0.052619 | 0.563608 | 19,510 | 540 | 125 | 36.12963 | 0.696735 | 0.034751 | 0 | 0.834515 | 0 | 0 | 0.000426 | 0 | 0 | 0 | 0 | 0 | 0.172577 | 1 | 0.016548 | false | 0 | 0.014184 | 0 | 0.033097 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
10d6de528bf399048accac65a23760ab25d9ba0a | 10,704 | py | Python | tests/lib_test.py | item4/ugoira | 3d5a1f8f82cf351b2c35349227bf5eb1129d2ae9 | [
"MIT"
] | 11 | 2018-04-21T08:04:11.000Z | 2021-02-14T17:09:33.000Z | tests/lib_test.py | item4/ugoira | 3d5a1f8f82cf351b2c35349227bf5eb1129d2ae9 | [
"MIT"
] | 16 | 2018-09-18T11:10:12.000Z | 2021-02-14T16:47:29.000Z | tests/lib_test.py | item4/ugoira | 3d5a1f8f82cf351b2c35349227bf5eb1129d2ae9 | [
"MIT"
] | 3 | 2018-09-18T10:50:45.000Z | 2021-01-31T18:01:33.000Z | import mimetypes
import zipfile
from PIL import Image
from apng import APNG
import pytest
import responses
from ugoira.lib import (
PixivError,
download_ugoira_zip,
get_metadata_url,
make_apng,
make_via_pillow,
make_zip,
)
def test_download_ugoira_wrong_illust_id(
ugoira_id,
error... | 24.217195 | 79 | 0.523262 | 1,126 | 10,704 | 4.757549 | 0.092362 | 0.064962 | 0.097443 | 0.146164 | 0.853276 | 0.828262 | 0.811835 | 0.803621 | 0.782528 | 0.773007 | 0 | 0.021602 | 0.346973 | 10,704 | 441 | 80 | 24.272109 | 0.744778 | 0.109025 | 0 | 0.825545 | 0 | 0 | 0.113885 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 1 | 0.05296 | false | 0 | 0.021807 | 0 | 0.074766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
10d7ca5bb70663e1ba3dadefc05fcd61e81fb161 | 127 | py | Python | python/10_classes/1_classesdealingwithcomplexnumbers.py | jaimiles23/hacker_rank | 0580eac82e5d0989afabb5c2e66faf09713f891b | [
"Apache-2.0"
] | null | null | null | python/10_classes/1_classesdealingwithcomplexnumbers.py | jaimiles23/hacker_rank | 0580eac82e5d0989afabb5c2e66faf09713f891b | [
"Apache-2.0"
] | null | null | null | python/10_classes/1_classesdealingwithcomplexnumbers.py | jaimiles23/hacker_rank | 0580eac82e5d0989afabb5c2e66faf09713f891b | [
"Apache-2.0"
] | 3 | 2021-09-22T11:06:58.000Z | 2022-01-25T09:29:24.000Z | Solution to [Classes: Dealing with Complex Numbers](https://www.hackerrank.com/challenges/class-1-dealing-with-complex-numbers) | 127 | 127 | 0.818898 | 18 | 127 | 5.777778 | 0.777778 | 0.211538 | 0.346154 | 0.480769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.047244 | 127 | 1 | 127 | 127 | 0.85124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
80032fb4f4cf405ea7b37477ef43697af4ca1ed4 | 2,303 | py | Python | gg_gui/utilGui/names.py | ealcobaca/optimizer_pool | e93ac72c1547bc3813a0edf822d5fd453f22ce49 | [
"MIT"
] | 1 | 2022-03-10T21:46:07.000Z | 2022-03-10T21:46:07.000Z | gg_gui/utilGui/names.py | ealcobaca/optimizer_pool | e93ac72c1547bc3813a0edf822d5fd453f22ce49 | [
"MIT"
] | null | null | null | gg_gui/utilGui/names.py | ealcobaca/optimizer_pool | e93ac72c1547bc3813a0edf822d5fd453f22ce49 | [
"MIT"
] | 1 | 2022-03-10T21:46:09.000Z | 2022-03-10T21:46:09.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
class Names():
Chemical_Elemnts = ["Yb", "Pb", "Ca", "Ti", "Mo", "Sn", "Cd", "Ag", "La",
"Cs", "W", "Sb", "Ta", "V", "Fe", "Bi", "Ce", "Nb",
"Cu", "I", "B", "Te", "Al", "Zr", "Gd", "Na", "Ga",
"Cl"... | 62.243243 | 79 | 0.329136 | 211 | 2,303 | 3.578199 | 0.616114 | 0.045033 | 0.055629 | 0.068874 | 0.815894 | 0.815894 | 0.815894 | 0.739073 | 0.739073 | 0.739073 | 0 | 0.132364 | 0.402953 | 2,303 | 36 | 80 | 63.972222 | 0.416727 | 0.018237 | 0 | 0 | 0 | 0 | 0.284397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
339a3fd2d184b366cd1b87709b56c392e919764e | 6,484 | py | Python | tamcolors/tests/tam_tools_tests/tam_key_manager_tests.py | cmcmarrow/tamcolors | 65a5f2455bbe35a739b98d14af158c3df7feb786 | [
"Apache-2.0"
] | 29 | 2020-07-17T23:46:17.000Z | 2022-02-06T05:36:44.000Z | tamcolors/tests/tam_tools_tests/tam_key_manager_tests.py | sudo-nikhil/tamcolors | 65a5f2455bbe35a739b98d14af158c3df7feb786 | [
"Apache-2.0"
] | 42 | 2020-07-25T19:39:52.000Z | 2021-02-24T01:19:58.000Z | tamcolors/tests/tam_tools_tests/tam_key_manager_tests.py | sudo-nikhil/tamcolors | 65a5f2455bbe35a739b98d14af158c3df7feb786 | [
"Apache-2.0"
] | 8 | 2020-07-18T23:02:48.000Z | 2020-12-30T04:07:35.000Z | # built in libraries
import unittest.mock
# tamcolors libraries
from tamcolors import tam_tools
class TAMKeyManagerTests(unittest.TestCase):
def test_init_key_manger(self):
key_manger = tam_tools.tam_key_manager.TAMKeyManager()
self.assertIsInstance(key_manger, tam_tools.tam_key_manager.TAMKeyMan... | 40.525 | 99 | 0.669957 | 828 | 6,484 | 4.88285 | 0.065217 | 0.166955 | 0.07717 | 0.079891 | 0.917141 | 0.903042 | 0.889439 | 0.86322 | 0.811526 | 0.771457 | 0 | 0.003185 | 0.176743 | 6,484 | 159 | 100 | 40.779874 | 0.754215 | 0.005861 | 0 | 0.612613 | 0 | 0 | 0.058979 | 0 | 0 | 0 | 0 | 0 | 0.432432 | 1 | 0.162162 | false | 0 | 0.018018 | 0 | 0.189189 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
339b6f9e5fdc45f6c2b024fbc8a6a74fd027c509 | 74 | py | Python | cop_server/imports.py | gaming32/CreatorsOfPlay | f22b6c7b637d5696ce03fbf24012430e0dd1be29 | [
"MIT"
] | null | null | null | cop_server/imports.py | gaming32/CreatorsOfPlay | f22b6c7b637d5696ce03fbf24012430e0dd1be29 | [
"MIT"
] | null | null | null | cop_server/imports.py | gaming32/CreatorsOfPlay | f22b6c7b637d5696ce03fbf24012430e0dd1be29 | [
"MIT"
] | null | null | null | from cop_server.client import Client
from cop_server.server import Server
| 24.666667 | 36 | 0.864865 | 12 | 74 | 5.166667 | 0.416667 | 0.225806 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d50aaecd7d94dd563928190ee0fc9cc41f6f42c0 | 10,794 | py | Python | tests/test_homewizard_energy.py | DCSBL/python-homewizard-energy | e3b08f8f5327e41f1cc2a0389b527ae9e94da80e | [
"Apache-2.0"
] | 1 | 2022-02-28T14:06:08.000Z | 2022-02-28T14:06:08.000Z | tests/test_homewizard_energy.py | DCSBL/python-homewizard-energy | e3b08f8f5327e41f1cc2a0389b527ae9e94da80e | [
"Apache-2.0"
] | 32 | 2022-02-11T04:38:57.000Z | 2022-03-30T04:43:11.000Z | tests/test_homewizard_energy.py | DCSBL/python-homewizard-energy | e3b08f8f5327e41f1cc2a0389b527ae9e94da80e | [
"Apache-2.0"
] | 1 | 2022-03-14T08:44:08.000Z | 2022-03-14T08:44:08.000Z | """Test for HomeWizard Energy."""
from unittest.mock import patch
import aiohttp
import pytest
from homewizard_energy import HomeWizardEnergy
from homewizard_energy.errors import DisabledError, RequestError, UnsupportedError
from . import load_fixtures
@pytest.mark.asyncio
async def test_request_returns_json(aresp... | 26.651852 | 86 | 0.594775 | 1,120 | 10,794 | 5.63125 | 0.109821 | 0.052323 | 0.057079 | 0.065641 | 0.825274 | 0.804186 | 0.802283 | 0.790867 | 0.78294 | 0.766133 | 0 | 0.012088 | 0.2796 | 10,794 | 404 | 87 | 26.717822 | 0.798997 | 0.011766 | 0 | 0.788079 | 0 | 0 | 0.158893 | 0.007122 | 0 | 0 | 0 | 0 | 0.066225 | 1 | 0 | false | 0 | 0.019868 | 0 | 0.019868 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1d181ebfec1ee3b7d4c8772d47f7234235aece2f | 47 | py | Python | p2016_05_28_python_path_find/os.py | zhyq0826/blog-code | 4369d653dea4a7a054dc796d14faea727973258f | [
"MIT"
] | 1 | 2018-07-07T14:35:55.000Z | 2018-07-07T14:35:55.000Z | p2016_05_28_python_path_find/os.py | zhyq0826/blog-code | 4369d653dea4a7a054dc796d14faea727973258f | [
"MIT"
] | null | null | null | p2016_05_28_python_path_find/os.py | zhyq0826/blog-code | 4369d653dea4a7a054dc796d14faea727973258f | [
"MIT"
] | null | null | null | print 'I am os in p2015_05_28_python_path_find' | 47 | 47 | 0.851064 | 11 | 47 | 3.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.106383 | 47 | 1 | 47 | 47 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0.8125 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
1d8037fdb166a79d0c82e91c6e3072aec29c96c4 | 11,848 | py | Python | geomagio/processing/obsrio.py | usgs/geomag-algorithms | a83a0e36bed9307828e37b9130c25dbc26dd1bc9 | [
"CC0-1.0"
] | 49 | 2015-10-06T17:57:20.000Z | 2022-01-12T18:40:17.000Z | geomagio/processing/obsrio.py | usgs/geomag-algorithms | a83a0e36bed9307828e37b9130c25dbc26dd1bc9 | [
"CC0-1.0"
] | 229 | 2015-01-26T20:10:36.000Z | 2022-03-12T00:46:33.000Z | geomagio/processing/obsrio.py | usgs/geomag-algorithms | a83a0e36bed9307828e37b9130c25dbc26dd1bc9 | [
"CC0-1.0"
] | 44 | 2015-03-03T16:18:18.000Z | 2021-11-06T17:07:38.000Z | from typing import List, Optional
import typer
from ..algorithm import Algorithm, FilterAlgorithm
from ..Controller import (
Controller,
get_realtime_interval,
)
from ..TimeseriesFactory import TimeseriesFactory
from .factory import get_edge_factory, get_miniseed_factory
def main():
typer.run(obsrio_fil... | 34.542274 | 90 | 0.63209 | 1,207 | 11,848 | 5.935377 | 0.096935 | 0.091569 | 0.036293 | 0.058068 | 0.822446 | 0.818537 | 0.813093 | 0.785874 | 0.776801 | 0.749721 | 0 | 0.01529 | 0.271354 | 11,848 | 342 | 91 | 34.643275 | 0.814549 | 0.048447 | 0 | 0.71521 | 0 | 0 | 0.030479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029126 | false | 0 | 0.019417 | 0 | 0.048544 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d56d0bd873cc639742a05c7b707c617ddf365a09 | 58 | py | Python | lw_visutils/nn/__init__.py | wolterlw/lw_visutils | 1487a235c8c0cd71b42758ccb13760a45689889b | [
"MIT"
] | null | null | null | lw_visutils/nn/__init__.py | wolterlw/lw_visutils | 1487a235c8c0cd71b42758ccb13760a45689889b | [
"MIT"
] | null | null | null | lw_visutils/nn/__init__.py | wolterlw/lw_visutils | 1487a235c8c0cd71b42758ccb13760a45689889b | [
"MIT"
] | null | null | null | import lw_visutils.nn.hourglass
import lw_visutils.nn.unet | 29 | 31 | 0.87931 | 10 | 58 | 4.9 | 0.6 | 0.326531 | 0.653061 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 58 | 2 | 32 | 29 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
d596452e81ac55ab1d6a849da60a82b57ddb4167 | 2,389 | py | Python | walletbackend/wallet/models.py | Fajar2020/MiniEWallet | bd843ab0a957f999dd557dd1f4e27a5d9d08b828 | [
"MIT"
] | null | null | null | walletbackend/wallet/models.py | Fajar2020/MiniEWallet | bd843ab0a957f999dd557dd1f4e27a5d9d08b828 | [
"MIT"
] | 3 | 2021-10-06T19:43:07.000Z | 2022-02-27T07:55:40.000Z | walletbackend/wallet/models.py | Fajar2020/MiniEWallet | bd843ab0a957f999dd557dd1f4e27a5d9d08b828 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
# Create your models here.
class TypeActivity(models.Model):
title= models.CharField(max_length=32, blank=False, null=False)
def __str__(self):
return self.title
class Bank(models.Model):
code = models.CharField(max_len... | 43.436364 | 76 | 0.757639 | 307 | 2,389 | 5.758958 | 0.179153 | 0.10181 | 0.122172 | 0.162896 | 0.766968 | 0.766968 | 0.766968 | 0.732466 | 0.707014 | 0.632919 | 0 | 0.01885 | 0.133947 | 2,389 | 55 | 77 | 43.436364 | 0.835669 | 0.010046 | 0 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.046512 | 0.046512 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
d5ab5fa3846077fa6030afca348b4337c50426a4 | 13,463 | py | Python | MISSIONS/air_fight/environment/renderserver/server.py | Harold0/hmp | 4745e1d3e56c7f08947c839526e6827daa3e6048 | [
"MIT"
] | null | null | null | MISSIONS/air_fight/environment/renderserver/server.py | Harold0/hmp | 4745e1d3e56c7f08947c839526e6827daa3e6048 | [
"MIT"
] | null | null | null | MISSIONS/air_fight/environment/renderserver/server.py | Harold0/hmp | 4745e1d3e56c7f08947c839526e6827daa3e6048 | [
"MIT"
] | null | null | null | __pyarmor__(__name__, __file__, b'\xd1\x50\x8c\x64\x26\x42\xd6\x01\x9a\xaf\x11\xbc\x6b\x8e\x6c\x7f\x32\x6f\x43\x8a\x03\xa3\xba\xae\x2a\x34\x42\x60\x5c\xad\x11\x56\xd4\x14\x69\xe0\xcb\x4d\xca\xee\x53\x0d\x25\xa8\x08\x48\x72\x85\x66\xd6\xbc\x92\xa1\xf0\xb2\xa5\xc2\x0a\x42\x7b\xa3\x34\xd1\x69\xe2\x61\x12\x7d\xe4\xae\xbb\x... | 13,463 | 13,463 | 0.749981 | 3,361 | 13,463 | 3.000595 | 0.077655 | 0.001785 | 0.001785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.320505 | 0.000223 | 13,463 | 1 | 13,463 | 13,463 | 0.428752 | 0 | 0 | 0 | 0 | 1 | 0.997029 | 0.997029 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
6360b93958515b92a0980d33ca49d6f0e073346a | 54 | py | Python | addons14/project_task_default_stage/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/project_task_default_stage/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/project_task_default_stage/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import project
from . import project_task_type
| 18 | 31 | 0.814815 | 8 | 54 | 5.25 | 0.625 | 0.47619 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 32 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
636a6e179b723b89ea7374c291d8449202cdc334 | 131 | py | Python | models/generators/__init__.py | Cuijie12358/Semantic-Segmentation-using-Adversarial-Networks | 0dbded0a3c545d7aba45a34acdde1e5683af16da | [
"MIT"
] | 110 | 2017-04-21T13:02:56.000Z | 2021-12-06T03:34:46.000Z | models/generators/__init__.py | Cuijie12358/Semantic-Segmentation-using-Adversarial-Networks | 0dbded0a3c545d7aba45a34acdde1e5683af16da | [
"MIT"
] | 7 | 2017-07-25T10:39:04.000Z | 2019-02-28T08:06:39.000Z | models/generators/__init__.py | Cuijie12358/Semantic-Segmentation-using-Adversarial-Networks | 0dbded0a3c545d7aba45a34acdde1e5683af16da | [
"MIT"
] | 43 | 2017-04-19T12:36:41.000Z | 2021-06-16T08:04:49.000Z | from models.generators.fcn32s import FCN32s
from models.generators.fcn16s import FCN16s
from models.generators.fcn8s import FCN8s
| 26.2 | 43 | 0.854962 | 18 | 131 | 6.222222 | 0.388889 | 0.267857 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 0.099237 | 131 | 4 | 44 | 32.75 | 0.864407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6374d82ce8cf901c3f698dac0a51ab64d5436716 | 3,052 | py | Python | breed_routes.py | tiagofsv95/trabalho_final | 202aa26adeae4ec0eb3777c07fadce9a61352490 | [
"MIT"
] | null | null | null | breed_routes.py | tiagofsv95/trabalho_final | 202aa26adeae4ec0eb3777c07fadce9a61352490 | [
"MIT"
] | null | null | null | breed_routes.py | tiagofsv95/trabalho_final | 202aa26adeae4ec0eb3777c07fadce9a61352490 | [
"MIT"
] | null | null | null | from flask import jsonify
from flask import make_response
import sqlite3
from sqlite3 import Error
import os
dirname = os.path.dirname(__file__)
database_dirname = dirname + '/database/adote_um_cao.db'
def get_all_breed():
try:
conn = sqlite3.connect(database_dirname)
sql = '''SELECT * FROM Raca''... | 30.217822 | 95 | 0.549803 | 327 | 3,052 | 5.015291 | 0.235474 | 0.087805 | 0.107317 | 0.154268 | 0.818293 | 0.818293 | 0.802439 | 0.74878 | 0.74878 | 0.74878 | 0 | 0.021532 | 0.345675 | 3,052 | 101 | 96 | 30.217822 | 0.7997 | 0.01671 | 0 | 0.746835 | 0 | 0 | 0.103368 | 0.008336 | 0.025316 | 0 | 0 | 0 | 0 | 1 | 0.037975 | false | 0 | 0.063291 | 0 | 0.240506 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9830f2fa46cfc09c9ff13fcbdcc9a9bcbc73bf46 | 116 | py | Python | python/compose.py | tcooling/scripts | d342cb2537e1ccf158660188714a42f3cc6680a9 | [
"MIT"
] | 1 | 2020-05-23T20:15:27.000Z | 2020-05-23T20:15:27.000Z | python/compose.py | tcooling/scripts | d342cb2537e1ccf158660188714a42f3cc6680a9 | [
"MIT"
] | null | null | null | python/compose.py | tcooling/scripts | d342cb2537e1ccf158660188714a42f3cc6680a9 | [
"MIT"
] | null | null | null | from functools import reduce
def compose(*fns):
return reduce(lambda g, f: lambda x: f(g(x)), fns, lambda x: x) | 29 | 67 | 0.681034 | 21 | 116 | 3.761905 | 0.571429 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181034 | 116 | 4 | 67 | 29 | 0.831579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
9863a115a8ad7718bbed0fe2f6e31a97ba53f4a4 | 25,996 | py | Python | boa3_test/tests/compiler_tests/test_relational.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/tests/compiler_tests/test_relational.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/tests/compiler_tests/test_relational.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.boa3 import Boa3
from boa3.exception import CompilerError
from boa3.neo.vm.opcode.Opcode import Opcode
from boa3.neo.vm.type.Integer import Integer
from boa3_test.tests.boa_test import BoaTest
from boa3_test.tests.test_classes.TestExecutionException import TestExecutionException
from boa3_test.tests.test_clas... | 35.465211 | 119 | 0.612402 | 2,900 | 25,996 | 5.285172 | 0.061034 | 0.112546 | 0.07751 | 0.129184 | 0.911463 | 0.911463 | 0.879233 | 0.857898 | 0.825602 | 0.804463 | 0 | 0.014269 | 0.285582 | 25,996 | 732 | 120 | 35.513661 | 0.811006 | 0.014618 | 0 | 0.781302 | 0 | 0 | 0.076689 | 0.01722 | 0 | 0 | 0 | 0 | 0.202003 | 1 | 0.066778 | false | 0 | 0.011686 | 0 | 0.081803 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
98ad9540341302a19bda916ae8289dabda669407 | 202,664 | py | Python | pyloxi3/loxi/of15/common.py | floodlight/loxigen-artifacts | 1822ec984cb6da342bbaa381677071cbbe53cee6 | [
"Apache-2.0"
] | 1 | 2017-06-01T09:41:07.000Z | 2017-06-01T09:41:07.000Z | pyloxi3/loxi/of15/common.py | floodlight/loxigen-artifacts | 1822ec984cb6da342bbaa381677071cbbe53cee6 | [
"Apache-2.0"
] | 2 | 2017-07-03T08:50:56.000Z | 2018-03-12T16:16:19.000Z | pyloxi3/loxi/of15/common.py | floodlight/loxigen-artifacts | 1822ec984cb6da342bbaa381677071cbbe53cee6 | [
"Apache-2.0"
] | 20 | 2015-02-16T15:23:04.000Z | 2022-03-15T20:06:10.000Z | # Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
# Copyright (c) 2011, 2012 Open Networking Foundation
# Copyright (c) 2012, 2013 Big Switch Networks, Inc.
# See the file LICENSE.pyloxi which should have been included in the source distribution
# Automatically generated by LOXI from ... | 33.631596 | 288 | 0.55368 | 25,511 | 202,664 | 4.207205 | 0.015562 | 0.035079 | 0.035358 | 0.046958 | 0.864139 | 0.833225 | 0.797475 | 0.768303 | 0.741955 | 0.72783 | 0 | 0.012995 | 0.314989 | 202,664 | 6,025 | 289 | 33.637178 | 0.760126 | 0.01462 | 0 | 0.761833 | 0 | 0 | 0.046244 | 0.010285 | 0 | 0 | 0 | 0 | 0.008709 | 1 | 0.094661 | false | 0 | 0.00284 | 0 | 0.206929 | 0.018932 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7f6e5a2764ddc88181c95264a074baf6afa327e9 | 1,035 | py | Python | test/test-GetBetweennessCentr.py | Cam2337/snap-python | 0bf722b461f8b5aae3ecb2757313521e9e9e76f1 | [
"BSD-3-Clause"
] | 242 | 2015-01-01T08:40:28.000Z | 2022-03-18T05:22:09.000Z | test/test-GetBetweennessCentr.py | Cam2337/snap-python | 0bf722b461f8b5aae3ecb2757313521e9e9e76f1 | [
"BSD-3-Clause"
] | 99 | 2015-01-24T07:55:27.000Z | 2021-10-30T18:20:13.000Z | test/test-GetBetweennessCentr.py | Cam2337/snap-python | 0bf722b461f8b5aae3ecb2757313521e9e9e76f1 | [
"BSD-3-Clause"
] | 105 | 2015-03-03T06:45:17.000Z | 2022-02-24T15:52:40.000Z | import snap
Graph = snap.GenRndGnm(snap.PNGraph, 100, 1000)
Nodes = snap.TIntFltH()
Edges = snap.TIntPrFltH()
snap.GetBetweennessCentr(Graph, Nodes, Edges, 1.0)
for node in Nodes:
print("node: %d centrality: %f" % (node, Nodes[node]))
for edge in Edges:
print("edge: (%d, %d) centrality: %f" % (edge.GetVal1(), ... | 33.387097 | 90 | 0.674396 | 146 | 1,035 | 4.780822 | 0.191781 | 0.094556 | 0.103152 | 0.068768 | 0.829513 | 0.829513 | 0.829513 | 0.829513 | 0.829513 | 0.829513 | 0 | 0.037204 | 0.142995 | 1,035 | 30 | 91 | 34.5 | 0.749718 | 0 | 0 | 0.72 | 0 | 0 | 0.151016 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0.24 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7f8715aae2da811915416f6b66c80204c552b096 | 205 | py | Python | platforms/winpack_dldt/2021.4/patch.config.py | xipingyan/opencv | 39c3334147ec02761b117f180c9c4518be18d1fa | [
"Apache-2.0"
] | 56,632 | 2016-07-04T16:36:08.000Z | 2022-03-31T18:38:14.000Z | platforms/winpack_dldt/2021.4/patch.config.py | yusufm423/opencv | 6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067 | [
"Apache-2.0"
] | 13,593 | 2016-07-04T13:59:03.000Z | 2022-03-31T21:04:51.000Z | platforms/winpack_dldt/2021.4/patch.config.py | yusufm423/opencv | 6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067 | [
"Apache-2.0"
] | 54,986 | 2016-07-04T14:24:38.000Z | 2022-03-31T22:51:18.000Z | applyPatch('20210630-dldt-disable-unused-targets.patch')
applyPatch('20210630-dldt-pdb.patch')
applyPatch('20210630-dldt-disable-multidevice-autoplugin.patch')
applyPatch('20210630-dldt-vs-version.patch')
| 41 | 64 | 0.819512 | 25 | 205 | 6.72 | 0.48 | 0.428571 | 0.52381 | 0.482143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159204 | 0.019512 | 205 | 4 | 65 | 51.25 | 0.676617 | 0 | 0 | 0 | 0 | 0 | 0.707317 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f6b60855ecd1cec26ab16490b6746ce11574640f | 13,372 | py | Python | tests/problems.py | emaballarin/torchsde | 83373b30c9bd447ec32a8c286c42a4cf5e9753a6 | [
"Apache-2.0"
] | 984 | 2020-07-06T23:15:17.000Z | 2022-03-31T10:09:49.000Z | tests/problems.py | GabrielNobis/torchsde | 53038a3efcd77f6c9f3cfd0310700a59be5d5d2d | [
"Apache-2.0"
] | 95 | 2020-07-11T10:53:02.000Z | 2022-03-30T21:33:56.000Z | tests/problems.py | GabrielNobis/torchsde | 53038a3efcd77f6c9f3cfd0310700a59be5d5d2d | [
"Apache-2.0"
] | 117 | 2020-07-07T20:05:05.000Z | 2022-03-20T21:30:23.000Z | # Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 30.321995 | 120 | 0.617185 | 1,986 | 13,372 | 3.964753 | 0.113797 | 0.013716 | 0.038862 | 0.044196 | 0.762637 | 0.743332 | 0.726441 | 0.706756 | 0.666878 | 0.664719 | 0 | 0.018662 | 0.246635 | 13,372 | 440 | 121 | 30.390909 | 0.762954 | 0.095199 | 0 | 0.717687 | 0 | 0 | 0.010433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.248299 | false | 0 | 0.013605 | 0.122449 | 0.554422 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
63e3051d819d9a325a4f85fc823ba7f2bfcc9649 | 3,085 | py | Python | netbox/extras/migrations/0071_standardize_id_fields.py | cybarox/netbox | ea197eff5f4fe925bb354d1375912decd81752bd | [
"Apache-2.0"
] | null | null | null | netbox/extras/migrations/0071_standardize_id_fields.py | cybarox/netbox | ea197eff5f4fe925bb354d1375912decd81752bd | [
"Apache-2.0"
] | null | null | null | netbox/extras/migrations/0071_standardize_id_fields.py | cybarox/netbox | ea197eff5f4fe925bb354d1375912decd81752bd | [
"Apache-2.0"
] | null | null | null | from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('extras', '0070_customlink_enabled'),
]
operations = [
# Model IDs
migrations.AlterField(
model_name='configcontext',
name='id',
field=models.BigA... | 34.277778 | 92 | 0.584765 | 269 | 3,085 | 6.535316 | 0.171004 | 0.170648 | 0.213311 | 0.24744 | 0.857224 | 0.813424 | 0.754835 | 0.754835 | 0.754835 | 0.714448 | 0 | 0.00187 | 0.306645 | 3,085 | 89 | 93 | 34.662921 | 0.820009 | 0.005511 | 0 | 0.756098 | 0 | 0 | 0.094617 | 0.007504 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012195 | 0 | 0.04878 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
63f05bb1002eae738179e8fc20b77f8c5fecfed1 | 34,183 | py | Python | pandapower/test/opf/test_basic.py | mathildebadoual/pandapower | 9ba4bcb78e84b644d2ba6df0c08e285c54af8ddc | [
"BSD-3-Clause"
] | 1 | 2020-10-19T06:39:15.000Z | 2020-10-19T06:39:15.000Z | pandapower/test/opf/test_basic.py | miek770/pandapower | de004efc1b7432a633792af4f551f7635a02db47 | [
"BSD-3-Clause"
] | null | null | null | pandapower/test/opf/test_basic.py | miek770/pandapower | de004efc1b7432a633792af4f551f7635a02db47 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2016-2018 by University of Kassel and Fraunhofer Institute for Energy Economics
# and Energy System Technology (IEE), Kassel. All rights reserved.
import pytest
import numpy as np
import pandapower as pp
from pandapower.test.toolbox import add_grid_connection
from pandapower.... | 42.04551 | 116 | 0.635959 | 5,725 | 34,183 | 3.482969 | 0.055371 | 0.069408 | 0.028285 | 0.021214 | 0.877332 | 0.851003 | 0.836309 | 0.826078 | 0.81008 | 0.78992 | 0 | 0.059288 | 0.233713 | 34,183 | 813 | 117 | 42.04551 | 0.701955 | 0.143551 | 0 | 0.729367 | 0 | 0 | 0.070269 | 0.015481 | 0 | 0 | 0 | 0.00123 | 0.119002 | 1 | 0.038388 | false | 0 | 0.015355 | 0 | 0.055662 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
120090acdc01c506da9760792ff51bd01b7bc2dc | 48,095 | py | Python | mlni/classification.py | AbdulkadirA/mlni | f58d53cd70d700289063ce3ca4ad475607806729 | [
"MIT"
] | null | null | null | mlni/classification.py | AbdulkadirA/mlni | f58d53cd70d700289063ce3ca4ad475607806729 | [
"MIT"
] | null | null | null | mlni/classification.py | AbdulkadirA/mlni | f58d53cd70d700289063ce3ca4ad475607806729 | [
"MIT"
] | null | null | null | from mlni.base import WorkFlow, ClassificationAlgorithm, ClassificationValidation
import numpy as np
import pandas as pd
import os, json
from sklearn.svm import SVC, SVR
from sklearn.metrics import roc_auc_score
from sklearn.model_selection import StratifiedKFold, StratifiedShuffleSplit
from multiprocessing.pool import... | 45.244591 | 161 | 0.62624 | 5,969 | 48,095 | 4.683029 | 0.053275 | 0.02125 | 0.024148 | 0.01431 | 0.879369 | 0.858727 | 0.815512 | 0.791936 | 0.77133 | 0.749043 | 0 | 0.007103 | 0.274083 | 48,095 | 1,062 | 162 | 45.287194 | 0.793544 | 0.031812 | 0 | 0.736111 | 0 | 0.010101 | 0.08713 | 0.005908 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063131 | false | 0 | 0.015152 | 0.002525 | 0.123737 | 0.031566 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
122d94703ed2eff6dd8c6666fe8dc298248ce44f | 7,593 | py | Python | sources/image_colorization/mleu_train/models/zhao_models.py | tramtran2/prlab_image_colorization | 3ec7f3ad60d6235c5bb232713f1b3ec5f06f4d67 | [
"Apache-2.0"
] | null | null | null | sources/image_colorization/mleu_train/models/zhao_models.py | tramtran2/prlab_image_colorization | 3ec7f3ad60d6235c5bb232713f1b3ec5f06f4d67 | [
"Apache-2.0"
] | null | null | null | sources/image_colorization/mleu_train/models/zhao_models.py | tramtran2/prlab_image_colorization | 3ec7f3ad60d6235c5bb232713f1b3ec5f06f4d67 | [
"Apache-2.0"
] | null | null | null | import tensorflow.keras.backend as K
import tensorflow as tf
from tensorflow.keras.layers import Input, Conv2D, BatchNormalization, UpSampling2D, Concatenate
from tensorflow.keras.models import Model
from tensorflow.keras.regularizers import l2
from tensorflow.keras.utils import multi_gpu_model
from tensorflow.keras.ut... | 58.407692 | 124 | 0.664823 | 947 | 7,593 | 5.108765 | 0.089757 | 0.081852 | 0.154609 | 0.18272 | 0.842084 | 0.808805 | 0.808805 | 0.808805 | 0.792683 | 0.778421 | 0 | 0.053828 | 0.1828 | 7,593 | 130 | 125 | 58.407692 | 0.725866 | 0.005531 | 0 | 0.354545 | 0 | 0 | 0.119751 | 0.003047 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009091 | false | 0 | 0.063636 | 0 | 0.081818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
124bbe2b76f85191181a040d8338897ee61ceb01 | 122 | py | Python | python/testData/inspections/AddCallSuperRequiredKeywordOnlyParamAfterSingleStarInSuperInitIsMerged_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/AddCallSuperRequiredKeywordOnlyParamAfterSingleStarInSuperInitIsMerged_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/AddCallSuperRequiredKeywordOnlyParamAfterSingleStarInSuperInitIsMerged_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
def __init__(self, *, a):
pass
class B(A):
def __init__(self, a):
super().__init__(a=a) | 15.25 | 29 | 0.52459 | 18 | 122 | 2.888889 | 0.444444 | 0.153846 | 0.307692 | 0.461538 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.311475 | 122 | 8 | 30 | 15.25 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
d646d65d95678f3711f245e96af782502155bac0 | 9,268 | py | Python | tests/versiontest.py | dylanShark/pomgen | 311dc718e4796b0b03de65a318e264df9a44bbde | [
"BSD-3-Clause"
] | 32 | 2020-01-17T11:00:33.000Z | 2022-03-17T02:46:41.000Z | tests/versiontest.py | dylanShark/pomgen | 311dc718e4796b0b03de65a318e264df9a44bbde | [
"BSD-3-Clause"
] | 19 | 2020-01-08T02:30:29.000Z | 2021-02-21T08:43:40.000Z | tests/versiontest.py | dylanShark/pomgen | 311dc718e4796b0b03de65a318e264df9a44bbde | [
"BSD-3-Clause"
] | 10 | 2019-12-29T06:53:56.000Z | 2021-11-22T15:28:50.000Z | """
Copyright (c) 2018, salesforce.com, inc.
All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
"""
import unittest
from common import version
class VersionTest(unittest.TestCase):
def test_get_re... | 49.561497 | 150 | 0.729391 | 1,384 | 9,268 | 4.477601 | 0.090318 | 0.096821 | 0.106503 | 0.107633 | 0.880587 | 0.852348 | 0.821849 | 0.767145 | 0.734872 | 0.689043 | 0 | 0.040713 | 0.146634 | 9,268 | 186 | 151 | 49.827957 | 0.742825 | 0.043267 | 0 | 0.381295 | 0 | 0 | 0.15118 | 0.029807 | 0 | 0 | 0 | 0 | 0.273381 | 1 | 0.215827 | false | 0 | 0.014388 | 0 | 0.244604 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c3c56289e56a1d5564a7f99233f3b232711d4732 | 1,096 | py | Python | Code coach problems/Hard/Python/Digits_of_Pi.py | Djivs/sololearn-code-solutions | 7727dd97f79863a88841548770481f6f2abdc7bf | [
"MIT"
] | 1 | 2020-07-27T07:32:57.000Z | 2020-07-27T07:32:57.000Z | Code coach problems/Hard/Python/Digits_of_Pi.py | Djivs/sololearn-code-solutions | 7727dd97f79863a88841548770481f6f2abdc7bf | [
"MIT"
] | null | null | null | Code coach problems/Hard/Python/Digits_of_Pi.py | Djivs/sololearn-code-solutions | 7727dd97f79863a88841548770481f6f2abdc7bf | [
"MIT"
] | 1 | 2020-11-07T12:45:21.000Z | 2020-11-07T12:45:21.000Z | pi = "141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128"
pi += "48111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127372458... | 109.6 | 169 | 0.941606 | 23 | 1,096 | 44.869565 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.936389 | 0.024635 | 1,096 | 9 | 170 | 121.777778 | 0.028999 | 0 | 0 | 0 | 0 | 0 | 0.914234 | 0.894161 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
612f788c74ed76d7927c70b4e63f968c05b5641e | 168 | py | Python | pysit/solvers/constant_density_acoustic/time/scalar/__init__.py | zfang-slim/pysit | 8fca42b9749841abc302d1f8195a1437fad7ae4d | [
"BSD-3-Clause"
] | 64 | 2015-09-08T06:23:27.000Z | 2022-03-09T23:35:24.000Z | pysit/solvers/constant_density_acoustic/time/scalar/__init__.py | zfang-slim/pysit | 8fca42b9749841abc302d1f8195a1437fad7ae4d | [
"BSD-3-Clause"
] | 23 | 2015-10-08T01:14:24.000Z | 2021-07-15T11:37:05.000Z | pysit/solvers/constant_density_acoustic/time/scalar/__init__.py | zfang-slim/pysit | 8fca42b9749841abc302d1f8195a1437fad7ae4d | [
"BSD-3-Clause"
] | 48 | 2015-06-25T14:48:22.000Z | 2021-12-06T19:50:25.000Z | from .constant_density_acoustic_time_scalar_1D import *
from .constant_density_acoustic_time_scalar_2D import *
from .constant_density_acoustic_time_scalar_3D import *
| 42 | 55 | 0.892857 | 24 | 168 | 5.625 | 0.416667 | 0.266667 | 0.422222 | 0.6 | 0.911111 | 0.911111 | 0.637037 | 0 | 0 | 0 | 0 | 0.019231 | 0.071429 | 168 | 3 | 56 | 56 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 10 |
61428bc5b7800fcbe65650de9abc61f77cd30892 | 154 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_1/_pkg1_1_1_1/_pkg1_1_1_1_0/__init__.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_1/_pkg1_1_1_1/_pkg1_1_1_1_0/__init__.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_1/_pkg1_1_1_1/_pkg1_1_1_1_0/__init__.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from ._mod1_1_1_1_0_0 import *
from ._mod1_1_1_1_0_1 import *
from ._mod1_1_1_1_0_2 import *
from ._mod1_1_1_1_0_3 import *
from ._mod1_1_1_1_0_4 import * | 30.8 | 30 | 0.811688 | 40 | 154 | 2.375 | 0.2 | 0.210526 | 0.473684 | 0.526316 | 0.884211 | 0.884211 | 0.757895 | 0 | 0 | 0 | 0 | 0.222222 | 0.123377 | 154 | 5 | 31 | 30.8 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 12 |
618a5ffc14fc38e9ac444013de578dec143cb801 | 6,269 | py | Python | loldib/getratings/models/NA/na_azir/na_azir_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_azir/na_azir_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_azir/na_azir_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Azir_Jng_Aatrox(Ratings):
pass
class NA_Azir_Jng_Ahri(Ratings):
pass
class NA_Azir_Jng_Akali(Ratings):
pass
class NA_Azir_Jng_Alistar(Ratings):
pass
class NA_Azir_Jng_Amumu(Ratings):
pass
class NA_Azir_Jng_Anivia(Ratings):
pass
clas... | 15.033573 | 46 | 0.75642 | 972 | 6,269 | 4.452675 | 0.151235 | 0.223198 | 0.350739 | 0.446396 | 0.791359 | 0.791359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177221 | 6,269 | 416 | 47 | 15.069712 | 0.839085 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
4eef564dcbec2a2712802b4e44dad3b7b72fe0c7 | 4,011 | py | Python | jmeter_api/thread_groups/common_thread_group/test_common_thread_group.py | antondmtvch/yah2j | 3ed2e82a2c72b93ad1f11905ff37b79c386b0a58 | [
"MIT"
] | null | null | null | jmeter_api/thread_groups/common_thread_group/test_common_thread_group.py | antondmtvch/yah2j | 3ed2e82a2c72b93ad1f11905ff37b79c386b0a58 | [
"MIT"
] | null | null | null | jmeter_api/thread_groups/common_thread_group/test_common_thread_group.py | antondmtvch/yah2j | 3ed2e82a2c72b93ad1f11905ff37b79c386b0a58 | [
"MIT"
] | null | null | null | import xmltodict
import pytest
from jmeter_api.thread_groups.common_thread_group.elements import CommonThreadGroup
from jmeter_api.basics.utils import tag_wrapper
class TestCommonThreadGroopArgs:
class TestContinueForever:
def test_check(self):
with pytest.raises(TypeError):
C... | 37.138889 | 102 | 0.649963 | 401 | 4,011 | 6.27182 | 0.159601 | 0.058449 | 0.267197 | 0.286282 | 0.844135 | 0.844135 | 0.838966 | 0.838966 | 0.832604 | 0.788072 | 0 | 0.022155 | 0.257292 | 4,011 | 107 | 103 | 37.485981 | 0.822088 | 0 | 0 | 0.662651 | 0 | 0 | 0.048118 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 1 | 0.253012 | false | 0 | 0.048193 | 0 | 0.39759 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9c97959c500a174ae48fa684dca9aefba0bbb226 | 41,103 | py | Python | criteo_marketing/api/campaigns_api.py | criteo/criteo-python-marketing-sdk | 1093f86cf035cb6ce657b47f0f5e768c1fc2271c | [
"Apache-2.0"
] | 14 | 2018-12-03T14:19:59.000Z | 2022-02-10T18:11:48.000Z | criteo_marketing/api/campaigns_api.py | criteo/criteo-python-marketing-sdk | 1093f86cf035cb6ce657b47f0f5e768c1fc2271c | [
"Apache-2.0"
] | 6 | 2019-01-10T18:11:01.000Z | 2021-05-19T09:15:23.000Z | criteo_marketing/api/campaigns_api.py | criteo/criteo-python-marketing-sdk | 1093f86cf035cb6ce657b47f0f5e768c1fc2271c | [
"Apache-2.0"
] | 10 | 2019-05-01T05:07:54.000Z | 2022-02-21T11:16:47.000Z | # coding: utf-8
"""
Marketing API v.1.0
IMPORTANT: This swagger links to Criteo production environment. Any test applied here will thus impact real campaigns. # noqa: E501
The version of the OpenAPI document: v.1.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_im... | 53.104651 | 394 | 0.637739 | 4,846 | 41,103 | 5.198514 | 0.056335 | 0.040013 | 0.063353 | 0.020959 | 0.954271 | 0.946253 | 0.934741 | 0.930811 | 0.922039 | 0.912472 | 0 | 0.013564 | 0.287935 | 41,103 | 773 | 395 | 53.173351 | 0.847171 | 0.49101 | 0 | 0.76 | 0 | 0 | 0.235405 | 0.032977 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037143 | false | 0 | 0.014286 | 0 | 0.088571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9cc644272949bbaf742c6a9eddffc5b963764f68 | 18,537 | py | Python | static_methods/external_tools.py | david-house-harvard/canvas_python_sdk | 9c2e59621a9a5667bc43c253ef801482b241a2c1 | [
"MIT"
] | 21 | 2015-06-12T13:49:04.000Z | 2021-11-08T05:37:44.000Z | static_methods/external_tools.py | david-house-harvard/canvas_python_sdk | 9c2e59621a9a5667bc43c253ef801482b241a2c1 | [
"MIT"
] | 44 | 2015-02-04T15:26:52.000Z | 2021-12-03T17:47:00.000Z | static_methods/external_tools.py | david-house-harvard/canvas_python_sdk | 9c2e59621a9a5667bc43c253ef801482b241a2c1 | [
"MIT"
] | 7 | 2015-07-20T23:56:03.000Z | 2021-02-23T17:13:00.000Z | from canvas_sdk import client, utils
def edit_external_tool_courses(request_ctx, course_id, external_tool_id, name=None, privacy_level=None, consumer_key=None, shared_secret=None, description=None, url=None, domain=None, icon_url=None, text=None, custom_fields=None, account_navigation_url=None, account_navigation_enab... | 71.296154 | 966 | 0.73944 | 2,476 | 18,537 | 5.27706 | 0.062197 | 0.031226 | 0.055564 | 0.070259 | 0.984234 | 0.982244 | 0.982244 | 0.982244 | 0.982244 | 0.982244 | 0 | 0.000134 | 0.195663 | 18,537 | 259 | 967 | 71.571429 | 0.87619 | 0.599827 | 0 | 0.901099 | 0 | 0 | 0.221632 | 0.164675 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021978 | false | 0 | 0.010989 | 0 | 0.054945 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9cff109d318f446838480d5775f4c0da25a435f7 | 25,756 | py | Python | datasets/kitti_comb_multiframe.py | pgodet/star_flow | cedb96ff339d11abf71d12d09e794593a742ccce | [
"Apache-2.0"
] | 10 | 2020-11-17T12:55:00.000Z | 2022-01-13T07:23:55.000Z | datasets/kitti_comb_multiframe.py | pgodet/star_flow | cedb96ff339d11abf71d12d09e794593a742ccce | [
"Apache-2.0"
] | 1 | 2021-01-02T22:46:07.000Z | 2021-01-02T22:46:07.000Z | datasets/kitti_comb_multiframe.py | pgodet/star_flow | cedb96ff339d11abf71d12d09e794593a742ccce | [
"Apache-2.0"
] | 1 | 2021-01-26T10:53:02.000Z | 2021-01-26T10:53:02.000Z | from __future__ import absolute_import, division, print_function
import os
import torch.utils.data as data
from glob import glob
from torchvision import transforms as vision_transforms
from . import transforms
from . import common
import numpy as np
import png
VALIDATE_INDICES_2015 = [10, 11, 12, 25, 26, 30, 31, 4... | 40.11838 | 198 | 0.573575 | 2,980 | 25,756 | 4.615436 | 0.088591 | 0.033154 | 0.023266 | 0.026465 | 0.863167 | 0.845281 | 0.818598 | 0.785735 | 0.773811 | 0.757452 | 0 | 0.072443 | 0.294689 | 25,756 | 642 | 199 | 40.11838 | 0.684686 | 0.077885 | 0 | 0.778481 | 0 | 0 | 0.054864 | 0 | 0 | 0 | 0 | 0 | 0.040084 | 1 | 0.042194 | false | 0 | 0.018987 | 0.004219 | 0.103376 | 0.00211 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
143c9959e801579a7f8ac814e9602619660904f1 | 122 | py | Python | emat/workbench/util/__init__.py | jinsanity07git/tmip-emat | ff816cf50f141825078bb276d6da46d92c5028a9 | [
"BSD-3-Clause"
] | 75 | 2015-01-14T20:39:14.000Z | 2022-03-31T09:28:15.000Z | emat/workbench/util/__init__.py | jinsanity07git/tmip-emat | ff816cf50f141825078bb276d6da46d92c5028a9 | [
"BSD-3-Clause"
] | 92 | 2015-01-15T16:12:38.000Z | 2022-03-23T20:46:37.000Z | emat/workbench/util/__init__.py | jinsanity07git/tmip-emat | ff816cf50f141825078bb276d6da46d92c5028a9 | [
"BSD-3-Clause"
] | 64 | 2015-02-16T15:07:12.000Z | 2022-03-23T16:17:16.000Z | from __future__ import absolute_import
from .ema_exceptions import *
from .ema_logging import *
from .utilities import *
| 20.333333 | 38 | 0.811475 | 16 | 122 | 5.75 | 0.5 | 0.326087 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 122 | 5 | 39 | 24.4 | 0.87619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
144853db164eb9ed946e108694256353be07f071 | 47 | py | Python | prla/assignments/a0/sum_first.py | AegirAexx/python-sandbox | fa1f584f615c6ed04f80b9dd92d2b241248c9ebe | [
"Unlicense"
] | null | null | null | prla/assignments/a0/sum_first.py | AegirAexx/python-sandbox | fa1f584f615c6ed04f80b9dd92d2b241248c9ebe | [
"Unlicense"
] | null | null | null | prla/assignments/a0/sum_first.py | AegirAexx/python-sandbox | fa1f584f615c6ed04f80b9dd92d2b241248c9ebe | [
"Unlicense"
] | null | null | null | def sum_first(lis, i):
return sum(lis[:i])
| 15.666667 | 23 | 0.617021 | 9 | 47 | 3.111111 | 0.666667 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 2 | 24 | 23.5 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
146d3ac5921b62738c602c4c6fe3564d9ebc1835 | 177,609 | py | Python | grammars-v4/generated/PlSqlParserListener.py | coder-chenzhi/priscilla | 38acb923a41f1478b1c9aa51175ff2829d9f6f2a | [
"MIT"
] | null | null | null | grammars-v4/generated/PlSqlParserListener.py | coder-chenzhi/priscilla | 38acb923a41f1478b1c9aa51175ff2829d9f6f2a | [
"MIT"
] | null | null | null | grammars-v4/generated/PlSqlParserListener.py | coder-chenzhi/priscilla | 38acb923a41f1478b1c9aa51175ff2829d9f6f2a | [
"MIT"
] | null | null | null | # Generated from grammars-v4/plsql/PlSqlParser.g4 by ANTLR 4.7.1
from antlr4 import *
if __name__ is not None and "." in __name__:
from .PlSqlParser import PlSqlParser
else:
from PlSqlParser import PlSqlParser
# This class defines a complete listener for a parse tree produced by PlSqlParser.
class PlSqlParserL... | 36.195028 | 133 | 0.763739 | 21,720 | 177,609 | 5.998481 | 0.047238 | 0.050151 | 0.083585 | 0.150452 | 0.910528 | 0.903275 | 0.903037 | 0.787062 | 0.780546 | 0.426927 | 0 | 0.000083 | 0.181021 | 177,609 | 4,906 | 134 | 36.202405 | 0.895619 | 0.374322 | 0 | 0.498625 | 1 | 0 | 0.000009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.498625 | false | 0.500458 | 0.001375 | 0 | 0.500458 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
dcdf013084e1129b29cf14d1b44402d09e9c8eb7 | 15,260 | py | Python | accelbyte_py_sdk/api/group/wrappers/_group_member.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/group/wrappers/_group_member.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/group/wrappers/_group_member.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
# pylint: disable=duplicate-code
# pylint: disable=li... | 40.693333 | 250 | 0.734404 | 1,775 | 15,260 | 6.057465 | 0.072113 | 0.113839 | 0.080357 | 0.053571 | 0.861235 | 0.815662 | 0.803385 | 0.78497 | 0.776228 | 0.776228 | 0 | 0.007583 | 0.17903 | 15,260 | 374 | 251 | 40.802139 | 0.850655 | 0.050197 | 0 | 0.753333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.086667 | 0 | 0.286667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0d19d85d6471b0491005066660990b9ba68be74f | 2,309 | py | Python | test_ImageProcessing/test_ImgFunctions.py | mdholbrook/bme590final | e226114009f2d43052fb82a9850d3b82d09e0ad7 | [
"MIT"
] | 1 | 2018-11-27T21:09:53.000Z | 2018-11-27T21:09:53.000Z | test_ImageProcessing/test_ImgFunctions.py | mdholbrook/bme590final | e226114009f2d43052fb82a9850d3b82d09e0ad7 | [
"MIT"
] | 41 | 2018-11-27T21:11:09.000Z | 2018-12-15T01:33:05.000Z | test_ImageProcessing/test_ImgFunctions.py | mdholbrook/bme590final | e226114009f2d43052fb82a9850d3b82d09e0ad7 | [
"MIT"
] | null | null | null | import pytest
from ImageProcessing.ImgFunctions import *
from skimage import io
@pytest.mark.parametrize("filename,expected", [
("TestImages/Lenna.png", 2),
("TestImages/circlesBrightDark.png", 2),
("TestImages/yellowlily.jpg", 2),
("TestImages/tire.tif", 2),
("TestImages/coins.png", 2),
("Tes... | 29.602564 | 49 | 0.660026 | 287 | 2,309 | 5.25784 | 0.139373 | 0.167661 | 0.12061 | 0.09609 | 0.86216 | 0.86216 | 0.86216 | 0.732936 | 0.732936 | 0.732936 | 0 | 0.024742 | 0.159809 | 2,309 | 77 | 50 | 29.987013 | 0.753093 | 0 | 0 | 0.80303 | 0 | 0 | 0.317887 | 0.153313 | 0 | 0 | 0 | 0 | 0.151515 | 1 | 0.075758 | false | 0 | 0.045455 | 0 | 0.121212 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0d39f6aa538f1ebd04b80f9f2d9d0cdedd68ea96 | 130 | py | Python | src/prefect/tasks/control_flow/__init__.py | louisditzel/prefect | b1a02fee623b965e756a38aa09059db780ab67eb | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-05-10T14:32:32.000Z | 2020-05-10T14:32:32.000Z | src/prefect/tasks/control_flow/__init__.py | louisditzel/prefect | b1a02fee623b965e756a38aa09059db780ab67eb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/prefect/tasks/control_flow/__init__.py | louisditzel/prefect | b1a02fee623b965e756a38aa09059db780ab67eb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from prefect.tasks.control_flow.conditional import ifelse, switch, merge
from prefect.tasks.control_flow.filter import FilterTask
| 43.333333 | 72 | 0.861538 | 18 | 130 | 6.111111 | 0.666667 | 0.2 | 0.290909 | 0.418182 | 0.490909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 130 | 2 | 73 | 65 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b4b06042af63a06b62a94601ff314190a04b8f85 | 550 | py | Python | temboo/core/Library/Parse/Roles/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Parse/Roles/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Parse/Roles/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Parse.Roles.CreateRole import CreateRole, CreateRoleInputSet, CreateRoleResultSet, CreateRoleChoreographyExecution
from temboo.Library.Parse.Roles.DeleteRole import DeleteRole, DeleteRoleInputSet, DeleteRoleResultSet, DeleteRoleChoreographyExecution
from temboo.Library.Parse.Roles.RetrieveRole impor... | 110 | 144 | 0.898182 | 44 | 550 | 11.227273 | 0.5 | 0.080972 | 0.137652 | 0.178138 | 0.218623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050909 | 550 | 4 | 145 | 137.5 | 0.94636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b4eed58f05b21e4b5ff66d2bb7d82e3cf8516e5b | 432 | py | Python | temboo/core/Library/Utilities/HTTP/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Utilities/HTTP/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Utilities/HTTP/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Utilities.HTTP.Delete import Delete, DeleteInputSet, DeleteResultSet, DeleteChoreographyExecution
from temboo.Library.Utilities.HTTP.Get import Get, GetInputSet, GetResultSet, GetChoreographyExecution
from temboo.Library.Utilities.HTTP.Post import Post, PostInputSet, PostResultSet, PostChoreographyE... | 86.4 | 117 | 0.87037 | 44 | 432 | 8.545455 | 0.5 | 0.106383 | 0.180851 | 0.276596 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064815 | 432 | 4 | 118 | 108 | 0.930693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b4f43e9c58e9be9a10ebdec33d794d2dde91627d | 22,348 | py | Python | abnorm_tests/tests/test_fields.py | tsouvarev/django-abnorm | 5bd2a788c52d7103a6c2a2444579f07228153642 | [
"MIT"
] | null | null | null | abnorm_tests/tests/test_fields.py | tsouvarev/django-abnorm | 5bd2a788c52d7103a6c2a2444579f07228153642 | [
"MIT"
] | null | null | null | abnorm_tests/tests/test_fields.py | tsouvarev/django-abnorm | 5bd2a788c52d7103a6c2a2444579f07228153642 | [
"MIT"
] | null | null | null | from unittest import skipIf, skipUnless
import django
from django.test import TestCase
from .models import (
TestObj, RelatedTestObj, NullRelatedTestObj, GenericRelatedTestObj,
M2MTestObj, TestParentObj,
)
from abnorm.utils import reload_model_instance
from abnorm.adapters import this_django
class FKRelatio... | 36.938843 | 79 | 0.672499 | 2,939 | 22,348 | 4.790745 | 0.059884 | 0.142188 | 0.192188 | 0.107813 | 0.846449 | 0.821591 | 0.791051 | 0.768892 | 0.753977 | 0.728906 | 0 | 0.021569 | 0.234473 | 22,348 | 604 | 80 | 37 | 0.801438 | 0.019062 | 0 | 0.603004 | 0 | 0 | 0.008627 | 0 | 0 | 0 | 0 | 0 | 0.150215 | 1 | 0.124464 | false | 0 | 0.012876 | 0 | 0.158798 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
37244fac31f7fe383cdb55e9c908cdd66ac71479 | 4,235 | py | Python | authors/apps/articles/tests/test_like_dislike.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/articles/tests/test_like_dislike.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | 26 | 2019-01-07T14:22:05.000Z | 2019-02-28T17:11:48.000Z | authors/apps/articles/tests/test_like_dislike.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | 3 | 2019-09-19T22:16:09.000Z | 2019-10-16T21:16:16.000Z | from django.urls import reverse
from rest_framework import status
from authors.apps.articles.tests.like_dislike_base_test import LikeDislike
class LikeDislikeTest(LikeDislike):
"""Test like or dislike articles."""
def test_like_article(self):
"""Test like an article."""
response = self.like_ar... | 44.114583 | 74 | 0.642503 | 483 | 4,235 | 5.426501 | 0.142857 | 0.097291 | 0.14918 | 0.103014 | 0.84319 | 0.801984 | 0.801984 | 0.785578 | 0.764594 | 0.748951 | 0 | 0.010743 | 0.230697 | 4,235 | 95 | 75 | 44.578947 | 0.793738 | 0.072255 | 0 | 0.779221 | 0 | 0 | 0.114484 | 0 | 0 | 0 | 0 | 0 | 0.220779 | 1 | 0.090909 | false | 0 | 0.038961 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2eb7ab446d415077cce46fa1087333dd306d40d8 | 3,912 | py | Python | src/tests/test_utils_evtable.py | reddcoin-project/ReddConnect | 5c212683de6b80b81fd15ed05239c3a1b46c3afd | [
"BSD-3-Clause"
] | 5 | 2015-01-30T08:47:59.000Z | 2022-01-22T19:27:03.000Z | src/tests/test_utils_evtable.py | reddcoin-project/ReddConnect | 5c212683de6b80b81fd15ed05239c3a1b46c3afd | [
"BSD-3-Clause"
] | 2 | 2017-12-28T21:36:48.000Z | 2017-12-28T21:36:57.000Z | src/tests/test_utils_evtable.py | reddcoin-project/ReddConnect | 5c212683de6b80b81fd15ed05239c3a1b46c3afd | [
"BSD-3-Clause"
] | 1 | 2019-01-05T15:51:37.000Z | 2019-01-05T15:51:37.000Z | import unittest
class TestMakeIter(unittest.TestCase):
def test_make_iter(self):
# self.assertEqual(expected, make_iter(obj))
assert True # TODO: implement your test here
class TestWrap(unittest.TestCase):
def test_wrap(self):
# self.assertEqual(expected, wrap(text, width, **kwargs))
... | 35.563636 | 74 | 0.642382 | 476 | 3,912 | 5.056723 | 0.102941 | 0.061072 | 0.122144 | 0.200665 | 0.864977 | 0.861654 | 0.830079 | 0.830079 | 0.813461 | 0.690902 | 0 | 0 | 0.244376 | 3,912 | 109 | 75 | 35.889908 | 0.814276 | 0.561094 | 0 | 0.62 | 0 | 0 | 0.004825 | 0 | 0 | 0 | 0 | 0.009174 | 0.42 | 1 | 0.42 | false | 0 | 0.02 | 0 | 0.54 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2c024b5b03795f99bea617f6cb1f7d7a5c1df3a6 | 20,799 | py | Python | sdk/python/pulumi_azure/logicapps/integration_account_partner.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/logicapps/integration_account_partner.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/logicapps/integration_account_partner.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 52.390428 | 247 | 0.69912 | 2,306 | 20,799 | 6.097138 | 0.082394 | 0.119061 | 0.05377 | 0.098009 | 0.852703 | 0.840327 | 0.824182 | 0.807468 | 0.799858 | 0.77027 | 0 | 0.004366 | 0.218087 | 20,799 | 396 | 248 | 52.522727 | 0.860173 | 0.413433 | 0 | 0.642512 | 1 | 0 | 0.156026 | 0.085187 | 0 | 0 | 0 | 0 | 0 | 1 | 0.154589 | false | 0.004831 | 0.033816 | 0 | 0.280193 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2c19e091f85515e4975261d392c41b4f89822e56 | 618,442 | py | Python | maqluengine/admin.py | robcbryant/projectanka | 54d713693a9e618bfa96c7d784563bc72fa0a8f8 | [
"Apache-2.0"
] | null | null | null | maqluengine/admin.py | robcbryant/projectanka | 54d713693a9e618bfa96c7d784563bc72fa0a8f8 | [
"Apache-2.0"
] | null | null | null | maqluengine/admin.py | robcbryant/projectanka | 54d713693a9e618bfa96c7d784563bc72fa0a8f8 | [
"Apache-2.0"
] | null | null | null |
###############################################################################################################################################################################################################################################################################################################################... | 80.369331 | 344 | 0.497469 | 58,469 | 618,442 | 5.105646 | 0.032701 | 0.014924 | 0.012334 | 0.010954 | 0.820633 | 0.800035 | 0.784324 | 0.772047 | 0.760312 | 0.750374 | 0 | 0.004051 | 0.356926 | 618,442 | 7,694 | 345 | 80.379776 | 0.746563 | 0.311486 | 0 | 0.70395 | 0 | 0.00712 | 0.109335 | 0.025955 | 0.000459 | 0 | 0 | 0.00013 | 0 | 0 | null | null | 0.000689 | 0.016307 | null | null | 0.04961 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
258a915a0b64ef31f74cac3bb88b6e02ec6d473f | 2,325 | py | Python | tracker/migrations/0006_auto_20200820_0227.py | Stephan-e/CSR-tracker | 780ce4c4d4f96a499803b25b3cc9869cfb275566 | [
"MIT"
] | null | null | null | tracker/migrations/0006_auto_20200820_0227.py | Stephan-e/CSR-tracker | 780ce4c4d4f96a499803b25b3cc9869cfb275566 | [
"MIT"
] | null | null | null | tracker/migrations/0006_auto_20200820_0227.py | Stephan-e/CSR-tracker | 780ce4c4d4f96a499803b25b3cc9869cfb275566 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.5 on 2020-08-20 02:27
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('tracker', '0005_auto_20200820_0123'),
]
operations = [
migrations.RemoveField(
model_name='companyorder',
name='carb... | 32.746479 | 84 | 0.575914 | 233 | 2,325 | 5.553648 | 0.206009 | 0.083462 | 0.173879 | 0.2017 | 0.846213 | 0.846213 | 0.777434 | 0.698609 | 0.698609 | 0.698609 | 0 | 0.047264 | 0.308387 | 2,325 | 70 | 85 | 33.214286 | 0.757463 | 0.019355 | 0 | 0.703125 | 1 | 0 | 0.120281 | 0.019315 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015625 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
25c8367cfb6292e36deed8a96d09dc5d80090c90 | 250 | py | Python | old_code/src_python/nmpccodegen/Cfunctions/__init__.py | kul-forbes/nmpc-codegen | 0b96da0840504817472b2bdc62c29c98bdf29c8f | [
"MIT"
] | 24 | 2017-11-13T02:17:10.000Z | 2021-03-15T13:47:20.000Z | old_code/src_python/nmpccodegen/Cfunctions/__init__.py | kul-optec/nmpc-codegen | 0b96da0840504817472b2bdc62c29c98bdf29c8f | [
"MIT"
] | 14 | 2018-01-13T20:20:47.000Z | 2020-05-12T11:21:12.000Z | old_code/src_python/nmpccodegen/Cfunctions/__init__.py | kul-optec/nmpc-codegen | 0b96da0840504817472b2bdc62c29c98bdf29c8f | [
"MIT"
] | 5 | 2018-08-14T14:27:41.000Z | 2020-12-17T08:13:41.000Z | from .ProximalFunction import ProximalFunction
from .Function import Cfunction
from .IndicatorBoxFunction import IndicatorBoxFunction
from .IndicatorBoxFunction import IndicatorBoxFunctionProx
from .source_file_operations import Source_file_generator | 50 | 58 | 0.904 | 24 | 250 | 9.25 | 0.458333 | 0.216216 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076 | 250 | 5 | 59 | 50 | 0.961039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d37d64087d6db4e166f284982adfde93555f2cce | 4,178 | py | Python | pommerman/configs.py | raileanu/playground | 5c46b9f1823d4ef7c64b5128328ce1c717b0e043 | [
"Apache-2.0"
] | null | null | null | pommerman/configs.py | raileanu/playground | 5c46b9f1823d4ef7c64b5128328ce1c717b0e043 | [
"Apache-2.0"
] | null | null | null | pommerman/configs.py | raileanu/playground | 5c46b9f1823d4ef7c64b5128328ce1c717b0e043 | [
"Apache-2.0"
] | null | null | null | from . import envs
from . import characters
def ffa_v0():
"""Start up a FFA config with the default settings."""
env = envs.v0.Pomme
game_type = envs.utility.GameType.FFA
env_entry_point = 'pommerman.envs.v0:Pomme'
env_id = 'PommeFFA-v0'
env_kwargs = {
'game_type': game_type,
'... | 32.897638 | 69 | 0.652944 | 558 | 4,178 | 4.609319 | 0.111111 | 0.209565 | 0.097978 | 0.046656 | 0.870529 | 0.856532 | 0.830482 | 0.800933 | 0.786159 | 0.786159 | 0 | 0.009913 | 0.227382 | 4,178 | 126 | 70 | 33.15873 | 0.786865 | 0.074916 | 0 | 0.712963 | 0 | 0 | 0.197705 | 0.041993 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.018519 | 0 | 0.12963 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9f43a289479186dfdcb210c930da1979a03e99e4 | 615 | py | Python | Christmas tree.py | donnat-homas123/PROJECT-1.0 | 86877d2f0535c81f85318366b867f97888366782 | [
"Apache-2.0"
] | null | null | null | Christmas tree.py | donnat-homas123/PROJECT-1.0 | 86877d2f0535c81f85318366b867f97888366782 | [
"Apache-2.0"
] | null | null | null | Christmas tree.py | donnat-homas123/PROJECT-1.0 | 86877d2f0535c81f85318366b867f97888366782 | [
"Apache-2.0"
] | null | null | null |
import time
space = " "
x = 20
y = 18
z = 16
for i in range(1,10,2):
print(space*x+("*"*i))
x -= 1
for i in range(5,16,2):
print(space*y+("*"*i))
y -= 1
for i in range(9,22,2):
print(space*z+("*"*i))
z -= 1
for i in range(1,8):
print(space*19+("***"))
time.sleep(5)
#edit
# Christmas Tree
... | 15 | 27 | 0.502439 | 123 | 615 | 2.512195 | 0.211382 | 0.10356 | 0.15534 | 0.28479 | 0.944984 | 0.944984 | 0.944984 | 0.944984 | 0.944984 | 0.944984 | 0 | 0.112798 | 0.250407 | 615 | 40 | 28 | 15.375 | 0.557484 | 0.030894 | 0 | 1 | 0 | 0 | 0.023609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.235294 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4ca76b31a991607f4142a478d425003d9b5dca85 | 99 | py | Python | First/17.list.py | KingJin-web/python | bf39a1d130a82bc0775b4f984a32cc3d9139ff39 | [
"Unlicense"
] | null | null | null | First/17.list.py | KingJin-web/python | bf39a1d130a82bc0775b4f984a32cc3d9139ff39 | [
"Unlicense"
] | null | null | null | First/17.list.py | KingJin-web/python | bf39a1d130a82bc0775b4f984a32cc3d9139ff39 | [
"Unlicense"
] | null | null | null | t = ['a', 'b', 'c', 'd', 'e', 'f', 'g']
print(t[3])
print(t[-99:-7])
print(t[-99:-5])
print(t[::])
| 16.5 | 39 | 0.393939 | 21 | 99 | 1.857143 | 0.619048 | 0.615385 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081395 | 0.131313 | 99 | 5 | 40 | 19.8 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
4cab4cd9aefde217d74a59d3c7cbc9f14331a794 | 118 | py | Python | python_resumable/models/__init__.py | akaushik759/python-resumable | 0c3a6d908b2c850ea45bfe2a5434ef3cacaa9c51 | [
"MIT"
] | 6 | 2017-10-19T20:27:46.000Z | 2020-02-24T09:26:25.000Z | python_resumable/models/__init__.py | akaushik759/python-resumable | 0c3a6d908b2c850ea45bfe2a5434ef3cacaa9c51 | [
"MIT"
] | 1 | 2020-09-10T13:30:33.000Z | 2020-09-10T13:30:33.000Z | python_resumable/models/__init__.py | akaushik759/python-resumable | 0c3a6d908b2c850ea45bfe2a5434ef3cacaa9c51 | [
"MIT"
] | 2 | 2020-09-24T03:41:46.000Z | 2020-10-15T17:52:09.000Z | from python_resumable.models.chunk import Chunk, FlaskChunk
from python_resumable.models.repository import Repository
| 39.333333 | 59 | 0.881356 | 15 | 118 | 6.8 | 0.533333 | 0.196078 | 0.372549 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076271 | 118 | 2 | 60 | 59 | 0.93578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4cdc584c614bc150893e0fd81a8425dc74be14da | 76 | py | Python | brainbox/population/__init__.py | k1o0/ibllib | 842a8d72e0b75153126296061f4561f477e99646 | [
"MIT"
] | 1 | 2020-11-21T07:02:21.000Z | 2020-11-21T07:02:21.000Z | brainbox/population/__init__.py | k1o0/ibllib | 842a8d72e0b75153126296061f4561f477e99646 | [
"MIT"
] | null | null | null | brainbox/population/__init__.py | k1o0/ibllib | 842a8d72e0b75153126296061f4561f477e99646 | [
"MIT"
] | null | null | null | from .population import _get_spike_counts_in_bins
from .population import * | 38 | 50 | 0.855263 | 11 | 76 | 5.454545 | 0.727273 | 0.466667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 51 | 38 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4cfc456a12d65acf3dbc44811aeb6fe892800e83 | 30,473 | py | Python | house_code/main_programs/PSUPozyx/modules/console_logging_functions.py | mukobi/Pozyx-Gabe | a8b444c2013b1df5043cd25106b72562409b5130 | [
"MIT"
] | 1 | 2020-06-12T07:21:56.000Z | 2020-06-12T07:21:56.000Z | house_code/main_programs/PSUPozyx/modules/console_logging_functions.py | mukobi/Pozyx-Gabe | a8b444c2013b1df5043cd25106b72562409b5130 | [
"MIT"
] | null | null | null | house_code/main_programs/PSUPozyx/modules/console_logging_functions.py | mukobi/Pozyx-Gabe | a8b444c2013b1df5043cd25106b72562409b5130 | [
"MIT"
] | null | null | null | import time as time
from .data_functions import DataFunctions as DataFunctions
import sys
sys.stdout.flush()
class ConsoleLoggingFunctions:
@staticmethod
def get_time():
"""
Gets processor time
:return float current_time: the current processor time
"""
current_time = t... | 41.459864 | 140 | 0.585174 | 3,362 | 30,473 | 5.028257 | 0.05354 | 0.085182 | 0.050873 | 0.067199 | 0.935936 | 0.913103 | 0.889323 | 0.872819 | 0.861165 | 0.847915 | 0 | 0.007713 | 0.332064 | 30,473 | 734 | 141 | 41.516349 | 0.822836 | 0.142618 | 0 | 0.726397 | 0 | 0 | 0.029907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055877 | false | 0 | 0.00578 | 0.001927 | 0.098266 | 0.036609 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.