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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a026a8c2e75b1b8a748fbb5d2361855f1ed3b17d | 3,861 | py | Python | catalogue/migrations/0001_initial.py | satyajeettripathy/myServiceBooking | 3d720ae12b3321739e2f963a0a792a7f30ccad6e | [
"MIT"
] | null | null | null | catalogue/migrations/0001_initial.py | satyajeettripathy/myServiceBooking | 3d720ae12b3321739e2f963a0a792a7f30ccad6e | [
"MIT"
] | null | null | null | catalogue/migrations/0001_initial.py | satyajeettripathy/myServiceBooking | 3d720ae12b3321739e2f963a0a792a7f30ccad6e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-11-13 10:14
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Crea... | 46.518072 | 115 | 0.581197 | 408 | 3,861 | 5.281863 | 0.178922 | 0.097448 | 0.078886 | 0.097448 | 0.762413 | 0.762413 | 0.75174 | 0.75174 | 0.75174 | 0.75174 | 0 | 0.019306 | 0.275576 | 3,861 | 82 | 116 | 47.085366 | 0.751162 | 0.017612 | 0 | 0.662162 | 1 | 0 | 0.106332 | 0.005805 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.040541 | 0 | 0.094595 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a05256583996f69fb05006311c2ebce0487ae137 | 24 | py | Python | other/deprecated/nodetest2/python/echo_test.py | RapidsAtHKUST/FYP16-CommunityDetectionVis | 4b7c76f6f8f94d09ae4ab98262b894dfd6af3bc0 | [
"MIT"
] | null | null | null | other/deprecated/nodetest2/python/echo_test.py | RapidsAtHKUST/FYP16-CommunityDetectionVis | 4b7c76f6f8f94d09ae4ab98262b894dfd6af3bc0 | [
"MIT"
] | null | null | null | other/deprecated/nodetest2/python/echo_test.py | RapidsAtHKUST/FYP16-CommunityDetectionVis | 4b7c76f6f8f94d09ae4ab98262b894dfd6af3bc0 | [
"MIT"
] | 1 | 2021-12-02T10:34:23.000Z | 2021-12-02T10:34:23.000Z | print 'test from python' | 24 | 24 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a0b30ac2bf30f33234ac30517274acacaaedef25 | 171 | py | Python | write_api.py | AssamWorks/write-api | c40c6ba188842d112f5f2e05778db471d7982641 | [
"MIT"
] | null | null | null | write_api.py | AssamWorks/write-api | c40c6ba188842d112f5f2e05778db471d7982641 | [
"MIT"
] | null | null | null | write_api.py | AssamWorks/write-api | c40c6ba188842d112f5f2e05778db471d7982641 | [
"MIT"
] | null | null | null | def btech(args):
username = args('username')
return {"msg": username }
def mtech():
return {"success": True}
API_mappings = {"btech": btech, "mtech": mtech}
| 19 | 47 | 0.619883 | 20 | 171 | 5.25 | 0.55 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19883 | 171 | 8 | 48 | 21.375 | 0.766423 | 0 | 0 | 0 | 0 | 0 | 0.163743 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a0c1083bfdd4bb32ae421292c9af022e1165d0a6 | 176 | py | Python | mgcode/data/files.py | jethornton/mill-gcode | 5ad1ad3e66a86171047bfca85d2589145aab77d4 | [
"MIT"
] | null | null | null | mgcode/data/files.py | jethornton/mill-gcode | 5ad1ad3e66a86171047bfca85d2589145aab77d4 | [
"MIT"
] | null | null | null | mgcode/data/files.py | jethornton/mill-gcode | 5ad1ad3e66a86171047bfca85d2589145aab77d4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os, sys
from decimal import *
class open:
def __init__(self):
pass
class save:
def __init__(self):
pass
| 9.777778 | 23 | 0.619318 | 25 | 176 | 4.04 | 0.76 | 0.138614 | 0.217822 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.244318 | 176 | 17 | 24 | 10.352941 | 0.75188 | 0.238636 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
2628253baeb0129cf3e5a8135fb219851b16d026 | 45 | py | Python | django-rgd-imagery/rgd_imagery/stac/serializers/service_desc.py | Kitware/ResonantGeoData | 6d111cbe1d57df2cd230edcf4724f6e33471f5ff | [
"Apache-2.0"
] | 3 | 2020-03-10T14:47:07.000Z | 2020-05-05T16:55:27.000Z | django-rgd-imagery/rgd_imagery/stac/serializers/service_desc.py | Kitware/ResonantGeoData | 6d111cbe1d57df2cd230edcf4724f6e33471f5ff | [
"Apache-2.0"
] | 13 | 2020-04-14T14:36:06.000Z | 2020-05-07T15:03:42.000Z | django-rgd-imagery/rgd_imagery/stac/serializers/service_desc.py | Kitware/ResonantGeoData | 6d111cbe1d57df2cd230edcf4724f6e33471f5ff | [
"Apache-2.0"
] | 1 | 2020-03-03T15:47:52.000Z | 2020-03-03T15:47:52.000Z | def get_service_desc(request):
return {}
| 15 | 30 | 0.711111 | 6 | 45 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 31 | 22.5 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
264d01f9ecf07f641e05ba67acba080d2209f211 | 706 | py | Python | yurlungur/adapters/__init__.py | sho7noka/PyDCC | f41315fcb8724781e0c3ea07f51c09019a7c5a95 | [
"BSD-3-Clause"
] | 47 | 2018-04-19T12:44:29.000Z | 2022-02-04T07:31:53.000Z | yurlungur/adapters/__init__.py | sho7noka/PyDCC | f41315fcb8724781e0c3ea07f51c09019a7c5a95 | [
"BSD-3-Clause"
] | 20 | 2018-04-11T15:35:30.000Z | 2021-07-21T02:28:52.000Z | yurlungur/adapters/__init__.py | sho7noka/PyDCC | f41315fcb8724781e0c3ea07f51c09019a7c5a95 | [
"BSD-3-Clause"
] | 7 | 2019-01-09T15:38:02.000Z | 2022-02-24T21:34:06.000Z | from yurlungur.adapters import blender
from yurlungur.adapters import c4d
from yurlungur.adapters import davinci
from yurlungur.adapters import houdini
from yurlungur.adapters import marmoset
from yurlungur.adapters import max
from yurlungur.adapters import maya
from yurlungur.adapters import nuke
# from yurlungur.adap... | 37.157895 | 49 | 0.869688 | 92 | 706 | 6.652174 | 0.25 | 0.382353 | 0.617647 | 0.794118 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00158 | 0.103399 | 706 | 18 | 50 | 39.222222 | 0.965245 | 0.056657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
265dfa4c4885b4345781b4513a420051dd165d2f | 45 | py | Python | src/wxve/__init__.py | AG3NTZ3R0/wxve | f628ff54793faa5bfe3b20d11078615c9285bdda | [
"MIT"
] | null | null | null | src/wxve/__init__.py | AG3NTZ3R0/wxve | f628ff54793faa5bfe3b20d11078615c9285bdda | [
"MIT"
] | null | null | null | src/wxve/__init__.py | AG3NTZ3R0/wxve | f628ff54793faa5bfe3b20d11078615c9285bdda | [
"MIT"
] | null | null | null | from .stock import *
from .stockset import *
| 15 | 23 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd03479191759fa8670d2da71707608905f7669b | 152 | py | Python | tracardi/domain/context.py | bytepl/tracardi | e8fa4684fa6bd3d05165fe48aa925fc6c1e74923 | [
"MIT"
] | 29 | 2021-04-17T06:04:46.000Z | 2021-11-25T10:22:43.000Z | tracardi/domain/context.py | bytepl/tracardi | e8fa4684fa6bd3d05165fe48aa925fc6c1e74923 | [
"MIT"
] | 77 | 2021-04-03T21:20:04.000Z | 2021-10-17T10:12:23.000Z | tracardi/domain/context.py | bytepl/tracardi | e8fa4684fa6bd3d05165fe48aa925fc6c1e74923 | [
"MIT"
] | 17 | 2021-06-29T13:13:18.000Z | 2021-10-17T10:52:57.000Z | from typing import Optional
from pydantic import BaseModel
class Context(BaseModel):
config: Optional[dict] = {}
params: Optional[dict] = {}
| 16.888889 | 31 | 0.710526 | 17 | 152 | 6.352941 | 0.647059 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190789 | 152 | 8 | 32 | 19 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd11c1cbded75f94b5bb3fb6648d7608dff4acc3 | 1,878 | py | Python | test/test_collections.py | dmarnerides/boardom | b7eec437b43398ac8dd8d2755dca9bbe7a8ff8a3 | [
"BSD-2-Clause"
] | 2 | 2021-10-05T15:52:50.000Z | 2021-11-22T00:05:03.000Z | test/test_collections.py | dmarnerides/boardom | b7eec437b43398ac8dd8d2755dca9bbe7a8ff8a3 | [
"BSD-2-Clause"
] | null | null | null | test/test_collections.py | dmarnerides/boardom | b7eec437b43398ac8dd8d2755dca9bbe7a8ff8a3 | [
"BSD-2-Clause"
] | null | null | null | import boardom as bd
from torch import nn
class TestSequential:
def test_can_accept_no_element(self):
bd.Sequential()
def test_single_element(self):
coll = bd.Sequential(nn.ReLU())
assert len(coll) == 1
assert isinstance(coll[0], nn.ReLU)
assert isinstance(getattr(coll... | 34.777778 | 68 | 0.605431 | 246 | 1,878 | 4.52439 | 0.134146 | 0.102426 | 0.140162 | 0.098832 | 0.853549 | 0.853549 | 0.81761 | 0.730458 | 0.69991 | 0.637916 | 0 | 0.016961 | 0.246539 | 1,878 | 53 | 69 | 35.433962 | 0.769611 | 0.155485 | 0 | 0.459459 | 0 | 0 | 0.022828 | 0 | 0 | 0 | 0 | 0 | 0.540541 | 1 | 0.189189 | false | 0 | 0.054054 | 0 | 0.27027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 | 6 |
cd21cb524956e8c5747a646b80ad7952955c32c4 | 132 | py | Python | hipo_drf_exceptions/__init__.py | latticeaiinc/hipo-drf-exceptions | c135c8dc4313462496093900a45d920e62712765 | [
"Apache-2.0"
] | 17 | 2019-07-04T07:29:39.000Z | 2022-03-14T11:14:00.000Z | hipo_drf_exceptions/__init__.py | latticeaiinc/hipo-drf-exceptions | c135c8dc4313462496093900a45d920e62712765 | [
"Apache-2.0"
] | 20 | 2019-07-09T08:03:57.000Z | 2021-04-19T11:24:34.000Z | hipo_drf_exceptions/__init__.py | latticeaiinc/hipo-drf-exceptions | c135c8dc4313462496093900a45d920e62712765 | [
"Apache-2.0"
] | 6 | 2019-08-02T13:12:11.000Z | 2022-03-10T22:02:52.000Z | __version__ = '0.1.5'
from hipo_drf_exceptions.handlers import handler
from hipo_drf_exceptions.exceptions import BaseAPIException
| 26.4 | 59 | 0.856061 | 18 | 132 | 5.833333 | 0.666667 | 0.152381 | 0.209524 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.090909 | 132 | 4 | 60 | 33 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.037879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd66fca21ccc33fd1f268a57d348b9d466d17707 | 666,936 | py | Python | OpenRobertaParent/RobotMbed/resources/compile.py | WGraterol64/robertalab | 368c970c06008c6b56e59e3df19daf6e00022ad9 | [
"Apache-2.0"
] | null | null | null | OpenRobertaParent/RobotMbed/resources/compile.py | WGraterol64/robertalab | 368c970c06008c6b56e59e3df19daf6e00022ad9 | [
"Apache-2.0"
] | null | null | null | OpenRobertaParent/RobotMbed/resources/compile.py | WGraterol64/robertalab | 368c970c06008c6b56e59e3df19daf6e00022ad9 | [
"Apache-2.0"
] | 1 | 2021-01-28T14:56:56.000Z | 2021-01-28T14:56:56.000Z | import uflash
import argparse
import binascii
import sys
_RUNTIME = """:020000040000FA
:100000000040002089530100C5530100C75301007F
:1000100000000000000000000000000000000000E0
:10002000000000000000000000000000C9530100B3
:100030000000000000000000CB530100CD53010080
:10004000CF53010009440100815D0100CF5301003D
:10005000CF5... | 43.932284 | 70 | 0.954206 | 15,232 | 666,936 | 41.778755 | 0.997111 | 0.000057 | 0.000025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.754986 | 0.022969 | 666,936 | 15,180 | 71 | 43.935178 | 0.221621 | 0.00009 | 0 | 0 | 0 | 0 | 0.999037 | 0.976162 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.000264 | null | null | 0.000132 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cd83de031424bc6e29266e21ca67aed4ae29b251 | 130 | py | Python | tests/common/test_common_submodule.py | wizardsoftheweb/wotw-x11-comparison | 5be9dc09b3589bd771af8a2534a02f3f0ca0bea6 | [
"0BSD"
] | null | null | null | tests/common/test_common_submodule.py | wizardsoftheweb/wotw-x11-comparison | 5be9dc09b3589bd771af8a2534a02f3f0ca0bea6 | [
"0BSD"
] | null | null | null | tests/common/test_common_submodule.py | wizardsoftheweb/wotw-x11-comparison | 5be9dc09b3589bd771af8a2534a02f3f0ca0bea6 | [
"0BSD"
] | null | null | null | # pylint: disable=missing-docstring
# pylint: disable=unused-import
import wotw_x11_comparison.common
# Does absolutely nothing
| 18.571429 | 35 | 0.815385 | 16 | 130 | 6.5 | 0.8125 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.107692 | 130 | 6 | 36 | 21.666667 | 0.87931 | 0.669231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd8448fd17d8ccf34a6feedb9d36894dd5ce16bc | 677 | py | Python | phaser-host/tests/ztest_app_settings.py | ongzhixian/Pycro | 89f4a4902b401a0ceb7dd6c905ec1da87982befd | [
"MIT"
] | null | null | null | phaser-host/tests/ztest_app_settings.py | ongzhixian/Pycro | 89f4a4902b401a0ceb7dd6c905ec1da87982befd | [
"MIT"
] | 9 | 2020-08-29T00:17:12.000Z | 2020-10-07T00:12:30.000Z | vcis/tests/ztest_app_settings.py | ongzhixian/Pycro | 89f4a4902b401a0ceb7dd6c905ec1da87982befd | [
"MIT"
] | null | null | null | import unittest
# TODO: testing for app.settings
def fun(x):
return x + 1
#get_config_json
class AppConfigTest(unittest.TestCase):
def test(self):
from app import settings
self.assertEqual(fun(3), 4)
# def test2(self):
# self.assertEqual(fun(5), 4)
# def test_sum(self):... | 19.911765 | 60 | 0.604136 | 94 | 677 | 4.212766 | 0.425532 | 0.227273 | 0.239899 | 0.166667 | 0.121212 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0.043393 | 0.251108 | 677 | 34 | 61 | 19.911765 | 0.737673 | 0.369276 | 0 | 0 | 0 | 0 | 0.019093 | 0 | 0 | 0 | 0 | 0.029412 | 0.214286 | 1 | 0.285714 | false | 0 | 0.142857 | 0.071429 | 0.642857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
26987ebab5ac760cd36e0310e327d6d2b6e88c68 | 105 | py | Python | base_project/core/views.py | shibiribiu/sapucaia2019 | b3201d51f251690420814a62e09eb081dfc4b5df | [
"MIT"
] | null | null | null | base_project/core/views.py | shibiribiu/sapucaia2019 | b3201d51f251690420814a62e09eb081dfc4b5df | [
"MIT"
] | null | null | null | base_project/core/views.py | shibiribiu/sapucaia2019 | b3201d51f251690420814a62e09eb081dfc4b5df | [
"MIT"
] | null | null | null | from django.shortcuts import render
def homepage(request):
return render(request, 'core/home.html')
| 21 | 44 | 0.761905 | 14 | 105 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 105 | 4 | 45 | 26.25 | 0.879121 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
269d846eb35912011c3df651ca962c41712aabb2 | 41 | py | Python | kddirkit/networks/embedders/__init__.py | JohannesLiu/HNRE-Pytorch | 395f026e54e02a631db522a828b1e017ffca6e59 | [
"MIT"
] | 1 | 2021-03-03T14:06:45.000Z | 2021-03-03T14:06:45.000Z | kddirkit/networks/embedders/__init__.py | JohannesLiu/HNRE-Pytorch | 395f026e54e02a631db522a828b1e017ffca6e59 | [
"MIT"
] | null | null | null | kddirkit/networks/embedders/__init__.py | JohannesLiu/HNRE-Pytorch | 395f026e54e02a631db522a828b1e017ffca6e59 | [
"MIT"
] | null | null | null | from kddirkit.networks.embedders import * | 41 | 41 | 0.853659 | 5 | 41 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26fa46daf2cf103c4713c451d2917ff4cd3b5fec | 128 | py | Python | perception/fairotag/python/fairotag/__init__.py | colesbury/fairo | 9e50a3aa7369c68c80e84d80abd5fcdee8a9277a | [
"MIT"
] | 73 | 2021-09-14T19:24:45.000Z | 2022-03-27T06:43:26.000Z | perception/fairotag/python/fairotag/__init__.py | colesbury/fairo | 9e50a3aa7369c68c80e84d80abd5fcdee8a9277a | [
"MIT"
] | 268 | 2021-09-14T22:40:23.000Z | 2022-03-31T23:01:54.000Z | perception/fairotag/python/fairotag/__init__.py | colesbury/fairo | 9e50a3aa7369c68c80e84d80abd5fcdee8a9277a | [
"MIT"
] | 20 | 2021-09-14T19:24:47.000Z | 2022-03-30T19:03:44.000Z | from .camera import MarkerInfo, CameraIntrinsics
from .camera import CameraModule
from .scene import Scene
from . import utils
| 21.333333 | 48 | 0.820313 | 16 | 128 | 6.5625 | 0.5 | 0.190476 | 0.304762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 128 | 5 | 49 | 25.6 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f8230f332e5dd532c7d154d6f860f0efda71aa2a | 106 | py | Python | 5-tests/blog_app/store/database.py | rcmgn/kts-school-backend | 8a895043b7f0156ec49554504198b631df41d2cd | [
"MIT"
] | 9 | 2021-02-04T07:00:59.000Z | 2022-03-21T06:28:27.000Z | 5-tests/blog_app/store/database.py | rcmgn/kts-school-backend | 8a895043b7f0156ec49554504198b631df41d2cd | [
"MIT"
] | null | null | null | 5-tests/blog_app/store/database.py | rcmgn/kts-school-backend | 8a895043b7f0156ec49554504198b631df41d2cd | [
"MIT"
] | 4 | 2021-10-20T18:44:22.000Z | 2022-02-16T19:11:49.000Z | from gino import Gino
db = Gino()
from blog_app.user.models import *
from blog_app.post.models import *
| 15.142857 | 34 | 0.754717 | 18 | 106 | 4.333333 | 0.5 | 0.205128 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 106 | 6 | 35 | 17.666667 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f83e47f977106035679882cd9e7cf775a750a97c | 30 | py | Python | lcd/views/__init__.py | bwackwat/local-climate-detail | 3be454e8bdbb6fa7bf83bf189b97346190eb66c8 | [
"MIT"
] | 1 | 2019-08-15T00:20:23.000Z | 2019-08-15T00:20:23.000Z | lcd/views/__init__.py | bwackwat/local-climate-detail | 3be454e8bdbb6fa7bf83bf189b97346190eb66c8 | [
"MIT"
] | null | null | null | lcd/views/__init__.py | bwackwat/local-climate-detail | 3be454e8bdbb6fa7bf83bf189b97346190eb66c8 | [
"MIT"
] | null | null | null | from lcd.views.data import *
| 15 | 29 | 0.733333 | 5 | 30 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f8738204c3e9000163d8e430faddc95d8f43e4a3 | 12,059 | py | Python | basic2/practice_6/tic_tac_toe_q_learning.py | linklab/e_learning_rl | 16c11c17dfb304959cb80912e29d0540e6ed6cd5 | [
"MIT"
] | 1 | 2020-11-22T06:30:45.000Z | 2020-11-22T06:30:45.000Z | basic2/practice_6/tic_tac_toe_q_learning.py | linklab/e_learning_rl | 16c11c17dfb304959cb80912e29d0540e6ed6cd5 | [
"MIT"
] | null | null | null | basic2/practice_6/tic_tac_toe_q_learning.py | linklab/e_learning_rl | 16c11c17dfb304959cb80912e29d0540e6ed6cd5 | [
"MIT"
] | null | null | null | import os
import pickle
from basic2.practice_5.tic_tac_toe import TicTacToe
from basic2.practice_5.tic_tac_toe_dummy_agents import Dummy_Agent
from basic2.practice_6.tic_tac_toe_agents import Q_Learning_Agent
from basic2.practice_6.tic_tac_toe_utils import GameStatus, epsilon_scheduled, draw_full_performance
from basi... | 38.404459 | 126 | 0.620698 | 1,701 | 12,059 | 4.044092 | 0.09759 | 0.048844 | 0.048844 | 0.044192 | 0.920628 | 0.891554 | 0.888356 | 0.828754 | 0.806949 | 0.780201 | 0 | 0.030045 | 0.307239 | 12,059 | 313 | 127 | 38.527157 | 0.793392 | 0.168339 | 0 | 0.513089 | 0 | 0 | 0.027552 | 0.009819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015707 | false | 0 | 0.036649 | 0 | 0.052356 | 0.068063 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f8c2e1e92751ba5ed1ec07378c2424aaf1c33dc9 | 1,283 | py | Python | yaxil/session/__init__.py | dmd/yaxil | 7980fa1f9dfcd45f85c7e8bfae0a8e7c19f1e5c3 | [
"BSD-3-Clause"
] | 11 | 2019-02-01T17:35:40.000Z | 2022-03-29T13:31:23.000Z | yaxil/session/__init__.py | dmd/yaxil | 7980fa1f9dfcd45f85c7e8bfae0a8e7c19f1e5c3 | [
"BSD-3-Clause"
] | 20 | 2019-11-12T02:28:03.000Z | 2022-03-29T13:29:12.000Z | yaxil/session/__init__.py | AMP-SCZ/yaxil | 13ec90df8565930702c9f173182dcaec8e8734e2 | [
"BSD-3-Clause"
] | 6 | 2019-03-04T22:22:54.000Z | 2022-03-02T19:44:04.000Z | import yaxil
class Session(object):
def __init__(self, auth):
self._auth = auth
self.url = auth.url
self.username = auth.username
def accession(self, *args, **kwargs):
return yaxil.accession(self._auth, *args, **kwargs)
def subjects(self, *args, **kwargs):
return y... | 29.159091 | 64 | 0.62198 | 152 | 1,283 | 5.098684 | 0.190789 | 0.258065 | 0.180645 | 0.258065 | 0.593548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226812 | 1,283 | 43 | 65 | 29.837209 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.433333 | false | 0 | 0.033333 | 0.4 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f8ca054dd6addddce5ad3e024d1b7102d4bd16c8 | 647 | py | Python | Keras_tensorflow_nightly/source2.7/tensorflow/tools/api/generator/api/compat/__init__.py | Con-Mi/lambda-packs | b23a8464abdd88050b83310e1d0e99c54dac28ab | [
"MIT"
] | 1 | 2019-06-27T12:09:44.000Z | 2019-06-27T12:09:44.000Z | Keras_tensorflow_nightly/source2.7/tensorflow/tools/api/generator/api/compat/__init__.py | Con-Mi/lambda-packs | b23a8464abdd88050b83310e1d0e99c54dac28ab | [
"MIT"
] | null | null | null | Keras_tensorflow_nightly/source2.7/tensorflow/tools/api/generator/api/compat/__init__.py | Con-Mi/lambda-packs | b23a8464abdd88050b83310e1d0e99c54dac28ab | [
"MIT"
] | null | null | null | """Imports for Python API.
This file is MACHINE GENERATED! Do not edit.
Generated by: tensorflow/tools/api/generator/create_python_api.py script.
"""
from tensorflow.python.util.compat import as_bytes
from tensorflow.python.util.compat import as_bytes as as_str
from tensorflow.python.util.compat import as_str_any
from... | 46.214286 | 73 | 0.848532 | 102 | 647 | 5.22549 | 0.343137 | 0.236398 | 0.337711 | 0.405253 | 0.681051 | 0.681051 | 0.613508 | 0.161351 | 0 | 0 | 0 | 0 | 0.085008 | 647 | 14 | 74 | 46.214286 | 0.900338 | 0.22102 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3e452089456b46b99a8992b388faf8c9d1634a92 | 115 | py | Python | aio_wiki/__init__.py | mfdeux/aiowiki | d4f1fa1ef92dacffcb94849b07f50e05c6382845 | [
"MIT"
] | null | null | null | aio_wiki/__init__.py | mfdeux/aiowiki | d4f1fa1ef92dacffcb94849b07f50e05c6382845 | [
"MIT"
] | null | null | null | aio_wiki/__init__.py | mfdeux/aiowiki | d4f1fa1ef92dacffcb94849b07f50e05c6382845 | [
"MIT"
] | null | null | null | from .exceptions import *
from .wikidata import Client as GraphClient
from .wikimedia import Client as MediaClient
| 28.75 | 44 | 0.826087 | 15 | 115 | 6.333333 | 0.6 | 0.252632 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 115 | 3 | 45 | 38.333333 | 0.959596 | 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 | 0 | 0 | 0 | 6 |
3e73e329b3d2ac9ae928cd59d8edd594748e49fe | 323 | py | Python | common/globals.py | cp-helsinge/base1 | cfb71c6462e2de833be8e86d4a2e45983475c9f0 | [
"MIT"
] | 3 | 2020-01-15T13:16:18.000Z | 2020-02-25T16:06:15.000Z | common/globals.py | cp-helsinge/base1 | cfb71c6462e2de833be8e86d4a2e45983475c9f0 | [
"MIT"
] | 1 | 2019-12-10T18:00:16.000Z | 2019-12-12T20:06:15.000Z | common/globals.py | cp-helsinge/base1 | cfb71c6462e2de833be8e86d4a2e45983475c9f0 | [
"MIT"
] | null | null | null | """============================================================================
Global variables
============================================================================"""
game = None
setting = None
gfx_path = "gfx_path not set for "
sound_path = "gfx_path not set for "
root_path = ... | 26.916667 | 79 | 0.294118 | 22 | 323 | 4.090909 | 0.545455 | 0.233333 | 0.244444 | 0.311111 | 0.444444 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182663 | 323 | 11 | 80 | 29.363636 | 0.340909 | 0.5387 | 0 | 0 | 0 | 0 | 0.293706 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4caed2afb2db802f89de6ce33582bd6724aa0ff | 118 | py | Python | LeetCode/algorithms/sqrtx/solution_bad.py | cuihaoleo/exercises | 401dc2f19b6474e84e357a79a53754684fc93784 | [
"WTFPL"
] | 1 | 2015-08-30T10:06:41.000Z | 2015-08-30T10:06:41.000Z | LeetCode/algorithms/sqrtx/solution_bad.py | cuihaoleo/exercises | 401dc2f19b6474e84e357a79a53754684fc93784 | [
"WTFPL"
] | null | null | null | LeetCode/algorithms/sqrtx/solution_bad.py | cuihaoleo/exercises | 401dc2f19b6474e84e357a79a53754684fc93784 | [
"WTFPL"
] | null | null | null | class Solution:
# @param x, an integer
# @return an integer
def sqrt(self, x):
return int(x**0.5)
| 19.666667 | 26 | 0.567797 | 18 | 118 | 3.722222 | 0.722222 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.305085 | 118 | 5 | 27 | 23.6 | 0.792683 | 0.330508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
e4cc0a08d9f2cc6135448b5ea66f14f35a5828e4 | 8,774 | py | Python | tools/bigquery_user_info_updater_tool/cron/bigquery_user_info_updater/tests/test_query_creator.py | ruchirjain86/professional-services | 739ac0f5ffc8237f750804fa9f0f14d4d918a0fa | [
"Apache-2.0"
] | 2,116 | 2017-05-18T19:33:05.000Z | 2022-03-31T13:34:48.000Z | tools/bigquery_user_info_updater_tool/cron/bigquery_user_info_updater/tests/test_query_creator.py | ruchirjain86/professional-services | 739ac0f5ffc8237f750804fa9f0f14d4d918a0fa | [
"Apache-2.0"
] | 548 | 2017-05-20T05:05:35.000Z | 2022-03-28T16:38:12.000Z | tools/bigquery_user_info_updater_tool/cron/bigquery_user_info_updater/tests/test_query_creator.py | ruchirjain86/professional-services | 739ac0f5ffc8237f750804fa9f0f14d4d918a0fa | [
"Apache-2.0"
] | 1,095 | 2017-05-19T00:02:36.000Z | 2022-03-31T05:21:39.000Z | # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 44.538071 | 80 | 0.674037 | 1,180 | 8,774 | 4.639831 | 0.139831 | 0.060822 | 0.062466 | 0.03726 | 0.778082 | 0.748311 | 0.731507 | 0.731507 | 0.731507 | 0.720548 | 0 | 0.001529 | 0.25473 | 8,774 | 196 | 81 | 44.765306 | 0.835755 | 0.238432 | 0 | 0.765217 | 0 | 0 | 0.122417 | 0.056199 | 0 | 0 | 0 | 0 | 0.034783 | 1 | 0.052174 | false | 0.034783 | 0.017391 | 0 | 0.078261 | 0.017391 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4e1b596605a7ebf71a95bf2f32d90bfaed9cb5f | 18,209 | py | Python | consensus_engine/tests/test_model_proposal.py | jonsaunders-git/consensus_engine | 6fc2b3df7b342d4dff919969329c8b586e33a9d3 | [
"MIT"
] | null | null | null | consensus_engine/tests/test_model_proposal.py | jonsaunders-git/consensus_engine | 6fc2b3df7b342d4dff919969329c8b586e33a9d3 | [
"MIT"
] | 4 | 2021-06-05T00:03:14.000Z | 2021-09-22T19:41:03.000Z | consensus_engine/tests/test_model_proposal.py | jonsaunders-git/consensus_engine | 6fc2b3df7b342d4dff919969329c8b586e33a9d3 | [
"MIT"
] | null | null | null | from django.test import TestCase
from .mixins import TwoUserMixin, ProposalMixin
# Create your tests here.
from consensus_engine.models import Proposal, ProposalChoice, ChoiceTicket, ProposalGroup
from consensus_engine.choice_templates import ChoiceTemplates
from consensus_engine.utils import ProposalState
from conse... | 44.412195 | 119 | 0.648361 | 2,239 | 18,209 | 5.108084 | 0.078607 | 0.12241 | 0.04433 | 0.07161 | 0.843665 | 0.798549 | 0.778351 | 0.750284 | 0.716796 | 0.675789 | 0 | 0.015144 | 0.249327 | 18,209 | 409 | 120 | 44.520782 | 0.821567 | 0.096985 | 0 | 0.683891 | 0 | 0 | 0.025139 | 0 | 0 | 0 | 0 | 0 | 0.382979 | 1 | 0.069909 | false | 0 | 0.021277 | 0 | 0.094225 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
901bb8c3b24278179a6454df68a191d979a6c7f5 | 8,969 | py | Python | tests/mb_test_interfaces.py | vasilydenisenko/modbus_rtu_slave | 8a531b776ab82c60b5d335f0565468f19a7801f5 | [
"MIT"
] | null | null | null | tests/mb_test_interfaces.py | vasilydenisenko/modbus_rtu_slave | 8a531b776ab82c60b5d335f0565468f19a7801f5 | [
"MIT"
] | null | null | null | tests/mb_test_interfaces.py | vasilydenisenko/modbus_rtu_slave | 8a531b776ab82c60b5d335f0565468f19a7801f5 | [
"MIT"
] | null | null | null | # MIT License
# Copyright (c) 2021 Vasily Denisenko, Sergey Kuznetsov
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# t... | 33.845283 | 83 | 0.759839 | 1,461 | 8,969 | 4.298426 | 0.12115 | 0.083121 | 0.053822 | 0.04586 | 0.793312 | 0.791879 | 0.775318 | 0.753981 | 0.753981 | 0.752229 | 0 | 0.0092 | 0.163786 | 8,969 | 264 | 84 | 33.973485 | 0.828133 | 0.224997 | 0 | 0.88961 | 0 | 0 | 0.190698 | 0 | 0 | 0 | 0.010837 | 0 | 0 | 1 | 0 | false | 0 | 0.019481 | 0 | 0.019481 | 0.337662 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
902a84965ab27f064e17c47251298bb2da1c8c86 | 176 | py | Python | tests/test_module.py | stactools-packages/noaa-c-cap | dddefa8b4c73d8bb0055eac62a25f1047ad10495 | [
"Apache-2.0"
] | null | null | null | tests/test_module.py | stactools-packages/noaa-c-cap | dddefa8b4c73d8bb0055eac62a25f1047ad10495 | [
"Apache-2.0"
] | null | null | null | tests/test_module.py | stactools-packages/noaa-c-cap | dddefa8b4c73d8bb0055eac62a25f1047ad10495 | [
"Apache-2.0"
] | null | null | null | import unittest
import stactools.noaa_c_cap
class TestModule(unittest.TestCase):
def test_version(self):
self.assertIsNotNone(stactools.noaa_c_cap.__version__)
| 17.6 | 62 | 0.784091 | 22 | 176 | 5.863636 | 0.636364 | 0.20155 | 0.217054 | 0.263566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142045 | 176 | 9 | 63 | 19.555556 | 0.854305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5f3abf69a2cb035f9d01e3bea2b5c886f5da01eb | 147 | py | Python | core/policy/__init__.py | timothijoe/DI-drive | 3cddefc85bbbca6bcdd8a4d796decacaf8d81778 | [
"Apache-2.0"
] | null | null | null | core/policy/__init__.py | timothijoe/DI-drive | 3cddefc85bbbca6bcdd8a4d796decacaf8d81778 | [
"Apache-2.0"
] | null | null | null | core/policy/__init__.py | timothijoe/DI-drive | 3cddefc85bbbca6bcdd8a4d796decacaf8d81778 | [
"Apache-2.0"
] | null | null | null | from .auto_policy import AutoPIDPolicy, AutoMPCPolicy
from .coil_policy import CILPolicy
from .lbc_policy import LBCBirdviewPolicy, LBCImagePolicy
| 36.75 | 57 | 0.870748 | 17 | 147 | 7.352941 | 0.647059 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 147 | 3 | 58 | 49 | 0.93985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5fb6d6664a9767f172826ea03856b5ca76a28012 | 71 | py | Python | acousticsim/analysis/intensity/__init__.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | 5 | 2018-01-15T22:06:20.000Z | 2022-02-21T07:02:40.000Z | acousticsim/analysis/intensity/__init__.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | null | null | null | acousticsim/analysis/intensity/__init__.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | 2 | 2019-11-28T17:06:27.000Z | 2019-12-05T22:57:28.000Z |
from .praat import signal_to_intensity_praat, file_to_intensity_praat | 23.666667 | 69 | 0.887324 | 11 | 71 | 5.181818 | 0.636364 | 0.385965 | 0.561404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 71 | 3 | 69 | 23.666667 | 0.876923 | 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 | 0 | 0 | 0 | 6 |
5fc4e0e936d12b4e44485509865f9d5bbd5ddaf1 | 8,637 | py | Python | tests/test_durations.py | bhumikadalal22/druidry | d2dc6398d4f91e3095f79e876e837791c354dd86 | [
"MIT"
] | null | null | null | tests/test_durations.py | bhumikadalal22/druidry | d2dc6398d4f91e3095f79e876e837791c354dd86 | [
"MIT"
] | null | null | null | tests/test_durations.py | bhumikadalal22/druidry | d2dc6398d4f91e3095f79e876e837791c354dd86 | [
"MIT"
] | null | null | null |
from .context import druidry
import datetime
import unittest
class DurationTest(unittest.TestCase):
def test_invalid_duration(self):
with self.assertRaises(ValueError):
druidry.durations.validate_duration('PT20Z')
def test_has_duration_kwarg(self):
result = druidry.durations.has... | 43.185 | 97 | 0.660762 | 1,126 | 8,637 | 4.899645 | 0.098579 | 0.092804 | 0.116005 | 0.151713 | 0.891064 | 0.872032 | 0.840312 | 0.834512 | 0.813486 | 0.813486 | 0 | 0.084686 | 0.215237 | 8,637 | 199 | 98 | 43.40201 | 0.729271 | 0 | 0 | 0.6 | 0 | 0 | 0.040991 | 0.019801 | 0 | 0 | 0 | 0 | 0.187879 | 1 | 0.187879 | false | 0 | 0.018182 | 0 | 0.212121 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
397d2d69ccdc43cfd07c846bc1934aaa5a0ae4e3 | 25 | py | Python | blobcity/time/__init__.py | SkBlaz/autoai | c9f6d8d6cc2027b7918bae88862ea476cc49397f | [
"Apache-2.0"
] | 1 | 2021-12-30T07:20:28.000Z | 2021-12-30T07:20:28.000Z | blobcity/time/__init__.py | maxpark/autoai | c9f6d8d6cc2027b7918bae88862ea476cc49397f | [
"Apache-2.0"
] | null | null | null | blobcity/time/__init__.py | maxpark/autoai | c9f6d8d6cc2027b7918bae88862ea476cc49397f | [
"Apache-2.0"
] | null | null | null | from .main import train
| 8.333333 | 23 | 0.76 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 2 | 24 | 12.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
840543eea684f44e3d395132fe6471730f43ce59 | 44 | py | Python | desksort/__init__.py | MasterOfAllEvil/DesktopSorter | d652eeafb2e9042483563b574f6cfa8b41b7d925 | [
"MIT"
] | 2 | 2020-02-03T01:02:29.000Z | 2021-01-10T22:14:51.000Z | desksort/__init__.py | MasterOfAllEvil/DesktopSorter | d652eeafb2e9042483563b574f6cfa8b41b7d925 | [
"MIT"
] | 7 | 2020-02-02T22:47:14.000Z | 2020-07-01T21:10:38.000Z | desksort/__init__.py | MasterOfAllEvil/DesktopSorter | d652eeafb2e9042483563b574f6cfa8b41b7d925 | [
"MIT"
] | null | null | null | """Desksort"""
from .functions import start
| 14.666667 | 28 | 0.727273 | 5 | 44 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 29 | 22 | 0.820513 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ffc5c1ed182a8beb9687b231cf46d945aa0b1a3c | 2,736 | py | Python | src/web/tables/launch_vehicle_table.py | ItsCalebJones/SpaceLaunchNow_API | 09289068465c462557649172792ab0f41f833028 | [
"Apache-2.0"
] | 11 | 2017-06-26T05:01:31.000Z | 2019-09-13T18:48:27.000Z | src/web/tables/launch_vehicle_table.py | ItsCalebJones/SpaceLaunchNow_API | 09289068465c462557649172792ab0f41f833028 | [
"Apache-2.0"
] | 14 | 2019-01-30T23:13:34.000Z | 2019-10-08T10:43:36.000Z | src/web/tables/launch_vehicle_table.py | ItsCalebJones/SpaceLaunchNow_API | 09289068465c462557649172792ab0f41f833028 | [
"Apache-2.0"
] | 5 | 2018-04-24T16:52:59.000Z | 2018-08-22T14:06:01.000Z | import django_filters
import django_tables2 as tables
from django.db.models import F
from django_tables2 import SingleTableView, A
from api.models import LauncherConfig
class LaunchVehicleTable(tables.Table):
name = tables.LinkColumn('launch_vehicle_id', args=[A('pk')])
total_launch_count = tables.Column(ver... | 40.835821 | 179 | 0.669591 | 331 | 2,736 | 5.299094 | 0.190332 | 0.082098 | 0.143672 | 0.157355 | 0.826682 | 0.826682 | 0.810718 | 0.761688 | 0.761688 | 0.689852 | 0 | 0.002765 | 0.206871 | 2,736 | 67 | 180 | 40.835821 | 0.80553 | 0 | 0 | 0.481481 | 0 | 0 | 0.16076 | 0.021922 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.092593 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0844221f237e949665be149f9ac733475e1f7d86 | 34 | py | Python | gsdmm/__init__.py | alexeyev/gsdmm | 965103f5b16d84896bac6c7d5dc6a97e9f3c6ab5 | [
"MIT"
] | 275 | 2017-06-16T22:19:49.000Z | 2022-03-31T08:08:16.000Z | gsdmm/__init__.py | ilya-palachev/gsdmm | f170c0f6272f09e9ce5acf0309d4fbedc08c0579 | [
"MIT"
] | 13 | 2017-08-04T03:12:01.000Z | 2022-03-31T16:43:30.000Z | gsdmm/__init__.py | ilya-palachev/gsdmm | f170c0f6272f09e9ce5acf0309d4fbedc08c0579 | [
"MIT"
] | 90 | 2017-04-22T12:40:16.000Z | 2022-03-29T03:14:07.000Z | from .mgp import MovieGroupProcess | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
084b70e1ed4f59d9f8ace5c508e31762128ba197 | 31 | py | Python | ahgp/gp/__init__.py | Francois-Aubet/AHGP | 3ecdd01d138f013ae8da196fbf3a71632aa2cd88 | [
"MIT"
] | 19 | 2020-12-09T22:18:23.000Z | 2021-12-18T10:06:18.000Z | ahgp/gp/__init__.py | Francois-Aubet/AHGP | 3ecdd01d138f013ae8da196fbf3a71632aa2cd88 | [
"MIT"
] | null | null | null | ahgp/gp/__init__.py | Francois-Aubet/AHGP | 3ecdd01d138f013ae8da196fbf3a71632aa2cd88 | [
"MIT"
] | 3 | 2020-12-14T04:13:43.000Z | 2021-05-17T05:38:28.000Z | from ahgp.gp.gp_helper import * | 31 | 31 | 0.806452 | 6 | 31 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f2316182489da2e8751a944850bd3103eb3ae722 | 3,132 | py | Python | progs/python-t77-date-master/python-t77-date-master/t77_date/datetime.py | am-3/TimeZoned | e8ae2e90c2d6addf13b145aa2a4c7a9a66c1346e | [
"MIT"
] | null | null | null | progs/python-t77-date-master/python-t77-date-master/t77_date/datetime.py | am-3/TimeZoned | e8ae2e90c2d6addf13b145aa2a4c7a9a66c1346e | [
"MIT"
] | 1 | 2016-02-08T18:43:49.000Z | 2016-02-08T19:21:13.000Z | progs/python-t77-date-master/python-t77-date-master/t77_date/datetime.py | am-3/TimeZoned | e8ae2e90c2d6addf13b145aa2a4c7a9a66c1346e | [
"MIT"
] | null | null | null | """A set of datetime.datetime and datetime.date related functions"""
from __future__ import absolute_import
from datetime import timedelta, date, datetime
def start_of_day(val):
"""
Return a new datetime.datetime object with values that represent
a start of a day.
:param val: Date to ...
:type val... | 30.115385 | 77 | 0.64719 | 445 | 3,132 | 4.438202 | 0.152809 | 0.202532 | 0.097215 | 0.113418 | 0.787342 | 0.758987 | 0.730633 | 0.718987 | 0.718987 | 0.718987 | 0 | 0.007634 | 0.247126 | 3,132 | 103 | 78 | 30.407767 | 0.829941 | 0.433908 | 0 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.194444 | false | 0 | 0.055556 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f26c0625a9d1ae178e4449f70672644dd003b52b | 45 | py | Python | restapi/parsers/gag_parser.py | Helloeverybody/heroku-proj | 263fc21db346bd3d3ce5fe6ba021a01196708cdc | [
"MIT"
] | 1 | 2021-12-06T10:14:22.000Z | 2021-12-06T10:14:22.000Z | restapi/parsers/gag_parser.py | Helloeverybody/heroku-proj | 263fc21db346bd3d3ce5fe6ba021a01196708cdc | [
"MIT"
] | null | null | null | restapi/parsers/gag_parser.py | Helloeverybody/heroku-proj | 263fc21db346bd3d3ce5fe6ba021a01196708cdc | [
"MIT"
] | 2 | 2021-12-10T18:09:25.000Z | 2021-12-22T08:48:29.000Z | def parse(filepath):
return 'Excellent!'
| 15 | 23 | 0.688889 | 5 | 45 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f2c3d24c3e0d1e7903fc738fb5f9df68ad0a5629 | 746 | py | Python | bias_metrics.py | HKUST-KnowComp/Hate_Speech_Bias_Evaluation | 9c077d564cb17782748a2ffc51b502b9702d1f49 | [
"MIT"
] | 5 | 2020-11-18T11:24:09.000Z | 2021-04-09T07:11:44.000Z | bias_metrics.py | HKUST-KnowComp/HS_Bias_Eval | 9c077d564cb17782748a2ffc51b502b9702d1f49 | [
"MIT"
] | null | null | null | bias_metrics.py | HKUST-KnowComp/HS_Bias_Eval | 9c077d564cb17782748a2ffc51b502b9702d1f49 | [
"MIT"
] | null | null | null | from constants import *
from utils import *
from run_topic_models import *
from compute_similarity import *
from run_topic_models import *
def compute_b1(dataset, language, similarity_metric, topic_number, word_number, embed_path):
topics_dict =process_topics(dataset, topic_number, word_number, language)
if s... | 41.444444 | 93 | 0.782842 | 96 | 746 | 5.71875 | 0.28125 | 0.07286 | 0.10929 | 0.153005 | 0.859745 | 0.859745 | 0.750455 | 0.750455 | 0.564663 | 0.564663 | 0 | 0.00626 | 0.143432 | 746 | 17 | 94 | 43.882353 | 0.852895 | 0 | 0 | 0.461538 | 0 | 0 | 0.021448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.384615 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b4987828cc2832d21362e8669d0d3b0972a48e0 | 30 | py | Python | Term 2/15/2.py | theseana/ajisa | 1c92b00acd3fad7c92b8222b5f6a86fc6db4bcae | [
"MIT"
] | null | null | null | Term 2/15/2.py | theseana/ajisa | 1c92b00acd3fad7c92b8222b5f6a86fc6db4bcae | [
"MIT"
] | null | null | null | Term 2/15/2.py | theseana/ajisa | 1c92b00acd3fad7c92b8222b5f6a86fc6db4bcae | [
"MIT"
] | null | null | null | # square(100)
# triangle(150) | 10 | 15 | 0.666667 | 4 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.133333 | 30 | 3 | 15 | 10 | 0.538462 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
4b4d1ff5f452763bc52eefc180402c69f3b203d3 | 366 | py | Python | arrays/tests/test_container_with_max_area.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | arrays/tests/test_container_with_max_area.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | arrays/tests/test_container_with_max_area.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | 3 | 2020-10-07T20:24:45.000Z | 2020-12-16T04:53:19.000Z | from arrays.container_with_max_area import container_with_max_area
def test_container_with_max_area():
assert container_with_max_area([1, 2, 3, 4]) == 4
assert container_with_max_area([3, 3]) == 3
assert container_with_max_area([]) == 0
assert container_with_max_area([1]) == 0
assert container_wit... | 36.6 | 69 | 0.710383 | 63 | 366 | 3.730159 | 0.31746 | 0.442553 | 0.544681 | 0.680851 | 0.574468 | 0.353191 | 0.238298 | 0 | 0 | 0 | 0 | 0.071895 | 0.163934 | 366 | 9 | 70 | 40.666667 | 0.696078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4ba08a52ae14e42713699a5a4b35cb1e10b7c464 | 27 | py | Python | barfinder/api/__init__.py | Rdbaker/barfinder | 63c75dc99f2371371aa8072078175558d1917864 | [
"BSD-3-Clause"
] | null | null | null | barfinder/api/__init__.py | Rdbaker/barfinder | 63c75dc99f2371371aa8072078175558d1917864 | [
"BSD-3-Clause"
] | null | null | null | barfinder/api/__init__.py | Rdbaker/barfinder | 63c75dc99f2371371aa8072078175558d1917864 | [
"BSD-3-Clause"
] | null | null | null | from . import chat # noqa
| 13.5 | 26 | 0.666667 | 4 | 27 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 27 | 1 | 27 | 27 | 0.9 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29ba11d5d75e437186be866c40b134aea3c9c0af | 1,556 | py | Python | terrascript/cloudstack/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/cloudstack/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/cloudstack/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/cloudstack/r.py
import terrascript
class cloudstack_affinity_group(terrascript.Resource):
pass
class cloudstack_disk(terrascript.Resource):
pass
class cloudstack_egress_firewall(terrascript.Resource):
pass
class cloudstack_firewall(terrascript.Resource):
pass
class cloudstack_insta... | 20.207792 | 60 | 0.807841 | 169 | 1,556 | 7.183432 | 0.213018 | 0.29654 | 0.454695 | 0.530478 | 0.834432 | 0.646623 | 0.163097 | 0 | 0 | 0 | 0 | 0 | 0.127892 | 1,556 | 76 | 61 | 20.473684 | 0.89462 | 0.017352 | 0 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.489796 | 0.020408 | 0 | 0.510204 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4b0287215377ed8b1444152230341034c1b2cc32 | 227 | py | Python | main/views/purchases.py | SentF/henix | 960636f4ffa053ef26016a37bd895801ce47c099 | [
"Unlicense"
] | null | null | null | main/views/purchases.py | SentF/henix | 960636f4ffa053ef26016a37bd895801ce47c099 | [
"Unlicense"
] | null | null | null | main/views/purchases.py | SentF/henix | 960636f4ffa053ef26016a37bd895801ce47c099 | [
"Unlicense"
] | null | null | null | from django.shortcuts import render
from main.models import Purchase
def purchases(request):
return render(request, 'purchases.html', {'purchases': Purchase.objects.filter(user=request.user).order_by('date').reverse()})
| 28.375 | 130 | 0.76652 | 29 | 227 | 5.965517 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096916 | 227 | 7 | 131 | 32.428571 | 0.843902 | 0 | 0 | 0 | 0 | 0 | 0.118943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
4b1c2b18a9affd0844d76656af20419c08a1d6b0 | 42 | py | Python | bin/api_connector_splunk/cloudconnectlib/configuration/__init__.py | CyberGRX/api-connector-splunk | 7f1db1cecb7ae367c1882c3188dc9f8bcb6bc4c6 | [
"MIT"
] | 106 | 2018-03-09T13:03:05.000Z | 2022-03-10T11:01:48.000Z | bin/api_connector_splunk/cloudconnectlib/configuration/__init__.py | CyberGRX/api-connector-splunk | 7f1db1cecb7ae367c1882c3188dc9f8bcb6bc4c6 | [
"MIT"
] | 127 | 2020-08-07T21:56:58.000Z | 2022-03-30T18:24:53.000Z | bin/api_connector_splunk/cloudconnectlib/configuration/__init__.py | CyberGRX/api-connector-splunk | 7f1db1cecb7ae367c1882c3188dc9f8bcb6bc4c6 | [
"MIT"
] | 33 | 2018-04-23T20:18:11.000Z | 2022-03-27T16:41:03.000Z | from .loader import get_loader_by_version
| 21 | 41 | 0.880952 | 7 | 42 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9e7d95a29f1e372310b4be3b5c0d8f10bd22630 | 62,101 | py | Python | NBA Project/venv/Lib/site-packages/plotly/graph_objs/funnelarea/__init__.py | EnriqueGambra/Most-Efficient-NBA-Players | ea67c28b5294dbc9713200a937deb9f4211ba754 | [
"MIT"
] | 1 | 2020-08-08T21:56:11.000Z | 2020-08-08T21:56:11.000Z | NBA Project/venv/Lib/site-packages/plotly/graph_objs/funnelarea/__init__.py | EnriqueGambra/Most-Efficient-NBA-Players | ea67c28b5294dbc9713200a937deb9f4211ba754 | [
"MIT"
] | 2 | 2021-03-31T19:54:17.000Z | 2021-06-02T02:33:56.000Z | NBA Project/venv/Lib/site-packages/plotly/graph_objs/funnelarea/__init__.py | EnriqueGambra/Most-Efficient-NBA-Players | ea67c28b5294dbc9713200a937deb9f4211ba754 | [
"MIT"
] | null | null | null | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Title(_BaseTraceHierarchyType):
# font
# ----
@property
def font(self):
"""
Sets the font used for `title`. Note that the title's font used
to be set by the now deprec... | 33.351772 | 85 | 0.557592 | 6,654 | 62,101 | 5.142771 | 0.07379 | 0.015956 | 0.015576 | 0.026359 | 0.859585 | 0.837785 | 0.829281 | 0.826271 | 0.811075 | 0.799036 | 0 | 0.005061 | 0.341379 | 62,101 | 1,861 | 86 | 33.369694 | 0.831593 | 0.482714 | 0 | 0.554487 | 0 | 0 | 0.273316 | 0.001741 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139423 | false | 0.003205 | 0.038462 | 0.022436 | 0.264423 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9f6604900947b9dd44d88c49465058e094aa0b9 | 2,046 | py | Python | epytope/Data/pssms/smmpmbec/mat/B_51_01_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/B_51_01_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/B_51_01_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_51_01_8 = {0: {'A': -0.0, 'C': 0.0, 'E': 0.002, 'D': 0.003, 'G': 0.005, 'F': -0.02, 'I': -0.017, 'H': 0.005, 'K': 0.005, 'M': -0.009, 'L': -0.016, 'N': 0.005, 'Q': 0.008, 'P': 0.004, 'S': 0.006, 'R': 0.006, 'T': 0.002, 'W': 0.001, 'V': -0.007, 'Y': 0.016}, 1: {'A': -0.468, 'C': -0.017, 'E': 0.034, 'D': 0.032, 'G': -0... | 2,046 | 2,046 | 0.393451 | 496 | 2,046 | 1.616935 | 0.231855 | 0.054863 | 0.012469 | 0.014963 | 0.167082 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372229 | 0.162268 | 2,046 | 1 | 2,046 | 2,046 | 0.095683 | 0 | 0 | 0 | 0 | 0 | 0.079629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a1352a317bc425d494da962d34db25e8e197652 | 20 | py | Python | plugins/ical/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | website/plugins/ical/__init__.py | johnjdailey/data-analysis-template | 178a088c15956331b59b16b4b05b9b3ba58d41b5 | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | website/plugins/ical/__init__.py | johnjdailey/data-analysis-template | 178a088c15956331b59b16b4b05b9b3ba58d41b5 | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from .ical import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a1ced2e5fdd211c4d16eacc4fa63122b554648f | 99 | py | Python | scripts/repopulate_cognitive_atlas_tasks.py | aphroditepv/NeuroVault | 14dbe45c24897f250938716c8d6a015a3b06df93 | [
"MIT"
] | 68 | 2015-02-07T06:09:49.000Z | 2022-03-03T22:58:33.000Z | scripts/repopulate_cognitive_atlas_tasks.py | aphroditepv/NeuroVault | 14dbe45c24897f250938716c8d6a015a3b06df93 | [
"MIT"
] | 436 | 2015-01-01T01:01:13.000Z | 2021-11-07T18:24:00.000Z | scripts/repopulate_cognitive_atlas_tasks.py | aphroditepv/NeuroVault | 14dbe45c24897f250938716c8d6a015a3b06df93 | [
"MIT"
] | 60 | 2015-01-10T23:31:26.000Z | 2021-08-10T06:39:57.000Z | from neurovault.apps.statmaps.tasks import repopulate_cognitive_atlas
repopulate_cognitive_atlas()
| 33 | 69 | 0.89899 | 12 | 99 | 7.083333 | 0.75 | 0.447059 | 0.564706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050505 | 99 | 2 | 70 | 49.5 | 0.904255 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8a2724fa94cc696d0ab3cfea1c3ccca9637167d8 | 45 | py | Python | src/visual/__init__.py | lorainemg/information-retrieval-system | 51a421d3b8934d0efdc57f85a369080be6314a3b | [
"MIT"
] | 1 | 2021-07-11T01:28:55.000Z | 2021-07-11T01:28:55.000Z | src/visual/__init__.py | lorainemg/information-retrieval-system | 51a421d3b8934d0efdc57f85a369080be6314a3b | [
"MIT"
] | null | null | null | src/visual/__init__.py | lorainemg/information-retrieval-system | 51a421d3b8934d0efdc57f85a369080be6314a3b | [
"MIT"
] | null | null | null | from visual.session_state import SessionState | 45 | 45 | 0.911111 | 6 | 45 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a6442fc571ef76c11a5c7eb055a7bb2a32c09be | 24 | py | Python | library_registry/library_registration_protocol/__init__.py | NYPL-Simplified/library-registry | adf1d24872459fd21f8e41f22c22a56a4558b6aa | [
"Apache-2.0"
] | null | null | null | library_registry/library_registration_protocol/__init__.py | NYPL-Simplified/library-registry | adf1d24872459fd21f8e41f22c22a56a4558b6aa | [
"Apache-2.0"
] | null | null | null | library_registry/library_registration_protocol/__init__.py | NYPL-Simplified/library-registry | adf1d24872459fd21f8e41f22c22a56a4558b6aa | [
"Apache-2.0"
] | null | null | null | from .routes import libr | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8aaa13e5045d5a65a2d84b1670e02782d915d70f | 6,615 | py | Python | tests/new/test_bad_components.py | ORNL-Fusion/IPS-framework | b91951032393cc15eb828cf787d583ea686204cc | [
"BSD-3-Clause"
] | null | null | null | tests/new/test_bad_components.py | ORNL-Fusion/IPS-framework | b91951032393cc15eb828cf787d583ea686204cc | [
"BSD-3-Clause"
] | null | null | null | tests/new/test_bad_components.py | ORNL-Fusion/IPS-framework | b91951032393cc15eb828cf787d583ea686204cc | [
"BSD-3-Clause"
] | null | null | null | from ipsframework import Framework
def write_basic_config_and_platform_files(tmpdir, worker):
platform_file = tmpdir.join('platform.conf')
platform = """MPIRUN = eval
NODE_DETECTION = manual
CORES_PER_NODE = 1
SOCKETS_PER_NODE = 1
NODE_ALLOCATION_MODE = shared
HOST =
SCRATCH =
"""
with open(platform_fil... | 33.923077 | 118 | 0.636886 | 851 | 6,615 | 4.730905 | 0.148061 | 0.046945 | 0.043716 | 0.034774 | 0.818182 | 0.786637 | 0.779682 | 0.779682 | 0.743915 | 0.743915 | 0 | 0.008992 | 0.277098 | 6,615 | 194 | 119 | 34.097938 | 0.832915 | 0.038549 | 0 | 0.548148 | 0 | 0 | 0.36673 | 0.046156 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.044444 | false | 0 | 0.007407 | 0 | 0.059259 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8ac3470baea9e31ab7788f05c284c57574b6a691 | 25 | py | Python | examples/applications/notebook/nl4dv/taskgenie/__init__.py | bopan3/nl4dv_modified | 4c2669e199608ad44d79e149af982a9f14ec3f36 | [
"MIT"
] | 58 | 2020-07-10T01:40:35.000Z | 2022-03-09T20:31:26.000Z | examples/applications/notebook/nl4dv/taskgenie/__init__.py | bopan3/nl4dv_modified | 4c2669e199608ad44d79e149af982a9f14ec3f36 | [
"MIT"
] | 11 | 2020-07-20T14:15:41.000Z | 2022-03-10T10:47:20.000Z | examples/applications/notebook/nl4dv/taskgenie/__init__.py | bopan3/nl4dv_modified | 4c2669e199608ad44d79e149af982a9f14ec3f36 | [
"MIT"
] | 15 | 2020-08-11T23:20:16.000Z | 2022-03-30T02:55:05.000Z | from .taskgenie import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76ef323b5e12b61cced399efb893c75e39da6d0a | 49 | py | Python | convlab2/nlu/svm/multiwoz/__init__.py | Malavikka/ConvLab-2 | f2a0d251e4fab9e36e9d9f04df6308623d2d780c | [
"Apache-2.0"
] | 339 | 2020-03-04T09:43:22.000Z | 2022-03-26T17:27:38.000Z | convlab2/nlu/svm/multiwoz/__init__.py | Malavikka/ConvLab-2 | f2a0d251e4fab9e36e9d9f04df6308623d2d780c | [
"Apache-2.0"
] | 122 | 2020-04-12T04:19:06.000Z | 2022-03-23T14:20:57.000Z | convlab2/nlu/svm/multiwoz/__init__.py | Malavikka/ConvLab-2 | f2a0d251e4fab9e36e9d9f04df6308623d2d780c | [
"Apache-2.0"
] | 138 | 2020-02-18T16:48:04.000Z | 2022-03-26T17:27:43.000Z | from convlab2.nlu.svm.multiwoz.nlu import SVMNLU
| 24.5 | 48 | 0.836735 | 8 | 49 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.081633 | 49 | 1 | 49 | 49 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76f04dde2f60a3b06dc9256b16937d61bb0bc673 | 139 | py | Python | src/fecc_tokens/LogicalOr.py | castor91/fecc | bc46059c0d7a428d15b95050b70dec374b4bea28 | [
"MIT"
] | 1 | 2018-02-04T14:48:15.000Z | 2018-02-04T14:48:15.000Z | src/fecc_tokens/LogicalOr.py | castor91/fecc | bc46059c0d7a428d15b95050b70dec374b4bea28 | [
"MIT"
] | null | null | null | src/fecc_tokens/LogicalOr.py | castor91/fecc | bc46059c0d7a428d15b95050b70dec374b4bea28 | [
"MIT"
] | null | null | null | from BinOp import BinOp
class LogicalOr(BinOp):
def __init__(self):
pass
def __str__(self):
return 'LOGICAL OR'
| 13.9 | 27 | 0.625899 | 17 | 139 | 4.647059 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294964 | 139 | 9 | 28 | 15.444444 | 0.806122 | 0 | 0 | 0 | 0 | 0 | 0.071942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
6a7f2db38d792e16a2407c67fd4ef86c1bbabf3a | 4,907 | py | Python | tests/test_http.py | yveso/tyfbaf | f1b6bf33d275f20fad71a2d20b92665f88755361 | [
"MIT"
] | null | null | null | tests/test_http.py | yveso/tyfbaf | f1b6bf33d275f20fad71a2d20b92665f88755361 | [
"MIT"
] | null | null | null | tests/test_http.py | yveso/tyfbaf | f1b6bf33d275f20fad71a2d20b92665f88755361 | [
"MIT"
] | null | null | null | import json
import httpx
import respx
from tyfbaf import constants, http
def test_get_expected_uri_gets_called(respx_mock):
route = respx.get("http://server_name:6405/biprws/an_endpoint")
_ = http.get("/an_endpoint")
assert route.called
def test_get_base_headers_are_set(respx_mock):
route = respx.... | 27.110497 | 82 | 0.656205 | 632 | 4,907 | 4.723101 | 0.091772 | 0.077052 | 0.080402 | 0.093802 | 0.970184 | 0.968174 | 0.952764 | 0.904523 | 0.861642 | 0.79665 | 0 | 0.014929 | 0.208274 | 4,907 | 180 | 83 | 27.261111 | 0.753411 | 0 | 0 | 0.594203 | 0 | 0 | 0.205828 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 1 | 0.144928 | false | 0.036232 | 0.028986 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ab815e68717cdf0866c9496ff405a2488510f94 | 21,701 | py | Python | app/routers/shows.py | questionlp/api.wwdt.me_v2 | 9e3705bba2668221740f5d28e94eec90998c3d00 | [
"Apache-2.0"
] | null | null | null | app/routers/shows.py | questionlp/api.wwdt.me_v2 | 9e3705bba2668221740f5d28e94eec90998c3d00 | [
"Apache-2.0"
] | null | null | null | app/routers/shows.py | questionlp/api.wwdt.me_v2 | 9e3705bba2668221740f5d28e94eec90998c3d00 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# api.wwdt.me is released under the terms of the Apache License 2.0
"""API routes for Scorekeeper endpoints"""
from datetime import date
from app.config import API_VERSION, load_database_config
from fastapi import A... | 34.337025 | 100 | 0.64209 | 2,556 | 21,701 | 5.325509 | 0.061033 | 0.083309 | 0.111078 | 0.129592 | 0.936747 | 0.929988 | 0.918748 | 0.901043 | 0.870041 | 0.830664 | 0 | 0.02201 | 0.263029 | 21,701 | 631 | 101 | 34.391442 | 0.829113 | 0.01023 | 0 | 0.676136 | 0 | 0 | 0.249723 | 0.036255 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015152 | 0 | 0.047348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ab8e03461f3229678220cc954bae0e854c0bf1c | 3,063 | py | Python | test/test_v3_stops_by_distance_response.py | richardjkendall/ptv-api-client | 9b1a3882ebee8cef363e688a56b90e2643799a88 | [
"MIT"
] | null | null | null | test/test_v3_stops_by_distance_response.py | richardjkendall/ptv-api-client | 9b1a3882ebee8cef363e688a56b90e2643799a88 | [
"MIT"
] | null | null | null | test/test_v3_stops_by_distance_response.py | richardjkendall/ptv-api-client | 9b1a3882ebee8cef363e688a56b90e2643799a88 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
PTV Timetable API - Version 3
The PTV Timetable API provides direct access to Public Transport Victoria’s public transport timetable data. The API returns scheduled timetable, route and stop data for all metropolitan and regional train, tram and bus services in Victoria, including Night... | 74.707317 | 2,172 | 0.761672 | 450 | 3,063 | 5.137778 | 0.435556 | 0.046713 | 0.058391 | 0.038927 | 0.13019 | 0.083045 | 0.059689 | 0.027682 | 0.027682 | 0.027682 | 0 | 0.01 | 0.183807 | 3,063 | 40 | 2,173 | 76.575 | 0.9148 | 0.833497 | 0 | 0.214286 | 0 | 0 | 0.017094 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
6aec95416a333e099285599789939e0bb46b4c05 | 2,475 | py | Python | rocketlaunches/rocketapp/migrations/0004_auto_20150429_1224.py | leemac/rocketlaunches | f2a2bd9915e2d3778bba669a76abb57285de7aa6 | [
"MIT"
] | 2 | 2015-01-03T00:22:20.000Z | 2016-05-08T23:45:22.000Z | rocketlaunches/rocketapp/migrations/0004_auto_20150429_1224.py | leemac/rocketlaunches | f2a2bd9915e2d3778bba669a76abb57285de7aa6 | [
"MIT"
] | 11 | 2015-01-25T23:02:52.000Z | 2015-04-30T23:53:56.000Z | rocketlaunches/rocketapp/migrations/0004_auto_20150429_1224.py | leemac/rocketlaunches | f2a2bd9915e2d3778bba669a76abb57285de7aa6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import datetime
class Migration(migrations.Migration):
dependencies = [
('rocketapp', '0003_auto_20150429_1222'),
]
operations = [
migrations.AlterField(
model_name='laun... | 35.357143 | 128 | 0.593131 | 252 | 2,475 | 5.623016 | 0.25 | 0.127029 | 0.158786 | 0.184192 | 0.792519 | 0.792519 | 0.792519 | 0.763585 | 0.763585 | 0.725476 | 0 | 0.048627 | 0.293737 | 2,475 | 69 | 129 | 35.869565 | 0.762014 | 0.008485 | 0 | 0.650794 | 0 | 0 | 0.094209 | 0.00938 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a91f78b9c1548b796e2c5a9efda905342663e3b | 143 | py | Python | python/8Kyu/Classy Extentions.py | athasv/Codewars-data | 5e106466e709fd776f23585ad9f652d0d65b48d3 | [
"MIT"
] | null | null | null | python/8Kyu/Classy Extentions.py | athasv/Codewars-data | 5e106466e709fd776f23585ad9f652d0d65b48d3 | [
"MIT"
] | null | null | null | python/8Kyu/Classy Extentions.py | athasv/Codewars-data | 5e106466e709fd776f23585ad9f652d0d65b48d3 | [
"MIT"
] | null | null | null | class Cat(Animal):
def __init__(self,name):
self.name = name
def speak(self):
return '{} meows.'.format(self.name) | 23.833333 | 44 | 0.573427 | 18 | 143 | 4.333333 | 0.611111 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27972 | 143 | 6 | 44 | 23.833333 | 0.757282 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0a992ada89facda40782ac65abf574066848ab07 | 13,836 | py | Python | lib/python2.7/site-packages/networkx/algorithms/bipartite/tests/test_project.py | nishaero/wifi-userseg-ryu | 1132f2c813b79eff755bdd1a9e73e7ad3980af7c | [
"Apache-2.0"
] | 15 | 2018-04-26T08:17:18.000Z | 2021-03-05T08:44:13.000Z | lib/python2.7/site-packages/networkx/algorithms/bipartite/tests/test_project.py | nishaero/wifi-userseg-ryu | 1132f2c813b79eff755bdd1a9e73e7ad3980af7c | [
"Apache-2.0"
] | null | null | null | lib/python2.7/site-packages/networkx/algorithms/bipartite/tests/test_project.py | nishaero/wifi-userseg-ryu | 1132f2c813b79eff755bdd1a9e73e7ad3980af7c | [
"Apache-2.0"
] | 6 | 2018-04-12T15:49:27.000Z | 2022-01-27T12:34:50.000Z | #!/usr/bin/env python
from nose.tools import assert_equal
import networkx as nx
from networkx.algorithms import bipartite
from networkx.testing import assert_edges_equal, assert_nodes_equal
class TestBipartiteProject:
def test_path_projected_graph(self):
G=nx.path_graph(4)
P=bipartite.projected_gr... | 38.010989 | 104 | 0.523489 | 2,051 | 13,836 | 3.350073 | 0.056558 | 0.05676 | 0.095474 | 0.084122 | 0.832775 | 0.775433 | 0.749964 | 0.731917 | 0.725076 | 0.716344 | 0 | 0.04238 | 0.270093 | 13,836 | 363 | 105 | 38.115702 | 0.637984 | 0.01301 | 0 | 0.58104 | 0 | 0 | 0.041532 | 0 | 0 | 0 | 0 | 0 | 0.232416 | 1 | 0.06422 | false | 0 | 0.012232 | 0.003058 | 0.091743 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ae3a9fd8176402f368fce18c6ccf30e66f8142f | 6,899 | py | Python | trax/layers/research/rel_attention_test.py | pkozakowski/trax | 31215c378017347e0b66ba51c37cd3cbedf60b17 | [
"Apache-2.0"
] | null | null | null | trax/layers/research/rel_attention_test.py | pkozakowski/trax | 31215c378017347e0b66ba51c37cd3cbedf60b17 | [
"Apache-2.0"
] | null | null | null | trax/layers/research/rel_attention_test.py | pkozakowski/trax | 31215c378017347e0b66ba51c37cd3cbedf60b17 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2021 The Trax Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 35.932292 | 77 | 0.577475 | 957 | 6,899 | 3.972832 | 0.171369 | 0.010521 | 0.011047 | 0.012625 | 0.825881 | 0.809311 | 0.795371 | 0.773277 | 0.763546 | 0.749868 | 0 | 0.041476 | 0.269604 | 6,899 | 191 | 78 | 36.120419 | 0.713038 | 0.170459 | 0 | 0.511278 | 0 | 0 | 0.003866 | 0 | 0 | 0 | 0 | 0 | 0.18797 | 1 | 0.075188 | false | 0 | 0.037594 | 0 | 0.12782 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c0e19b92970a26a046958bf34550945ac7dff13 | 147,804 | py | Python | tests/python_client/testcases/test_collection.py | ss892714028/milvus | 260d3e124d3d1b9c0654c52f70d47bfc1221b145 | [
"Apache-2.0"
] | null | null | null | tests/python_client/testcases/test_collection.py | ss892714028/milvus | 260d3e124d3d1b9c0654c52f70d47bfc1221b145 | [
"Apache-2.0"
] | null | null | null | tests/python_client/testcases/test_collection.py | ss892714028/milvus | 260d3e124d3d1b9c0654c52f70d47bfc1221b145 | [
"Apache-2.0"
] | null | null | null | import numpy
import pandas as pd
import pytest
from pymilvus import DataType
from base.client_base import TestcaseBase
from utils.util_log import test_log as log
from common import common_func as cf
from common import common_type as ct
from common.common_type import CaseLabel, CheckTasks
from utils.utils import *
from... | 44.532691 | 120 | 0.651336 | 17,441 | 147,804 | 5.267875 | 0.028037 | 0.021877 | 0.025904 | 0.042557 | 0.871567 | 0.832983 | 0.796804 | 0.773817 | 0.735396 | 0.695419 | 0 | 0.007046 | 0.255859 | 147,804 | 3,318 | 121 | 44.546112 | 0.828298 | 0.200861 | 0 | 0.6885 | 0 | 0.0065 | 0.062597 | 0.000645 | 0 | 0 | 0 | 0.003014 | 0.074 | 1 | 0.1125 | false | 0.003 | 0.0055 | 0.0025 | 0.1355 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c19cbd3e64fa24b95cdce63b4437e99054b8b63 | 15,339 | py | Python | clcheck/tests/test_clchecker.py | jncsw/Smart-Script | a4353c6a8363b8531a6edd278ce09e1fec1fbfde | [
"MIT"
] | 2 | 2021-07-08T14:26:02.000Z | 2021-07-08T16:14:58.000Z | clcheck/tests/test_clchecker.py | jncsw/Smart-Script | a4353c6a8363b8531a6edd278ce09e1fec1fbfde | [
"MIT"
] | null | null | null | clcheck/tests/test_clchecker.py | jncsw/Smart-Script | a4353c6a8363b8531a6edd278ce09e1fec1fbfde | [
"MIT"
] | null | null | null | from clchecker.checker import CLchecker
from clchecker.store import Store, Command
from clchecker.translate import Translator
import config
import clchecker.errors as errors
from textx import metamodel_from_file
import pytest
import os
import tests.utils as utils
@pytest.fixture
def translator_clchecker():
store ... | 42.372928 | 149 | 0.6814 | 1,928 | 15,339 | 5.197614 | 0.117739 | 0.066959 | 0.14759 | 0.09979 | 0.840934 | 0.830356 | 0.823571 | 0.819579 | 0.752819 | 0.634068 | 0 | 0.012592 | 0.218202 | 15,339 | 362 | 150 | 42.372928 | 0.823049 | 0.013104 | 0 | 0.584416 | 0 | 0.025974 | 0.178604 | 0.021144 | 0 | 0 | 0 | 0 | 0.100649 | 1 | 0.064935 | false | 0 | 0.029221 | 0 | 0.094156 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c244639dd57643825f2cce9685c4e0ea1332b8f | 3,036 | py | Python | allennlp/tests/predictors/text_classifier_test.py | tony-tong-punchh/allennlp | 9a13ab570025a0c1659986009d2abddb2e652020 | [
"Apache-2.0"
] | 17 | 2019-11-19T19:02:35.000Z | 2021-11-16T16:19:07.000Z | allennlp/tests/predictors/text_classifier_test.py | tony-tong-punchh/allennlp | 9a13ab570025a0c1659986009d2abddb2e652020 | [
"Apache-2.0"
] | 1 | 2021-05-31T11:12:02.000Z | 2021-06-01T05:34:27.000Z | allennlp/tests/predictors/text_classifier_test.py | tony-tong-punchh/allennlp | 9a13ab570025a0c1659986009d2abddb2e652020 | [
"Apache-2.0"
] | 10 | 2019-12-06T11:32:37.000Z | 2022-01-06T15:39:09.000Z | # pylint: disable=no-self-use,invalid-name,protected-access
import math
from pytest import approx
from allennlp.common.testing import AllenNlpTestCase
from allennlp.models.archival import load_archive
from allennlp.predictors import Predictor
class TestTextClassifierPredictor(AllenNlpTestCase):
def test_uses_nam... | 37.481481 | 108 | 0.601779 | 378 | 3,036 | 4.740741 | 0.256614 | 0.017857 | 0.026786 | 0.050223 | 0.735491 | 0.735491 | 0.735491 | 0.735491 | 0.735491 | 0.735491 | 0 | 0.005238 | 0.3083 | 3,036 | 80 | 109 | 37.95 | 0.848095 | 0.018775 | 0 | 0.676923 | 0 | 0 | 0.125966 | 0 | 0 | 0 | 0 | 0 | 0.415385 | 1 | 0.030769 | false | 0 | 0.076923 | 0 | 0.123077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7cabc059417ea458a3bd40604ed746c4313aa831 | 1,330 | py | Python | atomize/tests/devices_tests/ask_Rigol_832.py | Anatoly1010/Atomize_NIOCH | 9359f2ee31e71ee3b2e210ad5ccc2dc3ad3dfbe0 | [
"MIT"
] | 5 | 2020-12-31T17:39:51.000Z | 2022-03-31T13:02:49.000Z | atomize/tests/devices_tests/ask_Rigol_832.py | Anatoly1010/Atomize_NIOCH | 9359f2ee31e71ee3b2e210ad5ccc2dc3ad3dfbe0 | [
"MIT"
] | null | null | null | atomize/tests/devices_tests/ask_Rigol_832.py | Anatoly1010/Atomize_NIOCH | 9359f2ee31e71ee3b2e210ad5ccc2dc3ad3dfbe0 | [
"MIT"
] | 1 | 2022-03-13T14:57:16.000Z | 2022-03-13T14:57:16.000Z | import time
import numpy as np
import atomize.general_modules.general_functions as general
import atomize.device_modules.Rigol_DP800_Series as rigol
xs = []
ys = []
rigol832 = rigol.Rigol_DP800_Series()
# Output tests
#general.message(rigol832.power_supply_name())
#general.message(rigol832.power_supply_voltage('CH1'... | 32.439024 | 66 | 0.803759 | 174 | 1,330 | 5.856322 | 0.247126 | 0.242395 | 0.354269 | 0.397448 | 0.771344 | 0.617272 | 0.611384 | 0.298332 | 0.298332 | 0.298332 | 0 | 0.076923 | 0.05188 | 1,330 | 40 | 67 | 33.25 | 0.731166 | 0.805263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7cdc7ecee22be1beac51b2fea87e0f5ceedc40f1 | 38,029 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/69.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/69.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/69.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4180
passenger_arriving = (
(6, 6, 10, 6, 4, 0, 6, 12, 6, 5, 3, 0), # 0
(3, 10, 13, 3, 1, 0, 11, 14, 6, 8, 1, 0), # 1
(1, 6, 10, 5, 1, 0, 7, 6, 14, 8, 4, 0), # 2
(8, 12, 10, 3, 4, 0, 8, 7, 12, 4, 0, 0), # 3
(7, 7, 10, 0, 2, 0, 10, 8, 12, 5, 1, 0), # 4
(9, 11, 3, 5, 3, 0,... | 113.519403 | 213 | 0.730101 | 5,147 | 38,029 | 5.392267 | 0.239168 | 0.311306 | 0.246451 | 0.46696 | 0.32752 | 0.326295 | 0.326295 | 0.326295 | 0.326295 | 0.326295 | 0 | 0.819782 | 0.118699 | 38,029 | 334 | 214 | 113.859281 | 0.008325 | 0.031844 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86143f23f413ca0c9f8904af83b44b2d8be66ecf | 94 | py | Python | dell_projector/__init__.py | Abhiseshan/dell-projector | ef869afc9c33a6907160948c6548cad2d96e7341 | [
"MIT"
] | null | null | null | dell_projector/__init__.py | Abhiseshan/dell-projector | ef869afc9c33a6907160948c6548cad2d96e7341 | [
"MIT"
] | null | null | null | dell_projector/__init__.py | Abhiseshan/dell-projector | ef869afc9c33a6907160948c6548cad2d96e7341 | [
"MIT"
] | null | null | null | """Python library to control Dell projector."""
from dell_projector.main import Projector
| 23.5 | 48 | 0.765957 | 12 | 94 | 5.916667 | 0.75 | 0.366197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 3 | 49 | 31.333333 | 0.8875 | 0.43617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
861cb7797685671f19e7cd91dcb8340e8560419a | 143 | py | Python | accounts/admin.py | SamuelCalabriaC/Booksy- | daba45134ff15b27f6e6ade181656259a0839334 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | accounts/admin.py | SamuelCalabriaC/Booksy- | daba45134ff15b27f6e6ade181656259a0839334 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | accounts/admin.py | SamuelCalabriaC/Booksy- | daba45134ff15b27f6e6ade181656259a0839334 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | from django.contrib import admin
from accounts import models
admin.site.register(models.UserAccount)
admin.site.register(models.UserProfile)
| 20.428571 | 39 | 0.839161 | 19 | 143 | 6.315789 | 0.578947 | 0.15 | 0.283333 | 0.383333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083916 | 143 | 6 | 40 | 23.833333 | 0.916031 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
86972b9cc02e4176a0de867f015ce6ca1101ee65 | 53,874 | py | Python | crylib/constants/CryptoConstants.py | fossabot/cryfind | 81b33b109645e31a9a8ad49b56497a7e807f29f2 | [
"MIT"
] | null | null | null | crylib/constants/CryptoConstants.py | fossabot/cryfind | 81b33b109645e31a9a8ad49b56497a7e807f29f2 | [
"MIT"
] | null | null | null | crylib/constants/CryptoConstants.py | fossabot/cryfind | 81b33b109645e31a9a8ad49b56497a7e807f29f2 | [
"MIT"
] | null | null | null | constants = []
# AES
constants += [
{
'name': 'AES [sbox]',
'value': b'''c|w{\xf2ko\xc50\x01g+\xfe\xd7\xabv\xca\x82\xc9}\xfaYG\xf0\xad\xd4\xa2\xaf\x9c\xa4r\xc0\xb7\xfd\x93&6?\xf7\xcc4\xa5\xe5\xf1q\xd81\x15\x04\xc7#\xc3\x18\x96\x05\x9a\x07\x12\x80\xe2\xeb'\xb2u\t\x83,\x1a\x1bnZ\xa0R;\xd6\xb3)\xe3/\x... | 69.694696 | 1,880 | 0.630063 | 10,843 | 53,874 | 3.127456 | 0.139998 | 0.116776 | 0.087317 | 0.029371 | 0.321607 | 0.295863 | 0.269824 | 0.207632 | 0.199316 | 0.199316 | 0 | 0.258193 | 0.103371 | 53,874 | 772 | 1,881 | 69.784974 | 0.443826 | 0.001875 | 0 | 0.044898 | 0 | 0.216327 | 0.834995 | 0.760138 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8697b86fddf37ff7cd035e468d088bb412e5feaa | 92 | py | Python | networkx/drawing/__init__.py | mrv-developers/mrv-networkx | 69cb517b1a9a5eddac98b7ff9c6189e662cadee2 | [
"BSD-3-Clause"
] | 1 | 2019-11-29T02:38:03.000Z | 2019-11-29T02:38:03.000Z | networkx/drawing/__init__.py | mrv-developers/mrv-networkx | 69cb517b1a9a5eddac98b7ff9c6189e662cadee2 | [
"BSD-3-Clause"
] | null | null | null | networkx/drawing/__init__.py | mrv-developers/mrv-networkx | 69cb517b1a9a5eddac98b7ff9c6189e662cadee2 | [
"BSD-3-Clause"
] | null | null | null | try:
import pydot
import nx_pydot
from nx_pydot import *
except:
pass
| 10.222222 | 26 | 0.608696 | 12 | 92 | 4.5 | 0.583333 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.358696 | 92 | 8 | 27 | 11.5 | 0.915254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
86981d03208f5c06c1722d2fcd5b7b6ffd2e7216 | 20,444 | py | Python | python/pyxir/runtime/tensorflow/ops/tf_l11_quant.py | pankajdarak-xlnx/pyxir | a93b785a04b6602418c4f07a0f29c809202d35bd | [
"Apache-2.0"
] | 25 | 2020-06-17T22:41:13.000Z | 2022-03-22T16:28:22.000Z | python/pyxir/runtime/tensorflow/ops/tf_l11_quant.py | pankajdarak-xlnx/pyxir | a93b785a04b6602418c4f07a0f29c809202d35bd | [
"Apache-2.0"
] | 25 | 2021-03-16T06:26:44.000Z | 2022-03-18T11:28:33.000Z | python/pyxir/runtime/tensorflow/ops/tf_l11_quant.py | pankajdarak-xlnx/pyxir | a93b785a04b6602418c4f07a0f29c809202d35bd | [
"Apache-2.0"
] | 19 | 2020-07-30T10:03:02.000Z | 2021-06-29T01:18:16.000Z | # Copyright 2020 Xilinx Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 37.859259 | 80 | 0.606975 | 2,633 | 20,444 | 4.524497 | 0.105583 | 0.044657 | 0.032234 | 0.036263 | 0.772517 | 0.756736 | 0.726937 | 0.719466 | 0.708973 | 0.708973 | 0 | 0.018453 | 0.257777 | 20,444 | 539 | 81 | 37.929499 | 0.76664 | 0.198689 | 0 | 0.709459 | 0 | 0 | 0.066313 | 0.003031 | 0 | 0 | 0 | 0.009276 | 0.050676 | 1 | 0.081081 | false | 0 | 0.037162 | 0.02027 | 0.199324 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
869f77352fcb016db6bd93b178df3e00674a222e | 43,265 | py | Python | monk/tf_keras_1/models/layers.py | Sanskar329/monk_v1 | 51a497a925ec1fb2c8fef1d51245ea7040a5a65a | [
"Apache-2.0"
] | 7 | 2020-07-26T08:37:29.000Z | 2020-10-30T10:23:11.000Z | monk/tf_keras_1/models/layers.py | mursalfk/monk_v1 | 62f34a52f242772186ffff7e56764e958fbcd920 | [
"Apache-2.0"
] | null | null | null | monk/tf_keras_1/models/layers.py | mursalfk/monk_v1 | 62f34a52f242772186ffff7e56764e958fbcd920 | [
"Apache-2.0"
] | null | null | null | from tf_keras_1.models.imports import *
from system.imports import *
from tf_keras_1.models.initializers import get_initializer
@accepts(dict, "self", post_trace=False)
#@TraceFunction(trace_args=True, trace_rv=True)
def get_layer(network_layer, inp):
'''
Get layer for appending it to transfer learning base ... | 29.512278 | 145 | 0.674148 | 4,995 | 43,265 | 5.608609 | 0.048248 | 0.032126 | 0.025486 | 0.049152 | 0.825415 | 0.78051 | 0.74221 | 0.71758 | 0.705015 | 0.705015 | 0 | 0.004516 | 0.216919 | 43,265 | 1,465 | 146 | 29.532423 | 0.822373 | 0.294071 | 0 | 0.668168 | 0 | 0 | 0.108677 | 0.006632 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076577 | false | 0 | 0.004505 | 0 | 0.207207 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81384d0e211104ff55646ccbcf560faf19c011c9 | 19,976 | py | Python | tests/test_observable/test_marbles.py | christiansandberg/RxPY | 036027d2858ea6c9d45839c863bd791e5bb50c36 | [
"MIT"
] | null | null | null | tests/test_observable/test_marbles.py | christiansandberg/RxPY | 036027d2858ea6c9d45839c863bd791e5bb50c36 | [
"MIT"
] | null | null | null | tests/test_observable/test_marbles.py | christiansandberg/RxPY | 036027d2858ea6c9d45839c863bd791e5bb50c36 | [
"MIT"
] | null | null | null | import datetime
import unittest
import reactivex
from reactivex import notification
from reactivex.observable.marbles import parse
from reactivex.testing import TestScheduler
from reactivex.testing.reactivetest import ReactiveTest
def mess_on_next(time, value):
return (time, notification.OnNext(value))
def mes... | 34.3821 | 83 | 0.573088 | 2,213 | 19,976 | 4.986896 | 0.055581 | 0.051649 | 0.089706 | 0.081823 | 0.908753 | 0.876676 | 0.85348 | 0.817235 | 0.739489 | 0.71013 | 0 | 0.094137 | 0.304966 | 19,976 | 580 | 84 | 34.441379 | 0.700735 | 0 | 0 | 0.673828 | 0 | 0 | 0.081848 | 0.034541 | 0 | 0 | 0 | 0 | 0.091797 | 1 | 0.101563 | false | 0 | 0.013672 | 0.009766 | 0.134766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4ab29cbd7afa8e694ba507e86d12fee0478dd88 | 3,568 | py | Python | python/AsciiLetters.py | esumitra/minecraft-programming | b961c8273ff8779c87548d2eed28446d1af1eb04 | [
"MIT"
] | 1 | 2017-10-16T20:23:34.000Z | 2017-10-16T20:23:34.000Z | python/AsciiLetters.py | esumitra/minecraft-programming | b961c8273ff8779c87548d2eed28446d1af1eb04 | [
"MIT"
] | 4 | 2016-08-23T12:28:35.000Z | 2016-10-19T10:15:18.000Z | python/AsciiLetters.py | esumitra/minecraft-programming | b961c8273ff8779c87548d2eed28446d1af1eb04 | [
"MIT"
] | null | null | null |
#Letters used in the program, hashes are turned into blocks
letters = {"a":
"###" + "\n" +
"# #" + "\n" +
"###" + "\n" +
"# #" + "\n" +
"# #" + "\n",
"b":
"###" + "\n" +
"# #" + "\n" +
"###" + "\n" +
"# #" + "\n" +
"###" + "\n",
"c":
"###" + "\n" +
"#" + "\n" +
"#" + "\n" +
"#" + "\n" +
"###" + "\n",
"d":
"##" + "... | 12.880866 | 59 | 0.088565 | 272 | 3,568 | 1.161765 | 0.169118 | 1.208861 | 1.481013 | 1.531646 | 0.71519 | 0.193038 | 0.193038 | 0.193038 | 0.193038 | 0.193038 | 0 | 0.004072 | 0.311659 | 3,568 | 276 | 60 | 12.927536 | 0.124593 | 0.016256 | 0 | 0.820513 | 0 | 0 | 0.313088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
d4c2c54982308339751658cc3d03a2dc407b498e | 28 | py | Python | archs/__init__.py | gitxdf/LSNet | ff82c17ac1c65f5888c1d1a5fda10aa6c2b1a9a3 | [
"Apache-2.0"
] | 1,693 | 2019-04-09T03:41:31.000Z | 2022-03-31T08:18:53.000Z | archs/__init__.py | gitxdf/LSNet | ff82c17ac1c65f5888c1d1a5fda10aa6c2b1a9a3 | [
"Apache-2.0"
] | 202 | 2019-05-10T19:39:02.000Z | 2022-03-29T01:41:48.000Z | archs/__init__.py | gitxdf/LSNet | ff82c17ac1c65f5888c1d1a5fda10aa6c2b1a9a3 | [
"Apache-2.0"
] | 412 | 2019-04-14T09:26:16.000Z | 2022-03-31T08:18:55.000Z | from .bn_inception import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4ec9d0daf6567eb08365c3fd831792f18ae4f1e | 161 | py | Python | pcfv/layers/__init__.py | jiayangshi/pcf | 1e3c5847bdb4100f60b7251cefb9cfe7a76c3c64 | [
"MIT"
] | null | null | null | pcfv/layers/__init__.py | jiayangshi/pcf | 1e3c5847bdb4100f60b7251cefb9cfe7a76c3c64 | [
"MIT"
] | null | null | null | pcfv/layers/__init__.py | jiayangshi/pcf | 1e3c5847bdb4100f60b7251cefb9cfe7a76c3c64 | [
"MIT"
] | null | null | null | from .ConvBlock import ConvBlock
from .MSDConvBlock import MSDConvBlock
from .ScalingBlock import ScalingBlock, scaling_module_set_scale, scaling_module_set_bias | 53.666667 | 89 | 0.888199 | 20 | 161 | 6.85 | 0.5 | 0.189781 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080745 | 161 | 3 | 89 | 53.666667 | 0.925676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be28eff128c9782fd52df6804642f4f025bf44dc | 29 | py | Python | tools/__init__.py | doubibobo/sociology | f71a9de055575d41df1ff052f3c4a39aa7b77107 | [
"Apache-2.0"
] | null | null | null | tools/__init__.py | doubibobo/sociology | f71a9de055575d41df1ff052f3c4a39aa7b77107 | [
"Apache-2.0"
] | null | null | null | tools/__init__.py | doubibobo/sociology | f71a9de055575d41df1ff052f3c4a39aa7b77107 | [
"Apache-2.0"
] | null | null | null | from tools.read_csv import *
| 14.5 | 28 | 0.793103 | 5 | 29 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07acb470ff1e15b72f2cf0a2866368329c9278dc | 8,542 | py | Python | tests/torchgan/test_models.py | winnerineast/torchgan | 77d0267dbac3381070ced279a17e5d96d9145ab7 | [
"MIT"
] | 1,300 | 2018-10-14T05:02:29.000Z | 2022-03-23T09:52:13.000Z | tests/torchgan/test_models.py | kumayu0108/torchgan | fe86d7cf6cac9b6676aa43b56eabc6b4d583bbcf | [
"MIT"
] | 102 | 2018-10-13T22:46:03.000Z | 2022-01-03T19:20:09.000Z | tests/torchgan/test_models.py | kumayu0108/torchgan | fe86d7cf6cac9b6676aa43b56eabc6b4d583bbcf | [
"MIT"
] | 164 | 2018-10-12T08:36:29.000Z | 2022-03-31T03:12:08.000Z | import os
import sys
import unittest
import torch
import torch.distributions as distributions
from torchgan.models import *
sys.path.append(os.path.join(os.path.dirname(__file__), "../.."))
class TestModels(unittest.TestCase):
def test_dcgan_generator(self):
encodings = [50, 100]
channels = [3, ... | 32.980695 | 73 | 0.47085 | 942 | 8,542 | 4.159236 | 0.111465 | 0.038285 | 0.056151 | 0.034456 | 0.773609 | 0.755743 | 0.755487 | 0.755487 | 0.744257 | 0.72486 | 0 | 0.053943 | 0.403184 | 8,542 | 258 | 74 | 33.108527 | 0.714594 | 0 | 0 | 0.787755 | 0 | 0 | 0.001405 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 1 | 0.040816 | false | 0 | 0.02449 | 0 | 0.069388 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed4e25e8f404e633dccda7835d5585e95a94655f | 174 | py | Python | amfe/mor/hyper_red/__init__.py | ma-kast/AMfe | 99686cc313fb8904a093fb42e6cf0b38f8cfd791 | [
"BSD-3-Clause"
] | null | null | null | amfe/mor/hyper_red/__init__.py | ma-kast/AMfe | 99686cc313fb8904a093fb42e6cf0b38f8cfd791 | [
"BSD-3-Clause"
] | null | null | null | amfe/mor/hyper_red/__init__.py | ma-kast/AMfe | 99686cc313fb8904a093fb42e6cf0b38f8cfd791 | [
"BSD-3-Clause"
] | null | null | null | '''
Hyper reduction module
'''
# from .poly_reduction import *
# from .poly_system import *
from .ecsw import *
# from .deim import *
from .training_set_generation import *
| 17.4 | 38 | 0.724138 | 22 | 174 | 5.545455 | 0.545455 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 174 | 9 | 39 | 19.333333 | 0.841379 | 0.574713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed5637c2dc38eacb8615f345ee30d98e55d84bcb | 17,388 | py | Python | tests/unit/modules/test_k8s.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 19 | 2016-01-29T14:37:52.000Z | 2022-03-30T18:08:01.000Z | tests/unit/modules/test_k8s.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 223 | 2016-03-02T16:39:41.000Z | 2022-03-03T12:26:35.000Z | tests/unit/modules/test_k8s.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 64 | 2016-02-04T19:45:26.000Z | 2021-12-15T02:02:31.000Z | # -*- coding: utf-8 -*-
"""
Unit Tests for the k8s execution module.
"""
# Import Python libs
from __future__ import absolute_import, print_function, unicode_literals
import base64
import hashlib
import time
from subprocess import PIPE, Popen
import salt.modules.k8s as k8s
# Import Salt libs
import salt.utils.files... | 32.25974 | 87 | 0.543018 | 1,980 | 17,388 | 4.684848 | 0.09596 | 0.036869 | 0.049806 | 0.034821 | 0.855218 | 0.835058 | 0.797434 | 0.784282 | 0.784282 | 0.781695 | 0 | 0.031706 | 0.301645 | 17,388 | 538 | 88 | 32.319703 | 0.732191 | 0.054808 | 0 | 0.681624 | 0 | 0 | 0.199537 | 0.008411 | 0 | 0 | 0 | 0 | 0.042735 | 1 | 0.042735 | false | 0 | 0.025641 | 0 | 0.08547 | 0.002137 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed889e95a3847ee1e2335a678b11e96685e894c4 | 96,206 | py | Python | Python/pywarpx/_libwarpx.py | ModernElectron/WarpX | 563813bc125a01a1a54267a3d4bb3ba77bcc68a3 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-06-23T23:38:50.000Z | 2021-06-23T23:38:50.000Z | Python/pywarpx/_libwarpx.py | ModernElectron/WarpX | 563813bc125a01a1a54267a3d4bb3ba77bcc68a3 | [
"BSD-3-Clause-LBNL"
] | 106 | 2021-06-08T23:57:54.000Z | 2022-03-08T00:36:46.000Z | Python/pywarpx/_libwarpx.py | ModernElectron/WarpX | 563813bc125a01a1a54267a3d4bb3ba77bcc68a3 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-06-21T18:50:43.000Z | 2021-06-21T18:50:43.000Z | # Copyright 2017-2019 Andrew Myers, David Grote, Remi Lehe
# Weiqun Zhang
#
# This file is part of WarpX.
#
# License: BSD-3-Clause-LBNL
import atexit
import ctypes
from ctypes.util import find_library as _find_library
# --- This defines the wrapper functions that directly call the underlying compiled routines
import ... | 36.67785 | 213 | 0.631177 | 12,665 | 96,206 | 4.600158 | 0.052981 | 0.041366 | 0.05671 | 0.074355 | 0.833353 | 0.788109 | 0.770361 | 0.743242 | 0.727073 | 0.686823 | 0 | 0.004029 | 0.298183 | 96,206 | 2,622 | 214 | 36.691838 | 0.858855 | 0.409268 | 0 | 0.271515 | 0 | 0.002424 | 0.045838 | 0.001237 | 0 | 0 | 0.000103 | 0 | 0.015758 | 1 | 0.145455 | false | 0.003636 | 0.013333 | 0 | 0.305455 | 0.001212 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c03afaafb2bbce7cd676988ce63b7713dacc1ee | 6,972 | py | Python | recolo/tests/test_kinematics_from_deflection_series.py | PolymerGuy/recon | 14d66e3d5cb5fcc4868df326b045952daf139291 | [
"MIT"
] | null | null | null | recolo/tests/test_kinematics_from_deflection_series.py | PolymerGuy/recon | 14d66e3d5cb5fcc4868df326b045952daf139291 | [
"MIT"
] | null | null | null | recolo/tests/test_kinematics_from_deflection_series.py | PolymerGuy/recon | 14d66e3d5cb5fcc4868df326b045952daf139291 | [
"MIT"
] | 1 | 2021-09-10T09:10:33.000Z | 2021-09-10T09:10:33.000Z | from unittest import TestCase
from recolo import kinematic_fields_from_deflections
import numpy as np
class TestConstantDeflection(TestCase):
def setUp(self):
self.tol = 1e-6
self.acceleration = 1.7
n_pts_x = 400
n_pts_y = 400
pixel_size = 1.5
time_ramp = 0.5 * sel... | 48.082759 | 159 | 0.63798 | 1,034 | 6,972 | 4.073501 | 0.109284 | 0.044872 | 0.060541 | 0.033238 | 0.902896 | 0.892213 | 0.862773 | 0.844967 | 0.836895 | 0.819801 | 0 | 0.011268 | 0.248996 | 6,972 | 145 | 160 | 48.082759 | 0.793163 | 0.063253 | 0 | 0.579439 | 0 | 0 | 0.066513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130841 | false | 0 | 0.028037 | 0 | 0.17757 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c2389f689bbe8310abff34580e79532bee69772 | 44 | py | Python | invoiceapp/__init__.py | Retr0327/uniform-invoice-tkinter-app | 0446721a9432ec7f20f71333a98dfa5ab8554097 | [
"Apache-2.0"
] | null | null | null | invoiceapp/__init__.py | Retr0327/uniform-invoice-tkinter-app | 0446721a9432ec7f20f71333a98dfa5ab8554097 | [
"Apache-2.0"
] | null | null | null | invoiceapp/__init__.py | Retr0327/uniform-invoice-tkinter-app | 0446721a9432ec7f20f71333a98dfa5ab8554097 | [
"Apache-2.0"
] | null | null | null | from .uniform_invoice_app import InvoiceApp
| 22 | 43 | 0.886364 | 6 | 44 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c4016f4401ceea56e006b4a6f7ba1bc4b3d79dc | 158 | py | Python | lib/pysgpp/extensions/datadriven/uq/dists/optimization/__init__.py | valentjn/thesis | 65a0eb7d5f7488aac93882959e81ac6b115a9ea8 | [
"CC0-1.0"
] | 4 | 2022-01-15T19:50:36.000Z | 2022-01-15T20:16:10.000Z | lib/pysgpp/extensions/datadriven/uq/dists/optimization/__init__.py | valentjn/thesis | 65a0eb7d5f7488aac93882959e81ac6b115a9ea8 | [
"CC0-1.0"
] | null | null | null | lib/pysgpp/extensions/datadriven/uq/dists/optimization/__init__.py | valentjn/thesis | 65a0eb7d5f7488aac93882959e81ac6b115a9ea8 | [
"CC0-1.0"
] | null | null | null | from estimateDensitySGDE import estimateDensitySGDE
from estimateDensityDTrees import estimateDensityDTrees
from estimateDensityKDE import estimateDensityKDE
| 39.5 | 55 | 0.924051 | 12 | 158 | 12.166667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 158 | 3 | 56 | 52.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c45cd6c4547007add649c1368dd3fd6876481ce | 172 | py | Python | tasks/EPAM/python_course/foundation-python/l4/m4-20.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | 2 | 2022-01-19T18:01:35.000Z | 2022-02-06T06:54:38.000Z | tasks/EPAM/python_course/foundation-python/l4/m4-20.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | tasks/EPAM/python_course/foundation-python/l4/m4-20.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | """Importlib.reload()"""
import importlib
importlib.reload(module_name)
# add new_function() to the code.py
# hello.new_function()
# reload(hello)
# hello.new_function() | 17.2 | 35 | 0.738372 | 23 | 172 | 5.347826 | 0.565217 | 0.268293 | 0.260163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 172 | 10 | 36 | 17.2 | 0.798701 | 0.633721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92c6ae227e4a1a8b55d0eaff76dc3b465ca91fcb | 637 | py | Python | codes/tests/foldyFloatList/testFold.py | joshuahellier/PhDStuff | 6fbe9e507c40e9017cde9312b0cfcc6ceefa284e | [
"MIT"
] | null | null | null | codes/tests/foldyFloatList/testFold.py | joshuahellier/PhDStuff | 6fbe9e507c40e9017cde9312b0cfcc6ceefa284e | [
"MIT"
] | null | null | null | codes/tests/foldyFloatList/testFold.py | joshuahellier/PhDStuff | 6fbe9e507c40e9017cde9312b0cfcc6ceefa284e | [
"MIT"
] | null | null | null | import sys
for x in sys.path:
print x
from foldyFloatList import foldyFloatList
a = foldyFloatList()
a.addValue(1.0)
print(a.toString())
a.addValue(2.0)
print(a.toString())
a.addValue(3.0)
print(a.toString())
a.addValue(4.0)
print(a.toString())
a.addValue(5.0)
print(a.toString())
a.addValue(6.0)
print(a.toString())... | 18.2 | 41 | 0.704867 | 116 | 637 | 3.87069 | 0.206897 | 0.200445 | 0.218263 | 0.467706 | 0.728285 | 0.728285 | 0.567929 | 0.567929 | 0.567929 | 0.492205 | 0 | 0.050934 | 0.075353 | 637 | 34 | 42 | 18.735294 | 0.711375 | 0 | 0 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.058824 | null | null | 0.470588 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
92cbf927fabb199efcae3807951a6670e4cff9da | 730 | py | Python | plastiqpublicapi/models/type_5_enum.py | jeffkynaston/sdk-spike-python-apimatic | e1ca52116aabfcdb2f36c24ebd866cf00bb5c6c9 | [
"MIT"
] | null | null | null | plastiqpublicapi/models/type_5_enum.py | jeffkynaston/sdk-spike-python-apimatic | e1ca52116aabfcdb2f36c24ebd866cf00bb5c6c9 | [
"MIT"
] | null | null | null | plastiqpublicapi/models/type_5_enum.py | jeffkynaston/sdk-spike-python-apimatic | e1ca52116aabfcdb2f36c24ebd866cf00bb5c6c9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
plastiqpublicapi
This file was automatically generated by APIMATIC v3.0 (
https://www.apimatic.io ).
"""
class Type5Enum(object):
"""Implementation of the 'Type5' enum.
TODO: type enum description here.
Attributes:
US_TIN: TODO: type description h... | 20.857143 | 64 | 0.635616 | 84 | 730 | 5.309524 | 0.440476 | 0.107623 | 0.213004 | 0.257848 | 0.246637 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009381 | 0.269863 | 730 | 34 | 65 | 21.470588 | 0.827392 | 0.605479 | 0 | 0 | 1 | 0 | 0.280193 | 0.120773 | 0 | 0 | 0 | 0.176471 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
92ea5948d69260b8ed664b81d3172bb9e5ca592f | 1,863 | py | Python | manage.py | Emmasharon/Blog-Site | 29248a3956e3fc4f8391f74ac7df3fbb8a9a1a8d | [
"PostgreSQL",
"MIT"
] | null | null | null | manage.py | Emmasharon/Blog-Site | 29248a3956e3fc4f8391f74ac7df3fbb8a9a1a8d | [
"PostgreSQL",
"MIT"
] | null | null | null | manage.py | Emmasharon/Blog-Site | 29248a3956e3fc4f8391f74ac7df3fbb8a9a1a8d | [
"PostgreSQL",
"MIT"
] | null | null | null | # Import db from app factory
from app import create_app,db
from flask_script import Manager,Server
# Connect to models
from app.models import User,Blog,Comment
# Set up migrations
from flask_migrate import Migrate,MigrateCommand
# Creating app instance
# app = create_app('test')
# app = create_app('development')
app =... | 23.2875 | 73 | 0.710682 | 239 | 1,863 | 5.384937 | 0.217573 | 0.055944 | 0.055944 | 0.02331 | 0.916861 | 0.916861 | 0.916861 | 0.916861 | 0.916861 | 0.916861 | 0 | 0.004496 | 0.164251 | 1,863 | 80 | 74 | 23.2875 | 0.822094 | 0.595813 | 0 | 0 | 0 | 0 | 0.044928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.263158 | 0.052632 | 0.421053 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92edc98c8a361bca26f98c228b39760ca5f5525d | 36 | py | Python | playground/src/helloworld/HelloWorld.py | yxun/polymorph | 359054af43ea33c9f99bc071da4ad0aec38f922c | [
"MIT"
] | null | null | null | playground/src/helloworld/HelloWorld.py | yxun/polymorph | 359054af43ea33c9f99bc071da4ad0aec38f922c | [
"MIT"
] | null | null | null | playground/src/helloworld/HelloWorld.py | yxun/polymorph | 359054af43ea33c9f99bc071da4ad0aec38f922c | [
"MIT"
] | null | null | null |
print("hello, world from Python\n") | 18 | 35 | 0.722222 | 6 | 36 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 2 | 35 | 18 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
13b4ccb230060cec94d63c7d07148214507535d2 | 9,829 | py | Python | clients/python/tyckiting_client/ai/tests/base_test.py | spedepekka/space-tyckiting-rk-62-ai | b3587a6744361908c47781d81f3d4580cb1adf9e | [
"MIT"
] | null | null | null | clients/python/tyckiting_client/ai/tests/base_test.py | spedepekka/space-tyckiting-rk-62-ai | b3587a6744361908c47781d81f3d4580cb1adf9e | [
"MIT"
] | null | null | null | clients/python/tyckiting_client/ai/tests/base_test.py | spedepekka/space-tyckiting-rk-62-ai | b3587a6744361908c47781d81f3d4580cb1adf9e | [
"MIT"
] | null | null | null | import unittest
from tyckiting_client.ai import base
from tyckiting_client import messages
from mock import patch
class BaseAiTest(unittest.TestCase):
def setUp(self):
config = messages.Config(radius=14)
self.ai = base.BaseAi(1, config)
def test_get_positions_in_origo_range(self):
... | 38.69685 | 102 | 0.612066 | 1,397 | 9,829 | 4.10952 | 0.073014 | 0.162864 | 0.121233 | 0.078384 | 0.863264 | 0.833653 | 0.802125 | 0.774952 | 0.739767 | 0.682285 | 0 | 0.039566 | 0.249161 | 9,829 | 253 | 103 | 38.849802 | 0.738347 | 0 | 0 | 0.551913 | 0 | 0 | 0.003979 | 0 | 0 | 0 | 0 | 0 | 0.174863 | 1 | 0.10929 | false | 0 | 0.021858 | 0 | 0.136612 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13cc9f9ac1a8e86ec054e21bb34280659707959b | 104 | py | Python | py/test.py | ooz/templates | a5cc2f0289dff9401b959cf5ec33ea9ca9d27cea | [
"MIT"
] | 1 | 2020-01-01T00:35:07.000Z | 2020-01-01T00:35:07.000Z | py/test.py | ooz/templates | a5cc2f0289dff9401b959cf5ec33ea9ca9d27cea | [
"MIT"
] | null | null | null | py/test.py | ooz/templates | a5cc2f0289dff9401b959cf5ec33ea9ca9d27cea | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .context import oz_project
def test_foobar():
assert 1 == 2, "oops!"
| 14.857143 | 31 | 0.605769 | 15 | 104 | 4.066667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.211538 | 104 | 6 | 32 | 17.333333 | 0.707317 | 0.201923 | 0 | 0 | 0 | 0 | 0.061728 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
13d29d665c863c80e1c8d93194c85497cac75a82 | 140 | py | Python | cvtk/models/__init__.py | flystarhe/cvtk | bcfea4c5b13269bdd63899020b9c70f2eb1f5b07 | [
"MIT"
] | 1 | 2021-06-29T07:12:45.000Z | 2021-06-29T07:12:45.000Z | cvtk/models/__init__.py | flystarhe/cvtk | bcfea4c5b13269bdd63899020b9c70f2eb1f5b07 | [
"MIT"
] | null | null | null | cvtk/models/__init__.py | flystarhe/cvtk | bcfea4c5b13269bdd63899020b9c70f2eb1f5b07 | [
"MIT"
] | null | null | null | # git clone -b v1.7.1 --depth 1 https://github.com/pytorch/pytorch.git
# git clone -b v0.8.2 --depth 1 https://github.com/pytorch/vision.git | 70 | 70 | 0.707143 | 28 | 140 | 3.535714 | 0.535714 | 0.161616 | 0.181818 | 0.343434 | 0.545455 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0.064 | 0.107143 | 140 | 2 | 71 | 70 | 0.728 | 0.971429 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 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 | 6 |
13ef555575cb1574445c362641a05da008944326 | 10,195 | py | Python | njunmt/tests/bridges_test.py | whr94621/NJUNMT-tf | 29e0b0c577ea7c81acdc80e7a94a1c4dfb85c118 | [
"Apache-2.0"
] | 111 | 2017-12-29T12:48:02.000Z | 2022-03-15T00:47:13.000Z | njunmt/tests/bridges_test.py | whr94621/NJUNMT-tf | 29e0b0c577ea7c81acdc80e7a94a1c4dfb85c118 | [
"Apache-2.0"
] | 3 | 2018-01-27T13:54:42.000Z | 2020-03-02T03:07:19.000Z | njunmt/tests/bridges_test.py | whr94621/NJUNMT-tf | 29e0b0c577ea7c81acdc80e7a94a1c4dfb85c118 | [
"Apache-2.0"
] | 44 | 2017-12-29T12:49:57.000Z | 2022-02-02T13:25:28.000Z | import numpy
import tensorflow as tf
from njunmt.encoders import rnn_encoder
from njunmt.utils import bridges
from njunmt.utils.rnn_cell_utils import get_multilayer_rnn_cells
def build_inputs(batch_size, max_len, dim):
x = numpy.random.random(size=(batch_size, max_len, dim))
x_len = numpy.random.randint(low=... | 53.941799 | 121 | 0.699264 | 1,192 | 10,195 | 5.681208 | 0.114933 | 0.045777 | 0.07088 | 0.107501 | 0.839486 | 0.801831 | 0.794448 | 0.76964 | 0.741878 | 0.693148 | 0 | 0.024842 | 0.190584 | 10,195 | 188 | 122 | 54.228723 | 0.795807 | 0.049632 | 0 | 0.552795 | 0 | 0 | 0.051446 | 0.014256 | 0 | 0 | 0 | 0.005319 | 0.086957 | 1 | 0.037267 | false | 0.024845 | 0.031056 | 0 | 0.192547 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b91cb91552b69675a2062bb8a1184c95374d5743 | 6,124 | py | Python | test/lazy/test_chol_lazy_variable.py | imsrgadich/gpytorch | 6d312392515599e5b79735c8fa3174c1a2a7e698 | [
"MIT"
] | null | null | null | test/lazy/test_chol_lazy_variable.py | imsrgadich/gpytorch | 6d312392515599e5b79735c8fa3174c1a2a7e698 | [
"MIT"
] | null | null | null | test/lazy/test_chol_lazy_variable.py | imsrgadich/gpytorch | 6d312392515599e5b79735c8fa3174c1a2a7e698 | [
"MIT"
] | null | null | null | import math
import numpy as np
import torch
import unittest
from torch.autograd import Variable
from gpytorch.lazy import CholLazyVariable
from gpytorch.utils import approx_equal
class TestCholLazyVariable(unittest.TestCase):
def setUp(self):
chol = torch.Tensor([
[3, 0, 0, 0, 0],
... | 38.515723 | 108 | 0.596995 | 814 | 6,124 | 4.288698 | 0.089681 | 0.059582 | 0.075623 | 0.09281 | 0.856775 | 0.856775 | 0.830421 | 0.817817 | 0.783157 | 0.762532 | 0 | 0.027118 | 0.271391 | 6,124 | 158 | 109 | 38.759494 | 0.755267 | 0.010614 | 0 | 0.622047 | 0 | 0 | 0.001322 | 0 | 0 | 0 | 0 | 0 | 0.125984 | 1 | 0.110236 | false | 0 | 0.055118 | 0 | 0.181102 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9301792cc2a198bcce87d8af568bd52c5507e15 | 20 | py | Python | debug/__init__.py | pyzh/c.py | 96b316e70022f5d2a0d8258ce5b379fe3ccfee52 | [
"BSD-3-Clause"
] | null | null | null | debug/__init__.py | pyzh/c.py | 96b316e70022f5d2a0d8258ce5b379fe3ccfee52 | [
"BSD-3-Clause"
] | 2 | 2018-10-31T07:36:50.000Z | 2018-10-31T07:37:08.000Z | debug/__init__.py | pyzh/c.py | 96b316e70022f5d2a0d8258ce5b379fe3ccfee52 | [
"BSD-3-Clause"
] | null | null | null | from .常用 import 打印
| 6.666667 | 18 | 0.7 | 4 | 20 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 20 | 2 | 19 | 10 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b96b76756d979b8abd6ddc7ebd583287f370da7a | 3,218 | py | Python | tests/robotframework_ls_tests/completions/test_section_completions.py | Snooz82/robotframework-lsp | 5f6666968f59111a5c478afd54df055d23d7274c | [
"Apache-2.0"
] | null | null | null | tests/robotframework_ls_tests/completions/test_section_completions.py | Snooz82/robotframework-lsp | 5f6666968f59111a5c478afd54df055d23d7274c | [
"Apache-2.0"
] | null | null | null | tests/robotframework_ls_tests/completions/test_section_completions.py | Snooz82/robotframework-lsp | 5f6666968f59111a5c478afd54df055d23d7274c | [
"Apache-2.0"
] | null | null | null | def test_section_completions(data_regression):
from robotframework_ls.impl import section_completions
from robotframework_ls.impl.completion_context import CompletionContext
from robotframework_ls.impl.robot_workspace import RobotDocument
from robotframework_ls.config.config import Config
config = ... | 34.234043 | 85 | 0.727781 | 316 | 3,218 | 7.148734 | 0.164557 | 0.074369 | 0.088535 | 0.095618 | 0.853032 | 0.831341 | 0.829128 | 0.738822 | 0.738822 | 0.711377 | 0 | 0.001104 | 0.155687 | 3,218 | 93 | 86 | 34.602151 | 0.830328 | 0 | 0 | 0.578947 | 0 | 0 | 0.13238 | 0.03294 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039474 | false | 0 | 0.131579 | 0 | 0.171053 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b97afb78be8b17ad16f628b58fa08c78808707cb | 11,199 | py | Python | adjust_schedule_function/lib/recurrence.py | ITV/aws-scheduled-event-adjuster | 344d48b0275e6931d8e39d087f23f47b6d650d80 | [
"Apache-2.0"
] | null | null | null | adjust_schedule_function/lib/recurrence.py | ITV/aws-scheduled-event-adjuster | 344d48b0275e6931d8e39d087f23f47b6d650d80 | [
"Apache-2.0"
] | null | null | null | adjust_schedule_function/lib/recurrence.py | ITV/aws-scheduled-event-adjuster | 344d48b0275e6931d8e39d087f23f47b6d650d80 | [
"Apache-2.0"
] | null | null | null | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
from crontab import CronTab
from dateutil import parser
from datetime import datetime, timedelta
import pytz
import re
def parse_cron_expression(expression):
pattern = r'^([^\s]+)\s+([^\s]+)((?:\s+[^\s]+){3... | 49.773333 | 241 | 0.646843 | 1,465 | 11,199 | 4.822526 | 0.162457 | 0.067374 | 0.022081 | 0.014437 | 0.892427 | 0.888464 | 0.872187 | 0.872187 | 0.860156 | 0.853786 | 0 | 0.005538 | 0.2744 | 11,199 | 225 | 242 | 49.773333 | 0.863894 | 0.441647 | 0 | 0.547619 | 0 | 0.02381 | 0.181538 | 0.007009 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059524 | false | 0 | 0.059524 | 0.011905 | 0.261905 | 0.119048 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9986d68dc3b11067a8accaf3d874aa265671f08 | 42,172 | py | Python | spark_auto_mapper_fhir/value_sets/participation_role_type.py | icanbwell/SparkAutoMapper.FHIR | 98f368e781b46523142c7cb513c670d659a93c9b | [
"Apache-2.0"
] | 1 | 2021-11-18T18:06:45.000Z | 2021-11-18T18:06:45.000Z | spark_auto_mapper_fhir/value_sets/participation_role_type.py | icanbwell/SparkAutoMapper.FHIR | 98f368e781b46523142c7cb513c670d659a93c9b | [
"Apache-2.0"
] | null | null | null | spark_auto_mapper_fhir/value_sets/participation_role_type.py | icanbwell/SparkAutoMapper.FHIR | 98f368e781b46523142c7cb513c670d659a93c9b | [
"Apache-2.0"
] | null | null | null | from __future__ import annotations
from spark_auto_mapper_fhir.fhir_types.uri import FhirUri
from spark_auto_mapper_fhir.value_sets.generic_type import GenericTypeCode
from spark_auto_mapper.type_definitions.defined_types import AutoMapperTextInputType
# This file is auto-generated by generate_classes so do not edi... | 42.087824 | 94 | 0.704235 | 4,714 | 42,172 | 6.284048 | 0.145948 | 0.03423 | 0.063802 | 0.074435 | 0.748878 | 0.742329 | 0.733315 | 0.706512 | 0.701921 | 0.69841 | 0 | 0.017582 | 0.198876 | 42,172 | 1,001 | 95 | 42.12987 | 0.859227 | 0.032747 | 0 | 0.384236 | 0 | 0 | 0.163892 | 0.041532 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004926 | false | 0 | 0.019704 | 0 | 0.837438 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b9a06a9b3e48863f6b5a5ad6ebb18eb0f45f52c6 | 1,443 | py | Python | terrascript/ecloud/d.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/ecloud/d.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/ecloud/d.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/ecloud/d.py
# Automatically generated by tools/makecode.py ()
import warnings
warnings.warn(
"using the 'legacy layout' is deprecated", DeprecationWarning, stacklevel=2
)
import terrascript
class ecloud_availability_zone(terrascript.Data):
pass
class ecloud_firewallpolicy(terrascript.Data):
... | 14.147059 | 79 | 0.760222 | 171 | 1,443 | 6.233918 | 0.298246 | 0.237336 | 0.409944 | 0.49531 | 0.641651 | 0.19137 | 0 | 0 | 0 | 0 | 0 | 0.000828 | 0.162855 | 1,443 | 101 | 80 | 14.287129 | 0.881623 | 0.049203 | 0 | 0.45098 | 1 | 0 | 0.028488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.45098 | 0.039216 | 0 | 0.490196 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.