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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
156c3130c467226746745088ce065327bb3c73d9 | 22,800 | py | Python | foiamachine/apps/agency/migrations/0001_initial.py | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | 9 | 2017-08-02T16:28:10.000Z | 2021-07-19T09:51:46.000Z | foiamachine/apps/agency/migrations/0001_initial.py | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | null | null | null | foiamachine/apps/agency/migrations/0001_initial.py | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | 5 | 2017-10-10T23:15:02.000Z | 2021-07-19T09:51:48.000Z | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Agency'
db.create_table('agency_agency', (
('id', self.gf('django.db.models.fiel... | 83.211679 | 218 | 0.572895 | 2,255 | 22,800 | 5.675388 | 0.08071 | 0.105642 | 0.183779 | 0.262541 | 0.829583 | 0.810986 | 0.788248 | 0.765276 | 0.717456 | 0.666198 | 0 | 0.008109 | 0.183289 | 22,800 | 274 | 219 | 83.211679 | 0.679179 | 0.007237 | 0 | 0.3861 | 0 | 0 | 0.588467 | 0.343217 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007722 | false | 0.003861 | 0.015444 | 0 | 0.034749 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
15700d909b888b4e41e74d11021240eaf7370c47 | 3,127 | py | Python | aether-kernel/aether/kernel/api/migrations/0006_auto_20180122_1346.py | lordmallam/aether | 7ceb71d2ef8b09d704d94dfcb243dbbdf8356135 | [
"Apache-2.0"
] | 14 | 2018-08-09T20:57:16.000Z | 2020-10-11T12:22:18.000Z | aether-kernel/aether/kernel/api/migrations/0006_auto_20180122_1346.py | lordmallam/aether | 7ceb71d2ef8b09d704d94dfcb243dbbdf8356135 | [
"Apache-2.0"
] | 148 | 2018-07-24T10:52:29.000Z | 2022-02-10T09:06:44.000Z | aether-kernel/aether/kernel/api/migrations/0006_auto_20180122_1346.py | lordmallam/aether | 7ceb71d2ef8b09d704d94dfcb243dbbdf8356135 | [
"Apache-2.0"
] | 6 | 2018-07-25T13:33:10.000Z | 2019-09-23T03:02:09.000Z | # Generated by Django 2.0.1 on 2018-01-22 13:46
from django.db import migrations
import django.utils.timezone
import model_utils.fields
class Migration(migrations.Migration):
dependencies = [
('kernel', '0005_auto_20180116_1246'),
]
operations = [
migrations.AddField(
model_... | 41.144737 | 135 | 0.638951 | 300 | 3,127 | 6.526667 | 0.156667 | 0.073034 | 0.126149 | 0.165475 | 0.902962 | 0.902962 | 0.835036 | 0.835036 | 0.835036 | 0.835036 | 0 | 0.013124 | 0.244643 | 3,127 | 75 | 136 | 41.693333 | 0.815834 | 0.014391 | 0 | 0.869565 | 1 | 0 | 0.102273 | 0.007468 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 9 |
17331da500b5f038e5a5c373a6d80c1188740383 | 72 | py | Python | thundra/plugins/invocation/__init__.py | sturmianseq/thundra-agent-python | 4cee02d790eb7b8e4dea4e2e9dcd1f67533b1c56 | [
"Apache-2.0"
] | 22 | 2018-03-05T20:02:46.000Z | 2021-04-09T12:00:18.000Z | thundra/plugins/invocation/__init__.py | sturmianseq/thundra-agent-python | 4cee02d790eb7b8e4dea4e2e9dcd1f67533b1c56 | [
"Apache-2.0"
] | 13 | 2018-03-26T07:57:57.000Z | 2021-06-29T14:22:52.000Z | thundra/plugins/invocation/__init__.py | sturmianseq/thundra-agent-python | 4cee02d790eb7b8e4dea4e2e9dcd1f67533b1c56 | [
"Apache-2.0"
] | 3 | 2018-07-04T19:00:25.000Z | 2020-12-01T11:57:29.000Z | from . import invocation_support
from . import invocation_trace_support
| 24 | 38 | 0.861111 | 9 | 72 | 6.555556 | 0.555556 | 0.338983 | 0.677966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 39 | 36 | 0.921875 | 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 |
178c5f88c150784b1be1c10c3ea1132a6732d1a4 | 13,499 | py | Python | tests/test_pgware_async.py | PieterjanMontens/pgware | c8bab60810ac6916aae01f7343e7c5149d4a79a0 | [
"MIT"
] | 1 | 2020-06-11T08:31:55.000Z | 2020-06-11T08:31:55.000Z | tests/test_pgware_async.py | PieterjanMontens/pgware | c8bab60810ac6916aae01f7343e7c5149d4a79a0 | [
"MIT"
] | 4 | 2020-03-24T17:17:28.000Z | 2021-06-02T00:16:44.000Z | tests/test_pgware_async.py | PieterjanMontens/pgware | c8bab60810ac6916aae01f7343e7c5149d4a79a0 | [
"MIT"
] | null | null | null | # pylint: skip-file
import pytest
import pgware as pgware
pytestmark = pytest.mark.asyncio
def pytest_generate_tests(metafunc):
if 'db_cfg' in metafunc.fixturenames:
metafunc.parametrize('db_cfg', ['asyncpg', 'psycopg2'], indirect=True)
@pytest.fixture
def db_cfg(request):
return {
'client... | 35.153646 | 109 | 0.593229 | 1,692 | 13,499 | 4.637707 | 0.083333 | 0.077992 | 0.038231 | 0.047789 | 0.890022 | 0.853192 | 0.853065 | 0.8379 | 0.810883 | 0.779406 | 0 | 0.010205 | 0.252315 | 13,499 | 383 | 110 | 35.245431 | 0.767264 | 0.014001 | 0 | 0.717687 | 1 | 0 | 0.229688 | 0 | 0 | 0 | 0 | 0 | 0.295918 | 1 | 0.006803 | false | 0.013605 | 0.006803 | 0.003401 | 0.017007 | 0.010204 | 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 |
bdd934d6f1c7ad566e454e694343d565177024f3 | 1,737 | py | Python | Draw.py | Hasnae-bouhmady/Sudoku-Solver-machine-learning | 9cf967d274df24ba473c12134f7d91ffbd3637bc | [
"MIT"
] | 3 | 2021-12-12T23:26:23.000Z | 2022-02-02T20:43:56.000Z | Draw.py | Hasnae-bouhmady/Sudoku-Solver-machine-learning | 9cf967d274df24ba473c12134f7d91ffbd3637bc | [
"MIT"
] | null | null | null | Draw.py | Hasnae-bouhmady/Sudoku-Solver-machine-learning | 9cf967d274df24ba473c12134f7d91ffbd3637bc | [
"MIT"
] | 1 | 2021-12-12T23:30:13.000Z | 2021-12-12T23:30:13.000Z | from PIL import Image, ImageDraw
from PIL import ImageFont
def draw(puzzle,solution):
im = Image.new('RGBA', (900, 900), (255, 255, 255, 255))
draw = ImageDraw.Draw(im)
for i in range(4):
draw.line((i*300,0,i*300,900), (0,0,0,255),5)
draw.line((0,i*300,900,i*300), (0,0,0,255),5)
... | 44.538462 | 126 | 0.498561 | 314 | 1,737 | 2.757962 | 0.165605 | 0.048499 | 0.06351 | 0.069284 | 0.878753 | 0.878753 | 0.878753 | 0.878753 | 0.878753 | 0.810624 | 0 | 0.214685 | 0.278641 | 1,737 | 38 | 127 | 45.710526 | 0.476457 | 0 | 0 | 0.823529 | 0 | 0 | 0.057715 | 0.042403 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 |
da89047413ad2042a10b92f2f2b3efe7e14a6f61 | 123 | py | Python | tests/conftest.py | pactfi/pact-py-sdk | 139ad7016b852cf971cb3af555a5229b5f373298 | [
"MIT"
] | 6 | 2022-02-21T11:58:35.000Z | 2022-02-24T08:03:58.000Z | tests/conftest.py | pactfi/pact-py-sdk | 139ad7016b852cf971cb3af555a5229b5f373298 | [
"MIT"
] | 1 | 2022-02-22T10:46:35.000Z | 2022-02-22T11:13:00.000Z | tests/conftest.py | pactfi/pact-py-sdk | 139ad7016b852cf971cb3af555a5229b5f373298 | [
"MIT"
] | null | null | null | import pytest
from tests.utils import make_fresh_testbed
@pytest.fixture
def testbed():
return make_fresh_testbed()
| 13.666667 | 42 | 0.788618 | 17 | 123 | 5.470588 | 0.647059 | 0.193548 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 123 | 8 | 43 | 15.375 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
16ff78cd1526af5ce49403f57c5b724cf8e579d0 | 20,710 | py | Python | S4/S4 Decompiler/Old Libraries/xdis/code.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | 1 | 2021-05-20T19:33:37.000Z | 2021-05-20T19:33:37.000Z | S4/S4 Decompiler/Old Libraries/xdis/code.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Decompiler/Old Libraries/xdis/code.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | # (C) Copyright 2017-2019 by Rocky Bernstein
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is ... | 32.359375 | 116 | 0.585997 | 2,612 | 20,710 | 4.42075 | 0.105666 | 0.099247 | 0.031177 | 0.023383 | 0.891487 | 0.863861 | 0.843596 | 0.842383 | 0.842383 | 0.842383 | 0 | 0.010072 | 0.338436 | 20,710 | 639 | 117 | 32.410016 | 0.832713 | 0.213858 | 0 | 0.902893 | 0 | 0 | 0.059753 | 0 | 0 | 0 | 0 | 0.004695 | 0.016529 | 1 | 0.059917 | false | 0 | 0.004132 | 0.014463 | 0.123967 | 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 |
e50c6a92bcbaedabf4b5c621dbc4b4f9e8da18b4 | 10,491 | py | Python | carlike_w_trailers/robot_models.py | MohamedNaveed/Stochastic_Optimal_Control_algos | c89dcf4f312302bee963eeb34408d7a957f8bbcd | [
"MIT"
] | 2 | 2019-09-10T18:27:49.000Z | 2020-03-26T13:23:22.000Z | carlike_w_trailers/robot_models.py | MohamedNaveed/Stochastic_Optimal_Control_algos | c89dcf4f312302bee963eeb34408d7a957f8bbcd | [
"MIT"
] | null | null | null | carlike_w_trailers/robot_models.py | MohamedNaveed/Stochastic_Optimal_Control_algos | c89dcf4f312302bee963eeb34408d7a957f8bbcd | [
"MIT"
] | null | null | null | # Author: Mohamed Naveed Gul Mohamed
# email:mohdnaveed96@gmail.com
# Date: Oct 11th 2019
#
# Dynamic models.
import casadi as c
import math as m
import numpy as np
class youBot_model(object):
"""
model specification and dynamics
"""
def __init__(self, length=0.58, breadth = 0.38, ang_vel_max=m.pi/... | 40.35 | 126 | 0.480793 | 1,816 | 10,491 | 2.693833 | 0.051211 | 0.098119 | 0.07359 | 0.081766 | 0.918438 | 0.912306 | 0.90045 | 0.88982 | 0.887163 | 0.864677 | 0 | 0.048299 | 0.299399 | 10,491 | 259 | 127 | 40.505792 | 0.617279 | 0.4725 | 0 | 0.762887 | 0 | 0 | 0.00278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092784 | false | 0 | 0.030928 | 0 | 0.216495 | 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 |
e53f9d2e35397e7176d7d35805829d01ef7cfb54 | 1,549 | py | Python | test2/test_main.py | gr0mph/OceanOfCode | 336caa00e22ae06e12d32971f84c82e3c0c9a3a4 | [
"MIT"
] | null | null | null | test2/test_main.py | gr0mph/OceanOfCode | 336caa00e22ae06e12d32971f84c82e3c0c9a3a4 | [
"MIT"
] | null | null | null | test2/test_main.py | gr0mph/OceanOfCode | 336caa00e22ae06e12d32971f84c82e3c0c9a3a4 | [
"MIT"
] | null | null | null | # Unittest
import unittest
import copy
WIDTH, HEIGHT = 15, 15
TREASURE_MAP = []
TREASURE_MAP.append(list('.xx.....xx.....'))
TREASURE_MAP.append(list('........xx.....'))
TREASURE_MAP.append(list('.xx............'))
TREASURE_MAP.append(list('.xx............'))
TREASURE_MAP.append(list('....xx.........'))
TREASURE_MAP.a... | 33.673913 | 47 | 0.524209 | 180 | 1,549 | 4.333333 | 0.155556 | 0.346154 | 0.5 | 0.403846 | 0.776923 | 0.776923 | 0.776923 | 0.776923 | 0.776923 | 0.776923 | 0 | 0.015516 | 0.16785 | 1,549 | 45 | 48 | 34.422222 | 0.589604 | 0.005165 | 0 | 0.560976 | 0 | 0 | 0.354776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04878 | 0 | 0.04878 | 0 | 0 | 0 | 0 | null | 1 | 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 | 8 |
e552bba85f91e4cadcc2020d0f9a38227ddfb9fb | 27,973 | py | Python | tests/test_key_other.py | mgorny/glep63-check | 820dd55e3c667edfaeff165cd990c121f436c108 | [
"BSD-2-Clause"
] | null | null | null | tests/test_key_other.py | mgorny/glep63-check | 820dd55e3c667edfaeff165cd990c121f436c108 | [
"BSD-2-Clause"
] | 4 | 2018-07-21T20:04:37.000Z | 2019-05-06T12:26:56.000Z | tests/test_key_other.py | mgorny/glep63-check | 820dd55e3c667edfaeff165cd990c121f436c108 | [
"BSD-2-Clause"
] | 1 | 2018-07-21T19:54:38.000Z | 2018-07-21T19:54:38.000Z | # glep63-check -- tests for other key issues
# (c) 2018-2019 Michał Górny
# Released under the terms of 2-clause BSD license.
import datetime
from glep63.base import (PublicKey, Key, UID, KeyAlgo, Validity,
KeyWarning, KeyIssue, SubKeyWarning)
import tests.key_base
class ExpiredKeyTest(tests.key_base.BaseK... | 31.751419 | 111 | 0.49344 | 2,487 | 27,973 | 5.420587 | 0.064335 | 0.050738 | 0.084563 | 0.017432 | 0.909576 | 0.904458 | 0.90112 | 0.895928 | 0.864624 | 0.848898 | 0 | 0.200465 | 0.369428 | 27,973 | 880 | 112 | 31.7875 | 0.563807 | 0.004254 | 0 | 0.902292 | 0 | 0 | 0.265063 | 0.188869 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003619 | 0 | 0.057901 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
e593bcc49333c758c423ea8f9d839deae920f486 | 1,048 | py | Python | rodan/serializers/output.py | carrieeex/Rodan | 458e72990c2571fa727a0d026fb235faf30bffec | [
"MIT"
] | 31 | 2015-01-06T17:23:45.000Z | 2022-03-30T02:46:16.000Z | rodan/serializers/output.py | carrieeex/Rodan | 458e72990c2571fa727a0d026fb235faf30bffec | [
"MIT"
] | 258 | 2015-01-02T19:34:57.000Z | 2022-01-19T16:34:21.000Z | rodan/serializers/output.py | carrieeex/Rodan | 458e72990c2571fa727a0d026fb235faf30bffec | [
"MIT"
] | 8 | 2015-08-19T16:09:31.000Z | 2021-10-03T23:46:46.000Z | from rest_framework import serializers
from rodan.models.output import Output
class OutputSerializer(serializers.HyperlinkedModelSerializer):
output_port_type = serializers.HyperlinkedRelatedField(
view_name="outputporttype-detail",
read_only=True,
lookup_field="uuid",
lookup_url_k... | 24.372093 | 67 | 0.582061 | 91 | 1,048 | 6.406593 | 0.373626 | 0.102916 | 0.144082 | 0.161235 | 0.806175 | 0.806175 | 0.806175 | 0.806175 | 0.806175 | 0.806175 | 0 | 0 | 0.328244 | 1,048 | 42 | 68 | 24.952381 | 0.828125 | 0 | 0 | 0.777778 | 0 | 0 | 0.164122 | 0.080153 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.222222 | 0 | 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 |
e5a51d76d6c9e5d1ec6b1407ba81e9783a686d56 | 70 | py | Python | Python3-TestFramework/TestFramework__unittest/ExampleModule.py | anliven/Reading-Code-Learning-Python | a814cab207bbaad6b5c69b9feeb8bf2f459baf2b | [
"Apache-2.0"
] | null | null | null | Python3-TestFramework/TestFramework__unittest/ExampleModule.py | anliven/Reading-Code-Learning-Python | a814cab207bbaad6b5c69b9feeb8bf2f459baf2b | [
"Apache-2.0"
] | null | null | null | Python3-TestFramework/TestFramework__unittest/ExampleModule.py | anliven/Reading-Code-Learning-Python | a814cab207bbaad6b5c69b9feeb8bf2f459baf2b | [
"Apache-2.0"
] | null | null | null | def e_sum(x, y):
return x + y
def e_sub(x, y):
return x - y
| 10 | 16 | 0.514286 | 16 | 70 | 2.125 | 0.4375 | 0.235294 | 0.470588 | 0.529412 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.342857 | 70 | 6 | 17 | 11.666667 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
e5c86228d9225334ddb4b762fd40f06044accf9c | 171 | py | Python | 05/00/set.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | 05/00/set.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | 39 | 2017-07-31T22:54:01.000Z | 2017-08-31T00:19:03.000Z | 05/00/set.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | s = set(); print(s, type(s))
s = set([1,2,3]); print(s, type(s))
s = set([1,2,3,2,1]); print(s, type(s))
s = {}; print(s, type(s))#dict
s = {1,2,3,2,1}; print(s, type(s))
| 28.5 | 39 | 0.502924 | 42 | 171 | 2.047619 | 0.190476 | 0.348837 | 0.581395 | 0.639535 | 0.767442 | 0.755814 | 0.755814 | 0.755814 | 0.755814 | 0 | 0 | 0.089041 | 0.146199 | 171 | 5 | 40 | 34.2 | 0.5 | 0.023392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
e5fa937ade8982496b09e9d46ad051cadf38692d | 2,246 | py | Python | map.py | kootee/QuantumGames2020 | def5118ccf4d8cb94342e37278d366faa926c43a | [
"Apache-2.0"
] | 1 | 2020-04-24T12:03:57.000Z | 2020-04-24T12:03:57.000Z | map.py | kootee/QuantumGames2020 | def5118ccf4d8cb94342e37278d366faa926c43a | [
"Apache-2.0"
] | null | null | null | map.py | kootee/QuantumGames2020 | def5118ccf4d8cb94342e37278d366faa926c43a | [
"Apache-2.0"
] | null | null | null | level = [
(1, 1 ,1 ,1 ,1 ,1 ,1 ,1), (1, 0, 0, 0, 0, 0, 2, 1), (1, 1 ,1 ,1 ,1 ,1 ,1 ,1), #0-2
(1, 1 ,1 ,1 ,1 ,1 ,1 ,1), (1, 1 ,1 ,1 ,1 ,1 ,1 ,1), (1, 1 ,1 ,1 ,1 ,1 ,1 ,1), #3-5
(1, 1 ,1 ,1 ,1 ,1 ,1 ,1), (1, 1 ,1 ,1 ,1 ,1 ,1 ,1), (1, 0, 0, 0, 0, 0, 2, 1), #6-8
(1, 1 ,1 ,1 ,1 ,1 ,1 ,1), (1,... | 83.185185 | 93 | 0.298308 | 625 | 2,246 | 1.072 | 0.08 | 1.316418 | 1.826866 | 2.280597 | 0.856716 | 0.856716 | 0.847761 | 0.847761 | 0.840299 | 0.829851 | 0 | 0.461485 | 0.358415 | 2,246 | 26 | 94 | 86.384615 | 0.00347 | 0.050312 | 0 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
f91adcd080a2da53fa25c028c84301a537fdfc42 | 185 | py | Python | devtoapi/scripts/__init__.py | volt1c/devto-api | 66a493f3c1ae6100a3fc203a5c441f2c04ad6e35 | [
"MIT"
] | null | null | null | devtoapi/scripts/__init__.py | volt1c/devto-api | 66a493f3c1ae6100a3fc203a5c441f2c04ad6e35 | [
"MIT"
] | null | null | null | devtoapi/scripts/__init__.py | volt1c/devto-api | 66a493f3c1ae6100a3fc203a5c441f2c04ad6e35 | [
"MIT"
] | null | null | null | import subprocess
def start_dev():
subprocess.run('poetry run uvicorn devtoapi:app --reload'.split())
def start():
subprocess.run('poetry run uvicorn devtoapi:app'.split())
| 18.5 | 70 | 0.713514 | 24 | 185 | 5.458333 | 0.5 | 0.122137 | 0.290076 | 0.335878 | 0.610687 | 0.610687 | 0.610687 | 0 | 0 | 0 | 0 | 0 | 0.145946 | 185 | 9 | 71 | 20.555556 | 0.829114 | 0 | 0 | 0 | 0 | 0 | 0.383784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
9721e63434ec25cb5ed822b474ac1396a7a18305 | 21,982 | py | Python | cfgov/v1/migrations/0048_remove_body_header_fields_from_main_contact_info.py | cyVR/aur | 269dad2e659f7366e6eea037110d38ab41e3ad53 | [
"CC0-1.0"
] | null | null | null | cfgov/v1/migrations/0048_remove_body_header_fields_from_main_contact_info.py | cyVR/aur | 269dad2e659f7366e6eea037110d38ab41e3ad53 | [
"CC0-1.0"
] | null | null | null | cfgov/v1/migrations/0048_remove_body_header_fields_from_main_contact_info.py | cyVR/aur | 269dad2e659f7366e6eea037110d38ab41e3ad53 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import v1.models.snippets
import wagtail.wagtailcore.fields
import wagtail.wagtailcore.blocks
import wagtail.wagtailsnippets.blocks
import wagtail.wagtailimages.blocks
import v1.atomic_elements.organisms
class Mi... | 628.057143 | 14,031 | 0.77427 | 2,915 | 21,982 | 5.778388 | 0.136535 | 0.244716 | 0.322014 | 0.188079 | 0.768998 | 0.711232 | 0.672049 | 0.646343 | 0.595524 | 0.571717 | 0 | 0.003188 | 0.058138 | 21,982 | 34 | 14,032 | 646.529412 | 0.810375 | 0.000955 | 0 | 0.178571 | 0 | 0.571429 | 0.274512 | 0.009973 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.392857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
974aef4eec9facadf6008c192d8cf647e69ed0b3 | 228 | py | Python | apps/admin.py | Edwardhgj/meiduo | 38796f5caf54676eb5620f50ade5474ee8700ad8 | [
"MIT"
] | null | null | null | apps/admin.py | Edwardhgj/meiduo | 38796f5caf54676eb5620f50ade5474ee8700ad8 | [
"MIT"
] | 6 | 2020-06-05T23:02:49.000Z | 2022-02-11T03:43:22.000Z | apps/admin.py | Edwardhgj/meiduo | 38796f5caf54676eb5620f50ade5474ee8700ad8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from apps.models import *
# Register your models here.
# admin.site.register(Cate)
# admin.site.register(Tags)
# admin.site.register(Goods)
# admin.site.register(Cate)
# admin.site.register(Cate) | 28.5 | 32 | 0.77193 | 33 | 228 | 5.333333 | 0.424242 | 0.255682 | 0.482955 | 0.357955 | 0.431818 | 0.431818 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0.096491 | 228 | 8 | 33 | 28.5 | 0.854369 | 0.688596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
97521493ec096906590e3d72301ba789ea0a3d2c | 121 | py | Python | pymdc/api/__init__.py | Storj/metadisk-client-python | 71eaf200760f780ed7a9e50fecf0dd1f24273d91 | [
"MIT"
] | null | null | null | pymdc/api/__init__.py | Storj/metadisk-client-python | 71eaf200760f780ed7a9e50fecf0dd1f24273d91 | [
"MIT"
] | null | null | null | pymdc/api/__init__.py | Storj/metadisk-client-python | 71eaf200760f780ed7a9e50fecf0dd1f24273d91 | [
"MIT"
] | null | null | null | from . buckets import * # NOQA
from . files import * # NOQA
from . keys import * # NOQA
from . users import * # NOQA
| 24.2 | 31 | 0.636364 | 16 | 121 | 4.8125 | 0.4375 | 0.519481 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264463 | 121 | 4 | 32 | 30.25 | 0.865169 | 0.157025 | 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 |
977c8ec8571a7c7044faceeb69f14e4814458444 | 12,365 | py | Python | vmware_nsx/tests/unit/nsx_v/test_md_proxy.py | mail2nsrajesh/vmware-nsx | 63154b510b9fd95c10fffae86bfc49073cafeb40 | [
"Apache-2.0"
] | null | null | null | vmware_nsx/tests/unit/nsx_v/test_md_proxy.py | mail2nsrajesh/vmware-nsx | 63154b510b9fd95c10fffae86bfc49073cafeb40 | [
"Apache-2.0"
] | null | null | null | vmware_nsx/tests/unit/nsx_v/test_md_proxy.py | mail2nsrajesh/vmware-nsx | 63154b510b9fd95c10fffae86bfc49073cafeb40 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2017 OpenStack Foundation.
#
# 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... | 43.385965 | 77 | 0.741448 | 1,805 | 12,365 | 4.852632 | 0.12133 | 0.047951 | 0.118735 | 0.140998 | 0.806028 | 0.803516 | 0.779998 | 0.76527 | 0.761502 | 0.752826 | 0 | 0.006139 | 0.196442 | 12,365 | 284 | 78 | 43.538732 | 0.875403 | 0.127457 | 0 | 0.63253 | 0 | 0 | 0.328776 | 0.009022 | 0 | 0 | 0 | 0.003521 | 0 | 1 | 0.39759 | false | 0 | 0.036145 | 0 | 0.46988 | 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 |
97c9e99ee512ec002debce3bb8e185802e2001eb | 112 | py | Python | saas/dataops/api/dataset/APP-META-PRIVATE/postrun/dataset/entry.py | iuskye/SREWorks | a2a7446767d97ec5f6d15bd00189c42150d6c894 | [
"Apache-2.0"
] | 407 | 2022-03-16T08:09:38.000Z | 2022-03-31T12:27:10.000Z | saas/dataops/api/dataset/APP-META-PRIVATE/postrun/dataset/entry.py | Kwafoor/SREWorks | 37a64a0a84b29c65cf6b77424bd2acd0c7b42e2b | [
"Apache-2.0"
] | 25 | 2022-03-22T04:27:31.000Z | 2022-03-30T08:47:28.000Z | saas/dataops/api/dataset/APP-META-PRIVATE/postrun/dataset/entry.py | Kwafoor/SREWorks | 37a64a0a84b29c65cf6b77424bd2acd0c7b42e2b | [
"Apache-2.0"
] | 109 | 2022-03-21T17:30:44.000Z | 2022-03-31T09:36:28.000Z | # coding: utf-8
from . import dataset_interface_init
def init():
dataset_interface_init.add_interfaces()
| 14 | 43 | 0.758929 | 15 | 112 | 5.333333 | 0.733333 | 0.4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.151786 | 112 | 7 | 44 | 16 | 0.831579 | 0.116071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
c1b8b52086119756d69b9ade1801ddf2513d8aeb | 159 | py | Python | product/admin.py | MohammadReza-Jafari/Gizshop_local_api | 217b841995462540f4b20ea9a3c525097a0ff347 | [
"MIT"
] | null | null | null | product/admin.py | MohammadReza-Jafari/Gizshop_local_api | 217b841995462540f4b20ea9a3c525097a0ff347 | [
"MIT"
] | 8 | 2021-04-08T21:57:39.000Z | 2022-03-12T00:45:22.000Z | product/admin.py | MohammadReza-Jafari/Gizshop_local_api | 217b841995462540f4b20ea9a3c525097a0ff347 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Product)
admin.site.register(models.Color)
admin.site.register(models.Image)
| 22.714286 | 35 | 0.81761 | 23 | 159 | 5.652174 | 0.478261 | 0.207692 | 0.392308 | 0.530769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 159 | 6 | 36 | 26.5 | 0.884354 | 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 |
de1595644c6df1e3df752abbaf74c8d2112ba14b | 17,995 | py | Python | tests/rest_kubectl/flask_rest_test.py | estuaryoss/estuary-deployer | 21f5c4d54122ad8e0cd8f881fc6481b8b30fa432 | [
"Apache-2.0"
] | 1 | 2021-04-05T11:12:08.000Z | 2021-04-05T11:12:08.000Z | tests/rest_kubectl/flask_rest_test.py | estuaryoss/estuary-deployer | 21f5c4d54122ad8e0cd8f881fc6481b8b30fa432 | [
"Apache-2.0"
] | null | null | null | tests/rest_kubectl/flask_rest_test.py | estuaryoss/estuary-deployer | 21f5c4d54122ad8e0cd8f881fc6481b8b30fa432 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import unittest
import requests
import yaml
from flask import json
from parameterized import parameterized
from requests_toolbelt.utils import dump
from rest.api.constants.api_code import ApiCode
from rest.api.responsehelpers.error_message import ErrorMessage
class FlaskServerTestCase(unittes... | 43.153477 | 123 | 0.643957 | 2,011 | 17,995 | 5.653904 | 0.111885 | 0.063412 | 0.11029 | 0.127704 | 0.830959 | 0.80985 | 0.783201 | 0.757168 | 0.735796 | 0.698769 | 0 | 0.010171 | 0.20778 | 17,995 | 416 | 124 | 43.257212 | 0.787388 | 0.094693 | 0 | 0.621359 | 0 | 0 | 0.1268 | 0.008187 | 0 | 0 | 0 | 0 | 0.417476 | 1 | 0.074434 | false | 0 | 0.02589 | 0 | 0.116505 | 0.022654 | 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 |
a9d1dc8a4fff9c7dbea4cccacdcd4d1e2990cd3e | 948 | py | Python | tests/kyu_4_tests/test_strip_url_params.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | tests/kyu_4_tests/test_strip_url_params.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | tests/kyu_4_tests/test_strip_url_params.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | import unittest
from katas.kyu_4.strip_url_params import strip_url_params
class StripURLParamsTestCase(unittest.TestCase):
def test_equals(self):
self.assertEqual(strip_url_params('www.codewars.com?a=1&b=2&a=1&b=3'),
'www.codewars.com?a=1&b=2')
def test_equals_2(self):
... | 36.461538 | 78 | 0.574895 | 139 | 948 | 3.748201 | 0.18705 | 0.211132 | 0.268714 | 0.230326 | 0.738964 | 0.738964 | 0.738964 | 0.738964 | 0.738964 | 0.533589 | 0 | 0.036179 | 0.271097 | 948 | 25 | 79 | 37.92 | 0.7178 | 0 | 0 | 0.222222 | 0 | 0.111111 | 0.256329 | 0.177215 | 0 | 0 | 0 | 0 | 0.277778 | 1 | 0.277778 | false | 0 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a9d6e01352f313e23504ba1f56e0152af4ccbbab | 9,129 | py | Python | tests/integration/voice/v1/connection_policy/test_connection_policy_target.py | BrimmingDev/twilio-python | 3226b5fed92b3c2ce64f03e6b19fc4792ef7647f | [
"MIT"
] | 1,362 | 2015-01-04T10:25:18.000Z | 2022-03-24T10:07:08.000Z | tests/integration/voice/v1/connection_policy/test_connection_policy_target.py | BrimmingDev/twilio-python | 3226b5fed92b3c2ce64f03e6b19fc4792ef7647f | [
"MIT"
] | 299 | 2015-01-30T09:52:39.000Z | 2022-03-31T23:03:02.000Z | tests/integration/voice/v1/connection_policy/test_connection_policy_target.py | BrimmingDev/twilio-python | 3226b5fed92b3c2ce64f03e6b19fc4792ef7647f | [
"MIT"
] | 622 | 2015-01-03T04:43:09.000Z | 2022-03-29T14:11:00.000Z | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class ConnectionPolicyTargetTes... | 40.215859 | 157 | 0.570051 | 677 | 9,129 | 7.545052 | 0.156573 | 0.037588 | 0.04072 | 0.048356 | 0.914252 | 0.892326 | 0.872161 | 0.872161 | 0.872161 | 0.872161 | 0 | 0.03522 | 0.318874 | 9,129 | 226 | 158 | 40.393805 | 0.786266 | 0.01194 | 0 | 0.75 | 1 | 0 | 0.249897 | 0.119274 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.114583 | false | 0 | 0.041667 | 0 | 0.166667 | 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 |
e76e9d60ab85937b85c7285fc651d4e9e23993c2 | 83 | py | Python | pyck/tests/test_lib_models.py | kashifpk/PyCK | 11513c6b928d37afcf83de717e8d2f74fce731af | [
"Ruby"
] | 2 | 2015-01-11T22:23:58.000Z | 2016-05-17T06:57:57.000Z | pyck/tests/test_lib_models.py | kashifpk/PyCK | 11513c6b928d37afcf83de717e8d2f74fce731af | [
"Ruby"
] | 31 | 2015-01-14T11:30:50.000Z | 2017-01-31T14:35:48.000Z | pyck/tests/test_lib_models.py | kashifpk/PyCK | 11513c6b928d37afcf83de717e8d2f74fce731af | [
"Ruby"
] | null | null | null | from pyck.forms import Form
import os
def test_pyck_lib_get_models_1():
pass
| 11.857143 | 33 | 0.771084 | 15 | 83 | 3.933333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.180723 | 83 | 6 | 34 | 13.833333 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
e79bb28278e6f20d27b9dc67440e52d0d9453c3d | 184 | py | Python | pbrl/algorithms/td3/__init__.py | jjccero/rl | 45d1a464ec661278372fce2c1d972d02457e21f6 | [
"MIT"
] | 11 | 2021-08-28T09:38:01.000Z | 2021-09-18T05:15:23.000Z | pbrl/algorithms/td3/__init__.py | jjccero/rl | 45d1a464ec661278372fce2c1d972d02457e21f6 | [
"MIT"
] | null | null | null | pbrl/algorithms/td3/__init__.py | jjccero/rl | 45d1a464ec661278372fce2c1d972d02457e21f6 | [
"MIT"
] | null | null | null | from pbrl.algorithms.td3.buffer import ReplayBuffer
from pbrl.algorithms.td3.policy import Policy
from pbrl.algorithms.td3.runner import Runner
from pbrl.algorithms.td3.td3 import TD3
| 36.8 | 51 | 0.847826 | 28 | 184 | 5.571429 | 0.321429 | 0.205128 | 0.461538 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.086957 | 184 | 4 | 52 | 46 | 0.892857 | 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 |
99becf3a9198b9adf3b9ce47327d5ac5748aefdb | 182 | py | Python | limix_ext/gcta/core/plink_/test/test_write.py | glimix/limix-ext | 7cf7a3b2b02f6a73cbba90f1945a06b9295b7357 | [
"MIT"
] | null | null | null | limix_ext/gcta/core/plink_/test/test_write.py | glimix/limix-ext | 7cf7a3b2b02f6a73cbba90f1945a06b9295b7357 | [
"MIT"
] | 2 | 2017-06-05T08:29:22.000Z | 2017-06-07T16:54:54.000Z | limix_ext/gcta/core/plink_/test/test_write.py | glimix/limix-ext | 7cf7a3b2b02f6a73cbba90f1945a06b9295b7357 | [
"MIT"
] | null | null | null | def test_plink_write_map():
from limix_ext.gcta.core.plink_.write import write_map
def test_plink_write_phen():
from limix_ext.gcta.core.plink_.write import write_phen_int
| 26 | 63 | 0.802198 | 31 | 182 | 4.290323 | 0.419355 | 0.300752 | 0.180451 | 0.255639 | 0.616541 | 0.616541 | 0.616541 | 0.616541 | 0.616541 | 0 | 0 | 0 | 0.120879 | 182 | 6 | 64 | 30.333333 | 0.83125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
99c1b343df331d6278cd13f141dead0916127b43 | 205 | py | Python | bitmovin/resources/models/encodings/start/manifests/__init__.py | bitmovin/bitmovin-python | d183718d640117dd75141da261901dc2f60433b0 | [
"Unlicense"
] | 44 | 2016-12-12T17:37:23.000Z | 2021-03-03T09:48:48.000Z | bitmovin/resources/models/encodings/start/manifests/__init__.py | bitmovin/bitmovin-python | d183718d640117dd75141da261901dc2f60433b0 | [
"Unlicense"
] | 38 | 2017-01-09T14:45:45.000Z | 2022-02-27T18:04:33.000Z | bitmovin/resources/models/encodings/start/manifests/__init__.py | bitmovin/bitmovin-python | d183718d640117dd75141da261901dc2f60433b0 | [
"Unlicense"
] | 27 | 2017-02-02T22:49:31.000Z | 2019-11-21T07:04:57.000Z | from .start_manifest import StartManifest
from .vod_start_manifest import VodStartManifest
from .vod_dash_start_manifest import VodDashStartManifest
from .vod_hls_start_manifest import VodHlsStartManifest
| 41 | 57 | 0.902439 | 25 | 205 | 7.04 | 0.44 | 0.295455 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078049 | 205 | 4 | 58 | 51.25 | 0.931217 | 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 |
99d633c413ed4419ef6c1a8c94ee7795582ddb61 | 21,505 | py | Python | query-opt/py/tests.py | sean-chester/relational-databases | 9d1d2da00d7d7517c34aab80bb1bcae930a2e706 | [
"Unlicense"
] | null | null | null | query-opt/py/tests.py | sean-chester/relational-databases | 9d1d2da00d7d7517c34aab80bb1bcae930a2e706 | [
"Unlicense"
] | null | null | null | query-opt/py/tests.py | sean-chester/relational-databases | 9d1d2da00d7d7517c34aab80bb1bcae930a2e706 | [
"Unlicense"
] | 8 | 2022-03-02T19:39:03.000Z | 2022-03-22T06:21:25.000Z | # Test cases for ImplementMe class.
# The mocked objects (and therefore expected output) may change
# at the point of evaluation, including into a more complex object,
# but the functionality tested by each test case will not.
# Your implementation should anticipate ways in which these mocks could
# be more complex.
... | 31.906528 | 110 | 0.526715 | 2,466 | 21,505 | 4.527981 | 0.093674 | 0.098513 | 0.081677 | 0.045406 | 0.84014 | 0.812735 | 0.795003 | 0.769031 | 0.751657 | 0.73491 | 0 | 0.070368 | 0.326622 | 21,505 | 673 | 111 | 31.953938 | 0.700711 | 0.111555 | 0 | 0.853565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046243 | 1 | 0.046243 | false | 0 | 0.011561 | 0 | 0.104046 | 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 |
99d6f6cf363d668052bc1b7957cce42a5a932207 | 2,379 | py | Python | asm/asm.py | FrancescoLucarini/pwnable.kr-exploits | 39bee10e2145a3ad2baa773c752f145f19e25af5 | [
"MIT"
] | 1 | 2021-02-09T14:11:52.000Z | 2021-02-09T14:11:52.000Z | asm/asm.py | FrancescoLucarini/pwnable.kr-exploits | 39bee10e2145a3ad2baa773c752f145f19e25af5 | [
"MIT"
] | null | null | null | asm/asm.py | FrancescoLucarini/pwnable.kr-exploits | 39bee10e2145a3ad2baa773c752f145f19e25af5 | [
"MIT"
] | null | null | null | from pwn import *
context.update(arch="amd64", os="linux", bits="64")
file_name = "this_is_pwnable.kr_flag_file_please_read_this_file.sorry_the_file_name_is_very_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo0000000000000000000000000ooooooooooooooooooooooo000000000000o0o0o0o0o0o0ong"+"\x0... | 148.6875 | 1,504 | 0.749475 | 505 | 2,379 | 3.475248 | 0.209901 | 0.290598 | 0.364103 | 0.396581 | 0.437037 | 0.402849 | 0.387464 | 0.387464 | 0.355556 | 0.324786 | 0 | 0.266265 | 0.02438 | 2,379 | 15 | 1,505 | 158.6 | 0.489875 | 0.022699 | 0 | 0.133333 | 0 | 0.066667 | 0.762478 | 0.741394 | 0.066667 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0.066667 | 0.066667 | 0 | 0.066667 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 11 |
99e1425755a55dae5584d6ebce190088e52a386e | 40 | py | Python | Python/Tests/TestData/RemoveImport/EmptyFuncDef2.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/RemoveImport/EmptyFuncDef2.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/RemoveImport/EmptyFuncDef2.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | def f():
import fob
import oar | 13.333333 | 15 | 0.55 | 6 | 40 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 40 | 3 | 16 | 13.333333 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8230886a2a3cb27a9fe719a9a8515e6855890612 | 112 | py | Python | demos/demo_T9.py | kul-group/MAZE-sim | 0f85e74bf93f9242a73bcfaa20a593ae966f38fa | [
"MIT"
] | 13 | 2021-03-10T18:40:32.000Z | 2022-03-21T20:40:57.000Z | demos/demo_T9.py | kul-group/MAZE-sim | 0f85e74bf93f9242a73bcfaa20a593ae966f38fa | [
"MIT"
] | 27 | 2021-01-28T23:18:44.000Z | 2021-05-06T19:33:09.000Z | demos/demo_T9.py | kul-group/MAZE-sim | 0f85e74bf93f9242a73bcfaa20a593ae966f38fa | [
"MIT"
] | 4 | 2021-03-19T20:46:15.000Z | 2022-03-21T20:40:59.000Z |
#T9 surrounded with 4 OH's 1 Tcluster O-Si-OH
# T9 surrounded with 4 Si-OH3
# 1 T cluster, and a 5 T cluster | 18.666667 | 46 | 0.696429 | 25 | 112 | 3.12 | 0.64 | 0.307692 | 0.410256 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.232143 | 112 | 6 | 47 | 18.666667 | 0.813953 | 0.928571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
41c476cce5ed340c7cdf8aacfdc52221ceae5609 | 174 | py | Python | config_generation/__init__.py | mhqz/deflect | ea1ffeb77a867185f287b56810a49455b2fff8ff | [
"CC-BY-4.0"
] | null | null | null | config_generation/__init__.py | mhqz/deflect | ea1ffeb77a867185f287b56810a49455b2fff8ff | [
"CC-BY-4.0"
] | null | null | null | config_generation/__init__.py | mhqz/deflect | ea1ffeb77a867185f287b56810a49455b2fff8ff | [
"CC-BY-4.0"
] | null | null | null | from config_generation.bind import generate_bind_config
from config_generation.nginx import generate_nginx_config
from config_generation.banjax import generate_banjax_config
| 43.5 | 59 | 0.913793 | 24 | 174 | 6.25 | 0.333333 | 0.2 | 0.4 | 0.346667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 174 | 3 | 60 | 58 | 0.925926 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
41c6435008b20d4d5326eccc0b19caff3e26269f | 33,020 | py | Python | dadiStuff/dadiFunctions.py | kern-lab/shanku_et_al | 5d8a1bd9f273a7023b4be48d5fc9610f65ecb295 | [
"MIT"
] | null | null | null | dadiStuff/dadiFunctions.py | kern-lab/shanku_et_al | 5d8a1bd9f273a7023b4be48d5fc9610f65ecb295 | [
"MIT"
] | null | null | null | dadiStuff/dadiFunctions.py | kern-lab/shanku_et_al | 5d8a1bd9f273a7023b4be48d5fc9610f65ecb295 | [
"MIT"
] | null | null | null | #A collection of functions for dealing with Dadi models
# A. Kern
import dadi
import numpy
import scipy
import pylab
#import nlopt
######### Demographic stuff
def OutOfAfricaGrowB((nuAf, nuEu0, nuEu, nuNA0, nuNA,
TAf, TB, TEuNA, p_misid), (n1,n2,n3), pts):
xx = dadi.Numerics.default_grid(pt... | 40.219245 | 114 | 0.598425 | 5,265 | 33,020 | 3.558405 | 0.061159 | 0.042968 | 0.047238 | 0.056685 | 0.851241 | 0.84222 | 0.835442 | 0.82957 | 0.818628 | 0.811636 | 0 | 0.063707 | 0.270775 | 33,020 | 820 | 115 | 40.268293 | 0.714357 | 0.014264 | 0 | 0.695122 | 0 | 0.002033 | 0.018839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.00813 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
68c72b194660df345e2751a9e96b4cedd4b7eaf9 | 149 | py | Python | pyschieber/rules/trumpf_rules.py | Murthy10/pyschieber | f9db28c9553b8f321f6ed71cff04eff7879af5f6 | [
"MIT"
] | 5 | 2018-01-17T08:11:14.000Z | 2018-11-27T11:37:15.000Z | pyschieber/rules/trumpf_rules.py | Murthy10/pyschieber | f9db28c9553b8f321f6ed71cff04eff7879af5f6 | [
"MIT"
] | 4 | 2018-05-09T08:41:05.000Z | 2018-11-16T08:07:39.000Z | pyschieber/rules/trumpf_rules.py | Murthy10/pyschieber | f9db28c9553b8f321f6ed71cff04eff7879af5f6 | [
"MIT"
] | 3 | 2018-04-20T07:39:30.000Z | 2018-11-10T12:44:08.000Z | from pyschieber.trumpf import Trumpf
def trumpf_allowed(chosen_trumpf, geschoben):
return not (chosen_trumpf == Trumpf.SCHIEBEN and geschoben)
| 24.833333 | 63 | 0.798658 | 19 | 149 | 6.105263 | 0.631579 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134228 | 149 | 5 | 64 | 29.8 | 0.899225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 1 | 0 | 0 | 7 |
68e19903599253c1b69975d33efd14fcae8acc44 | 173 | py | Python | app/schemas/__init__.py | congdh/fastapi-async-realworld | 608dc6f090f8a02e0a880cef33dca90df78cbfb5 | [
"MIT"
] | null | null | null | app/schemas/__init__.py | congdh/fastapi-async-realworld | 608dc6f090f8a02e0a880cef33dca90df78cbfb5 | [
"MIT"
] | null | null | null | app/schemas/__init__.py | congdh/fastapi-async-realworld | 608dc6f090f8a02e0a880cef33dca90df78cbfb5 | [
"MIT"
] | 3 | 2020-10-04T09:37:21.000Z | 2022-02-13T08:57:35.000Z | from .user import * # noqa # isort:skip
from .profile import * # noqa # isort:skip
from .article import * # noqa # isort:skip
from .comment import * # noqa # isort:skip
| 34.6 | 43 | 0.676301 | 24 | 173 | 4.875 | 0.375 | 0.34188 | 0.512821 | 0.649573 | 0.589744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208092 | 173 | 4 | 44 | 43.25 | 0.854015 | 0.387283 | 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 |
68fb6fca2339f9bd3e3162d438a395b3d8022eda | 12,828 | py | Python | tests/commands/test_release.py | williamirick/hatch | 704cdcd1a0cd3a621235ac9f5b2b90e7524e3cd3 | [
"Apache-2.0",
"MIT"
] | 2,549 | 2017-09-05T06:44:17.000Z | 2022-03-31T23:21:02.000Z | tests/commands/test_release.py | williamirick/hatch | 704cdcd1a0cd3a621235ac9f5b2b90e7524e3cd3 | [
"Apache-2.0",
"MIT"
] | 97 | 2017-06-07T23:14:12.000Z | 2022-03-30T14:22:34.000Z | tests/commands/test_release.py | williamirick/hatch | 704cdcd1a0cd3a621235ac9f5b2b90e7524e3cd3 | [
"Apache-2.0",
"MIT"
] | 140 | 2017-06-10T14:16:47.000Z | 2022-03-23T09:25:01.000Z | import os
from click.testing import CliRunner
from twine.utils import TEST_REPOSITORY
from hatch.cli import hatch
from hatch.env import install_packages
from hatch.settings import SETTINGS_FILE, copy_default_settings, save_settings
from hatch.utils import env_vars, temp_chdir, temp_move_path
from hatch.venv import cr... | 34.299465 | 117 | 0.585672 | 1,514 | 12,828 | 4.758256 | 0.086526 | 0.096613 | 0.136868 | 0.036646 | 0.807607 | 0.778179 | 0.764853 | 0.737507 | 0.72543 | 0.70794 | 0 | 0.006297 | 0.269645 | 12,828 | 373 | 118 | 34.391421 | 0.762621 | 0.007795 | 0 | 0.742754 | 0 | 0 | 0.12944 | 0.017369 | 0 | 0 | 0 | 0 | 0.115942 | 1 | 0.072464 | false | 0.007246 | 0.032609 | 0 | 0.105072 | 0.003623 | 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 |
6b9d5d686bba19a7de897542b5459a77db5468f6 | 59 | py | Python | tirelire-account/app/views/__init__.py | AgRenaud/tirelire | 0ac42dbf735dea4ecb741057bd037c18657b95c7 | [
"MIT"
] | null | null | null | tirelire-account/app/views/__init__.py | AgRenaud/tirelire | 0ac42dbf735dea4ecb741057bd037c18657b95c7 | [
"MIT"
] | null | null | null | tirelire-account/app/views/__init__.py | AgRenaud/tirelire | 0ac42dbf735dea4ecb741057bd037c18657b95c7 | [
"MIT"
] | null | null | null | from app.views import account
from app.views import holder
| 19.666667 | 29 | 0.830508 | 10 | 59 | 4.9 | 0.6 | 0.285714 | 0.489796 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 30 | 29.5 | 0.960784 | 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 |
d419364f78c2d3e6bb683c7ba961f357ffe25afa | 25,433 | py | Python | tests/grammar/test_alter_table.py | Daniihh/sqlpyparser | aad1d613c02d4f8fa6b833c060a683cf7e194b1c | [
"MIT"
] | 28 | 2016-02-13T10:20:21.000Z | 2022-03-10T02:41:58.000Z | tests/grammar/test_alter_table.py | Daniihh/sqlpyparser | aad1d613c02d4f8fa6b833c060a683cf7e194b1c | [
"MIT"
] | 22 | 2016-02-15T15:55:09.000Z | 2017-09-12T13:49:17.000Z | tests/grammar/test_alter_table.py | Daniihh/sqlpyparser | aad1d613c02d4f8fa6b833c060a683cf7e194b1c | [
"MIT"
] | 16 | 2016-02-15T16:41:23.000Z | 2021-05-18T04:51:52.000Z | # -*- encoding:utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
import unittest
from mysqlparse.grammar.alter_table import alter_table_syntax
class AlterTableAddColumnSyntaxTest(unittest.TestCase):
def test_alter_table_add(self):
statement = alter_table_synta... | 54.228145 | 98 | 0.713836 | 2,991 | 25,433 | 5.837178 | 0.038449 | 0.180423 | 0.284552 | 0.265766 | 0.940776 | 0.924394 | 0.900452 | 0.89335 | 0.892777 | 0.874105 | 0 | 0.024539 | 0.179609 | 25,433 | 468 | 99 | 54.344017 | 0.812221 | 0.000865 | 0 | 0.708229 | 0 | 0 | 0.197843 | 0 | 0 | 0 | 0 | 0 | 0.600998 | 1 | 0.05985 | false | 0 | 0.007481 | 0 | 0.087282 | 0.002494 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d450f9d753c063632e390390d792dfdf3e502a4e | 3,089 | py | Python | tests/data/test_none_circle_zigzag.py | ideasman42/isect_segments-bentley_ottmann | 19deb3c5be4c2b91689b87548a875054b43e9952 | [
"MIT"
] | 80 | 2015-12-04T15:06:49.000Z | 2022-03-02T18:08:15.000Z | test/data/test_none_circle_zigzag.py | lolistoy/sweepline | 82a2464f984c119dd438489c5f826e9693a7fabf | [
"MIT"
] | 25 | 2015-10-18T13:58:28.000Z | 2021-06-23T21:54:54.000Z | test/data/test_none_circle_zigzag.py | lolistoy/sweepline | 82a2464f984c119dd438489c5f826e9693a7fabf | [
"MIT"
] | 37 | 2016-07-06T01:38:33.000Z | 2022-02-19T03:53:14.000Z | data = (
((-0.195090, 0.980785), (0.000000, 1.000000)),
((-0.382683, 0.923880), (-0.195090, 0.980785)),
((-0.555570, 0.831470), (-0.382683, 0.923880)),
((-0.707107, 0.707107), (-0.555570, 0.831470)),
((-0.831470, 0.555570), (-0.707107, 0.707107)),
((-0.923880, 0.382683), (-0.831470, 0.555570)),
((-0.980785, 0.195090), ... | 46.104478 | 49 | 0.581418 | 513 | 3,089 | 3.500975 | 0.089669 | 0.062361 | 0.053452 | 0.046771 | 0.997773 | 0.997773 | 0.997773 | 0.997773 | 0.997773 | 0.936526 | 0 | 0.633439 | 0.08417 | 3,089 | 66 | 50 | 46.80303 | 0.001414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2e5b253946ffd1eb0830823820b897380db7a0fd | 5,153 | py | Python | tests/test_cpu.py | hspaans/cs-6502-emulator-python | 9057a22c92e5d9de568758e109a4cff70d1d5b74 | [
"MIT"
] | null | null | null | tests/test_cpu.py | hspaans/cs-6502-emulator-python | 9057a22c92e5d9de568758e109a4cff70d1d5b74 | [
"MIT"
] | null | null | null | tests/test_cpu.py | hspaans/cs-6502-emulator-python | 9057a22c92e5d9de568758e109a4cff70d1d5b74 | [
"MIT"
] | null | null | null | """Verifies that the processor class works as expected."""
import m6502
def test_cpu_reset() -> None:
"""
Verify CPU state after CPU Reset.
:return: None
"""
memory = m6502.Memory()
cpu = m6502.Processor(memory)
cpu.reset()
assert (
cpu.program_counter,
cpu.stack_point... | 23.107623 | 75 | 0.589948 | 699 | 5,153 | 4.230329 | 0.094421 | 0.063916 | 0.030436 | 0.063916 | 0.913426 | 0.905648 | 0.854244 | 0.804532 | 0.792019 | 0.742306 | 0 | 0.072367 | 0.305453 | 5,153 | 222 | 76 | 23.211712 | 0.753842 | 0.258878 | 0 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082728 | 0 | 0.067164 | 1 | 0.067164 | false | 0 | 0.007463 | 0 | 0.074627 | 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 |
cf610382b223d0e7e702021a934b8f0239f057e6 | 184 | py | Python | query_lang/run_antlr.py | nikitavlaev/formal-languages | 4e5212858e7cdaa6f2d5130189f88b66e317d25f | [
"Unlicense"
] | null | null | null | query_lang/run_antlr.py | nikitavlaev/formal-languages | 4e5212858e7cdaa6f2d5130189f88b66e317d25f | [
"Unlicense"
] | 2 | 2020-09-17T19:11:45.000Z | 2020-09-24T08:13:22.000Z | query_lang/run_antlr.py | nikitavlaev/formal-languages | 4e5212858e7cdaa6f2d5130189f88b66e317d25f | [
"Unlicense"
] | null | null | null | from query_lang.parsing import ANTLRGrammar
from pathlib import Path
print(ANTLRGrammar(Path('/home/nikita/prog/formal-languages/query_lang/tests/test_data/test5/input.txt')).check()) | 46 | 114 | 0.826087 | 27 | 184 | 5.518519 | 0.777778 | 0.120805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.048913 | 184 | 4 | 114 | 46 | 0.845714 | 0 | 0 | 0 | 0 | 0.333333 | 0.416216 | 0.416216 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cf68cd1d4566a68f9c89b95b8b02b1279ef83491 | 109 | py | Python | torch_base/__init__.py | kushantp58/RL_CARLA | c5fe2a9743d985f03fe824b7b39cfcb3f9dfb0bc | [
"Apache-2.0"
] | 33 | 2021-02-26T10:03:28.000Z | 2022-03-23T07:24:51.000Z | torch_base/__init__.py | kushantp58/RL_CARLA | c5fe2a9743d985f03fe824b7b39cfcb3f9dfb0bc | [
"Apache-2.0"
] | 7 | 2021-03-10T11:52:48.000Z | 2022-02-06T18:31:09.000Z | torch_base/__init__.py | kushantp58/RL_CARLA | c5fe2a9743d985f03fe824b7b39cfcb3f9dfb0bc | [
"Apache-2.0"
] | 7 | 2021-03-17T10:27:07.000Z | 2022-01-27T05:47:38.000Z | from torch_base.torch_model import *
from torch_base.torch_sac import *
from torch_base.torch_agent import *
| 27.25 | 36 | 0.834862 | 18 | 109 | 4.722222 | 0.388889 | 0.317647 | 0.458824 | 0.635294 | 0.564706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 3 | 37 | 36.333333 | 0.876289 | 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 |
cf7f1b42b10c2f699a550340c1493a741ddba20b | 188,442 | py | Python | lib/visualization.py | mace2305/c4rainfall | ab8343447030e89661f297e4513ac7e826b07a8b | [
"MIT"
] | null | null | null | lib/visualization.py | mace2305/c4rainfall | ab8343447030e89661f297e4513ac7e826b07a8b | [
"MIT"
] | null | null | null | lib/visualization.py | mace2305/c4rainfall | ab8343447030e89661f297e4513ac7e826b07a8b | [
"MIT"
] | null | null | null | """
- loading of SOM products
- functions for generating intermediate plots (SOM model)
- functions for generating final output plots (RHUM, Quiver, AR, kmeans model, RF)
- loading of validation metrices
- functions for generating metrices plots (elbow/CH/DBI, sil plots, DBSCAN)
- misc plot creation functions
- functio... | 48.933264 | 301 | 0.654567 | 27,358 | 188,442 | 4.24947 | 0.031801 | 0.023224 | 0.027732 | 0.043111 | 0.892084 | 0.880506 | 0.870107 | 0.858348 | 0.846117 | 0.832535 | 0 | 0.030079 | 0.210845 | 188,442 | 3,850 | 302 | 48.945974 | 0.751691 | 0.1329 | 0 | 0.749708 | 0 | 0.056831 | 0.149278 | 0.036803 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019852 | false | 0 | 0.007007 | 0 | 0.033087 | 0.081744 | 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 |
d8837c4fdc3c4488b67d13e0418faf011088b935 | 18,485 | py | Python | robotframework-ls/tests/robotframework_ls_tests/test_signature_help.py | GLMeece/robotframework-lsp | dc9c807c4a192d252df1d05a1c5d16f8c1f24086 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | robotframework-ls/tests/robotframework_ls_tests/test_signature_help.py | GLMeece/robotframework-lsp | dc9c807c4a192d252df1d05a1c5d16f8c1f24086 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | robotframework-ls/tests/robotframework_ls_tests/test_signature_help.py | GLMeece/robotframework-lsp | dc9c807c4a192d252df1d05a1c5d16f8c1f24086 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | def test_signature_help_basic(workspace, libspec_manager, data_regression):
from robotframework_ls.impl.completion_context import CompletionContext
from robotframework_ls.impl.signature_help import signature_help
from robocorp_ls_core.lsp import MarkupKind
workspace.set_root("case4", libspec_manager=li... | 31.761168 | 90 | 0.702191 | 2,120 | 18,485 | 5.866038 | 0.080189 | 0.096172 | 0.075587 | 0.088775 | 0.930926 | 0.921277 | 0.918865 | 0.90825 | 0.908009 | 0.908009 | 0 | 0.013444 | 0.199243 | 18,485 | 581 | 91 | 31.815835 | 0.826713 | 0.023641 | 0 | 0.703704 | 0 | 0 | 0.066467 | 0.003351 | 0 | 0 | 0 | 0 | 0.033951 | 1 | 0.070988 | false | 0 | 0.148148 | 0 | 0.219136 | 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 |
2b065e78c44f1201e4ab36e0d1276a9494e1810d | 6,548 | py | Python | PyBank/main.py | kekelee0714/python_challenge | 102ef56690fb896def98b525b73d4e77459d9a98 | [
"ADSL"
] | null | null | null | PyBank/main.py | kekelee0714/python_challenge | 102ef56690fb896def98b525b73d4e77459d9a98 | [
"ADSL"
] | null | null | null | PyBank/main.py | kekelee0714/python_challenge | 102ef56690fb896def98b525b73d4e77459d9a98 | [
"ADSL"
] | null | null | null | <<<<<<< HEAD
#load csv
import os
import csv
#Path to collect data
budget_data_csv ="C:/Users/Keke/git/python_challenge/PyBank/Resources/budget_data.csv"
#define variables
totalmonths=0
#set total as integer
nettotalamount=0
#calculate changes of each date
netmonthlychange=[]
#set first value as 0 from previous row... | 30.598131 | 177 | 0.633323 | 870 | 6,548 | 4.748276 | 0.145977 | 0.017429 | 0.013556 | 0.012588 | 0.986202 | 0.986202 | 0.986202 | 0.986202 | 0.986202 | 0.986202 | 0 | 0.028681 | 0.243891 | 6,548 | 214 | 178 | 30.598131 | 0.805696 | 0.361637 | 0 | 0.959184 | 0 | 0 | 0.324193 | 0.170832 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.040816 | null | null | 0.142857 | 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 |
2b2a8d2f1cd6bf4fffe70b1a22108f94c6e975da | 46 | py | Python | markdown_strikethrough/__init__.py | codejamninja/markdown-strikethrough | 7777da3c0e801328c31faeff486356bf20d12078 | [
"MIT"
] | 2 | 2019-09-09T03:54:15.000Z | 2020-08-08T20:44:16.000Z | markdown_strikethrough/__init__.py | codejamninja/markdown-strikethrough | 7777da3c0e801328c31faeff486356bf20d12078 | [
"MIT"
] | 1 | 2020-08-08T20:44:34.000Z | 2020-08-11T19:52:36.000Z | markdown_strikethrough/__init__.py | codejamninja/markdown-strikethrough | 7777da3c0e801328c31faeff486356bf20d12078 | [
"MIT"
] | 1 | 2020-08-07T14:00:00.000Z | 2020-08-07T14:00:00.000Z | from .extension import StrikethroughExtension
| 23 | 45 | 0.891304 | 4 | 46 | 10.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.97619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2b2ae429014f1501359c41d45624e957ae5aab18 | 26,275 | py | Python | get_person_json.py | nameoruser/qianshanghua_tech_open | f29d829bc0957b7aff5e4335815f79a1d6f00482 | [
"MIT"
] | null | null | null | get_person_json.py | nameoruser/qianshanghua_tech_open | f29d829bc0957b7aff5e4335815f79a1d6f00482 | [
"MIT"
] | null | null | null | get_person_json.py | nameoruser/qianshanghua_tech_open | f29d829bc0957b7aff5e4335815f79a1d6f00482 | [
"MIT"
] | null | null | null | import pyautogui
userIds=["563f28159eb5785cf3ff166c","57da039b5e87e7060078bd61","5cff5b5e0000000005001da2","597a92ff5e87e72aabdbfb68","566ae0e050c4b472ce971b00","5a0172ef4eacab059a3a9c96","54cdc001b4c4d615fc2c95ec","56585ef8e00dd87ff58fdbd8","58c740786a6a6901380c8480","55b99885e4b1cf545ecf9fce","5a2f4cb611be1021706678e... | 364.930556 | 23,770 | 0.869153 | 1,246 | 26,275 | 18.32825 | 0.763242 | 0.008583 | 0.008407 | 0.012086 | 0.049612 | 0.044796 | 0.042738 | 0.034286 | 0.023164 | 0.020099 | 0 | 0.56675 | 0.014462 | 26,275 | 71 | 23,771 | 370.070423 | 0.315157 | 0.004453 | 0 | 0.345455 | 0 | 0 | 0.813052 | 0.807926 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018182 | 0 | 0.018182 | 0.036364 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b426e31b9a2c873b8f1cb5b9f374168279b497e | 14,675 | py | Python | py2store/exploration/comparing_stores.py | i2mint/py2misc | 9b1fc25984dd1a504aa87700be4c3dcfcebc6f80 | [
"Apache-2.0"
] | null | null | null | py2store/exploration/comparing_stores.py | i2mint/py2misc | 9b1fc25984dd1a504aa87700be4c3dcfcebc6f80 | [
"Apache-2.0"
] | null | null | null | py2store/exploration/comparing_stores.py | i2mint/py2misc | 9b1fc25984dd1a504aa87700be4c3dcfcebc6f80 | [
"Apache-2.0"
] | null | null | null | from py2store.base import Persister, static_identity_method, Item, Key, Val, no_such_item, KeyIter
class Store(Persister):
"""
By store we mean key-value store. This could be files in a filesystem, objects in s3, or a database. Where and
how the content is stored should be specified, but StoreInterface of... | 43.41716 | 115 | 0.498467 | 1,767 | 14,675 | 3.804188 | 0.127334 | 0.024398 | 0.042696 | 0.036001 | 0.876822 | 0.871169 | 0.871169 | 0.863434 | 0.824755 | 0.824755 | 0 | 0.006327 | 0.246065 | 14,675 | 337 | 116 | 43.545994 | 0.601229 | 0.668211 | 0 | 0.795181 | 0 | 0 | 0.161338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26506 | false | 0.024096 | 0.012048 | 0.144578 | 0.614458 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
998c9a078723d6f5df07e87f8f05a4c12af23898 | 6,238 | py | Python | fleets/tests.py | elcolie/battleship | 71b0a963c5b24ae243a193749813fec321d5f4d8 | [
"MIT"
] | null | null | null | fleets/tests.py | elcolie/battleship | 71b0a963c5b24ae243a193749813fec321d5f4d8 | [
"MIT"
] | 3 | 2018-04-22T04:40:25.000Z | 2020-06-05T19:10:08.000Z | fleets/tests.py | elcolie/battleship | 71b0a963c5b24ae243a193749813fec321d5f4d8 | [
"MIT"
] | null | null | null | import pytest
from django.conf import settings
from django.db import IntegrityError
from fleets.models import Fleet
from commons.conftest import board
from fleets.utils import add_battleship, OutOceanException, add_submarine, NearShipException
def test_place_battleship_left_top_corner_vertical(board):
add_battle... | 32.831579 | 109 | 0.756332 | 818 | 6,238 | 5.51467 | 0.095355 | 0.118156 | 0.10552 | 0.059854 | 0.873199 | 0.842607 | 0.819996 | 0.733319 | 0.733319 | 0.688982 | 0 | 0.022301 | 0.144598 | 6,238 | 189 | 110 | 33.005291 | 0.823088 | 0.019397 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095652 | 1 | 0.252174 | false | 0 | 0.052174 | 0 | 0.304348 | 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 |
41d7ce148bc066173427996271d6d830ef33de3c | 14,676 | py | Python | tests/test_crest_endpoint.py | EVEprosper/ProsperAPI | 2d25b9210d32ca777204b1dddb56848d7075dd85 | [
"MIT"
] | 13 | 2017-03-27T13:10:52.000Z | 2020-07-30T09:33:11.000Z | tests/test_crest_endpoint.py | EVEprosper/ProsperAPI | 2d25b9210d32ca777204b1dddb56848d7075dd85 | [
"MIT"
] | 19 | 2016-11-14T00:58:54.000Z | 2018-06-11T16:54:25.000Z | tests/test_crest_endpoint.py | EVEprosper/ProsperAPI | 2d25b9210d32ca777204b1dddb56848d7075dd85 | [
"MIT"
] | 5 | 2017-04-19T01:12:06.000Z | 2021-03-07T02:23:45.000Z | from os import path, listdir, remove
import platform
import io
from datetime import datetime, timedelta
import time
import json
import pandas as pd
from tinymongo import TinyMongoClient
import pytest
from flask import url_for
import publicAPI.exceptions as exceptions
import publicAPI.config as api_utils
import helper... | 35.535109 | 88 | 0.570796 | 1,677 | 14,676 | 4.725104 | 0.093023 | 0.059566 | 0.086951 | 0.079505 | 0.871277 | 0.865724 | 0.857648 | 0.855628 | 0.855628 | 0.83897 | 0 | 0.006975 | 0.296675 | 14,676 | 412 | 89 | 35.621359 | 0.760705 | 0.063301 | 0 | 0.718475 | 0 | 0 | 0.201867 | 0.085391 | 0 | 0 | 0 | 0.002427 | 0.067449 | 1 | 0.067449 | false | 0 | 0.038123 | 0 | 0.117302 | 0.002933 | 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 |
41e7a7002edbf0ef23115a82d956ae1a5208a6c5 | 110 | py | Python | zmon_agent/common.py | linki/zmon-agent-core | f8f2ced79c05705fa1062b577687e4f60ae0872a | [
"MIT"
] | 1 | 2019-01-19T15:04:04.000Z | 2019-01-19T15:04:04.000Z | zmon_agent/common.py | linki/zmon-agent-core | f8f2ced79c05705fa1062b577687e4f60ae0872a | [
"MIT"
] | 116 | 2016-12-06T12:54:31.000Z | 2020-03-10T09:43:26.000Z | zmon_agent/common.py | linki/zmon-agent-core | f8f2ced79c05705fa1062b577687e4f60ae0872a | [
"MIT"
] | 12 | 2017-02-16T21:40:56.000Z | 2020-01-13T17:06:38.000Z | from zmon_agent import __version__
def get_user_agent():
return 'zmon-k8s-agent/{}'.format(__version__)
| 18.333333 | 50 | 0.754545 | 15 | 110 | 4.8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.127273 | 110 | 5 | 51 | 22 | 0.739583 | 0 | 0 | 0 | 0 | 0 | 0.154545 | 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 |
510ce0676e3a9c44356d6099b0b7320a4ce8dda5 | 2,028 | py | Python | BOJ/17000~17999/17200~17299/17265.py | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | 2 | 2020-01-29T06:54:41.000Z | 2021-11-07T13:23:27.000Z | BOJ/17000~17999/17200~17299/17265.py | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | BOJ/17000~17999/17200~17299/17265.py | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | def f(a,b,cc):
if cc == '+':
return a+b
if cc == '-':
return a-b
if cc == '*':
return a*b
n=int(input())
L=[]
for i in range(n):
a=input()
L.append(a.split())
D = [[-987654321]*(n) for i in range(n)]
D2 = [[987654321]*(n) for i in range(n)]
for i in range(n):
if i%2 ... | 28.56338 | 136 | 0.370809 | 524 | 2,028 | 1.435115 | 0.053435 | 0.138298 | 0.111702 | 0.085106 | 0.890957 | 0.875 | 0.860372 | 0.801862 | 0.777926 | 0.726064 | 0 | 0.101637 | 0.27712 | 2,028 | 71 | 137 | 28.56338 | 0.411323 | 0 | 0 | 0.517857 | 0 | 0 | 0.001479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | false | 0 | 0 | 0 | 0.071429 | 0.017857 | 0 | 0 | 1 | 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 | 8 |
5ab8e4a88c8a075df7661504f604ee8dece6d854 | 4,898 | py | Python | tests/tests/test_fields/test_datetime_fields.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 2 | 2020-03-17T00:53:23.000Z | 2020-07-16T07:00:33.000Z | tests/tests/test_fields/test_datetime_fields.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 76 | 2019-12-05T01:15:57.000Z | 2021-09-07T16:47:27.000Z | tests/tests/test_fields/test_datetime_fields.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 1 | 2020-02-05T15:09:47.000Z | 2020-02-05T15:09:47.000Z | from datetime import date, datetime, time
import pytest
import pytz
from django.test import override_settings
from rest_framework.exceptions import ValidationError
from bridger.serializers import DateField, DateTimeField, TimeField
from bridger.serializers.fields.types import BridgerType
from ...models import ModelT... | 35.751825 | 121 | 0.623724 | 623 | 4,898 | 4.741573 | 0.139647 | 0.076168 | 0.081246 | 0.070752 | 0.820582 | 0.80264 | 0.751523 | 0.722749 | 0.712593 | 0.703114 | 0 | 0.095327 | 0.231115 | 4,898 | 136 | 122 | 36.014706 | 0.68906 | 0 | 0 | 0.574074 | 0 | 0 | 0.119232 | 0.034912 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.203704 | false | 0 | 0.074074 | 0 | 0.305556 | 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 |
518d1445820f38b784ee88854d48060963cc5ebd | 9,565 | py | Python | tests/db/test_db.py | dpays/dsocial-notifications | 32b1cdcd58d622407fd50206053c5b9735a56ba9 | [
"MIT"
] | 10 | 2017-10-22T20:07:40.000Z | 2018-08-01T21:48:49.000Z | tests/db/test_db.py | dpays/dsocial-notifications | 32b1cdcd58d622407fd50206053c5b9735a56ba9 | [
"MIT"
] | 81 | 2017-08-19T15:38:32.000Z | 2020-05-12T09:56:14.000Z | tests/db/test_db.py | dpays/dsocial-notifications | 32b1cdcd58d622407fd50206053c5b9735a56ba9 | [
"MIT"
] | 9 | 2017-09-19T07:12:20.000Z | 2021-05-25T17:09:27.000Z | # -*- coding: utf-8 -*-
def test_schema_sqlite(sqlite_db):
"""Test init_schema creates empty tables"""
yo_db = sqlite_db
m = MetaData()
m.create_all(bind=yo_db.engine)
for table in m.tables.values():
with yo_db.acquire_conn() as conn:
query = table.select().where(True)
... | 29.072948 | 79 | 0.593204 | 1,047 | 9,565 | 5.13085 | 0.095511 | 0.034252 | 0.098287 | 0.029039 | 0.920514 | 0.909531 | 0.884587 | 0.877699 | 0.877699 | 0.867275 | 0 | 0.039925 | 0.279875 | 9,565 | 328 | 80 | 29.161585 | 0.739983 | 0.016309 | 0 | 0.790875 | 0 | 0 | 0.211299 | 0 | 0 | 0 | 0 | 0 | 0.193916 | 1 | 0.04943 | false | 0 | 0 | 0 | 0.04943 | 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 |
51ba2f553a59423ee0c33c384ecf1a568ac7029c | 132 | py | Python | topicmodels/__init__.py | llaurabat91/topic-modelling-tools | 9b53f52e5671005642faf065e993e19f0b249e5c | [
"MIT"
] | null | null | null | topicmodels/__init__.py | llaurabat91/topic-modelling-tools | 9b53f52e5671005642faf065e993e19f0b249e5c | [
"MIT"
] | null | null | null | topicmodels/__init__.py | llaurabat91/topic-modelling-tools | 9b53f52e5671005642faf065e993e19f0b249e5c | [
"MIT"
] | null | null | null | #from preprocess import *
#from bow import *
from .preprocess import *
from .bow import *
from . import LDA
from . import multimix
| 16.5 | 25 | 0.734848 | 18 | 132 | 5.388889 | 0.333333 | 0.412371 | 0.412371 | 0.494845 | 0.721649 | 0.721649 | 0.721649 | 0 | 0 | 0 | 0 | 0 | 0.189394 | 132 | 7 | 26 | 18.857143 | 0.906542 | 0.310606 | 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 | 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 |
51c436f8a1fe9a9cea19ae4ef38c82cf04e5146e | 123,175 | py | Python | lauetoolsnn/lauetools/FitOrient.py | ravipurohit1991/lauetoolsnn | 6cc413fb60872297c9ca7a202dd9dd596d4a9a5b | [
"MIT"
] | null | null | null | lauetoolsnn/lauetools/FitOrient.py | ravipurohit1991/lauetoolsnn | 6cc413fb60872297c9ca7a202dd9dd596d4a9a5b | [
"MIT"
] | null | null | null | lauetoolsnn/lauetools/FitOrient.py | ravipurohit1991/lauetoolsnn | 6cc413fb60872297c9ca7a202dd9dd596d4a9a5b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Module of Lauetools project
JS Micha Feb 2012
module to fit orientation and strain
http://sourceforge.net/projects/lauetools/
"""
__author__ = "Jean-Sebastien Micha, CRG-IF BM32 @ ESRF"
from scipy.optimize import leastsq, least_squares
import numpy as np
np.set_printoptions(precision=1... | 45.301581 | 544 | 0.480609 | 11,396 | 123,175 | 5.033345 | 0.075553 | 0.045049 | 0.035286 | 0.031241 | 0.803591 | 0.780561 | 0.762622 | 0.738982 | 0.719474 | 0.70054 | 0 | 0.051983 | 0.421839 | 123,175 | 2,718 | 545 | 45.318249 | 0.753465 | 0.306889 | 0 | 0.746367 | 0 | 0 | 0.013735 | 0 | 0 | 0 | 0 | 0.00184 | 0 | 1 | 0.013871 | false | 0.004624 | 0.008587 | 0 | 0.048217 | 0.01321 | 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 |
51f374cf2e6d3efe9a16f4ea270d5261811c448c | 46 | py | Python | apps/utils/admin/__init__.py | jorgesaw/oclock | 2a78bd4d1ab40eaa65ea346cf8c37556fcbbeca5 | [
"MIT"
] | null | null | null | apps/utils/admin/__init__.py | jorgesaw/oclock | 2a78bd4d1ab40eaa65ea346cf8c37556fcbbeca5 | [
"MIT"
] | null | null | null | apps/utils/admin/__init__.py | jorgesaw/oclock | 2a78bd4d1ab40eaa65ea346cf8c37556fcbbeca5 | [
"MIT"
] | null | null | null | from .mixins import ActiveModelSuperUserMixin
| 23 | 45 | 0.891304 | 4 | 46 | 10.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.97619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a402aa5ddf72c3d863646de328a4d16dfecc437c | 9,199 | py | Python | tests/commands/test_import_mappings.py | Thermondo/django-heroku-connect | 609ad3206731af3f6414a604a3559ffb559f0e26 | [
"Apache-2.0"
] | 18 | 2017-11-30T12:52:56.000Z | 2021-06-30T21:37:28.000Z | tests/commands/test_import_mappings.py | thermondo/django-heroku-connect | 609ad3206731af3f6414a604a3559ffb559f0e26 | [
"Apache-2.0"
] | 105 | 2017-12-01T10:46:14.000Z | 2021-11-22T13:54:31.000Z | tests/commands/test_import_mappings.py | Thermondo/django-heroku-connect | 609ad3206731af3f6414a604a3559ffb559f0e26 | [
"Apache-2.0"
] | 5 | 2019-07-23T12:28:49.000Z | 2020-10-12T18:28:24.000Z | import io
import json
import httpretty
import pytest
from django.core.management import CommandError, call_command
from heroku_connect.management.commands.import_mappings import Command
from tests import fixtures
class TestImportMapping:
@httpretty.activate
def test_app_name(self):
httpretty.registe... | 35.933594 | 90 | 0.563866 | 942 | 9,199 | 5.410828 | 0.121019 | 0.073377 | 0.086325 | 0.125172 | 0.87267 | 0.855405 | 0.854228 | 0.852658 | 0.835393 | 0.817344 | 0 | 0.017167 | 0.316121 | 9,199 | 255 | 91 | 36.07451 | 0.793038 | 0.004022 | 0 | 0.709544 | 0 | 0.041494 | 0.300764 | 0 | 0 | 0 | 0 | 0 | 0.037344 | 1 | 0.037344 | false | 0 | 0.112033 | 0 | 0.153527 | 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 |
cfe21da6aca97f585d01fe95da36e08f29e5e2fb | 1,141 | py | Python | satgenpy/satgen/dynamic_mcnf_paper_code/module.py | kalelpida/hypatia | c10b63592b3229a35dbdc1d5b70b5e80ebc256bd | [
"MIT"
] | 1 | 2022-03-18T15:42:45.000Z | 2022-03-18T15:42:45.000Z | satgenpy/satgen/dynamic_mcnf_paper_code/module.py | kalelpida/hypatia | c10b63592b3229a35dbdc1d5b70b5e80ebc256bd | [
"MIT"
] | null | null | null | satgenpy/satgen/dynamic_mcnf_paper_code/module.py | kalelpida/hypatia | c10b63592b3229a35dbdc1d5b70b5e80ebc256bd | [
"MIT"
] | null | null | null | import os
modules_non_pointes=["multiprocessing"]
def depointe():
""" enlever les '.' dans from .xxx import yyy -> on obtient from xxx import yyy"""
for fic in (liste_fic:=os.listdir(".")):
if os.path.isfile(fic) and not fic.startswith("_") and not fic.startswith('.'):
with open(fic,"r") as fin:
lignes=fin.... | 31.694444 | 83 | 0.617003 | 171 | 1,141 | 4.070175 | 0.292398 | 0.03592 | 0.074713 | 0.091954 | 0.807471 | 0.807471 | 0.807471 | 0.807471 | 0.704023 | 0.704023 | 0 | 0.00547 | 0.198948 | 1,141 | 35 | 84 | 32.6 | 0.756018 | 0.13234 | 0 | 0.758621 | 0 | 0 | 0.042008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.034483 | 0 | 0.103448 | 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 |
cfee7c528676afd423c2020563c3617983153b91 | 10,537 | py | Python | host-server/var/lib/kindle-weather-host/geticon.py | Neelakurinji123/kindle-weather-display | bacf32b8f244aa7faaa4e756ae1b7dde2d1bb6ca | [
"MIT"
] | 19 | 2021-04-29T02:22:13.000Z | 2022-01-11T19:41:58.000Z | host-server/var/lib/kindle-weather-host/geticon.py | Neelakurinji123/kindle-weather-display | bacf32b8f244aa7faaa4e756ae1b7dde2d1bb6ca | [
"MIT"
] | null | null | null | host-server/var/lib/kindle-weather-host/geticon.py | Neelakurinji123/kindle-weather-display | bacf32b8f244aa7faaa4e756ae1b7dde2d1bb6ca | [
"MIT"
] | null | null | null | #!/usr/bin/python
# Published March 2015
# Author : Greg Fabre - http://www.iero.org
# Based on Noah Blon's work : http://codepen.io/noahblon/details/lxukH
# Public domain source code
def getHome() :
return '<g transform="matrix(6.070005,0,0,5.653153,292.99285,506.46284)"><path d="M 42,48 C 29.995672,48.017555 18.0... | 239.477273 | 2,238 | 0.684255 | 2,870 | 10,537 | 2.512195 | 0.256446 | 0.007767 | 0.010402 | 0.008322 | 0.260055 | 0.242164 | 0.19681 | 0.16699 | 0.140361 | 0.100416 | 0 | 0.64154 | 0.058271 | 10,537 | 43 | 2,239 | 245.046512 | 0.085055 | 0.028281 | 0 | 0 | 0 | 0.454545 | 0.964813 | 0.527417 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 11 |
7a833c651fbedbfc36572f003b67f71b82243996 | 11,809 | py | Python | Programs/slithering_snakes.py | ShineTop/PiGlow | 3b87aca3a36a9cc2076ccebdccc5eb7a61855aa7 | [
"MIT"
] | 5 | 2018-03-16T19:09:50.000Z | 2022-02-06T21:37:35.000Z | Programs/slithering_snakes.py | Breakfast-for-Pigeons/PiGlow | 3b87aca3a36a9cc2076ccebdccc5eb7a61855aa7 | [
"MIT"
] | 3 | 2018-10-02T16:06:19.000Z | 2020-03-01T19:07:31.000Z | Programs/slithering_snakes.py | ShineTop/PiGlow | 3b87aca3a36a9cc2076ccebdccc5eb7a61855aa7 | [
"MIT"
] | 1 | 2017-11-03T13:36:35.000Z | 2017-11-03T13:36:35.000Z | #!/usr/bin/env python3
"""
Slithering Snakes
I think the title is self explanatory.
....................
Functions:
- slithering_snake_12: Lights up then turns off the LEDs on arms 1 and 2
- slithering_snake_13: Lights up then turns off the LEDs on arms 1 and 3
- slithering_snake_21: Lights up then turns off the LED... | 23.856566 | 72 | 0.602761 | 1,670 | 11,809 | 4.105389 | 0.094611 | 0.218786 | 0.315053 | 0.404317 | 0.843057 | 0.806884 | 0.784131 | 0.77713 | 0.740082 | 0.740082 | 0 | 0.082223 | 0.250233 | 11,809 | 494 | 73 | 23.904858 | 0.692117 | 0.174697 | 0 | 0.888889 | 0 | 0 | 0.025093 | 0.002837 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01897 | false | 0 | 0.01897 | 0 | 0.03794 | 0.00813 | 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 | 0 | 0 | 10 |
7aa9f1ea0f1585e054f15a33ac6e5bd0c1252ce1 | 222 | py | Python | node/core/utils/pytest.py | thenewboston-developers/Node | e71a405f4867786a54dd17ddd97595dd3a630018 | [
"MIT"
] | 18 | 2021-11-30T04:02:13.000Z | 2022-03-24T12:33:57.000Z | node/core/utils/pytest.py | thenewboston-developers/Node | e71a405f4867786a54dd17ddd97595dd3a630018 | [
"MIT"
] | 1 | 2022-02-04T17:07:38.000Z | 2022-02-04T17:07:38.000Z | node/core/utils/pytest.py | thenewboston-developers/Node | e71a405f4867786a54dd17ddd97595dd3a630018 | [
"MIT"
] | 5 | 2022-01-31T05:28:13.000Z | 2022-03-08T17:25:31.000Z | import os
import sys
def is_pytest_running():
# TODO(dmu) MEDIUM: Implement a better way of detecting pytest
return os.getenv('PYTEST_RUNNING') == 'true' or os.path.basename(sys.argv[0]) in ('pytest', 'py.test')
| 27.75 | 106 | 0.702703 | 35 | 222 | 4.371429 | 0.771429 | 0.169935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005348 | 0.157658 | 222 | 7 | 107 | 31.714286 | 0.812834 | 0.27027 | 0 | 0 | 0 | 0 | 0.19375 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
8fe9542deec2e59a607f26732d427fb6109ce50f | 11,877 | py | Python | tests/melody_tests/constraints_tests/test_comparative_pitch_constraint.py | dpazel/music_rep | 2f9de9b98b13df98f1a0a2120b84714725ce527e | [
"MIT"
] | 1 | 2021-05-06T19:45:54.000Z | 2021-05-06T19:45:54.000Z | tests/melody_tests/constraints_tests/test_comparative_pitch_constraint.py | dpazel/music_rep | 2f9de9b98b13df98f1a0a2120b84714725ce527e | [
"MIT"
] | null | null | null | tests/melody_tests/constraints_tests/test_comparative_pitch_constraint.py | dpazel/music_rep | 2f9de9b98b13df98f1a0a2120b84714725ce527e | [
"MIT"
] | null | null | null | import unittest
from tonalmodel.tonality import Tonality
from harmoniccontext.harmonic_context import HarmonicContext
from melody.constraints.policy_context import PolicyContext
from melody.constraints.contextual_note import ContextualNote
from tonalmodel.modality import ModalityType
from tonalmodel.diatonic_tone impor... | 41.096886 | 123 | 0.619685 | 1,338 | 11,877 | 5.299701 | 0.090433 | 0.04823 | 0.085742 | 0.090255 | 0.809618 | 0.802567 | 0.797208 | 0.789874 | 0.777887 | 0.777887 | 0 | 0.018346 | 0.284078 | 11,877 | 288 | 124 | 41.239583 | 0.815595 | 0.023912 | 0 | 0.804762 | 0 | 0 | 0.044485 | 0.004319 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.014286 | false | 0 | 0.07619 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8f29d692eb07a6ba8a3b1312fc01cd356a1bdcfa | 20,165 | py | Python | pdchaosazure/vmss/actions.py | proofdock/chaos-azure | 85302f8be18153862656c587988eafb5dd37ddf7 | [
"Apache-2.0"
] | 1 | 2021-04-24T20:01:54.000Z | 2021-04-24T20:01:54.000Z | pdchaosazure/vmss/actions.py | proofdock/chaos-azure | 85302f8be18153862656c587988eafb5dd37ddf7 | [
"Apache-2.0"
] | 23 | 2020-05-22T06:43:14.000Z | 2021-02-25T21:02:28.000Z | pdchaosazure/vmss/actions.py | proofdock/chaos-azure | 85302f8be18153862656c587988eafb5dd37ddf7 | [
"Apache-2.0"
] | null | null | null | import concurrent.futures
from typing import Iterable, Mapping
from azure.core.exceptions import HttpResponseError
from chaoslib import Configuration, Secrets
from chaoslib.exceptions import FailedActivity
from logzero import logger
from pdchaosazure.common import cleanse, config
from pdchaosazure.common.compute impo... | 40.009921 | 118 | 0.64369 | 2,173 | 20,165 | 5.796595 | 0.0948 | 0.029374 | 0.030168 | 0.034932 | 0.834868 | 0.832566 | 0.817879 | 0.809305 | 0.808034 | 0.782868 | 0 | 0.0029 | 0.264567 | 20,165 | 503 | 119 | 40.089463 | 0.84646 | 0.239623 | 0 | 0.774908 | 0 | 0 | 0.093094 | 0.005722 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0369 | false | 0 | 0.0369 | 0 | 0.110701 | 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 |
56cc369f63491d423777cb8420ec89165c2fb46d | 197 | py | Python | mmb_repo/mmb_data/admin.py | ajay2611/mmb | af8756fec0eab0facf7f7fa29f81157de8dec7b5 | [
"BSD-3-Clause"
] | 2 | 2017-11-10T09:12:28.000Z | 2018-05-27T00:07:19.000Z | mmb_repo/mmb_data/admin.py | ajay2611/mmb | af8756fec0eab0facf7f7fa29f81157de8dec7b5 | [
"BSD-3-Clause"
] | 1 | 2015-11-02T06:03:18.000Z | 2015-11-02T06:03:18.000Z | mmb_repo/mmb_data/admin.py | ajay2611/mmb | af8756fec0eab0facf7f7fa29f81157de8dec7b5 | [
"BSD-3-Clause"
] | 1 | 2018-04-10T07:11:07.000Z | 2018-04-10T07:11:07.000Z | from django.contrib import admin
from .models import Genre, Instrument, Song
admin.site.register(Genre)
admin.site.register(Instrument)
admin.site.register(Song)
# admin.site.register(Followers)
| 21.888889 | 43 | 0.807107 | 27 | 197 | 5.888889 | 0.444444 | 0.226415 | 0.427673 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086294 | 197 | 8 | 44 | 24.625 | 0.883333 | 0.152284 | 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 |
56e3a52e31f9399f286aec51564457e091a4d63e | 14,114 | py | Python | wf_psf/tf_alt_psf_models.py | tobias-liaudat/wf-psf | 0ff1a12d06c46bd8599061d227785393fb528d76 | [
"MIT"
] | 7 | 2022-03-10T10:49:01.000Z | 2022-03-17T16:06:12.000Z | wf_psf/tf_alt_psf_models.py | tobias-liaudat/wf-psf | 0ff1a12d06c46bd8599061d227785393fb528d76 | [
"MIT"
] | null | null | null | wf_psf/tf_alt_psf_models.py | tobias-liaudat/wf-psf | 0ff1a12d06c46bd8599061d227785393fb528d76 | [
"MIT"
] | null | null | null | import numpy as np
import tensorflow as tf
from wf_psf.tf_layers import TF_poly_Z_field, TF_zernike_OPD, TF_batch_poly_PSF
from wf_psf.tf_layers import TF_NP_poly_OPD, TF_batch_mono_PSF
class TF_SemiParam_field_l2_OPD(tf.keras.Model):
""" PSF field forward model!
Semi parametric model based on the Zernike po... | 33.76555 | 99 | 0.657007 | 1,943 | 14,114 | 4.477097 | 0.106022 | 0.023451 | 0.014484 | 0.02483 | 0.879067 | 0.859754 | 0.853087 | 0.847339 | 0.83228 | 0.83228 | 0 | 0.006359 | 0.275755 | 14,114 | 417 | 100 | 33.846523 | 0.844649 | 0.416324 | 0 | 0.802548 | 0 | 0 | 0.006732 | 0.006732 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10828 | false | 0 | 0.025478 | 0 | 0.197452 | 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 |
85c2560af9cce407afbc8cec3f3bccfdc28fddd2 | 23,390 | py | Python | volcanic/plotting3d.py | rlaplaza/volcanic | 31273300c2e96397a489db3653221659847652f9 | [
"MIT"
] | 1 | 2022-03-07T13:35:39.000Z | 2022-03-07T13:35:39.000Z | volcanic/plotting3d.py | rlaplaza/volcanic | 31273300c2e96397a489db3653221659847652f9 | [
"MIT"
] | null | null | null | volcanic/plotting3d.py | rlaplaza/volcanic | 31273300c2e96397a489db3653221659847652f9 | [
"MIT"
] | 1 | 2022-01-12T13:58:59.000Z | 2022-01-12T13:58:59.000Z | #!/usr/bin/env python
import numpy as np
import scipy.stats as stats
import itertools
import matplotlib
from matplotlib import cm
from matplotlib.ticker import FuncFormatter
matplotlib.use("Agg")
import matplotlib.pyplot as plt
import sklearn as sk
import sklearn.linear_model
from volcanic.helpers import bround
from ... | 27.779097 | 130 | 0.489397 | 2,991 | 23,390 | 3.76329 | 0.105985 | 0.021766 | 0.030295 | 0.019901 | 0.824272 | 0.804371 | 0.78296 | 0.768479 | 0.751066 | 0.739339 | 0 | 0.046778 | 0.368448 | 23,390 | 841 | 131 | 27.812128 | 0.715204 | 0.005643 | 0 | 0.774074 | 0 | 0.004938 | 0.068095 | 0.00955 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012346 | false | 0.003704 | 0.014815 | 0 | 0.037037 | 0.012346 | 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 |
a47295d63994429d1b7a4b6f05bba311a33b524a | 11,252 | py | Python | optimization/individual_factory.py | fberanizo/sin5006 | 96f7980b5ff61bd4af7852c9d733521edde540eb | [
"BSD-2-Clause"
] | null | null | null | optimization/individual_factory.py | fberanizo/sin5006 | 96f7980b5ff61bd4af7852c9d733521edde540eb | [
"BSD-2-Clause"
] | null | null | null | optimization/individual_factory.py | fberanizo/sin5006 | 96f7980b5ff61bd4af7852c9d733521edde540eb | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import sys, os
sys.path.insert(0, os.path.abspath('..'))
import ga, optimization, numpy, struct
def binary(num):
return ''.join(bin(ord(c)).replace('0b', '').rjust(8, '0') for c in struct.pack('!f', num))
class RastriginFloatIndividualFactory(ga.IndividualFactory):
def __init__(self,... | 51.614679 | 112 | 0.721738 | 1,213 | 11,252 | 6.523495 | 0.093157 | 0.084924 | 0.057627 | 0.046506 | 0.834702 | 0.831669 | 0.825856 | 0.825856 | 0.825856 | 0.823581 | 0 | 0.017643 | 0.178902 | 11,252 | 218 | 113 | 51.614679 | 0.838835 | 0.127622 | 0 | 0.732919 | 0 | 0 | 0.028657 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15528 | false | 0 | 0.012422 | 0.006211 | 0.322981 | 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 |
f10e1d5aebeb460fb695a42cd276e7ea5488b448 | 92 | py | Python | tabular/src/autogluon/tabular/utils/features/__init__.py | mseeger/autogluon-1 | e8d82363ce07fd8e3087bcdd2d71c6f6bd8fd7a0 | [
"Apache-2.0"
] | null | null | null | tabular/src/autogluon/tabular/utils/features/__init__.py | mseeger/autogluon-1 | e8d82363ce07fd8e3087bcdd2d71c6f6bd8fd7a0 | [
"Apache-2.0"
] | null | null | null | tabular/src/autogluon/tabular/utils/features/__init__.py | mseeger/autogluon-1 | e8d82363ce07fd8e3087bcdd2d71c6f6bd8fd7a0 | [
"Apache-2.0"
] | null | null | null | from ...utils.features.feature_metadata import *
from ...utils.features.generators import *
| 30.666667 | 48 | 0.782609 | 11 | 92 | 6.454545 | 0.636364 | 0.253521 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 49 | 46 | 0.845238 | 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 |
f111109b53da4d95961dd04d64753c05cb7f332c | 1,569 | py | Python | break.py | Manthanc007/APS-2o2o | a84337c4e658a93b6c67515fa3ef59b09f2e5e94 | [
"MIT"
] | null | null | null | break.py | Manthanc007/APS-2o2o | a84337c4e658a93b6c67515fa3ef59b09f2e5e94 | [
"MIT"
] | null | null | null | break.py | Manthanc007/APS-2o2o | a84337c4e658a93b6c67515fa3ef59b09f2e5e94 | [
"MIT"
] | null | null | null | from sys import stdin, stdout
t,s=map(int,input().split())
if(s==1):
while(t>0):
t=t-1
n=int(stdin.readline())
a=[int(x) for x in stdin.readline().split()]
b=[int(x) for x in stdin.readline().split()]
a.sort()
b.sort()
l=set()
l.add(a[0])
... | 27.051724 | 56 | 0.341619 | 209 | 1,569 | 2.564593 | 0.191388 | 0.033582 | 0.052239 | 0.059701 | 0.761194 | 0.75 | 0.75 | 0.75 | 0.75 | 0.630597 | 0 | 0.029337 | 0.500319 | 1,569 | 57 | 57 | 27.526316 | 0.654337 | 0 | 0 | 0.826923 | 0 | 0 | 0.009576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.019231 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f15eaefccd54f4b03e848081ce89a86147403875 | 316,691 | py | Python | threedi_api_client/openapi/api/v3_beta_api.py | nens/threedi-api-client | 43b0eb1bd47310b1783f87f6ad8bfbfe0fb4d90a | [
"BSD-3-Clause"
] | null | null | null | threedi_api_client/openapi/api/v3_beta_api.py | nens/threedi-api-client | 43b0eb1bd47310b1783f87f6ad8bfbfe0fb4d90a | [
"BSD-3-Clause"
] | 16 | 2021-05-31T09:52:04.000Z | 2022-03-14T16:07:19.000Z | threedi_api_client/openapi/api/v3_beta_api.py | nens/threedi-api-client | 43b0eb1bd47310b1783f87f6ad8bfbfe0fb4d90a | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
"""
3Di API
3Di simulation API (latest stable version: v3) Framework release: 2.9.0 3Di core release: 2.2.2 deployed on: 11:01AM (UTC) on January 11, 2022 # noqa: E501
The version of the OpenAPI document: v3
Contact: info@nelen-schuurmans.nl
Generated by: https://openapi-ge... | 54.070514 | 1,186 | 0.632819 | 36,036 | 316,691 | 5.199134 | 0.011544 | 0.057217 | 0.094451 | 0.03322 | 0.976857 | 0.965403 | 0.948478 | 0.932919 | 0.927069 | 0.915834 | 0 | 0.016686 | 0.293179 | 316,691 | 5,856 | 1,187 | 54.079747 | 0.820308 | 0.397649 | 0 | 0.685514 | 0 | 0 | 0.266465 | 0.123453 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025761 | false | 0 | 0.001673 | 0 | 0.053195 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f171d27ba3c224d6b008c063fa275e2b5abe8eeb | 102 | py | Python | build.py | Nepmia/N4-Framework | 84d98f3fe05ca02f938332e5970bca5482ef8ce7 | [
"MIT"
] | null | null | null | build.py | Nepmia/N4-Framework | 84d98f3fe05ca02f938332e5970bca5482ef8ce7 | [
"MIT"
] | null | null | null | build.py | Nepmia/N4-Framework | 84d98f3fe05ca02f938332e5970bca5482ef8ce7 | [
"MIT"
] | null | null | null | from template_handler import template_builder, templates_lister
template_builder(templates_lister()) | 25.5 | 63 | 0.882353 | 12 | 102 | 7.083333 | 0.583333 | 0.352941 | 0.564706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068627 | 102 | 4 | 64 | 25.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
f174753cba9198ba54b664cbc54c27b45c67aedf | 1,699 | py | Python | test/test_events.py | klevio/python-sparkpost | 007fb26ff5d046a639a88273265fd0775573a8e2 | [
"Apache-2.0"
] | null | null | null | test/test_events.py | klevio/python-sparkpost | 007fb26ff5d046a639a88273265fd0775573a8e2 | [
"Apache-2.0"
] | null | null | null | test/test_events.py | klevio/python-sparkpost | 007fb26ff5d046a639a88273265fd0775573a8e2 | [
"Apache-2.0"
] | null | null | null | import pytest
import responses
from sparkpost import SparkPost
from sparkpost.exceptions import SparkPostAPIException
@responses.activate
def test_success_events_message():
responses.add(
responses.GET,
'https://api.sparkpost.com/api/v1/events/message',
status=200,
content_type='a... | 25.742424 | 75 | 0.616245 | 179 | 1,699 | 5.759777 | 0.240223 | 0.075655 | 0.077595 | 0.093113 | 0.865179 | 0.865179 | 0.805044 | 0.805044 | 0.805044 | 0.71775 | 0 | 0.012308 | 0.234844 | 1,699 | 65 | 76 | 26.138462 | 0.780769 | 0 | 0 | 0.714286 | 0 | 0 | 0.283696 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 1 | 0.071429 | false | 0 | 0.071429 | 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 |
74cf486be57b08845c988fa34b7e4ba6f1addeac | 2,024 | py | Python | render/dataset.py | VCL3D/BlenderScripts | d9671801d2a7686226c9fcf297d89a4388158733 | [
"MIT"
] | 11 | 2021-05-11T17:26:59.000Z | 2022-03-25T08:13:59.000Z | render/dataset.py | VCL3D/BlenderScripts | d9671801d2a7686226c9fcf297d89a4388158733 | [
"MIT"
] | null | null | null | render/dataset.py | VCL3D/BlenderScripts | d9671801d2a7686226c9fcf297d89a4388158733 | [
"MIT"
] | 2 | 2021-05-15T01:56:01.000Z | 2021-05-15T13:49:57.000Z | class Dataset(object):
def __init__(self, name=None):
self.name = name
def __str__(self):
return self.name
def get_instance_name(self, filepath, id):
raise NotImplementedError("Abstract class")
def import_model(self, filepath):
raise NotImplementedError("Abstra... | 36.142857 | 112 | 0.727767 | 227 | 2,024 | 6.220264 | 0.215859 | 0.254958 | 0.339943 | 0.393059 | 0.796034 | 0.767705 | 0.737252 | 0.667847 | 0.667847 | 0.667847 | 0 | 0.000608 | 0.187747 | 2,024 | 56 | 113 | 36.142857 | 0.858273 | 0 | 0 | 0.428571 | 0 | 0 | 0.103704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.485714 | false | 0 | 0.028571 | 0.028571 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
74ff594067bdd8576d190e8ee173e971d106f8d2 | 151 | py | Python | src/test_only_plugins/heroku/__init__.py | FelixSchwarz/sentry | 7c92c4fa2b6b9f214764f48c82594acae1549e52 | [
"BSD-3-Clause"
] | null | null | null | src/test_only_plugins/heroku/__init__.py | FelixSchwarz/sentry | 7c92c4fa2b6b9f214764f48c82594acae1549e52 | [
"BSD-3-Clause"
] | null | null | null | src/test_only_plugins/heroku/__init__.py | FelixSchwarz/sentry | 7c92c4fa2b6b9f214764f48c82594acae1549e52 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from test_only_plugins.base import assert_package_not_installed
assert_package_not_installed("sentry-heroku")
| 25.166667 | 63 | 0.887417 | 21 | 151 | 5.761905 | 0.666667 | 0.214876 | 0.264463 | 0.413223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072848 | 151 | 5 | 64 | 30.2 | 0.864286 | 0 | 0 | 0 | 0 | 0 | 0.086093 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
7453a9a6d1aed9afe01f4c3b0e9f32ef46080879 | 4,175 | py | Python | src/sparse_autoencoder.py | jihunhamm/MinimaxFilter | fa9ee7aa126cbf651c4c9cbf076e4ba848fcfc46 | [
"Apache-2.0"
] | 10 | 2017-05-25T20:14:26.000Z | 2019-07-08T12:20:17.000Z | src/sparse_autoencoder.py | jihunhamm/MinimaxFilter | fa9ee7aa126cbf651c4c9cbf076e4ba848fcfc46 | [
"Apache-2.0"
] | null | null | null | src/sparse_autoencoder.py | jihunhamm/MinimaxFilter | fa9ee7aa126cbf651c4c9cbf076e4ba848fcfc46 | [
"Apache-2.0"
] | 7 | 2016-12-29T16:57:20.000Z | 2020-01-19T00:59:23.000Z | import numpy as np
def sigmoid(x):
indp = np.where(x>=0)
indn = np.where(x<0)
tx = np.zeros(x.shape)
tx[indp] = 1./(1.+np.exp(-x[indp]))
tx[indn] = np.exp(x[indn])/(1.+np.exp(x[indn]))
return tx
def sigmoid_prime(x):
return sigmoid(x) * (1 - sigmoid(x))
def KL_divergence(x, y)... | 34.504132 | 108 | 0.597126 | 593 | 4,175 | 4.028668 | 0.116358 | 0.175806 | 0.199247 | 0.246128 | 0.763499 | 0.735036 | 0.70992 | 0.70992 | 0.70992 | 0.70992 | 0 | 0.049871 | 0.255569 | 4,175 | 120 | 109 | 34.791667 | 0.71879 | 0.000719 | 0 | 0.5875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0875 | false | 0 | 0.0125 | 0.025 | 0.1875 | 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 |
745b13c98a95ca002fe9fae1e0e136c01d2110e0 | 41,127 | py | Python | sdk/python/pulumi_linode/domain.py | pulumi/pulumi-linode | dcdc078ddcad836dddf6f31879f0f0488bec33b4 | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2019-05-02T21:14:37.000Z | 2021-12-19T18:37:40.000Z | sdk/python/pulumi_linode/domain.py | pulumi/pulumi-linode | dcdc078ddcad836dddf6f31879f0f0488bec33b4 | [
"ECL-2.0",
"Apache-2.0"
] | 79 | 2019-05-01T17:52:03.000Z | 2022-03-31T15:31:56.000Z | sdk/python/pulumi_linode/domain.py | pulumi/pulumi-linode | dcdc078ddcad836dddf6f31879f0f0488bec33b4 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2019-05-02T00:37:23.000Z | 2021-05-04T11:10:40.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.191624 | 336 | 0.658229 | 5,398 | 41,127 | 4.88718 | 0.055206 | 0.088397 | 0.063152 | 0.040029 | 0.941359 | 0.929646 | 0.920132 | 0.910125 | 0.904363 | 0.890717 | 0 | 0.057191 | 0.241958 | 41,127 | 787 | 337 | 52.257942 | 0.789004 | 0.468549 | 0 | 0.837156 | 1 | 0 | 0.06742 | 0.001306 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165138 | false | 0.002294 | 0.011468 | 0 | 0.275229 | 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 |
745ec1709a9d2efbfc6eb9fcfddf09019d58ed2c | 197 | py | Python | rabpro/__init__.py | jsta/rabpro | 44301c6a08c14654b27a3475b89898afca0af329 | [
"BSD-3-Clause"
] | 2 | 2021-12-17T21:23:21.000Z | 2021-12-19T06:12:28.000Z | rabpro/__init__.py | jsta/rabpro | 44301c6a08c14654b27a3475b89898afca0af329 | [
"BSD-3-Clause"
] | 45 | 2021-08-09T17:00:59.000Z | 2022-01-07T18:42:41.000Z | rabpro/__init__.py | jsta/rabpro | 44301c6a08c14654b27a3475b89898afca0af329 | [
"BSD-3-Clause"
] | 4 | 2021-08-09T19:28:53.000Z | 2021-12-17T21:21:51.000Z | from . import elev_profile
from . import merit_utils
from . import core
from .core import profiler
from . import subbasin_stats
from . import subbasins
from . import data_utils
from . import utils
| 21.888889 | 28 | 0.796954 | 29 | 197 | 5.275862 | 0.413793 | 0.457516 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162437 | 197 | 8 | 29 | 24.625 | 0.927273 | 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 |
74933e3e450af0515d24b33c13fb2740bd9e2acc | 136 | py | Python | Darlington/phase1/python Basic 1/day 11 solution/qtn6.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase1/python Basic 1/day 11 solution/qtn6.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase1/python Basic 1/day 11 solution/qtn6.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program to print the current call stack.
import traceback
print()
def f1():return abc()
def abc():traceback.print_stack()
f1()
print()
| 17 | 41 | 0.735294 | 21 | 136 | 4.714286 | 0.619048 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.125 | 136 | 7 | 42 | 19.428571 | 0.815126 | 0.294118 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.166667 | 0.166667 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 7 |
77c7c1e95e732146129cbd092cd17baebc59a11f | 414 | py | Python | chainerui/models/__init__.py | chainer/chainerui | 91c5c26d9154a008079dbb0bcbf69b5590d105f7 | [
"MIT"
] | 185 | 2017-12-15T09:24:07.000Z | 2022-01-20T11:20:13.000Z | chainerui/models/__init__.py | chainer/chainerui | 91c5c26d9154a008079dbb0bcbf69b5590d105f7 | [
"MIT"
] | 191 | 2017-12-15T09:14:52.000Z | 2022-02-17T14:09:19.000Z | chainerui/models/__init__.py | chainer/chainerui | 91c5c26d9154a008079dbb0bcbf69b5590d105f7 | [
"MIT"
] | 29 | 2017-12-15T09:40:45.000Z | 2022-03-13T11:21:11.000Z | from chainerui.models.argument import Argument # NOQA
from chainerui.models.asset import Asset # NOQA
from chainerui.models.bindata import Bindata # NOQA
from chainerui.models.command import Command # NOQA
from chainerui.models.log import Log # NOQA
from chainerui.models.project import Project # NOQA
from chainer... | 46 | 54 | 0.806763 | 56 | 414 | 5.964286 | 0.232143 | 0.311377 | 0.45509 | 0.482036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135266 | 414 | 8 | 55 | 51.75 | 0.932961 | 0.094203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7ae868f58de70a271d801f147bcf6091971a6a23 | 107,733 | py | Python | RI/flask_server/tapi_server/controllers/tapi_connectivity_controller.py | arthurMll/TAPI | e1171bb139c6791a953af09cfc2bc7ad928da73d | [
"Apache-2.0"
] | 57 | 2018-04-09T08:56:18.000Z | 2022-03-23T08:31:06.000Z | RI/flask_server/tapi_server/controllers/tapi_connectivity_controller.py | arthurMll/TAPI | e1171bb139c6791a953af09cfc2bc7ad928da73d | [
"Apache-2.0"
] | 143 | 2016-06-08T04:09:54.000Z | 2018-02-23T10:45:59.000Z | RI/flask_server/tapi_server/controllers/tapi_connectivity_controller.py | arthurMll/TAPI | e1171bb139c6791a953af09cfc2bc7ad928da73d | [
"Apache-2.0"
] | 64 | 2018-03-07T07:55:17.000Z | 2022-03-28T07:14:28.000Z | import connexion
import six
from tapi_server.models.inline_object1 import InlineObject1 # noqa: E501
from tapi_server.models.inline_object12 import InlineObject12 # noqa: E501
from tapi_server.models.inline_object13 import InlineObject13 # noqa: E501
from tapi_server.models.inline_object14 import InlineObject14 # ... | 41.182339 | 556 | 0.800832 | 13,224 | 107,733 | 6.116984 | 0.017015 | 0.124019 | 0.080751 | 0.105327 | 0.946743 | 0.939388 | 0.926704 | 0.915244 | 0.898926 | 0.882335 | 0 | 0.014707 | 0.139753 | 107,733 | 2,615 | 557 | 41.198088 | 0.85812 | 0.542211 | 0 | 0.559761 | 0 | 0 | 0.048704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.308765 | false | 0 | 0.09761 | 0 | 0.715139 | 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 |
7af9cf07651e1f8f38bd381c8104d7aea10bc49a | 18,550 | py | Python | projects/src/main/python/CodeJam/Y12R5P1/lidaobing/generated_py_416e6bb71b9f462696a15c44a1c5682e.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 5 | 2020-04-05T18:04:13.000Z | 2021-04-13T20:34:19.000Z | projects/src/main/python/CodeJam/Y12R5P1/lidaobing/generated_py_416e6bb71b9f462696a15c44a1c5682e.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 1 | 2020-04-29T21:42:26.000Z | 2020-05-01T23:45:45.000Z | projects/src/main/python/CodeJam/Y12R5P1/lidaobing/generated_py_416e6bb71b9f462696a15c44a1c5682e.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 3 | 2020-01-27T16:02:14.000Z | 2021-02-08T13:25:15.000Z | import sys
sys.path.append('/home/george2/Raise/ProgramRepair/CodeSeer/projects/src/main/python')
from CodeJam.Y12R5P1.lidaobing.A import *
def func_b21629aeedcc4506bd98fdca617b8110(b1, a0, b0, a1):
t1 = a0 * (100 - b1)
t2 = a1 * (100 - b0)
return t1
def func_1f21dc2c030e43b79682e619fb0ad0c1(b1, a0, b0, ... | 27.040816 | 86 | 0.58965 | 3,005 | 18,550 | 3.607987 | 0.048918 | 0.053496 | 0.080244 | 0.091035 | 0.71758 | 0.717211 | 0.717211 | 0.717211 | 0.717211 | 0.714721 | 0 | 0.162804 | 0.244043 | 18,550 | 685 | 87 | 27.080292 | 0.610354 | 0 | 0 | 0.821569 | 0 | 0 | 0.024313 | 0.016981 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.003922 | null | null | 0.021569 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bb3ab167ce1cc80e88e00a0a36cb6d909cb1d11d | 2,073 | py | Python | Maxwell/tests/trusted_values_dict.py | ksible/nrpytutorial | 4ca6e9da22def2a9c9bcbcad75847fd1db159f4b | [
"BSD-2-Clause"
] | 1 | 2019-12-23T05:31:25.000Z | 2019-12-23T05:31:25.000Z | Maxwell/tests/trusted_values_dict.py | ksible/nrpytutorial | 4ca6e9da22def2a9c9bcbcad75847fd1db159f4b | [
"BSD-2-Clause"
] | null | null | null | Maxwell/tests/trusted_values_dict.py | ksible/nrpytutorial | 4ca6e9da22def2a9c9bcbcad75847fd1db159f4b | [
"BSD-2-Clause"
] | 2 | 2019-11-14T03:31:18.000Z | 2019-12-12T13:42:52.000Z | from mpmath import mpf, mp, mpc
from UnitTesting.standard_constants import precision
mp.dps = precision
trusted_values_dict = {}
# Generated on: 2019-08-09
trusted_values_dict['MaxwellCartesian_ID_System_I__MaxwellCartesian_ID__globals'] = {'AidD[0]': mpf('0.0'), 'AidD[1]': mpf('0.0'), 'AidD[2]': mpf('0.0'), 'EidD[0]... | 115.166667 | 595 | 0.759768 | 231 | 2,073 | 6.61039 | 0.238095 | 0.049771 | 0.026195 | 0.086444 | 0.629993 | 0.629993 | 0.629993 | 0.629993 | 0.629993 | 0.629993 | 0 | 0.433367 | 0.051616 | 2,073 | 17 | 596 | 121.941176 | 0.343337 | 0.047757 | 0 | 0 | 1 | 0 | 0.670391 | 0.538852 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
24780dcc9f7bdb0ec8457b019da3ce395ca3e795 | 206 | py | Python | GANerAid/__init__.py | TeamGenerAid/GANerAid | b6d68833f9483e1215e1547f54a207927c5685e6 | [
"MIT"
] | 1 | 2021-07-05T16:35:25.000Z | 2021-07-05T16:35:25.000Z | GANerAid/__init__.py | TeamGenerAid/GANerAid | b6d68833f9483e1215e1547f54a207927c5685e6 | [
"MIT"
] | null | null | null | GANerAid/__init__.py | TeamGenerAid/GANerAid | b6d68833f9483e1215e1547f54a207927c5685e6 | [
"MIT"
] | null | null | null | import GANerAid.ganeraid
import GANerAid.utils
import GANerAid.data_preprocessor
import GANerAid.evaluation_report
import GANerAid.experiment_runner
import GANerAid.experiment_runner
import GANerAid.logger
| 25.75 | 33 | 0.898058 | 25 | 206 | 7.24 | 0.4 | 0.541436 | 0.265193 | 0.331492 | 0.40884 | 0.40884 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 206 | 7 | 34 | 29.428571 | 0.942708 | 0 | 0 | 0.285714 | 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 |
24a2cce00762e7f1865ae5e5e55ed1a33f953844 | 13,667 | py | Python | partners/migrations/0005_auto_20191024_1225.py | uno-isqa-8950/uno-cpi | c8fa01eb253e6a56046009c551a84c36c28cd8da | [
"MIT"
] | 13 | 2018-08-30T16:03:18.000Z | 2019-11-25T07:08:43.000Z | partners/migrations/0005_auto_20191024_1225.py | uno-isqa-8950/uno-cpi | c8fa01eb253e6a56046009c551a84c36c28cd8da | [
"MIT"
] | 814 | 2018-08-30T02:28:55.000Z | 2022-03-11T23:31:45.000Z | partners/migrations/0005_auto_20191024_1225.py | uno-isqa-8950/uno-cpi | c8fa01eb253e6a56046009c551a84c36c28cd8da | [
"MIT"
] | 6 | 2018-09-16T05:35:49.000Z | 2019-10-17T02:44:19.000Z | # Generated by Django 2.2.1 on 2019-10-24 17:25
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import simple_history.models
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
... | 54.668 | 231 | 0.612863 | 1,351 | 13,667 | 6.013323 | 0.105107 | 0.040374 | 0.059084 | 0.070901 | 0.917898 | 0.893033 | 0.853028 | 0.841827 | 0.806745 | 0.77708 | 0 | 0.013104 | 0.246214 | 13,667 | 249 | 232 | 54.88755 | 0.77548 | 0.003293 | 0 | 0.790123 | 1 | 0 | 0.211674 | 0.070778 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016461 | 0 | 0.028807 | 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 |
561935427c27ae30579fecbb246c47173f787c12 | 2,963 | py | Python | Networks Lab-04/Scripts-Data-Graphs/CodesToGenerateData/tcp_ack_seg.py | hareeshreddi/Computer-Networks-Lab-Assignments | c86665a4fb673fd53b636f552e02e6d06c94ba22 | [
"MIT"
] | 6 | 2018-02-02T19:07:49.000Z | 2021-09-05T12:17:20.000Z | Networks Lab-04/Scripts-Data-Graphs/CodesToGenerateData/tcp_ack_seg.py | hareeshreddi/Computer-Networks-Lab-Assignments | c86665a4fb673fd53b636f552e02e6d06c94ba22 | [
"MIT"
] | null | null | null | Networks Lab-04/Scripts-Data-Graphs/CodesToGenerateData/tcp_ack_seg.py | hareeshreddi/Computer-Networks-Lab-Assignments | c86665a4fb673fd53b636f552e02e6d06c94ba22 | [
"MIT"
] | 14 | 2019-01-09T14:05:36.000Z | 2021-02-01T09:07:18.000Z | import sys
import dpkt
import struct
import socket
l = ['0','256','512','1000']
i=0
out=open('tcp_ack_ap.txt','w')
out1=open('tcp_seg_ap.txt','w')
while i < len(l):
ele1=l[i]
filename = 'assignment-4-data/'+ele1+'/AccessPoint-1-0.pcap'
f = open(filename)
print f
pcap=dpkt.pcap.Reader(f)
frame_tcp_ack=0
frame_... | 22.44697 | 61 | 0.669929 | 537 | 2,963 | 3.489758 | 0.132216 | 0.128068 | 0.088047 | 0.057631 | 0.901814 | 0.877801 | 0.808965 | 0.808965 | 0.791889 | 0.778549 | 0 | 0.079824 | 0.158623 | 2,963 | 132 | 62 | 22.44697 | 0.671881 | 0.003375 | 0 | 0.790909 | 0 | 0 | 0.079919 | 0.007111 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.036364 | null | null | 0.027273 | 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 |
564ea568b5cdb7312f18c45d273886d4bc9cdcbf | 5,926 | py | Python | assignments/hw4/codes/hw4a/gene_comp.py | sowmyamanojna/BT5240-Computational-Systems-Biology | fe7562de26991cd096c2d27603e85a2408f71752 | [
"MIT"
] | null | null | null | assignments/hw4/codes/hw4a/gene_comp.py | sowmyamanojna/BT5240-Computational-Systems-Biology | fe7562de26991cd096c2d27603e85a2408f71752 | [
"MIT"
] | null | null | null | assignments/hw4/codes/hw4a/gene_comp.py | sowmyamanojna/BT5240-Computational-Systems-Biology | fe7562de26991cd096c2d27603e85a2408f71752 | [
"MIT"
] | null | null | null | gal_sgd = ['HP0370', 'HP0950', 'HP0371', 'HP0557', 'HP0202', 'HP0587', 'HP0618', 'HP1112', 'HP0255', 'HP0859', 'HP0089', 'HP0106', 'HP0738', 'HP0942', 'HP0976', 'HP1483', 'HP1280', 'HP1281', 'HP1282', 'HP0598', 'HP1505', 'HP0422', 'HP1399', 'HP1017', 'HP1189', 'HP0723', 'HP0034', 'HP1084', 'HP1229', 'HP0672', 'HP1406',... | 191.16129 | 1,936 | 0.600405 | 634 | 5,926 | 5.597792 | 0.340694 | 0.010144 | 0.01268 | 0.017751 | 0.915469 | 0.915469 | 0.915469 | 0.89969 | 0.89969 | 0.89969 | 0 | 0.415496 | 0.111374 | 5,926 | 30 | 1,937 | 197.533333 | 0.25845 | 0.010125 | 0 | 0.5 | 0 | 0 | 0.57155 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
5657e77a52d02570cfa7d84d7e805ca65861e372 | 3,775 | py | Python | sample_vm_properties.py | onapdemo/testsuite-properties | daae856bbb5bf2b21812f764113088180de5016e | [
"Apache-2.0"
] | null | null | null | sample_vm_properties.py | onapdemo/testsuite-properties | daae856bbb5bf2b21812f764113088180de5016e | [
"Apache-2.0"
] | null | null | null | sample_vm_properties.py | onapdemo/testsuite-properties | daae856bbb5bf2b21812f764113088180de5016e | [
"Apache-2.0"
] | null | null | null | # This is not for real use!
# This is normally generated by the build and install so should not be used for anything or filled in with real values.
# File generated from /opt/config
#
GLOBAL_INJECTED_AAI1_IP_ADDR = "10.0.1.1"
GLOBAL_INJECTED_AAI2_IP_ADDR = "10.0.1.2"
GLOBAL_INJECTED_APPC_IP_ADDR = "10.0.2.1"
GLOBAL_INJ... | 47.78481 | 119 | 0.793377 | 614 | 3,775 | 4.460912 | 0.19544 | 0.373129 | 0.087623 | 0.098576 | 0.934648 | 0.929536 | 0.929536 | 0.929536 | 0.929536 | 0.929536 | 0 | 0.10054 | 0.067285 | 3,775 | 78 | 120 | 48.397436 | 0.677364 | 0.046358 | 0 | 0 | 1 | 0 | 0.553547 | 0.350765 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.054795 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
8e778bd172ed7802dec52dba84bd357874cda90a | 136 | py | Python | tensorflow/python/ops/structured/__init__.py | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 78 | 2020-08-04T12:36:25.000Z | 2022-03-25T04:23:40.000Z | tensorflow/python/ops/structured/__init__.py | sseung0703/tensorflow | be084bd7a4dd241eb781fc704f57bcacc5c9b6dd | [
"Apache-2.0"
] | 1,056 | 2019-12-15T01:20:31.000Z | 2022-02-10T02:06:28.000Z | tensorflow/python/ops/structured/__init__.py | sseung0703/tensorflow | be084bd7a4dd241eb781fc704f57bcacc5c9b6dd | [
"Apache-2.0"
] | 66 | 2020-05-15T10:05:12.000Z | 2022-02-14T07:28:18.000Z | """Structured Tensors."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
| 22.666667 | 38 | 0.838235 | 16 | 136 | 6.25 | 0.5625 | 0.3 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110294 | 136 | 5 | 39 | 27.2 | 0.826446 | 0.139706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 |
8e9ea78512a9ffde0002fe841ea79c92368a4850 | 305 | py | Python | codigo/Live34/errors/test.py | cassiasamp/live-de-python | 00b5e51793097544ba9b75c97a0d30e63970bf45 | [
"MIT"
] | 572 | 2018-04-03T03:17:08.000Z | 2022-03-31T19:05:32.000Z | codigo/Live34/errors/test.py | cassiasamp/live-de-python | 00b5e51793097544ba9b75c97a0d30e63970bf45 | [
"MIT"
] | 176 | 2018-05-18T15:56:16.000Z | 2022-03-28T20:39:07.000Z | codigo/Live34/errors/test.py | cassiasamp/live-de-python | 00b5e51793097544ba9b75c97a0d30e63970bf45 | [
"MIT"
] | 140 | 2018-04-18T13:59:11.000Z | 2022-03-29T00:43:49.000Z | print(open('teste_win1252.txt', errors='strict').read())
print(open('teste_win1252.txt', errors='replace').read())
print(open('teste_win1252.txt', errors='ignore').read())
print(open('teste_win1252.txt', errors='surrogateescape').read())
print(open('teste_win1252.txt', errors='backslashreplace').read())
| 50.833333 | 66 | 0.737705 | 40 | 305 | 5.5 | 0.3 | 0.204545 | 0.318182 | 0.477273 | 0.754545 | 0.754545 | 0.618182 | 0 | 0 | 0 | 0 | 0.067797 | 0.032787 | 305 | 5 | 67 | 61 | 0.677966 | 0 | 0 | 0 | 0 | 0 | 0.442623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 7 |
8ec04b48af6e767205faa527b644561798afc507 | 3,304 | py | Python | tests/search_acceptance_tests.py | 7digital/python-7digital-api | cfb9b996dafe36ae5b00af3986531c1b3387cb2f | [
"MIT"
] | 1 | 2018-06-24T08:28:27.000Z | 2018-06-24T08:28:27.000Z | tests/search_acceptance_tests.py | 7digital/python-7digital-api | cfb9b996dafe36ae5b00af3986531c1b3387cb2f | [
"MIT"
] | null | null | null | tests/search_acceptance_tests.py | 7digital/python-7digital-api | cfb9b996dafe36ae5b00af3986531c1b3387cb2f | [
"MIT"
] | null | null | null | import py7digital
#Search artist
results = py7digital.search_artist('stones')
print results.get_total_result_count()
for artist in results.get_next_page():
print artist.get_name() #, artist.get_image(), artist.get_url(), artist.get_tags()
print '\tTop tracks:'
for top_track in artist.get_top_tracks():
... | 52.444444 | 189 | 0.712772 | 496 | 3,304 | 4.459677 | 0.139113 | 0.180832 | 0.0434 | 0.0434 | 0.756781 | 0.756781 | 0.719259 | 0.706148 | 0.706148 | 0.651899 | 0 | 0.012337 | 0.141344 | 3,304 | 62 | 190 | 53.290323 | 0.76736 | 0.18069 | 0 | 0.510204 | 0 | 0 | 0.047177 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.020408 | null | null | 0.469388 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
d95538d11eb5d122f25ddb986c4b20f8d87aa375 | 11,429 | py | Python | baikeSpider/google_translate/translate.py | pluto-junzeng/baiduSpider | ea591920cd0994e83e36f033f98c6cc6859141d6 | [
"Apache-2.0"
] | 13 | 2020-12-07T03:19:12.000Z | 2022-01-19T13:02:41.000Z | baikeSpider/google_translate/translate.py | zengjunjun/baiduSpider | ea591920cd0994e83e36f033f98c6cc6859141d6 | [
"Apache-2.0"
] | null | null | null | baikeSpider/google_translate/translate.py | zengjunjun/baiduSpider | ea591920cd0994e83e36f033f98c6cc6859141d6 | [
"Apache-2.0"
] | 3 | 2021-07-10T08:24:55.000Z | 2022-01-19T13:02:43.000Z | #! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
@Author:lichunhui
@Time: 2018/7/19 16:05
@Description: 利用谷歌翻译进行因为文本翻译
"""
import urllib.request
import urllib.parse
import execjs
import random
import json
import asyncio
from aiohttp import ClientSession
from baikeSpider.settings import MY_USER_AGENT
from ..logger i... | 67.627219 | 519 | 0.6704 | 1,671 | 11,429 | 4.561341 | 0.20766 | 0.002362 | 0.010496 | 0.013645 | 0.723695 | 0.721595 | 0.721595 | 0.721595 | 0.721595 | 0.721595 | 0 | 0.028312 | 0.249016 | 11,429 | 168 | 520 | 68.029762 | 0.859723 | 0.024149 | 0 | 0.25 | 0 | 0.23 | 0.736062 | 0.016891 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0.04 | 0.1 | 0.01 | 0.23 | 0.03 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d9822178e1654276908ec086bfeb4c1abf9ded8c | 12,688 | py | Python | pytorch_ares/third_party/hydra/locuslab_smoothing/analyze.py | thu-ml/realsafe | 474d549aa402b4cdd5e3629d23d035c31b60a360 | [
"MIT"
] | 107 | 2020-06-15T09:55:11.000Z | 2020-12-20T11:27:11.000Z | pytorch_ares/third_party/hydra/locuslab_smoothing/analyze.py | haichen-ber/ares | 474d549aa402b4cdd5e3629d23d035c31b60a360 | [
"MIT"
] | 7 | 2020-06-14T03:00:18.000Z | 2020-12-07T07:10:10.000Z | pytorch_ares/third_party/hydra/locuslab_smoothing/analyze.py | haichen-ber/ares | 474d549aa402b4cdd5e3629d23d035c31b60a360 | [
"MIT"
] | 19 | 2020-06-14T08:35:33.000Z | 2020-12-19T13:43:41.000Z | import numpy as np
import matplotlib
# matplotlib.use("TkAgg")
import matplotlib.pyplot as plt
from typing import *
import pandas as pd
import seaborn as sns
import math
sns.set()
class Accuracy(object):
def at_radii(self, radii: np.ndarray):
raise NotImplementedError()
class ApproximateAccuracy(Accur... | 29.714286 | 85 | 0.492276 | 1,315 | 12,688 | 4.593916 | 0.124715 | 0.043701 | 0.125145 | 0.15759 | 0.810793 | 0.785135 | 0.776196 | 0.743089 | 0.705016 | 0.677206 | 0 | 0.059658 | 0.377759 | 12,688 | 426 | 86 | 29.784038 | 0.70551 | 0.001813 | 0 | 0.710997 | 0 | 0 | 0.224135 | 0.155505 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030691 | false | 0 | 0.017903 | 0.002558 | 0.069054 | 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 |
7945e83218e926ccf4ced98eb59de90b751562f0 | 68 | py | Python | rest-api/flask_app/auth/__init__.py | sinedie/Flask-Svelte-Websockets-Nginx-Docker | 76daeec2c76f9f27ca526f53393ab4363020b92b | [
"WTFPL"
] | 4 | 2021-11-21T14:04:15.000Z | 2022-03-20T15:28:14.000Z | rest-api/flask_app/auth/__init__.py | sinedie/Utimate-flask-websocket-template | 76daeec2c76f9f27ca526f53393ab4363020b92b | [
"WTFPL"
] | null | null | null | rest-api/flask_app/auth/__init__.py | sinedie/Utimate-flask-websocket-template | 76daeec2c76f9f27ca526f53393ab4363020b92b | [
"WTFPL"
] | null | null | null | from flask_app.auth.jwt import *
from flask_app.auth.login import * | 22.666667 | 34 | 0.794118 | 12 | 68 | 4.333333 | 0.583333 | 0.346154 | 0.461538 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 3 | 34 | 22.666667 | 0.866667 | 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 |
7948c614a0f5cd66fc523acd84e6f564a708d470 | 411 | py | Python | pygfa/graph_element/parser/__init__.py | Francesco2304/pygfa | 9bf6fb5f0a959685300ab863a0e716a2268109f7 | [
"MIT"
] | 3 | 2020-06-25T22:47:02.000Z | 2022-02-27T15:16:02.000Z | pygfa/graph_element/parser/__init__.py | Francesco2304/pygfa | 9bf6fb5f0a959685300ab863a0e716a2268109f7 | [
"MIT"
] | 3 | 2017-08-08T12:24:23.000Z | 2022-02-27T15:17:25.000Z | pygfa/graph_element/parser/__init__.py | Francesco2304/pygfa | 9bf6fb5f0a959685300ab863a0e716a2268109f7 | [
"MIT"
] | 4 | 2019-02-04T20:54:53.000Z | 2020-05-14T19:52:24.000Z | from pygfa.graph_element.parser import header
from pygfa.graph_element.parser import segment
from pygfa.graph_element.parser import link
from pygfa.graph_element.parser import containment
from pygfa.graph_element.parser import path
from pygfa.graph_element.parser import edge
from pygfa.graph_element.parser import fragm... | 45.666667 | 50 | 0.871046 | 63 | 411 | 5.539683 | 0.238095 | 0.232092 | 0.361032 | 0.541547 | 0.851003 | 0.851003 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085158 | 411 | 9 | 51 | 45.666667 | 0.928191 | 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 | 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 | 9 |
79a7dee96667cb45658e23c6fa37d52f73ee4b63 | 156 | py | Python | src/PYOPATRA/__init__.py | georgiastuart/PythonLPT | 0be9225f9c2d4a85b70e22dcccb5c0bc6152a739 | [
"MIT"
] | 3 | 2021-08-05T13:29:04.000Z | 2021-11-22T20:42:03.000Z | src/PYOPATRA/__init__.py | georgiastuart/PythonLPT | 0be9225f9c2d4a85b70e22dcccb5c0bc6152a739 | [
"MIT"
] | 1 | 2022-03-21T22:51:39.000Z | 2022-03-21T22:51:39.000Z | src/PYOPATRA/__init__.py | UT-CHG/PYOPATRA | 971aa79bf24f26939a96d79193c6d1ee16f5531d | [
"MIT"
] | null | null | null | from .file_parsing import *
from .mesh_vertex import *
from .mesh import *
from .particle import *
from .solver import *
from .objective_functions import *
| 22.285714 | 34 | 0.769231 | 21 | 156 | 5.571429 | 0.47619 | 0.42735 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 156 | 6 | 35 | 26 | 0.886364 | 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 |
79af72296f3d94aa28cf531f84bd1fc6979d556b | 160 | py | Python | devops-console/apps/orgs/signals_handler.py | lilinghell/devops | 1b2890d3f2d9f6e15e5b32d0910bc4768f065adc | [
"Apache-2.0"
] | 4 | 2019-12-06T06:19:33.000Z | 2021-12-23T13:05:06.000Z | devops-console/apps/orgs/signals_handler.py | lilinghell/devops | 1b2890d3f2d9f6e15e5b32d0910bc4768f065adc | [
"Apache-2.0"
] | 8 | 2020-03-15T03:40:38.000Z | 2022-03-12T00:50:27.000Z | devops-console/apps/orgs/signals_handler.py | lilinghell/devops | 1b2890d3f2d9f6e15e5b32d0910bc4768f065adc | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
from django.db.models.signals import m2m_changed
from django.db.models.signals import post_save
from django.dispatch import receiver
| 22.857143 | 48 | 0.775 | 24 | 160 | 5.083333 | 0.625 | 0.245902 | 0.196721 | 0.295082 | 0.508197 | 0.508197 | 0 | 0 | 0 | 0 | 0 | 0.014184 | 0.11875 | 160 | 6 | 49 | 26.666667 | 0.851064 | 0.13125 | 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 |
8dce0b2a1aab3f68225647a986d5c6917b20a924 | 3,336 | py | Python | MCState/MCubeSide.py | MagicCubeProject/MagicCubeLib | 4d66f42bb0804837d048a14d7fe4216683c57c71 | [
"Apache-2.0"
] | null | null | null | MCState/MCubeSide.py | MagicCubeProject/MagicCubeLib | 4d66f42bb0804837d048a14d7fe4216683c57c71 | [
"Apache-2.0"
] | 1 | 2018-03-25T17:11:15.000Z | 2018-03-25T17:11:15.000Z | MCState/MCubeSide.py | Narekmouse/gtpy | 4d66f42bb0804837d048a14d7fe4216683c57c71 | [
"Apache-2.0"
] | null | null | null | from enum import Enum, auto
from MCState.MCSide.MCElementDirection import MCubeDirection
class MCubeSide(Enum):
FRONT = auto()
RIGHT = auto()
DOWN = auto()
UP = auto()
LEFT = auto()
BACK = auto()
def __str__(self):
return str(self.name)
def neighbor(self,di... | 37.483146 | 68 | 0.572842 | 306 | 3,336 | 6.232026 | 0.137255 | 0.138437 | 0.31463 | 0.273728 | 0.842685 | 0.842685 | 0.842685 | 0.783954 | 0.783954 | 0.783954 | 0 | 0 | 0.376199 | 3,336 | 88 | 69 | 37.909091 | 0.916386 | 0.023681 | 0 | 0.769231 | 0 | 0 | 0.037302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.025641 | 0.012821 | 0.461538 | 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 |
5c04bb25144186551382a4e30f1915d7ed7d1d0a | 4,330 | py | Python | tests/test_ansible_become_method_dockerexec.py | goodplay/goodplay | dad71b2e2a27d2dc4ba8ce76ae2f927dda83daca | [
"Apache-2.0"
] | 16 | 2016-03-16T12:20:49.000Z | 2020-04-17T15:31:54.000Z | tests/test_ansible_become_method_dockerexec.py | goodplay/goodplay | dad71b2e2a27d2dc4ba8ce76ae2f927dda83daca | [
"Apache-2.0"
] | 290 | 2016-02-26T06:49:32.000Z | 2022-03-18T08:32:25.000Z | tests/test_ansible_become_method_dockerexec.py | goodplay/goodplay | dad71b2e2a27d2dc4ba8ce76ae2f927dda83daca | [
"Apache-2.0"
] | 9 | 2016-01-20T20:55:44.000Z | 2020-11-04T03:51:03.000Z | # -*- coding: utf-8 -*-
from goodplay_helpers import skip_if_no_docker, smart_create
@skip_if_no_docker
def test_become_user_on_task_without_become_does_not_execute_as_become_user(testdir):
smart_create(testdir.tmpdir, '''
## docker-compose.yml
version: "2"
services:
host1:
image: cento... | 24.055556 | 85 | 0.551039 | 438 | 4,330 | 5.315068 | 0.19863 | 0.066151 | 0.042526 | 0.07732 | 0.905498 | 0.905498 | 0.905498 | 0.878007 | 0.861684 | 0.833763 | 0 | 0.01158 | 0.381755 | 4,330 | 179 | 86 | 24.189944 | 0.85805 | 0.00485 | 0 | 0.946667 | 0 | 0 | 0.848386 | 0.032041 | 0 | 0 | 0 | 0 | 0.02 | 1 | 0.02 | false | 0.02 | 0.006667 | 0 | 0.026667 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.