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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
456880162a9ed97af3fb590f2d451d22fb884178 | 41 | py | Python | backend/aostats/__init__.py | thxmxx/albion-online-stats | 804e00bf2d1e909cbcb6b70e2fb7adb7a4d44c2d | [
"Apache-2.0",
"MIT"
] | null | null | null | backend/aostats/__init__.py | thxmxx/albion-online-stats | 804e00bf2d1e909cbcb6b70e2fb7adb7a4d44c2d | [
"Apache-2.0",
"MIT"
] | null | null | null | backend/aostats/__init__.py | thxmxx/albion-online-stats | 804e00bf2d1e909cbcb6b70e2fb7adb7a4d44c2d | [
"Apache-2.0",
"MIT"
] | null | null | null | from libaostats import * # type: ignore
| 20.5 | 40 | 0.731707 | 5 | 41 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 1 | 41 | 41 | 0.909091 | 0.292683 | 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 |
456afea41ffeed8f2488f6d16a6ce49ca1495269 | 2,259 | py | Python | pypertrail/systems.py | astrolox/pypertrail | 9cd8dd64821433487ea93e0eb3ce6b54f79fc237 | [
"MIT"
] | 15 | 2016-10-06T22:55:19.000Z | 2020-12-04T09:52:32.000Z | pypertrail/systems.py | kwent/pypertrail | 9cd8dd64821433487ea93e0eb3ce6b54f79fc237 | [
"MIT"
] | 2 | 2017-08-04T09:04:08.000Z | 2020-11-21T09:26:03.000Z | pypertrail/systems.py | astrolox/pypertrail | 9cd8dd64821433487ea93e0eb3ce6b54f79fc237 | [
"MIT"
] | 3 | 2018-10-05T22:11:26.000Z | 2020-02-20T01:55:30.000Z | from .api import API
import requests
class System(API):
def list(self):
r = requests.get('{0}/{1}'.format(self.base_uri, 'systems.json'),
headers=self.headers)
return self.return_response(r)
def show(self, system_id):
r = requests.get('{0}/{1}/{2}{3}'.format(... | 41.072727 | 74 | 0.424967 | 213 | 2,259 | 4.384977 | 0.169014 | 0.085653 | 0.104925 | 0.127409 | 0.884368 | 0.82334 | 0.82334 | 0.763383 | 0.763383 | 0.763383 | 0 | 0.019544 | 0.456397 | 2,259 | 54 | 75 | 41.833333 | 0.741042 | 0 | 0 | 0.622222 | 0 | 0 | 0.079239 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155556 | false | 0 | 0.044444 | 0 | 0.377778 | 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 |
458410abbb31cd5c237325583e171c95802dc427 | 117 | py | Python | titan/api_pkg/typeregistry/resources.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | titan/api_pkg/typeregistry/resources.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | titan/api_pkg/typeregistry/resources.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from moonleap import Resource
@dataclass
class TypeRegistry(Resource):
pass
| 13 | 33 | 0.803419 | 13 | 117 | 7.230769 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162393 | 117 | 8 | 34 | 14.625 | 0.959184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
458b3b7e01195e5cc23c4910a7bec903960e7a38 | 68 | py | Python | ddc_packages/hddump/hddump/__init__.py | cp4cds/cmip6_range_check_2 | 6fca2632029a2adb9736bfc1382b39f82d8a27e1 | [
"Apache-2.0"
] | null | null | null | ddc_packages/hddump/hddump/__init__.py | cp4cds/cmip6_range_check_2 | 6fca2632029a2adb9736bfc1382b39f82d8a27e1 | [
"Apache-2.0"
] | 1 | 2021-09-27T15:18:39.000Z | 2021-09-27T15:18:39.000Z | ddc_packages/hddump/hddump/__init__.py | cp4cds/cmip6_range_check_2 | 6fca2632029a2adb9736bfc1382b39f82d8a27e1 | [
"Apache-2.0"
] | null | null | null |
from hddump.hddumpMain import *
from hddump.packageConfig import *
| 17 | 34 | 0.808824 | 8 | 68 | 6.875 | 0.625 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 68 | 3 | 35 | 22.666667 | 0.932203 | 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 |
b31a2209cc7b9ea4c5a5e7713dd849515696b616 | 26 | py | Python | __init__.py | sumanau7/finist | da7f31b66a08356c0bbba0013476a86a7c53659d | [
"MIT"
] | 8 | 2015-07-26T16:04:15.000Z | 2021-06-17T13:56:31.000Z | __init__.py | sumanau7/finist | da7f31b66a08356c0bbba0013476a86a7c53659d | [
"MIT"
] | null | null | null | __init__.py | sumanau7/finist | da7f31b66a08356c0bbba0013476a86a7c53659d | [
"MIT"
] | 2 | 2016-06-16T16:41:21.000Z | 2016-10-07T16:58:22.000Z | from finist import finist
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 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 |
b327219c534a2260df47b5686baaf8241b321b33 | 7,738 | py | Python | med/plots.py | adanyaev/medical-app | f59b0171f98180364f1b95dc96600c3e7f16f6a5 | [
"MIT"
] | null | null | null | med/plots.py | adanyaev/medical-app | f59b0171f98180364f1b95dc96600c3e7f16f6a5 | [
"MIT"
] | null | null | null | med/plots.py | adanyaev/medical-app | f59b0171f98180364f1b95dc96600c3e7f16f6a5 | [
"MIT"
] | 2 | 2022-03-13T21:12:56.000Z | 2022-03-14T07:45:47.000Z | from .models import *
import datetime
import plotly
import plotly.express as px
import random
import datetime
import numpy as np
def doctor_ratings_plot(user):
marks = user.received_ratings.order_by("creationDate")
dates = marks.values_list('creationDate', flat=True)
nums = marks.values_list('rating', fla... | 34.855856 | 143 | 0.630912 | 1,011 | 7,738 | 4.738872 | 0.137488 | 0.050094 | 0.04258 | 0.050094 | 0.788353 | 0.768107 | 0.768107 | 0.768107 | 0.768107 | 0.768107 | 0 | 0.00665 | 0.222667 | 7,738 | 221 | 144 | 35.013575 | 0.789859 | 0.016283 | 0 | 0.73 | 0 | 0 | 0.107227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.035 | 0 | 0.145 | 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 |
b3421ade1ff12e4d3e71517940b6a0bcb7495aae | 27 | py | Python | src/euler_python_package/euler_python/medium/p394.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p394.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p394.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem394():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b34a7a2b6f42413f938aa27d7894a8c779efa992 | 339 | py | Python | csv_manager/views.py | Apfirebolt/CSV-File-Manager-in-Django | e708038c1f9951ec593b37bee5dd329268643af0 | [
"MIT"
] | null | null | null | csv_manager/views.py | Apfirebolt/CSV-File-Manager-in-Django | e708038c1f9951ec593b37bee5dd329268643af0 | [
"MIT"
] | null | null | null | csv_manager/views.py | Apfirebolt/CSV-File-Manager-in-Django | e708038c1f9951ec593b37bee5dd329268643af0 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def handler404(request, exception):
return render(request, '404.html')
def handler403(request, exception):
return render(request, '403.html')
def handler500(request, exception):
return render(request, '500.html')
def handler400(request, exception):
return render(r... | 19.941176 | 37 | 0.740413 | 41 | 339 | 6.121951 | 0.439024 | 0.25498 | 0.350598 | 0.446215 | 0.557769 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 0.138643 | 339 | 17 | 38 | 19.941176 | 0.777397 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b370c45e01e7bfb6e0491b4cd3e70c6f646c1667 | 77 | py | Python | openwisp_network_topology/management/commands/update_topology.py | DaffyTheDuck/openwisp-network-topology | a8c9212f0d9cca76f83b41af0e3fc89330f408bb | [
"BSD-3-Clause"
] | 105 | 2017-06-14T06:06:16.000Z | 2022-03-29T18:50:38.000Z | openwisp_network_topology/management/commands/update_topology.py | DaffyTheDuck/openwisp-network-topology | a8c9212f0d9cca76f83b41af0e3fc89330f408bb | [
"BSD-3-Clause"
] | 127 | 2017-06-02T08:19:13.000Z | 2022-03-18T00:26:13.000Z | openwisp_network_topology/management/commands/update_topology.py | ManishShah120/openwisp-network-topology | 0ed720eff1eb733a00cdbfc83292f16fe7d56e12 | [
"BSD-3-Clause"
] | 62 | 2017-06-21T10:28:10.000Z | 2022-03-31T22:06:09.000Z | from . import BaseUpdateCommand
class Command(BaseUpdateCommand):
pass
| 12.833333 | 33 | 0.779221 | 7 | 77 | 8.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 5 | 34 | 15.4 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2faf495713c5404bd0a75f4056852da4b88250af | 109 | py | Python | stRT/plot/two_d_plot/__init__.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | stRT/plot/two_d_plot/__init__.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | stRT/plot/two_d_plot/__init__.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | from .basic_plot import *
from .basic_stats import basic_stats_multi
from .spatial_points import space_multi
| 27.25 | 42 | 0.853211 | 17 | 109 | 5.117647 | 0.529412 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 3 | 43 | 36.333333 | 0.896907 | 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 |
64344de457c52b87a296c748366d122d859db9cb | 23 | py | Python | pcap_ioc/__init__.py | Nothing2Hide/pcap_ioc | 5d6b4951d8731734d42364353b4d08b5ecd85541 | [
"MIT"
] | 10 | 2019-04-11T05:13:01.000Z | 2021-11-28T08:34:43.000Z | pcap_ioc/__init__.py | Nothing2Hide/pcap_ioc | 5d6b4951d8731734d42364353b4d08b5ecd85541 | [
"MIT"
] | null | null | null | pcap_ioc/__init__.py | Nothing2Hide/pcap_ioc | 5d6b4951d8731734d42364353b4d08b5ecd85541 | [
"MIT"
] | 1 | 2019-04-06T11:43:28.000Z | 2019-04-06T11:43:28.000Z | from .pcap import Pcap
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
ff589cf9ef9e765b8756fbb640f4c5813225b025 | 2,669 | py | Python | tests/test_region.py | Kromey/pynano | af1b8697d30c227c6ff4606ac341e3eff382fc74 | [
"MIT"
] | null | null | null | tests/test_region.py | Kromey/pynano | af1b8697d30c227c6ff4606ac341e3eff382fc74 | [
"MIT"
] | null | null | null | tests/test_region.py | Kromey/pynano | af1b8697d30c227c6ff4606ac341e3eff382fc74 | [
"MIT"
] | null | null | null | from decimal import Decimal
import responses
# flake8 doesn't think this one is part of our package
from pynano import Region # noqa
def test_region_wordcount(fbx_response):
with responses.RequestsMock() as rsps:
fbx_response(rsps)
fbx = Region('usa-alaska-fairbanks')
assert fbx.wordc... | 27.515464 | 58 | 0.662046 | 323 | 2,669 | 5.328173 | 0.160991 | 0.105752 | 0.177804 | 0.203951 | 0.740848 | 0.740848 | 0.740848 | 0.740848 | 0.740848 | 0.740848 | 0 | 0.026803 | 0.231173 | 2,669 | 96 | 59 | 27.802083 | 0.811891 | 0.021356 | 0 | 0.621212 | 0 | 0 | 0.157209 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 1 | 0.166667 | false | 0 | 0.045455 | 0 | 0.212121 | 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 |
ffac26365afdd0b4db910f3d081a9cb07a09e5f1 | 37,681 | py | Python | instances/passenger_demand/pas-20210421-2109-int1/2.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-int1/2.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-int1/2.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 2280
passenger_arriving = (
(0, 6, 7, 4, 1, 0, 2, 9, 4, 1, 3, 0), # 0
(3, 3, 3, 0, 2, 0, 2, 8, 3, 0, 1, 0), # 1
(2, 2, 4, 4, 1, 0, 4, 5, 3, 6, 1, 0), # 2
(6, 5, 5, 3, 0, 0, 4, 11, 2, 3, 3, 0), # 3
(1, 5, 2, 2, 2, 0, 5, 7, 3, 5, 0, 0), # 4
(7, 2, 7, 4, 3, 0, 7, 5, 5, 1, 2... | 112.480597 | 215 | 0.727608 | 5,147 | 37,681 | 5.324655 | 0.217797 | 0.315259 | 0.24958 | 0.472889 | 0.333686 | 0.331533 | 0.33022 | 0.33022 | 0.33022 | 0.33022 | 0 | 0.817891 | 0.119795 | 37,681 | 334 | 216 | 112.817365 | 0.008412 | 0.032138 | 0 | 0.208861 | 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 |
ffaef1df8d757905e50318b99af6ce9aab766bd1 | 36,084 | py | Python | tests/core/test_Fader.py | gilbertohasnofb/auxjad | 553b7fe97221b6f378a93ade6262f024e3cbc678 | [
"MIT"
] | 6 | 2020-05-18T09:28:29.000Z | 2021-12-22T00:40:54.000Z | tests/core/test_Fader.py | gilbertohasnofb/auxjad | 553b7fe97221b6f378a93ade6262f024e3cbc678 | [
"MIT"
] | 1 | 2021-04-21T20:29:38.000Z | 2021-04-22T19:44:54.000Z | tests/core/test_Fader.py | gilbertohasnofb/auxjad | 553b7fe97221b6f378a93ade6262f024e3cbc678 | [
"MIT"
] | 1 | 2021-04-21T18:54:46.000Z | 2021-04-21T18:54:46.000Z | import random
import abjad
import pytest
import auxjad
def test_Fader_01():
random.seed(13987)
container = abjad.Container(r"c'4 ~ c'16 d'8. e'8 f'4.")
fader = auxjad.Fader(container)
assert abjad.lilypond(fader) == abjad.String.normalize(
r"""
{
%%% \time 4/4 %%%
... | 21.803021 | 75 | 0.400676 | 4,039 | 36,084 | 3.516217 | 0.044318 | 0.092241 | 0.029996 | 0.097592 | 0.865301 | 0.809182 | 0.792142 | 0.755527 | 0.734756 | 0.704901 | 0 | 0.072504 | 0.486282 | 36,084 | 1,654 | 76 | 21.816203 | 0.69364 | 0.000887 | 0 | 0.522137 | 0 | 0.016794 | 0.056999 | 0 | 0 | 0 | 0 | 0 | 0.167939 | 1 | 0.050382 | false | 0 | 0.006107 | 0 | 0.056489 | 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 |
4402e4b94a45d73f6b950eaa033937f4894bda85 | 48 | py | Python | gradient/transaction/__init__.py | organizejs/gradient | 7a1da1ed768e767a6d6a797b71088ee9b8c828eb | [
"MIT"
] | 1 | 2017-07-19T15:02:24.000Z | 2017-07-19T15:02:24.000Z | gradient/transaction/__init__.py | organizejs/gradient | 7a1da1ed768e767a6d6a797b71088ee9b8c828eb | [
"MIT"
] | 15 | 2017-07-19T15:15:38.000Z | 2021-06-01T23:57:19.000Z | gradient/transaction/__init__.py | organizejs/gradient | 7a1da1ed768e767a6d6a797b71088ee9b8c828eb | [
"MIT"
] | null | null | null | from .models import Transaction, GradientPrice
| 16 | 46 | 0.833333 | 5 | 48 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 2 | 47 | 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 |
440c18e672c4e58504e21792057481076fca72ac | 33 | py | Python | vcardtool/__init__.py | jakeogh/vcardtool | e5b3b528e077b8872911a1f9e64031ef5a01d6b5 | [
"Unlicense"
] | null | null | null | vcardtool/__init__.py | jakeogh/vcardtool | e5b3b528e077b8872911a1f9e64031ef5a01d6b5 | [
"Unlicense"
] | null | null | null | vcardtool/__init__.py | jakeogh/vcardtool | e5b3b528e077b8872911a1f9e64031ef5a01d6b5 | [
"Unlicense"
] | null | null | null | from .vcardtool import vcf_split
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
445e139538562465a45b11659ee91f49f11d1a03 | 64 | py | Python | tests/test_bootstrap.py | onigiri-team/core | 27754e0379203e770dd6c9b998971c049b87608f | [
"Apache-2.0"
] | 9 | 2021-12-20T00:06:37.000Z | 2021-12-26T21:52:34.000Z | tests/test_bootstrap.py | onigiri-team/core | 27754e0379203e770dd6c9b998971c049b87608f | [
"Apache-2.0"
] | 1 | 2021-12-26T13:24:08.000Z | 2021-12-27T12:23:25.000Z | tests/test_bootstrap.py | onigiri-team/core | 27754e0379203e770dd6c9b998971c049b87608f | [
"Apache-2.0"
] | null | null | null | def test_pseudo_bootstrap():
from onigiri import app, loop
| 16 | 33 | 0.75 | 9 | 64 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 34 | 21.333333 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44889fdef6d340473ea4f8c4d0318e4c76f32455 | 91 | py | Python | python_basics/count.py | alok8765/basic_python_practicse | 9bd61f0b03fc1e703a75df39862a24692bb3fdb7 | [
"MIT"
] | null | null | null | python_basics/count.py | alok8765/basic_python_practicse | 9bd61f0b03fc1e703a75df39862a24692bb3fdb7 | [
"MIT"
] | null | null | null | python_basics/count.py | alok8765/basic_python_practicse | 9bd61f0b03fc1e703a75df39862a24692bb3fdb7 | [
"MIT"
] | null | null | null | student_grade = [10.0, 8.8 , 9.0, 10.0, 1.5, 6, 10.0, 5.9]
print(student_grade.count(10.0)) | 45.5 | 58 | 0.626374 | 23 | 91 | 2.391304 | 0.478261 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2625 | 0.120879 | 91 | 2 | 59 | 45.5 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2b8fa0109c02aec234d37f6385e7dae802bd65cc | 192 | py | Python | pip_services3_rpc/test/__init__.py | pip-services-python/pip-services-rpc-python | 53454b7ac4197fb9cfe8676f0654cac1ca6d5722 | [
"MIT"
] | null | null | null | pip_services3_rpc/test/__init__.py | pip-services-python/pip-services-rpc-python | 53454b7ac4197fb9cfe8676f0654cac1ca6d5722 | [
"MIT"
] | null | null | null | pip_services3_rpc/test/__init__.py | pip-services-python/pip-services-rpc-python | 53454b7ac4197fb9cfe8676f0654cac1ca6d5722 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
__all__ = ['TestRestClient', 'TestCommandableHttpClient']
from .TestCommandableHttpClient import TestCommandableHttpClient
from .TestRestClient import TestRestClient
| 27.428571 | 64 | 0.802083 | 14 | 192 | 10.714286 | 0.571429 | 0.386667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 0.098958 | 192 | 6 | 65 | 32 | 0.861272 | 0.109375 | 0 | 0 | 0 | 0 | 0.230769 | 0.147929 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2bbe7b528c21fc2d17521314811b8e4bcff9f758 | 4,329 | py | Python | test/api_rest/test_client.py | JohnnyPeng18/memsource-wrap | 5f7059be9555f77e515f0bec131809f034c71f3a | [
"MIT"
] | 9 | 2016-02-12T00:32:02.000Z | 2021-10-11T10:16:05.000Z | test/api_rest/test_client.py | JohnnyPeng18/memsource-wrap | 5f7059be9555f77e515f0bec131809f034c71f3a | [
"MIT"
] | 42 | 2015-01-07T07:31:14.000Z | 2019-12-10T05:32:51.000Z | test/api_rest/test_client.py | JohnnyPeng18/memsource-wrap | 5f7059be9555f77e515f0bec131809f034c71f3a | [
"MIT"
] | 9 | 2016-06-29T16:56:58.000Z | 2021-11-26T02:33:17.000Z | import requests
import unittest
from unittest.mock import patch
from memsource import models
from memsource.api_rest.client import Client
class TestClient(unittest.TestCase):
@patch.object(requests.Session, "request")
def test_create(self, mock_request: unittest.mock):
ms_response = unittest.mock.Mag... | 33.3 | 62 | 0.487179 | 376 | 4,329 | 5.507979 | 0.183511 | 0.057943 | 0.036697 | 0.050217 | 0.838242 | 0.768711 | 0.768711 | 0.730082 | 0.707871 | 0.707871 | 0 | 0.019978 | 0.375606 | 4,329 | 129 | 63 | 33.55814 | 0.746208 | 0 | 0 | 0.683333 | 0 | 0 | 0.208131 | 0 | 0 | 0 | 0 | 0 | 0.05 | 1 | 0.033333 | false | 0 | 0.041667 | 0 | 0.083333 | 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 |
2bef622629fcebf524738691b35031de2f95848e | 24,529 | py | Python | code/data/casedata/case59_1.py | thanever/DID | 018d901ec8a4d47645c83ab1807ed2e345829ad7 | [
"MIT"
] | null | null | null | code/data/casedata/case59_1.py | thanever/DID | 018d901ec8a4d47645c83ab1807ed2e345829ad7 | [
"MIT"
] | null | null | null | code/data/casedata/case59_1.py | thanever/DID | 018d901ec8a4d47645c83ab1807ed2e345829ad7 | [
"MIT"
] | 1 | 2021-10-03T04:14:48.000Z | 2021-10-03T04:14:48.000Z | # Copyright (c) 1996-2015 PSERC. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
"""Power flow data for IEEE 14 bus test case.
"""
from numpy import array
def case59_1():
"""Power flow data for IEEE 14 bus test case.
Please see L{case... | 74.330303 | 1,244 | 0.384361 | 4,572 | 24,529 | 2.055118 | 0.157699 | 0.212218 | 0.19189 | 0.177948 | 0.523095 | 0.506492 | 0.504364 | 0.481907 | 0.460728 | 0.412303 | 0 | 0.533211 | 0.400342 | 24,529 | 330 | 1,245 | 74.330303 | 0.105582 | 0.080191 | 0 | 0.426471 | 0 | 0 | 0.004939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003676 | false | 0 | 0.003676 | 0 | 0.011029 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
920ba23079f0f3d20e5a1592ef731f8004780f30 | 146 | py | Python | htmlx/geom/__init__.py | byteface/htmlx | 1d6b8b55dda4c42c818170515e05ac1b8c5f2274 | [
"MIT"
] | 3 | 2022-02-10T20:15:53.000Z | 2022-02-10T22:41:44.000Z | htmlx/geom/__init__.py | byteface/htmlx | 1d6b8b55dda4c42c818170515e05ac1b8c5f2274 | [
"MIT"
] | 5 | 2022-02-09T11:11:18.000Z | 2022-02-09T11:16:09.000Z | htmlx/geom/__init__.py | byteface/htmlx | 1d6b8b55dda4c42c818170515e05ac1b8c5f2274 | [
"MIT"
] | null | null | null | """
htmlx.geom
====================================
"""
import math
from htmlx.geom.vec2 import vec2
# from htmlx.geom.vec3 import vec3
| 14.6 | 40 | 0.5 | 16 | 146 | 4.5625 | 0.4375 | 0.369863 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 0.171233 | 146 | 9 | 41 | 16.222222 | 0.570248 | 0.554795 | 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 |
921ddf7a5c315bae069848b659889109b7187106 | 178 | py | Python | tests/test_utils/test_to_num.py | natanfeitosa/pyfunctools | b5354e0d737542b03049eb3e347d6ca1ccceb164 | [
"MIT"
] | 4 | 2021-11-17T15:26:11.000Z | 2022-03-12T01:30:55.000Z | tests/test_utils/test_to_num.py | natanfeitosa/pyfunctools | b5354e0d737542b03049eb3e347d6ca1ccceb164 | [
"MIT"
] | null | null | null | tests/test_utils/test_to_num.py | natanfeitosa/pyfunctools | b5354e0d737542b03049eb3e347d6ca1ccceb164 | [
"MIT"
] | null | null | null | from pyfunctools.utils import to_num
def test_to_num():
assert to_num('.2') == 0.2
assert to_num('0.2') == 0.2
assert to_num('2') == 2
assert to_num('-2') == -2
| 22.25 | 36 | 0.589888 | 33 | 178 | 2.969697 | 0.333333 | 0.306122 | 0.44898 | 0.367347 | 0.438776 | 0.438776 | 0 | 0 | 0 | 0 | 0 | 0.079137 | 0.219101 | 178 | 7 | 37 | 25.428571 | 0.625899 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 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 |
a66407e6686112f208e657479cb8584b8d837226 | 15,018 | py | Python | webapp/tests/forms/steps/lotse/test_steuerminderungen.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 20 | 2021-07-02T07:49:08.000Z | 2022-03-18T22:26:10.000Z | webapp/tests/forms/steps/lotse/test_steuerminderungen.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 555 | 2021-06-28T15:35:15.000Z | 2022-03-31T11:51:55.000Z | webapp/tests/forms/steps/lotse/test_steuerminderungen.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 1 | 2021-07-04T20:34:12.000Z | 2021-07-04T20:34:12.000Z | from unittest.mock import patch
import pytest
from pydantic import ValidationError
from werkzeug.datastructures import MultiDict
from app.forms.steps.lotse.steuerminderungen import StepHaushaltsnaheHandwerker, StepGemeinsamerHaushalt, \
StepSelectStmind, ShowHandwerkerPrecondition, NotShowPersonBPrecondition, Han... | 46.639752 | 119 | 0.729525 | 1,689 | 15,018 | 6.044997 | 0.072824 | 0.032909 | 0.042311 | 0.074045 | 0.845544 | 0.822723 | 0.812831 | 0.798139 | 0.783252 | 0.76523 | 0 | 0.002723 | 0.193102 | 15,018 | 321 | 120 | 46.785047 | 0.839825 | 0.001265 | 0 | 0.570866 | 0 | 0 | 0.128168 | 0.097826 | 0 | 0 | 0 | 0 | 0.110236 | 1 | 0.19685 | false | 0 | 0.023622 | 0 | 0.267717 | 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 |
a697b1b160e69cb2c59aff79ac384edf932ed307 | 5,516 | py | Python | tests/test_views.py | MichielBijland/django-healthchecks | 8d709ce2451999bc61f742a850463f9228f80342 | [
"MIT"
] | null | null | null | tests/test_views.py | MichielBijland/django-healthchecks | 8d709ce2451999bc61f742a850463f9228f80342 | [
"MIT"
] | 76 | 2020-02-18T05:06:36.000Z | 2021-07-30T04:39:18.000Z | tests/test_views.py | MichielBijland/django-healthchecks | 8d709ce2451999bc61f742a850463f9228f80342 | [
"MIT"
] | null | null | null | import json
from collections import OrderedDict
import pytest
import requests_mock
from django.http import Http404
from django_healthchecks import views
def check_int():
return 2
def check_float():
return 1.5
def test_index_view(rf, settings):
settings.HEALTH_CHECKS = {
'database': 'django_h... | 27.858586 | 69 | 0.67422 | 657 | 5,516 | 5.459665 | 0.141553 | 0.107053 | 0.053527 | 0.085866 | 0.834681 | 0.779481 | 0.779481 | 0.753555 | 0.739894 | 0.639532 | 0 | 0.014858 | 0.194706 | 5,516 | 197 | 70 | 28 | 0.792661 | 0.02103 | 0 | 0.6 | 0 | 0 | 0.154217 | 0.066172 | 0 | 0 | 0 | 0 | 0.242857 | 1 | 0.085714 | false | 0.007143 | 0.042857 | 0.014286 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a69c25cd5550caa6f562124c5925313020b4e322 | 266 | py | Python | Darlington/phase1/python Basic 2/day 26 solution/qtn1.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase1/python Basic 2/day 26 solution/qtn1.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase1/python Basic 2/day 26 solution/qtn1.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | # program to count the number of arguments in a given function.
def num_of_args(*args):
return(len(args))
print(num_of_args())
print(num_of_args(1))
print(num_of_args(1, 2))
print(num_of_args(1, 2, 3))
print(num_of_args(1, 2, 3, 4))
print(num_of_args([1, 2, 3, 4])) | 29.555556 | 63 | 0.718045 | 57 | 266 | 3.105263 | 0.368421 | 0.19774 | 0.355932 | 0.474576 | 0.576271 | 0.389831 | 0.299435 | 0.20339 | 0 | 0 | 0 | 0.059322 | 0.112782 | 266 | 9 | 64 | 29.555556 | 0.690678 | 0.229323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0 | 0.125 | 0.125 | 0.75 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 6 |
a6afb1bf2b39e63636c97a69f8858f81abb59a6b | 84 | py | Python | h5Nastran/h5Nastran/post_process/composite/__init__.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 293 | 2015-03-22T20:22:01.000Z | 2022-03-14T20:28:24.000Z | h5Nastran/h5Nastran/post_process/composite/__init__.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 512 | 2015-03-14T18:39:27.000Z | 2022-03-31T16:15:43.000Z | h5Nastran/h5Nastran/post_process/composite/__init__.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 136 | 2015-03-19T03:26:06.000Z | 2022-03-25T22:14:54.000Z | from .orthotropic import OrthotropicMaterial, OrthotropicLaminate, OrthotropicLamina | 84 | 84 | 0.904762 | 6 | 84 | 12.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 84 | 1 | 84 | 84 | 0.962025 | 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 |
a6cb8ee8bf15b4cb763ea5e436eb017a96c978e5 | 8,820 | py | Python | tests/test_remove_long_range_hop.py | Z2PackDev/TBModels | 1b0f07aa16000d3436ec30cc9e8132637fbfa4e6 | [
"Apache-2.0"
] | 32 | 2016-08-18T22:12:25.000Z | 2022-01-31T12:34:20.000Z | tests/test_remove_long_range_hop.py | Z2PackDev/TBModels | 1b0f07aa16000d3436ec30cc9e8132637fbfa4e6 | [
"Apache-2.0"
] | 75 | 2016-07-19T13:38:25.000Z | 2022-02-23T22:38:02.000Z | tests/test_remove_long_range_hop.py | Z2PackDev/TBModels | 1b0f07aa16000d3436ec30cc9e8132637fbfa4e6 | [
"Apache-2.0"
] | 23 | 2016-08-16T09:36:52.000Z | 2022-02-16T10:37:22.000Z | #!/usr/bin/env python
"""Tests for the method of removing long-range hopping terms."""
import pytest
import numpy as np
def test_simple_model(get_model):
"""
Check that removing the long-range hopping in a simple model works
as expected.
"""
model = get_model(t1=1, t2=2, uc=np.eye(3))
# base... | 45.230769 | 85 | 0.610431 | 1,422 | 8,820 | 3.620956 | 0.080872 | 0.045834 | 0.144106 | 0.087396 | 0.90134 | 0.876287 | 0.858419 | 0.858419 | 0.840552 | 0.830453 | 0 | 0.060972 | 0.192971 | 8,820 | 194 | 86 | 45.463918 | 0.662405 | 0.175397 | 0 | 0.689655 | 0 | 0 | 0.002101 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.051724 | false | 0 | 0.017241 | 0 | 0.068966 | 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 |
a6de64766d77ce0913094dca3ddab02c09531f26 | 101 | py | Python | pub/forms/token.py | DASTUDIO/MyVHost | b9eda56a67c2df9236b7866087bc7f465542f951 | [
"MIT"
] | 2 | 2021-07-27T10:38:57.000Z | 2021-10-10T20:42:56.000Z | pub/forms/token.py | DASTUDIO/MyVHost | b9eda56a67c2df9236b7866087bc7f465542f951 | [
"MIT"
] | null | null | null | pub/forms/token.py | DASTUDIO/MyVHost | b9eda56a67c2df9236b7866087bc7f465542f951 | [
"MIT"
] | null | null | null | # coding=utf-8
from django import forms
class form_token(forms.Form):
token = forms.CharField() | 16.833333 | 29 | 0.732673 | 15 | 101 | 4.866667 | 0.733333 | 0.246575 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.158416 | 101 | 6 | 30 | 16.833333 | 0.847059 | 0.118812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
471022f5e817f1aedf996a201b4769a9aeb0f29a | 3,483 | py | Python | pyflux/ssm/tests/dar_tests.py | ThomasHoppe/pyflux | 297f2afc2095acd97c12e827dd500e8ea5da0c0f | [
"BSD-3-Clause"
] | 2,091 | 2016-04-01T02:52:10.000Z | 2022-03-29T11:38:15.000Z | pyflux/ssm/tests/dar_tests.py | EricSchles/pyflux | 297f2afc2095acd97c12e827dd500e8ea5da0c0f | [
"BSD-3-Clause"
] | 160 | 2016-04-26T14:52:18.000Z | 2022-03-15T02:09:07.000Z | pyflux/ssm/tests/dar_tests.py | EricSchles/pyflux | 297f2afc2095acd97c12e827dd500e8ea5da0c0f | [
"BSD-3-Clause"
] | 264 | 2016-05-02T14:03:31.000Z | 2022-03-29T07:48:20.000Z | import numpy as np
import pyflux as pf
noise = np.random.normal(0,1,100)
data = np.zeros(100)
for i in range(1,len(data)):
data[i] = 0.9*data[i-1] + noise[i]
def test_couple_terms():
"""
Tests an DAR model with 1 AR and that
the latent variable list length is correct, and that the estimated
latent variables are... | 31.378378 | 87 | 0.705713 | 616 | 3,483 | 3.915584 | 0.137987 | 0.11194 | 0.049751 | 0.104478 | 0.862769 | 0.830431 | 0.798093 | 0.757463 | 0.738391 | 0.738391 | 0 | 0.018631 | 0.152455 | 3,483 | 111 | 87 | 31.378378 | 0.798442 | 0.340798 | 0 | 0.590164 | 0 | 0 | 0.007734 | 0 | 0 | 0 | 0 | 0 | 0.262295 | 1 | 0.163934 | false | 0 | 0.032787 | 0 | 0.196721 | 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 |
5b2b4cb4820bb16b6ed19034892a5e7da2252b42 | 28 | py | Python | gae_app/lib/fixture/test/test_loadable/__init__.py | dcifuen/gentlemeet | a1209247de7af5f09723323ab8925e0e3b50bbe1 | [
"Apache-2.0"
] | 1 | 2015-03-27T21:57:40.000Z | 2015-03-27T21:57:40.000Z | gae_app/lib/fixture/test/test_loadable/__init__.py | dcifuen/gentlemeet | a1209247de7af5f09723323ab8925e0e3b50bbe1 | [
"Apache-2.0"
] | null | null | null | gae_app/lib/fixture/test/test_loadable/__init__.py | dcifuen/gentlemeet | a1209247de7af5f09723323ab8925e0e3b50bbe1 | [
"Apache-2.0"
] | null | null | null |
from test_loadable import * | 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 2 | 27 | 14 | 0.916667 | 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 |
5b4335de4c93641f8d2002ce01586da854406b01 | 3,444 | py | Python | graphs/adversarial/AAE_graph.py | Jav1d/Generative_Models | b7578b5277488ebd212a50d1c22a5c9708f4c311 | [
"MIT"
] | null | null | null | graphs/adversarial/AAE_graph.py | Jav1d/Generative_Models | b7578b5277488ebd212a50d1c22a5c9708f4c311 | [
"MIT"
] | null | null | null | graphs/adversarial/AAE_graph.py | Jav1d/Generative_Models | b7578b5277488ebd212a50d1c22a5c9708f4c311 | [
"MIT"
] | null | null | null | import tensorflow as tf
from graphs.basics.AE_graph import encode_fn
def inference_discriminate_encode_fn(**kwargs):
# swapping the true by random
ae_encoded = encode_fn(**kwargs)
fake_latents = ae_encoded['z_latents']
real_latents = tf.random.normal(shape=tf.shape(fake_latents))
real_discriminator... | 64.981132 | 115 | 0.75813 | 353 | 3,444 | 6.917847 | 0.096317 | 0.09828 | 0.108108 | 0.076167 | 0.964783 | 0.955364 | 0.945946 | 0.945946 | 0.945946 | 0.945946 | 0 | 0 | 0.15331 | 3,444 | 52 | 116 | 66.230769 | 0.837449 | 0.03223 | 0 | 0.658537 | 0 | 0 | 0.269913 | 0.239255 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073171 | false | 0 | 0.04878 | 0 | 0.195122 | 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 |
5b50d7cfb055899ada118f592796fcff1f79a919 | 28,450 | py | Python | src/test/anovos/data_transformer/test_transformers.py | anovos/anovos | 39b62a1b97a5ba7cc18edc2fbeeb332d9d5edae5 | [
"Apache-2.0"
] | 60 | 2021-11-15T22:30:57.000Z | 2022-03-31T08:13:27.000Z | src/test/anovos/data_transformer/test_transformers.py | anovos/anovos | 39b62a1b97a5ba7cc18edc2fbeeb332d9d5edae5 | [
"Apache-2.0"
] | 62 | 2021-11-15T17:27:56.000Z | 2022-03-28T20:12:56.000Z | src/test/anovos/data_transformer/test_transformers.py | anovos/anovos | 39b62a1b97a5ba7cc18edc2fbeeb332d9d5edae5 | [
"Apache-2.0"
] | 15 | 2021-11-17T19:39:47.000Z | 2022-03-30T18:20:33.000Z | import os
import pytest
from pyspark.sql import functions as F
from pytest import approx
from anovos.data_ingest.data_ingest import read_dataset
from anovos.data_transformer.transformers import (
IQR_standardization,
PCA_latentFeatures,
attribute_binning,
auto_imputation,
autoencoder_latentFeature... | 34.737485 | 106 | 0.60826 | 3,611 | 28,450 | 4.580449 | 0.054556 | 0.058041 | 0.040266 | 0.070073 | 0.931076 | 0.907981 | 0.87104 | 0.843712 | 0.801995 | 0.731983 | 0 | 0.02742 | 0.221898 | 28,450 | 818 | 107 | 34.779951 | 0.719745 | 0.003691 | 0 | 0.668022 | 0 | 0.001355 | 0.144012 | 0.00307 | 0 | 0 | 0 | 0 | 0.262873 | 1 | 0.02168 | false | 0 | 0.00813 | 0 | 0.02981 | 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 |
5b7fe26e1b2cf62669f3e7258a020bc4d3f7a49f | 32 | py | Python | hlrl/core/envs/unity/__init__.py | Chainso/HLRL | 584f4ed2fa4d8b311a21dbd862ec9434833dd7cd | [
"MIT"
] | null | null | null | hlrl/core/envs/unity/__init__.py | Chainso/HLRL | 584f4ed2fa4d8b311a21dbd862ec9434833dd7cd | [
"MIT"
] | null | null | null | hlrl/core/envs/unity/__init__.py | Chainso/HLRL | 584f4ed2fa4d8b311a21dbd862ec9434833dd7cd | [
"MIT"
] | null | null | null | from .unity_env import UnityEnv
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 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 |
5ba0a3f6dcb3b293037c07d82e7b161a5953eaf1 | 16,032 | py | Python | Cogs/XpBlock.py | kazoeru/Acinonyx-v3 | 6d202ee22179567b132010aeec34d51cd316913c | [
"MIT"
] | null | null | null | Cogs/XpBlock.py | kazoeru/Acinonyx-v3 | 6d202ee22179567b132010aeec34d51cd316913c | [
"MIT"
] | null | null | null | Cogs/XpBlock.py | kazoeru/Acinonyx-v3 | 6d202ee22179567b132010aeec34d51cd316913c | [
"MIT"
] | null | null | null | import asyncio
import discord
import time
import random
import re
from operator import itemgetter
from discord.ext import commands
from Cogs import Message
from Cogs import Nullify
from Cogs import DisplayName
def setup(bot):
# Add the bot and deps
settings = bot.get_cog("Settings")
... | 48.581818 | 194 | 0.548653 | 1,797 | 16,032 | 4.830829 | 0.125209 | 0.03836 | 0.058749 | 0.037208 | 0.803479 | 0.797604 | 0.784587 | 0.75049 | 0.698883 | 0.675268 | 0 | 0.010207 | 0.34612 | 16,032 | 330 | 195 | 48.581818 | 0.814462 | 0.087388 | 0 | 0.75 | 0 | 0 | 0.124339 | 0 | 0 | 0 | 0.009713 | 0 | 0 | 1 | 0.008197 | false | 0.016393 | 0.040984 | 0 | 0.106557 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5be89c47a2c67c4d8e2b061154f891e30d7627ed | 1,127 | py | Python | databall/stats.py | emanuelef/databall | 4433b9b65201e66228c8a742a79c6c6e9c01ac42 | [
"MIT"
] | 78 | 2018-02-03T03:00:04.000Z | 2022-03-18T18:28:17.000Z | databall/stats.py | emanuelef/databall | 4433b9b65201e66228c8a742a79c6c6e9c01ac42 | [
"MIT"
] | 363 | 2018-10-24T02:08:40.000Z | 2022-03-03T21:53:52.000Z | databall/stats.py | emanuelef/databall | 4433b9b65201e66228c8a742a79c6c6e9c01ac42 | [
"MIT"
] | 18 | 2018-03-09T04:50:51.000Z | 2022-01-24T16:28:51.000Z | def eff_fg_pct(data, group=''):
return (data[group + 'FGM'] + 0.5 * data[group + 'FG3M']) / data[group + 'FGA']
def fg_pct(data, group=''):
return data[group + 'FGM'] / data[group + 'FGA']
def fg2a(data, group=''):
return data[group + 'FGA'] - data[group + 'FG3A']
def fg2m(data, group=''):
return ... | 23.978723 | 105 | 0.578527 | 163 | 1,127 | 3.92638 | 0.165644 | 0.5625 | 0.28125 | 0.326563 | 0.75 | 0.585938 | 0.367188 | 0.367188 | 0 | 0 | 0 | 0.024363 | 0.198758 | 1,127 | 46 | 106 | 24.5 | 0.684385 | 0 | 0 | 0 | 0 | 0 | 0.074534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5bf089888547a6e698745b53ecadc03295572f83 | 19,993 | py | Python | tests/test_collisions.py | lianwenzhao/pybullet_planning | ffb1ba1c2912712f31dce16188a33333d211bcd2 | [
"MIT"
] | null | null | null | tests/test_collisions.py | lianwenzhao/pybullet_planning | ffb1ba1c2912712f31dce16188a33333d211bcd2 | [
"MIT"
] | null | null | null | tests/test_collisions.py | lianwenzhao/pybullet_planning | ffb1ba1c2912712f31dce16188a33333d211bcd2 | [
"MIT"
] | null | null | null | import os
import sys
import pytest
import numpy as np
from pybullet_planning import BASE_LINK
from pybullet_planning import load_pybullet, connect, wait_for_user, LockRenderer, has_gui, WorldSaver, HideOutput, \
reset_simulation, disconnect, set_camera_pose, has_gui
from pybullet_planning import Pose, Point, Euler
... | 56.637394 | 169 | 0.647777 | 2,407 | 19,993 | 5.039468 | 0.092646 | 0.052762 | 0.051443 | 0.025969 | 0.80033 | 0.762737 | 0.741303 | 0.724897 | 0.714427 | 0.687222 | 0 | 0.069108 | 0.250188 | 19,993 | 352 | 170 | 56.798295 | 0.740044 | 0.014055 | 0 | 0.559211 | 0 | 0 | 0.097518 | 0.006244 | 0 | 0 | 0 | 0 | 0.115132 | 1 | 0.026316 | false | 0 | 0.042763 | 0.003289 | 0.088816 | 0.141447 | 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 |
5bf616f1294b023798e92df2bd733591907ea66e | 1,792 | py | Python | hpc-historias-clinicas/antecedentes_personales/migrations/0002_auto_20150413_0001.py | btenaglia/hpc-historias-clinicas | 649d8660381381b1c591667760c122d73071d5ec | [
"BSD-3-Clause"
] | null | null | null | hpc-historias-clinicas/antecedentes_personales/migrations/0002_auto_20150413_0001.py | btenaglia/hpc-historias-clinicas | 649d8660381381b1c591667760c122d73071d5ec | [
"BSD-3-Clause"
] | null | null | null | hpc-historias-clinicas/antecedentes_personales/migrations/0002_auto_20150413_0001.py | btenaglia/hpc-historias-clinicas | 649d8660381381b1c591667760c122d73071d5ec | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('antecedentes_personales', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='antecedentesperso... | 35.137255 | 119 | 0.617188 | 153 | 1,792 | 7.058824 | 0.294118 | 0.111111 | 0.138889 | 0.161111 | 0.766667 | 0.766667 | 0.715741 | 0.715741 | 0.715741 | 0.715741 | 0 | 0.004612 | 0.273996 | 1,792 | 50 | 120 | 35.84 | 0.825519 | 0.011719 | 0 | 0.636364 | 0 | 0 | 0.205201 | 0.126625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.113636 | 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 |
5bff5daa15b768b412eb15e280e80e818274b5c8 | 18,690 | py | Python | layers/modules/multibox_loss.py | RobotBj/FERNet | 33d798f50b7c31229d5e5a1a9e7a5bcccf2fe55a | [
"Apache-2.0"
] | 2 | 2021-08-03T03:28:44.000Z | 2021-08-03T03:28:45.000Z | layers/modules/multibox_loss.py | RobotBj/FERNet | 33d798f50b7c31229d5e5a1a9e7a5bcccf2fe55a | [
"Apache-2.0"
] | null | null | null | layers/modules/multibox_loss.py | RobotBj/FERNet | 33d798f50b7c31229d5e5a1a9e7a5bcccf2fe55a | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
from utils.box_utils import match, log_sum_exp, decode, encode
from focalloss import FocalLoss
GPU = False
if torch.cuda.is_available():
GPU = True
class MultiBoxLoss(nn.Module):
"""SSD Weighted Loss Func... | 36.863905 | 125 | 0.588711 | 2,546 | 18,690 | 4.116261 | 0.097015 | 0.014504 | 0.022901 | 0.009447 | 0.814886 | 0.802576 | 0.800763 | 0.787118 | 0.785496 | 0.782538 | 0 | 0.017899 | 0.294543 | 18,690 | 506 | 126 | 36.936759 | 0.776944 | 0.794757 | 0 | 0 | 0 | 0 | 0.001862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.096774 | 0 | 0.16129 | 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 |
752a96ede8f2f11572cebf8c7f12d3502f4ca23b | 33 | py | Python | web/tests/apps/partner/test_filters.py | sidneijp/zedev | 75d6a83d08febb795f862627811925ea18f89fca | [
"BSD-3-Clause"
] | null | null | null | web/tests/apps/partner/test_filters.py | sidneijp/zedev | 75d6a83d08febb795f862627811925ea18f89fca | [
"BSD-3-Clause"
] | null | null | null | web/tests/apps/partner/test_filters.py | sidneijp/zedev | 75d6a83d08febb795f862627811925ea18f89fca | [
"BSD-3-Clause"
] | null | null | null | from apps.partner import filters
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
f395cdd25d61933fb26615d709178c3be9e52e06 | 191 | py | Python | phone_confirmation/signals.py | ricardosasilva/django_phone_confirmation | f67d4437d4f79962e70a32e06229cb6040c4f9db | [
"MIT"
] | 4 | 2017-09-06T19:51:10.000Z | 2021-12-30T07:49:51.000Z | phone_confirmation/signals.py | ricardosasilva/django_phone_confirmation | f67d4437d4f79962e70a32e06229cb6040c4f9db | [
"MIT"
] | null | null | null | phone_confirmation/signals.py | ricardosasilva/django_phone_confirmation | f67d4437d4f79962e70a32e06229cb6040c4f9db | [
"MIT"
] | 3 | 2017-09-06T22:00:07.000Z | 2020-07-02T13:56:24.000Z | from django.dispatch import Signal
confirmation_sms_sent = Signal(providing_args=['phone_number'])
activation_key_created = Signal(providing_args=['phone_number', 'activation_key', 'user'])
| 38.2 | 90 | 0.811518 | 24 | 191 | 6.083333 | 0.666667 | 0.205479 | 0.260274 | 0.328767 | 0.589041 | 0.589041 | 0.589041 | 0 | 0 | 0 | 0 | 0 | 0.068063 | 191 | 4 | 91 | 47.75 | 0.820225 | 0 | 0 | 0 | 0 | 0 | 0.219895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f39f7fda33fd4c0f398fa7bc211fba07c314494d | 147 | py | Python | batchout/columns/__init__.py | ilia-khaustov/batchout | e916a1b0bfac771e6c96d0ff2478dc3f44804a94 | [
"MIT"
] | 8 | 2019-11-05T06:54:30.000Z | 2021-12-14T14:52:24.000Z | batchout/columns/__init__.py | ilia-khaustov/batchout | e916a1b0bfac771e6c96d0ff2478dc3f44804a94 | [
"MIT"
] | null | null | null | batchout/columns/__init__.py | ilia-khaustov/batchout | e916a1b0bfac771e6c96d0ff2478dc3f44804a94 | [
"MIT"
] | 1 | 2020-05-05T09:31:14.000Z | 2020-05-05T09:31:14.000Z | from batchout.columns.base import Column
from batchout.columns.scalar import StringColumn, IntegerColumn, FloatColumn, DateColumn, TimestampColumn
| 49 | 105 | 0.863946 | 16 | 147 | 7.9375 | 0.75 | 0.188976 | 0.299213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 147 | 2 | 106 | 73.5 | 0.940741 | 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 |
34139306ecb45bbba3e8f71c1c1653eb32b1a45d | 44 | py | Python | examples/videostore/videostore/controllers/__init__.py | arjones6/elixir | b9c185dc03f087f9299a0f030e94eeafa1edd655 | [
"MIT"
] | 1 | 2015-08-25T14:23:17.000Z | 2015-08-25T14:23:17.000Z | examples/videostore/videostore/controllers/__init__.py | daqing15/elixir | 53fe515f76d31dc816e9ab99ddd0ceda1d9d574f | [
"MIT"
] | null | null | null | examples/videostore/videostore/controllers/__init__.py | daqing15/elixir | 53fe515f76d31dc816e9ab99ddd0ceda1d9d574f | [
"MIT"
] | null | null | null | from videostore.controllers.root import Root | 44 | 44 | 0.886364 | 6 | 44 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.95122 | 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 |
3446bdb8ea4273507f5d0974affc8e2655177f5e | 14,320 | py | Python | proto/adabox_for_cuda_kernel_mode.py | jnfran92/adaptive-boxes | bcf03a91d48877b3a24125b74a233bda5bd8e044 | [
"MIT"
] | 7 | 2020-06-05T23:18:14.000Z | 2021-12-27T01:27:06.000Z | proto/adabox_for_cuda_kernel_mode.py | jnfran92/adaptive-boxes | bcf03a91d48877b3a24125b74a233bda5bd8e044 | [
"MIT"
] | 3 | 2019-09-15T15:43:29.000Z | 2020-11-19T16:27:22.000Z | proto/adabox_for_cuda_kernel_mode.py | jnfran92/adaptive-boxes | bcf03a91d48877b3a24125b74a233bda5bd8e044 | [
"MIT"
] | 1 | 2020-09-24T08:01:39.000Z | 2020-09-24T08:01:39.000Z |
import time
import matplotlib.pyplot as plt
import numpy as np
def get_right_bottom_rectangle(idx_i_arg, idx_j_arg, m_arg, n_arg, data_matrix_arg):
step_j = 0
first_step_i = 0
while True:
i_val = idx_i_arg
j_val = idx_j_arg + step_j
if j_val == n_arg:
break
... | 26.766355 | 132 | 0.517249 | 2,282 | 14,320 | 2.933392 | 0.07844 | 0.083657 | 0.047057 | 0.049298 | 0.77801 | 0.761279 | 0.744846 | 0.720944 | 0.71467 | 0.713176 | 0 | 0.049266 | 0.362151 | 14,320 | 534 | 133 | 26.816479 | 0.6836 | 0.168017 | 0 | 0.710098 | 0 | 0 | 0.039783 | 0.005938 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013029 | false | 0 | 0.009772 | 0 | 0.035831 | 0.035831 | 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 |
344b4676cc1d2513e227bb65dd165adec0b69780 | 1,594 | py | Python | chess/pieces.py | eddiep24/reference | ae65c62ac11b5334f1842b0b805e8f0d72ad1621 | [
"MIT"
] | null | null | null | chess/pieces.py | eddiep24/reference | ae65c62ac11b5334f1842b0b805e8f0d72ad1621 | [
"MIT"
] | null | null | null | chess/pieces.py | eddiep24/reference | ae65c62ac11b5334f1842b0b805e8f0d72ad1621 | [
"MIT"
] | null | null | null | class Piece:
def __init__(self, string, color):
self.string = string
self.color = color
def getColor(self):
return "{}".format(self.color)
class Knight(Piece):
def __init__(self, string, color):
super().__init__(string, color)
def __str__(self):
re... | 23.791045 | 56 | 0.581556 | 173 | 1,594 | 4.872832 | 0.16185 | 0.177936 | 0.104389 | 0.161329 | 0.73191 | 0.73191 | 0.699881 | 0.699881 | 0.557533 | 0.557533 | 0 | 0 | 0.287955 | 1,594 | 66 | 57 | 24.151515 | 0.742731 | 0.023839 | 0 | 0.652174 | 0 | 0 | 0.009415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.369565 | false | 0.065217 | 0 | 0.152174 | 0.717391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
3454b4f3db1413b7a33a4a9c6539bb013b21455f | 37,884 | py | Python | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/45.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-int14000000000000001e/45.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-int14000000000000001e/45.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3187
passenger_arriving = (
(3, 9, 6, 5, 0, 0, 10, 5, 4, 2, 1, 0), # 0
(4, 15, 5, 1, 0, 0, 6, 4, 2, 6, 4, 0), # 1
(5, 10, 10, 3, 3, 0, 6, 8, 7, 6, 1, 0), # 2
(2, 7, 6, 4, 1, 0, 7, 5, 5, 3, 2, 0), # 3
(3, 12, 9, 1, 2, 0, 7, 12, 6, 3, 5, 0), # 4
(5, 8, 4, 3, 2, 0, 7, 8, 2,... | 113.086567 | 212 | 0.729068 | 5,147 | 37,884 | 5.364096 | 0.229065 | 0.312941 | 0.247745 | 0.469412 | 0.329168 | 0.327937 | 0.327937 | 0.327937 | 0.327937 | 0.327937 | 0 | 0.818999 | 0.119153 | 37,884 | 334 | 213 | 113.42515 | 0.008361 | 0.031966 | 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 |
caa1ad539df01b421ece752fd21552fc0eeb5f7b | 73 | py | Python | testprojects/src/python/interpreter_selection/resolver_blacklist_testing/import_futures.py | AllClearID/pants | c4fdf00a3bdf9f26f876e85c46909d0729f7132c | [
"Apache-2.0"
] | 1 | 2018-12-10T21:31:02.000Z | 2018-12-10T21:31:02.000Z | testprojects/src/python/interpreter_selection/resolver_blacklist_testing/import_futures.py | AllClearID/pants | c4fdf00a3bdf9f26f876e85c46909d0729f7132c | [
"Apache-2.0"
] | 2 | 2016-10-13T21:37:42.000Z | 2018-07-20T20:14:33.000Z | testprojects/src/python/interpreter_selection/resolver_blacklist_testing/import_futures.py | AllClearID/pants | c4fdf00a3bdf9f26f876e85c46909d0729f7132c | [
"Apache-2.0"
] | 1 | 2018-03-08T22:21:44.000Z | 2018-03-08T22:21:44.000Z | from concurrent.futures import Future
print(Future)
print('Successful.')
| 18.25 | 37 | 0.808219 | 9 | 73 | 6.555556 | 0.777778 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 73 | 3 | 38 | 24.333333 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 0 | 1 | 0 | 6 |
cafc38bd378ffed9cf1e9ce7ffc701fc25742e7a | 89 | py | Python | app/main/__init__.py | louisenje/Blog-app | cb71c87f76d8af50c8f16d7937a0dd71cb0217fd | [
"Unlicense"
] | null | null | null | app/main/__init__.py | louisenje/Blog-app | cb71c87f76d8af50c8f16d7937a0dd71cb0217fd | [
"Unlicense"
] | null | null | null | app/main/__init__.py | louisenje/Blog-app | cb71c87f76d8af50c8f16d7937a0dd71cb0217fd | [
"Unlicense"
] | null | null | null | from flask import Blueprint
main=Blueprint('main',__name__)
from .import views,errors | 12.714286 | 31 | 0.786517 | 12 | 89 | 5.5 | 0.666667 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 7 | 32 | 12.714286 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1b7ecf108a88e562d02711af4289979fc0778ff2 | 37,536 | py | Python | plugins/get_url/unit_test/test_get_file.py | JaredAllen13/insightconnect-plugins | f68ce8c60ad20439284228dfcbcd9f8c1c0c7d31 | [
"MIT"
] | null | null | null | plugins/get_url/unit_test/test_get_file.py | JaredAllen13/insightconnect-plugins | f68ce8c60ad20439284228dfcbcd9f8c1c0c7d31 | [
"MIT"
] | null | null | null | plugins/get_url/unit_test/test_get_file.py | JaredAllen13/insightconnect-plugins | f68ce8c60ad20439284228dfcbcd9f8c1c0c7d31 | [
"MIT"
] | null | null | null | import os
import sys
from unit_test.util import Util
sys.path.append(os.path.abspath("../"))
from unittest import TestCase
from komand_get_url.actions.get_file import GetFile
from komand_get_url.actions.get_file.schema import Input
from unittest.mock import patch
from insightconnect_plugin_runtime.exceptions import ... | 487.480519 | 34,560 | 0.818121 | 4,136 | 37,536 | 7.404739 | 0.487186 | 0.061125 | 0.035852 | 0.021158 | 0.04408 | 0.036603 | 0.027689 | 0.02426 | 0.02426 | 0.022693 | 0 | 0.294336 | 0.018302 | 37,536 | 76 | 34,561 | 493.894737 | 0.536785 | 0 | 0 | 0.296875 | 0 | 0.015625 | 0.938326 | 0.928895 | 0 | 1 | 0 | 0 | 0.109375 | 1 | 0.09375 | false | 0 | 0.125 | 0 | 0.234375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59ee233558ffccf884839b4b401403cf00fea0f8 | 214 | py | Python | mipego/optimizer/__init__.py | Basvanstein/MIP-EGO | e1ed0b0ea020850c72c4de5efd5dda0a99de571f | [
"MIT"
] | 23 | 2018-07-20T17:22:28.000Z | 2022-02-23T15:41:30.000Z | mipego/optimizer/__init__.py | Basvanstein/MIP-EGO | e1ed0b0ea020850c72c4de5efd5dda0a99de571f | [
"MIT"
] | 5 | 2019-03-05T22:09:13.000Z | 2021-10-08T08:48:43.000Z | mipego/optimizer/__init__.py | Basvanstein/MIP-EGO | e1ed0b0ea020850c72c4de5efd5dda0a99de571f | [
"MIT"
] | 14 | 2018-05-15T21:47:57.000Z | 2021-12-07T02:04:38.000Z |
from .OnePlusOne_CMA import OnePlusOne_CMA, OnePlusOne_Cholesky_CMA
from .mies import MIES
from .utils import argmax_restart
__all__ = [
'OnePlusOne_CMA', 'OnePlusOne_Cholesky_CMA', 'MIES', 'argmax_restart'
] | 26.75 | 73 | 0.794393 | 27 | 214 | 5.814815 | 0.37037 | 0.248408 | 0.292994 | 0.394904 | 0.433121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 214 | 8 | 74 | 26.75 | 0.835106 | 0 | 0 | 0 | 0 | 0 | 0.257009 | 0.107477 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
59f14f0984dc2a984546df4ea8c6f92ac9d4d8f3 | 6,005 | py | Python | sdk/formrecognizer/azure-ai-formrecognizer/tests/test_samples_async.py | NVolcz/azure-sdk-for-python | 47b6db912ef561053163d00527abe891dd1de1e4 | [
"MIT"
] | null | null | null | sdk/formrecognizer/azure-ai-formrecognizer/tests/test_samples_async.py | NVolcz/azure-sdk-for-python | 47b6db912ef561053163d00527abe891dd1de1e4 | [
"MIT"
] | null | null | null | sdk/formrecognizer/azure-ai-formrecognizer/tests/test_samples_async.py | NVolcz/azure-sdk-for-python | 47b6db912ef561053163d00527abe891dd1de1e4 | [
"MIT"
] | 1 | 2020-07-05T21:13:37.000Z | 2020-07-05T21:13:37.000Z | # coding: utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------... | 52.217391 | 144 | 0.777519 | 716 | 6,005 | 6.061453 | 0.205307 | 0.16129 | 0.212903 | 0.121659 | 0.770968 | 0.73318 | 0.711982 | 0.711982 | 0.711982 | 0.683871 | 0 | 0.000573 | 0.127394 | 6,005 | 114 | 145 | 52.675439 | 0.827672 | 0.087427 | 0 | 0.414634 | 0 | 0 | 0.143432 | 0.121478 | 0 | 0 | 0 | 0 | 0.04878 | 1 | 0.121951 | false | 0 | 0.097561 | 0 | 0.243902 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
94536c5e66ef092720549c99d4fc3cbb13b15fb8 | 95 | py | Python | tests/test_intrange.py | MichiK/spans | 1bab1c5ee9f27b698b5b1e1f849dd61641d12cfd | [
"MIT"
] | 123 | 2015-09-15T18:59:50.000Z | 2021-11-27T18:42:09.000Z | tests/test_intrange.py | MichiK/spans | 1bab1c5ee9f27b698b5b1e1f849dd61641d12cfd | [
"MIT"
] | 18 | 2015-12-11T17:42:23.000Z | 2021-04-21T16:40:44.000Z | tests/test_intrange.py | MichiK/spans | 1bab1c5ee9f27b698b5b1e1f849dd61641d12cfd | [
"MIT"
] | 12 | 2015-12-02T11:17:21.000Z | 2021-04-14T09:28:00.000Z | import pytest
from spans import intrange
def test_len():
assert len(intrange(0, 5)) == 5
| 13.571429 | 35 | 0.694737 | 15 | 95 | 4.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.2 | 95 | 6 | 36 | 15.833333 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
945b1d6b2965d8996f8d9ede6346faad90473da6 | 99 | py | Python | majestic-monolith-django/core/renderer.py | kokospapa8/majestic-monolith-django | a0879989a651ecef6761ee7fce619ab17738bb35 | [
"Apache-2.0"
] | 1 | 2022-03-12T09:55:36.000Z | 2022-03-12T09:55:36.000Z | majestic-monolith-django/core/renderer.py | kokospapa8/majestic-monolith-django | a0879989a651ecef6761ee7fce619ab17738bb35 | [
"Apache-2.0"
] | 6 | 2022-03-09T10:42:44.000Z | 2022-03-31T08:27:25.000Z | majestic-monolith-django/core/renderer.py | kokospapa8/majestic-monolith-django | a0879989a651ecef6761ee7fce619ab17738bb35 | [
"Apache-2.0"
] | null | null | null | from rest_framework.renderers import JSONRenderer
class GUIDJSONRenderer(JSONRenderer):
pass
| 16.5 | 49 | 0.828283 | 10 | 99 | 8.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 5 | 50 | 19.8 | 0.94186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8468b0072a4effe71a4cc09b1f9ee5632cfc3782 | 54 | py | Python | nilmtk/version.py | nilmtkMridul/nilmtk | b4eede4f2e8f55c0f072cc08da1b47d433c07445 | [
"Apache-2.0"
] | null | null | null | nilmtk/version.py | nilmtkMridul/nilmtk | b4eede4f2e8f55c0f072cc08da1b47d433c07445 | [
"Apache-2.0"
] | null | null | null | nilmtk/version.py | nilmtkMridul/nilmtk | b4eede4f2e8f55c0f072cc08da1b47d433c07445 | [
"Apache-2.0"
] | null | null | null | version = '0.2.0.dev-362a1d8'
short_version = '0.2.0'
| 18 | 29 | 0.666667 | 11 | 54 | 3.181818 | 0.545455 | 0.457143 | 0.514286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 0.111111 | 54 | 2 | 30 | 27 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
846ec655a4720693383892277b16b9c65c86ae91 | 6,850 | py | Python | tests/test_dataset_splitting.py | K-Mike/deep_ner | ffe1bcd64f7e38066866daa0cdd943300ba9ed4e | [
"Apache-2.0"
] | null | null | null | tests/test_dataset_splitting.py | K-Mike/deep_ner | ffe1bcd64f7e38066866daa0cdd943300ba9ed4e | [
"Apache-2.0"
] | null | null | null | tests/test_dataset_splitting.py | K-Mike/deep_ner | ffe1bcd64f7e38066866daa0cdd943300ba9ed4e | [
"Apache-2.0"
] | null | null | null | import os
import re
import sys
import unittest
import numpy as np
try:
from deep_ner.dataset_splitting import split_dataset
except:
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from deep_ner.dataset_splitting import split_dataset
class TestDatasetSplitting(unittest.TestCase):
def ... | 43.630573 | 111 | 0.409051 | 1,164 | 6,850 | 2.319588 | 0.099656 | 0.299259 | 0.371111 | 0.408889 | 0.746667 | 0.685556 | 0.683333 | 0.676667 | 0.608148 | 0.608148 | 0 | 0.223626 | 0.410511 | 6,850 | 156 | 112 | 43.910256 | 0.445022 | 0.033431 | 0 | 0.630435 | 0 | 0 | 0.084838 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 1 | 0.036232 | false | 0 | 0.050725 | 0 | 0.094203 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
84d8d58134a0c451941fe22a94f6ef6e368dab0b | 3,373 | py | Python | tests/test_robot.py | darshikaf/toy-robot-simulator | 408d160033728d65e9bac376d3af7fc84c520f31 | [
"MIT"
] | null | null | null | tests/test_robot.py | darshikaf/toy-robot-simulator | 408d160033728d65e9bac376d3af7fc84c520f31 | [
"MIT"
] | null | null | null | tests/test_robot.py | darshikaf/toy-robot-simulator | 408d160033728d65e9bac376d3af7fc84c520f31 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import pytest
from robot_simulator.grid.board import Board
from robot_simulator.errors import MoveOutOfBoundsError, MissingPlaceError
from robot_simulator.agent.direction import Direction
from robot_simulator.grid.positioning import Point
from robot_simulator.agent.robot ... | 24.092857 | 74 | 0.674177 | 450 | 3,373 | 4.928889 | 0.122222 | 0.104148 | 0.034716 | 0.108206 | 0.809288 | 0.797565 | 0.776826 | 0.725879 | 0.725879 | 0.651939 | 0 | 0.023204 | 0.195079 | 3,373 | 139 | 75 | 24.266187 | 0.793738 | 0.012452 | 0 | 0.693182 | 0 | 0 | 0.070291 | 0 | 0 | 0 | 0 | 0 | 0.238636 | 1 | 0.147727 | false | 0 | 0.068182 | 0 | 0.215909 | 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 |
1702f505a496223ae276143c349617c1a2fb04ca | 151 | py | Python | jaxrk/rkhs/__init__.py | zalandoresearch/JaxRK | 5ec59b2addf4de5cc843a6fefaf2e6888016c111 | [
"MIT"
] | 13 | 2020-04-02T14:49:16.000Z | 2022-03-16T18:10:13.000Z | jaxrk/rkhs/__init__.py | zalandoresearch/JaxRK | 5ec59b2addf4de5cc843a6fefaf2e6888016c111 | [
"MIT"
] | 12 | 2020-04-02T07:00:11.000Z | 2020-06-16T10:53:20.000Z | jaxrk/rkhs/__init__.py | zalandoresearch/JaxRK | 5ec59b2addf4de5cc843a6fefaf2e6888016c111 | [
"MIT"
] | 3 | 2020-04-08T10:08:43.000Z | 2021-01-06T09:44:13.000Z | from .base import Vec, LinOp
from .vector import FiniteVec, inner, CombVec
#from .sp_vector import SpVec, RolloutSp, RolloutIdx
from .operator import * | 37.75 | 52 | 0.794702 | 21 | 151 | 5.666667 | 0.666667 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13245 | 151 | 4 | 53 | 37.75 | 0.908397 | 0.337748 | 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 |
ca091bda8db82cf0262325e91f0f2228feccb3f3 | 331 | py | Python | tests/data/format/final_period/function_docstrings.py | DanielNoord/pydocstringformatter | a69302cee6bd32b9b5cc48912a47d0e8ad3f7abe | [
"MIT"
] | 4 | 2022-01-02T22:50:59.000Z | 2022-02-09T09:04:37.000Z | tests/data/format/final_period/function_docstrings.py | DanielNoord/pydocstringformatter | a69302cee6bd32b9b5cc48912a47d0e8ad3f7abe | [
"MIT"
] | 80 | 2022-01-02T09:02:50.000Z | 2022-03-30T13:34:10.000Z | tests/data/format/final_period/function_docstrings.py | DanielNoord/pydocstringformatter | a69302cee6bd32b9b5cc48912a47d0e8ad3f7abe | [
"MIT"
] | 2 | 2022-01-02T11:58:29.000Z | 2022-01-04T18:53:29.000Z | def func()
"""Docstring"""
def inner_func()
"""Docstring"""
def func()
"""A multi-line
docstring
"""
def inner_func()
"""A multi-line
docstring
"""
def func()
"""Summary
docstring
"""
def inner_func()
"""Summary
docstring
... | 11.033333 | 23 | 0.44713 | 29 | 331 | 5 | 0.275862 | 0.413793 | 0.351724 | 0.434483 | 0.358621 | 0.358621 | 0 | 0 | 0 | 0 | 0 | 0 | 0.401813 | 331 | 29 | 24 | 11.413793 | 0.732323 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca235d4b8b1dacbdb1004f28720ce92c28311dc2 | 84 | py | Python | GasBotty/models/detection/__init__.py | GreenCUBIC/GasBotty | 158f5991201c80bf4cbbbb9deabc9954ff19bbb1 | [
"MIT"
] | 353 | 2020-12-10T10:47:17.000Z | 2022-03-31T23:08:29.000Z | GasBotty/models/detection/__init__.py | GreenCUBIC/GasBotty | 158f5991201c80bf4cbbbb9deabc9954ff19bbb1 | [
"MIT"
] | 80 | 2020-12-10T09:54:22.000Z | 2022-03-30T22:08:45.000Z | GasBotty/models/detection/__init__.py | GreenCUBIC/GasBotty | 158f5991201c80bf4cbbbb9deabc9954ff19bbb1 | [
"MIT"
] | 63 | 2020-12-10T17:10:34.000Z | 2022-03-28T16:27:07.000Z | from .faster_rcnn import *
from .mask_rcnn import *
from .keypoint_rcnn import *
| 21 | 29 | 0.75 | 12 | 84 | 5 | 0.5 | 0.5 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 84 | 3 | 30 | 28 | 0.869565 | 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 |
ca3cdbfaef70b51a7b5f763af7a29f07f038d5ee | 26,697 | py | Python | test/test_md007.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | test/test_md007.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | test/test_md007.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | """
Module to provide tests related to the MD007 rule.
"""
from test.markdown_scanner import MarkdownScanner
import pytest
@pytest.mark.rules
def test_md007_bad_configuration_indent():
"""
Test to make sure we get the expected behavior after scanning a good file from the
test/resources/rules/md004 direct... | 28.31071 | 109 | 0.695958 | 3,267 | 26,697 | 5.401592 | 0.040404 | 0.058934 | 0.0816 | 0.065167 | 0.986967 | 0.981867 | 0.977787 | 0.97518 | 0.96464 | 0.954043 | 0 | 0.026185 | 0.221823 | 26,697 | 942 | 110 | 28.340764 | 0.823249 | 0.221261 | 0 | 0.667954 | 0 | 0.001931 | 0.277158 | 0.186272 | 0 | 0 | 0 | 0 | 0.057915 | 1 | 0.057915 | false | 0 | 0.003861 | 0 | 0.061776 | 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 |
ca53f98bb5f19ad42d7c378a3606412b9abf292d | 84 | py | Python | pinpayments/tests/__init__.py | neon-jungle/django-pinpayments | ad8ac853f043e7291f2251c7afdf0e7f1df36915 | [
"Unlicense"
] | 11 | 2015-02-01T08:22:47.000Z | 2021-04-15T03:52:17.000Z | pinpayments/tests/__init__.py | neon-jungle/django-pinpayments | ad8ac853f043e7291f2251c7afdf0e7f1df36915 | [
"Unlicense"
] | 18 | 2015-01-18T03:43:44.000Z | 2021-07-04T22:46:29.000Z | pinpayments/tests/__init__.py | neon-jungle/django-pinpayments | ad8ac853f043e7291f2251c7afdf0e7f1df36915 | [
"Unlicense"
] | 7 | 2015-05-30T08:41:06.000Z | 2020-03-09T07:09:39.000Z | from pinpayments.tests.models import *
from pinpayments.tests.templatetags import *
| 28 | 44 | 0.833333 | 10 | 84 | 7 | 0.6 | 0.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 84 | 2 | 45 | 42 | 0.921053 | 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 |
ca87503cdad09c41c11d6c1b128cd2da2cb31d0e | 428 | py | Python | json_fingerprint/tests/run.py | cobaltine/json-fingerprint | e264cc87f81fa0bb777698834c3b70429f9eeda7 | [
"MIT"
] | 2 | 2020-12-27T17:20:40.000Z | 2022-03-26T17:47:28.000Z | json_fingerprint/tests/run.py | cobaltine/json-fingerprint | e264cc87f81fa0bb777698834c3b70429f9eeda7 | [
"MIT"
] | null | null | null | json_fingerprint/tests/run.py | cobaltine/json-fingerprint | e264cc87f81fa0bb777698834c3b70429f9eeda7 | [
"MIT"
] | 2 | 2021-03-07T23:01:56.000Z | 2021-05-26T16:02:57.000Z | import unittest
from json_fingerprint.tests.test_create import TestCreate
from json_fingerprint.tests.test_decode import TestDecode
from json_fingerprint.tests.test_find_matches import TestFindMatches
from json_fingerprint.tests.test_jfpv1 import TestJfpv1
from json_fingerprint.tests.test_match import TestMatch
from j... | 35.666667 | 68 | 0.866822 | 56 | 428 | 6.25 | 0.410714 | 0.137143 | 0.325714 | 0.411429 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005115 | 0.086449 | 428 | 11 | 69 | 38.909091 | 0.890026 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.777778 | 0 | 0.777778 | 0.666667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
04a71a50ad56f0ca48a31abf670b14cf225c3086 | 2,481 | py | Python | visualizers/visualizer.py | visinf/deblur-devil | 53cc4c72a4ddb9dcede5ee52dc53000c39ff5dab | [
"Apache-2.0"
] | 18 | 2019-11-02T05:45:48.000Z | 2021-09-12T10:03:08.000Z | visualizers/visualizer.py | visinf/deblur-devil | 53cc4c72a4ddb9dcede5ee52dc53000c39ff5dab | [
"Apache-2.0"
] | 3 | 2019-12-10T07:52:24.000Z | 2021-04-07T19:14:31.000Z | visualizers/visualizer.py | visinf/deblur-devil | 53cc4c72a4ddb9dcede5ee52dc53000c39ff5dab | [
"Apache-2.0"
] | 3 | 2020-05-26T08:02:05.000Z | 2020-09-26T21:25:10.000Z | # Author: Jochen Gast <jochen.gast@visinf.tu-darmstadt.de>
from torch import nn
# ------------------------------------------
# That is how a Visualizer looks like
# ------------------------------------------
class Visualizer(nn.Module):
# ------------------------------------------
# on epoch initialization
... | 35.956522 | 95 | 0.561064 | 288 | 2,481 | 4.465278 | 0.145833 | 0.046656 | 0.124417 | 0.111975 | 0.821151 | 0.806376 | 0.766719 | 0.727838 | 0.618974 | 0.539658 | 0 | 0 | 0.204353 | 2,481 | 68 | 96 | 36.485294 | 0.651469 | 0.24345 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.210526 | 0.026316 | 0 | 0.368421 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
04ac7e644e73a6c32acedc1bed9b279337407d4c | 4,246 | py | Python | georiviere/tests/__init__.py | georiviere/Georiviere-admin | 4ac532f84a7a8fef3e01384fad63e8e288d397c0 | [
"BSD-2-Clause"
] | 7 | 2021-11-05T14:52:25.000Z | 2022-03-24T21:18:02.000Z | georiviere/tests/__init__.py | georiviere/Georiviere-admin | 4ac532f84a7a8fef3e01384fad63e8e288d397c0 | [
"BSD-2-Clause"
] | 57 | 2021-11-02T10:27:34.000Z | 2022-03-31T14:08:32.000Z | georiviere/tests/__init__.py | georiviere/Georiviere-admin | 4ac532f84a7a8fef3e01384fad63e8e288d397c0 | [
"BSD-2-Clause"
] | 1 | 2021-12-05T14:55:42.000Z | 2021-12-05T14:55:42.000Z | from django.contrib.auth.models import Permission
from mapentity.tests import MapEntityTest
from georiviere.tests.factories import UserAllPermsFactory
from geotrek.authent.tests.factories import StructureFactory
class CommonRiverTest(MapEntityTest):
userfactory = UserAllPermsFactory
# TODO: find a way to f... | 40.438095 | 98 | 0.696891 | 498 | 4,246 | 5.74498 | 0.184739 | 0.055925 | 0.077246 | 0.083887 | 0.79972 | 0.779098 | 0.76302 | 0.708494 | 0.628102 | 0.604684 | 0 | 0.003525 | 0.198304 | 4,246 | 104 | 99 | 40.826923 | 0.836957 | 0.008243 | 0 | 0.702381 | 0 | 0 | 0.062723 | 0.02661 | 0 | 0 | 0 | 0.009615 | 0.22619 | 1 | 0.095238 | false | 0.119048 | 0.047619 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
04b09bc988a7d5a4fad3580694ab2dd26a528c4c | 316 | py | Python | pecan/lang/ir/__init__.py | ondrik-misc-code/Pecan | 4d7394ff9fc56445be3d8b30179b317d5ee80ff6 | [
"MIT"
] | 39 | 2019-09-16T14:20:14.000Z | 2022-03-11T10:42:20.000Z | pecan/lang/ir/__init__.py | ondrik-misc-code/Pecan | 4d7394ff9fc56445be3d8b30179b317d5ee80ff6 | [
"MIT"
] | 21 | 2019-10-29T23:37:31.000Z | 2021-09-22T23:32:40.000Z | pecan/lang/ir/__init__.py | ondrik-misc-code/Pecan | 4d7394ff9fc56445be3d8b30179b317d5ee80ff6 | [
"MIT"
] | 4 | 2020-05-08T21:32:03.000Z | 2021-10-20T22:04:15.000Z | from pecan.lang.ir.base import *
from pecan.lang.ir.prog import *
from pecan.lang.ir.bool import *
from pecan.lang.ir.directives import *
from pecan.lang.ir.quant import *
from pecan.lang.ir.arith import *
from pecan.lang.ir.words import *
from pecan.lang.ir.praline import *
from pecan.lang.ir.annotation import *
| 28.727273 | 38 | 0.768987 | 54 | 316 | 4.5 | 0.259259 | 0.333333 | 0.481481 | 0.555556 | 0.691358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117089 | 316 | 10 | 39 | 31.6 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 |
04b4de326f593af2b5546fb6904e3b8ffa157590 | 33,922 | py | Python | pybind/slxos/v17s_1_02/ptp_state/clock/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/ptp_state/clock/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/ptp_state/clock/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 66.383562 | 489 | 0.737427 | 4,568 | 33,922 | 5.21366 | 0.041594 | 0.046187 | 0.058784 | 0.055551 | 0.861228 | 0.84733 | 0.842417 | 0.830702 | 0.828351 | 0.812227 | 0 | 0.010864 | 0.131714 | 33,922 | 510 | 490 | 66.513725 | 0.797718 | 0.153971 | 0 | 0.495146 | 0 | 0.038835 | 0.352546 | 0.194105 | 0 | 0 | 0 | 0 | 0 | 1 | 0.126214 | false | 0 | 0.029126 | 0 | 0.268608 | 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 |
04c8cc1dd10d60b7adeba4f1a4863bb24a3a1504 | 156 | py | Python | TorchUtils/Core/StrToClass.py | Akasan/TorchUtils | 93691addb1d8b3b603805fe1a46d867faf364e9d | [
"MIT"
] | null | null | null | TorchUtils/Core/StrToClass.py | Akasan/TorchUtils | 93691addb1d8b3b603805fe1a46d867faf364e9d | [
"MIT"
] | null | null | null | TorchUtils/Core/StrToClass.py | Akasan/TorchUtils | 93691addb1d8b3b603805fe1a46d867faf364e9d | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
ACTIVATION = {"relu": nn.ReLU(True), "sigmoid": nn.Sigmoid(), "softmax": nn.Softmax()}
| 22.285714 | 86 | 0.705128 | 24 | 156 | 4.583333 | 0.458333 | 0.3 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 156 | 6 | 87 | 26 | 0.808824 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 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 |
04f850ac4d9b137e59dd68992018f413e14dc9f0 | 50 | py | Python | jhubctl/hubs/__init__.py | awstown/jhubctl | 6eab5d07ed4086ded86ed2ac5aa0814c44d4750a | [
"MIT"
] | 4 | 2020-05-04T20:34:37.000Z | 2020-05-06T21:14:18.000Z | jhubctl/hubs/__init__.py | townsenddw/jhubctl | 6eab5d07ed4086ded86ed2ac5aa0814c44d4750a | [
"MIT"
] | 2 | 2018-09-21T05:01:57.000Z | 2018-10-25T21:59:53.000Z | jhubctl/hubs/__init__.py | awstown/jhubctl | 6eab5d07ed4086ded86ed2ac5aa0814c44d4750a | [
"MIT"
] | 1 | 2018-09-23T17:13:20.000Z | 2018-09-23T17:13:20.000Z | from .hub_list import HubList
from .hub import Hub | 25 | 29 | 0.82 | 9 | 50 | 4.444444 | 0.555556 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 30 | 25 | 0.930233 | 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 |
b6d3e5e584c6fae325a7ae8140fd50b65d582d4b | 1,729 | py | Python | custom_grids.py | jonasvandervennet/sudoku-generator | 44b13a7ccdb2d469eed69e61ef396a0fd37743d3 | [
"MIT"
] | null | null | null | custom_grids.py | jonasvandervennet/sudoku-generator | 44b13a7ccdb2d469eed69e61ef396a0fd37743d3 | [
"MIT"
] | null | null | null | custom_grids.py | jonasvandervennet/sudoku-generator | 44b13a7ccdb2d469eed69e61ef396a0fd37743d3 | [
"MIT"
] | null | null | null | custom_scoring = [
[3,7,0,0,0,9,0,0,6],
[8,0,0,1,0,3,0,7,0],
[0,0,0,0,0,0,0,0,8],
[0,2,0,0,8,0,0,0,5],
[1,8,7,0,0,0,6,4,2],
[5,0,0,0,2,0,0,1,0],
[7,0,0,0,0,0,0,0,0],
[0,5,0,6,0,2,0,0,7],
[2,0,0,3,0,0,0,6,1],
]
custom_easy = [
[0,0,0,8,0,4,0,5,0],
[8,0,7,0,5,6,4,0,1],
[0,... | 31.436364 | 60 | 0.380567 | 507 | 1,729 | 1.289941 | 0.04142 | 0.284404 | 0.252294 | 0.207951 | 0.221713 | 0.148318 | 0.119266 | 0.094801 | 0.077982 | 0.050459 | 0 | 0.488446 | 0.274147 | 1,729 | 54 | 61 | 32.018519 | 0.032669 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8e08fb56bdc9d8e18bdb0fa5b953a56d2661f6d0 | 15,051 | py | Python | tests/v2/test_1447-jax-autodiff-slices-ufuncs.py | jpivarski/awkward-1.0 | 49a3ff13ef90b8778a80573211d58c544729eaa5 | [
"BSD-3-Clause"
] | 2 | 2019-09-12T03:07:23.000Z | 2019-09-27T05:32:07.000Z | tests/v2/test_1447-jax-autodiff-slices-ufuncs.py | jpivarski/awkward-1.0 | 49a3ff13ef90b8778a80573211d58c544729eaa5 | [
"BSD-3-Clause"
] | 1 | 2019-09-26T17:57:45.000Z | 2019-09-26T17:57:45.000Z | tests/v2/test_1447-jax-autodiff-slices-ufuncs.py | jpivarski/awkward-1.0 | 49a3ff13ef90b8778a80573211d58c544729eaa5 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
import awkward as ak
import numpy as np
import pytest
jax = pytest.importorskip("jax")
jax.config.update("jax_platform_name", "cpu")
jax.config.update("jax_enable_x64", True)
# #### ak.layout.NumpyArray ####
test_numpyarray = a... | 34.206818 | 88 | 0.635838 | 2,471 | 15,051 | 3.513153 | 0.031566 | 0.08294 | 0.051837 | 0.086396 | 0.890566 | 0.876512 | 0.869715 | 0.863265 | 0.838959 | 0.815113 | 0 | 0.063675 | 0.194472 | 15,051 | 439 | 89 | 34.284738 | 0.652342 | 0.007109 | 0 | 0.411932 | 0 | 0 | 0.007702 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 1 | 0.102273 | false | 0 | 0.011364 | 0.051136 | 0.164773 | 0.017045 | 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 |
8e44d03617310ef7e272dde1801ff95fc1094f7a | 2,341 | py | Python | tests/test_meta.py | kse201/nose-blacklist | 11eeb2c9d1850882d119f97cf29d6853f487010a | [
"MIT"
] | null | null | null | tests/test_meta.py | kse201/nose-blacklist | 11eeb2c9d1850882d119f97cf29d6853f487010a | [
"MIT"
] | 1 | 2019-09-18T03:40:26.000Z | 2019-09-23T05:46:09.000Z | tests/test_meta.py | kse201/nose-blacklist | 11eeb2c9d1850882d119f97cf29d6853f487010a | [
"MIT"
] | 1 | 2019-09-11T01:57:18.000Z | 2019-09-11T01:57:18.000Z | import unittest
from utils import run_cmd, Results, TEST_DIR
class TestResultsParsing(unittest.TestCase):
def test_collect_only(self):
out, err, ret = run_cmd('nosetests', '--collect-only', '-v', TEST_DIR)
results = Results(err)
self.assertEqual(results.test_status, 'OK')
self.as... | 43.351852 | 78 | 0.685604 | 294 | 2,341 | 5.153061 | 0.20068 | 0.138614 | 0.130693 | 0.121452 | 0.835644 | 0.834984 | 0.806601 | 0.743894 | 0.743894 | 0.69637 | 0 | 0.008104 | 0.209312 | 2,341 | 53 | 79 | 44.169811 | 0.810373 | 0 | 0 | 0.636364 | 0 | 0 | 0.26399 | 0.24434 | 0 | 0 | 0 | 0 | 0.340909 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.113636 | 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 |
f3f169718b1c0eb61a19778ed237f90b38dd7a2f | 83 | py | Python | DMRevenge/VIEW/__init__.py | u18-yuiha/DigestMaker | 1a7478a81d9024ae22f647bc82adca780e885a26 | [
"MIT",
"Unlicense"
] | null | null | null | DMRevenge/VIEW/__init__.py | u18-yuiha/DigestMaker | 1a7478a81d9024ae22f647bc82adca780e885a26 | [
"MIT",
"Unlicense"
] | null | null | null | DMRevenge/VIEW/__init__.py | u18-yuiha/DigestMaker | 1a7478a81d9024ae22f647bc82adca780e885a26 | [
"MIT",
"Unlicense"
] | null | null | null | import tkinter as tk
import CONTROLLER
import CONTROLLER.DigestMakerExecutor as DME | 27.666667 | 44 | 0.879518 | 11 | 83 | 6.636364 | 0.636364 | 0.438356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 83 | 3 | 44 | 27.666667 | 0.986486 | 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 |
6d1adb9a9324c4eb102ec04e5a08aaa01571aef4 | 1,462 | py | Python | kvdroid/jclass/android/provider.py | kengoon/PyAndroidKX | 53b72b51c7b9aec06bbc330e7bf0f2e3a89736e2 | [
"MIT"
] | 1 | 2021-11-22T17:22:53.000Z | 2021-11-22T17:22:53.000Z | kvdroid/jclass/android/provider.py | kengoon/PyAndroidKX | 53b72b51c7b9aec06bbc330e7bf0f2e3a89736e2 | [
"MIT"
] | null | null | null | kvdroid/jclass/android/provider.py | kengoon/PyAndroidKX | 53b72b51c7b9aec06bbc330e7bf0f2e3a89736e2 | [
"MIT"
] | null | null | null | from jnius import autoclass
from kvdroid.jclass import _class_call
def Settings(*args, instantiate: bool = False):
return _class_call(autoclass('android.provider.Settings'), args, instantiate)
def Contacts(*args, instantiate: bool = False):
return _class_call(autoclass('android.provider.ContactsContract$Con... | 36.55 | 98 | 0.771546 | 157 | 1,462 | 7.057325 | 0.22293 | 0.243682 | 0.154332 | 0.194946 | 0.594765 | 0.594765 | 0.594765 | 0.594765 | 0.594765 | 0.594765 | 0 | 0 | 0.114911 | 1,462 | 40 | 99 | 36.55 | 0.85626 | 0 | 0 | 0 | 0 | 0 | 0.239234 | 0.239234 | 0 | 0 | 0 | 0 | 0 | 1 | 0.409091 | true | 0 | 0.090909 | 0.409091 | 0.909091 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6d216e4682cc7e5fc45a5feb5cf4b3dbbeaa9d0c | 147 | py | Python | db/__init__.py | mr-karan/FinalYearCSE | f361cddb2f7f84d67f170a20780af2add0550f5f | [
"MIT"
] | null | null | null | db/__init__.py | mr-karan/FinalYearCSE | f361cddb2f7f84d67f170a20780af2add0550f5f | [
"MIT"
] | null | null | null | db/__init__.py | mr-karan/FinalYearCSE | f361cddb2f7f84d67f170a20780af2add0550f5f | [
"MIT"
] | 1 | 2019-09-19T15:14:23.000Z | 2019-09-19T15:14:23.000Z | from basic import *
from music import *
from movies import *
from people import *
from country import *
from tvshows import *
from writers import * | 21 | 21 | 0.768707 | 21 | 147 | 5.380952 | 0.428571 | 0.530973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 147 | 7 | 22 | 21 | 0.941667 | 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 |
6d2a0319d5eca1b12f8b2635fb5f660ce694aaa2 | 24,433 | py | Python | driftbase/tests/test_matchqueue.py | directivegames/drift-base | 5fc7d4686c56e93fc22178f3b1bb49239d7eee45 | [
"MIT"
] | 1 | 2021-09-04T01:45:44.000Z | 2021-09-04T01:45:44.000Z | driftbase/tests/test_matchqueue.py | directivegames/drift-base | 5fc7d4686c56e93fc22178f3b1bb49239d7eee45 | [
"MIT"
] | 30 | 2020-12-09T04:10:26.000Z | 2022-03-02T02:34:49.000Z | driftbase/tests/test_matchqueue.py | directivegames/drift-base | 5fc7d4686c56e93fc22178f3b1bb49239d7eee45 | [
"MIT"
] | null | null | null | import collections
import datetime
import http.client as http_client
from mock import patch
from drift.systesthelper import uuid_string
from driftbase.utils.test_utils import BaseMatchTest
class MatchQueueTest(BaseMatchTest):
"""
Tests for the /matchqueue player endpoints
"""
def clear_queue(self):
... | 41.837329 | 98 | 0.647403 | 3,080 | 24,433 | 4.923052 | 0.078571 | 0.03957 | 0.058036 | 0.072545 | 0.795885 | 0.766207 | 0.750379 | 0.736464 | 0.724329 | 0.714239 | 0 | 0.002552 | 0.230058 | 24,433 | 583 | 99 | 41.909091 | 0.803477 | 0.121639 | 0 | 0.761307 | 0 | 0 | 0.12547 | 0.004884 | 0 | 0 | 0 | 0 | 0.248744 | 1 | 0.040201 | false | 0 | 0.015075 | 0 | 0.057789 | 0.002513 | 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 |
6d3f07796261988b451c3cfd14d3db3971080266 | 346 | py | Python | pydownsongs/__init__.py | loadofearth/pydownsongs | 39989746afbe110c8166f03520c5ce2c8fbfa139 | [
"MIT"
] | 1 | 2021-09-30T03:39:40.000Z | 2021-09-30T03:39:40.000Z | pydownsongs/__init__.py | loadofearth/pydownsongs | 39989746afbe110c8166f03520c5ce2c8fbfa139 | [
"MIT"
] | null | null | null | pydownsongs/__init__.py | loadofearth/pydownsongs | 39989746afbe110c8166f03520c5ce2c8fbfa139 | [
"MIT"
] | 1 | 2021-08-28T13:09:58.000Z | 2021-08-28T13:09:58.000Z | from pydownsongs.songs import download
from pydownsongs.songs import downloadarray
from pydownsongs.others import checkInternet
from pydownsongs.others import randomUsrAgent
from pydownsongs.meta import add_meta
from pydownsongs.meta import get_meta
from pydownsongs.others import createDirIfNotExists
from pydownsongs.s... | 43.25 | 51 | 0.887283 | 43 | 346 | 7.069767 | 0.348837 | 0.394737 | 0.207237 | 0.266447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089595 | 346 | 8 | 52 | 43.25 | 0.965079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 |
ede26372bc980027df4f849ae07cd3b2d67c92c3 | 3,417 | py | Python | p8_test/test_local/test_eta5_execution/test_name_fail_ETA5_UIO1.py | crazynayan/tpf1 | c81a15d88d4d1f3ed2cf043c90782a4b8509ef14 | [
"MIT"
] | 1 | 2020-01-27T10:10:40.000Z | 2020-01-27T10:10:40.000Z | p8_test/test_local/test_eta5_execution/test_name_fail_ETA5_UIO1.py | crazynayan/tpf1 | c81a15d88d4d1f3ed2cf043c90782a4b8509ef14 | [
"MIT"
] | 4 | 2019-08-23T05:24:23.000Z | 2021-09-16T10:05:55.000Z | p8_test/test_local/test_eta5_execution/test_name_fail_ETA5_UIO1.py | crazynayan/tpf1 | c81a15d88d4d1f3ed2cf043c90782a4b8509ef14 | [
"MIT"
] | null | null | null | from p8_test.test_local.test_eta5_execution import NameGeneral
class NameFailETA5(NameGeneral):
def setUp(self) -> None:
super().setUp()
def test_no_name_ETA5420(self) -> None:
test_data = self.tpf_server.run("ETA5", self.test_data)
self.output = test_data.output
self.assertE... | 49.521739 | 101 | 0.671642 | 471 | 3,417 | 4.66242 | 0.225053 | 0.131148 | 0.065118 | 0.094718 | 0.76867 | 0.748634 | 0.734973 | 0.734973 | 0.70173 | 0.630692 | 0 | 0.055398 | 0.175885 | 3,417 | 68 | 102 | 50.25 | 0.724432 | 0.02312 | 0 | 0.581818 | 0 | 0 | 0.169964 | 0 | 0 | 0 | 0 | 0 | 0.436364 | 1 | 0.145455 | false | 0 | 0.018182 | 0 | 0.2 | 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 |
edffecf410ec596ce9efb0d2c9d3d5650bee7fdd | 49 | py | Python | googlemail/__init__.py | orlandodiaz/gmail | 2a188e1b15140b64a65d114a91a3600b79bee929 | [
"MIT"
] | 1 | 2022-02-16T00:29:27.000Z | 2022-02-16T00:29:27.000Z | googlemail/__init__.py | orlandordiaz/gmail | 2a188e1b15140b64a65d114a91a3600b79bee929 | [
"MIT"
] | null | null | null | googlemail/__init__.py | orlandordiaz/gmail | 2a188e1b15140b64a65d114a91a3600b79bee929 | [
"MIT"
] | null | null | null | from .gmail import Gmail
from .login import login | 24.5 | 24 | 0.816327 | 8 | 49 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 25 | 24.5 | 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 |
61037d433c9738bc0af2eddbc96399cdc49bf9f5 | 3,292 | py | Python | libs/countrycodes/tests_countrycodes/test_iso_handler.py | hm-seclab/YAFRA-Mirror | cdad9966ab2aef495d0dca51a06cf567dd38a315 | [
"Apache-2.0"
] | 26 | 2021-06-30T07:49:37.000Z | 2022-02-22T12:35:51.000Z | libs/countrycodes/tests_countrycodes/test_iso_handler.py | hm-seclab/YAFRA-Mirror | cdad9966ab2aef495d0dca51a06cf567dd38a315 | [
"Apache-2.0"
] | 59 | 2021-06-30T09:48:05.000Z | 2021-08-16T09:07:04.000Z | libs/countrycodes/tests_countrycodes/test_iso_handler.py | hm-seclab/YAFRA-Mirror | cdad9966ab2aef495d0dca51a06cf567dd38a315 | [
"Apache-2.0"
] | 5 | 2021-06-30T12:30:17.000Z | 2022-03-13T16:59:57.000Z | '''
Tests for iso_handler.py
'''
from unittest import TestCase
from unittest.mock import patch
from libs.countrycodes.iso_handler import convert_alpha_2_to_alpha_3, convert_alpha_2_to_qualified_name
from libs.kafka.logging import LogMessage
class IsoHandlerTests(TestCase):
'''
Tests for iso_handler.
'''
... | 37.409091 | 124 | 0.705954 | 431 | 3,292 | 5.037123 | 0.167053 | 0.049747 | 0.083832 | 0.09673 | 0.912022 | 0.912022 | 0.874712 | 0.874712 | 0.850299 | 0.812529 | 0 | 0.019524 | 0.222053 | 3,292 | 88 | 125 | 37.409091 | 0.828192 | 0.214763 | 0 | 0.621622 | 0 | 0 | 0.091487 | 0.019483 | 0 | 0 | 0 | 0 | 0.378378 | 1 | 0.162162 | false | 0 | 0.108108 | 0 | 0.297297 | 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 |
61120f2d203d2f5c718e5412f4a20e4a2826a324 | 2,413 | py | Python | software/owh/backoffice/owh/etl/yrbs/yrbs_etl.py | HHS/owh-ds | d94d80661ef0d1c966f5bf87a2648dd0f19c3b8b | [
"Apache-2.0"
] | 2 | 2022-02-07T16:15:21.000Z | 2022-02-07T19:33:32.000Z | software/owh/backoffice/owh/etl/yrbs/yrbs_etl.py | HHS/owh-ds | d94d80661ef0d1c966f5bf87a2648dd0f19c3b8b | [
"Apache-2.0"
] | null | null | null | software/owh/backoffice/owh/etl/yrbs/yrbs_etl.py | HHS/owh-ds | d94d80661ef0d1c966f5bf87a2648dd0f19c3b8b | [
"Apache-2.0"
] | 2 | 2017-04-04T19:52:25.000Z | 2017-05-09T18:29:29.000Z | import os
from owh.etl.common.etl import ETL
import logging
logger = logging.getLogger('yrbs_etl')
class YrbsETL (ETL):
"""
Loads YRBS metadata into ES
"""
def __init__(self, configFile):
ETL.__init__(self, configFile)
def perform_etl(self):
"""Load yrbs metadata data"""
... | 57.452381 | 130 | 0.716535 | 295 | 2,413 | 5.59322 | 0.19661 | 0.058182 | 0.090909 | 0.29697 | 0.733939 | 0.712727 | 0.712727 | 0.712727 | 0.712727 | 0.712727 | 0 | 0.080153 | 0.131372 | 2,413 | 41 | 131 | 58.853659 | 0.707061 | 0.026523 | 0 | 0 | 0 | 0 | 0.301205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0.103448 | 0.034483 | 0.310345 | 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 |
612b52fc6f5d0697c272c10db82c7e556c62d3f6 | 22,414 | py | Python | test_pytest/test_unit/test_gui/test_server.py | hrvojekeserica/hat-core | 759def68620cf4f8c11e7bbbdbfd1e701dbafb09 | [
"MIT"
] | null | null | null | test_pytest/test_unit/test_gui/test_server.py | hrvojekeserica/hat-core | 759def68620cf4f8c11e7bbbdbfd1e701dbafb09 | [
"MIT"
] | null | null | null | test_pytest/test_unit/test_gui/test_server.py | hrvojekeserica/hat-core | 759def68620cf4f8c11e7bbbdbfd1e701dbafb09 | [
"MIT"
] | null | null | null | import asyncio
import contextlib
import hashlib
import pytest
import hat.gui.server
import hat.juggler
import test_unit.test_gui.mock
from test_unit.test_gui import common
def conf(ui_port, roles=[], users=[]):
return {'address': f'http://localhost:{ui_port}',
'initial_view': 'initial_view',
... | 38.445969 | 79 | 0.564959 | 2,449 | 22,414 | 4.964067 | 0.071458 | 0.067122 | 0.054783 | 0.058649 | 0.815415 | 0.775767 | 0.758658 | 0.718598 | 0.679937 | 0.659044 | 0 | 0.024456 | 0.308602 | 22,414 | 582 | 80 | 38.512027 | 0.760018 | 0.009057 | 0 | 0.686825 | 0 | 0 | 0.11486 | 0.019639 | 0 | 0 | 0 | 0 | 0.151188 | 1 | 0.012959 | false | 0.086393 | 0.017279 | 0.006479 | 0.047516 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b6712c383ff226e7507eff0a7e63210f0913b7e9 | 29 | py | Python | twtlib/__init__.py | ribeiro-daniel/Twtlib | c8d6377f4d338cea737cb18857941ff4859a12a9 | [
"MIT"
] | null | null | null | twtlib/__init__.py | ribeiro-daniel/Twtlib | c8d6377f4d338cea737cb18857941ff4859a12a9 | [
"MIT"
] | null | null | null | twtlib/__init__.py | ribeiro-daniel/Twtlib | c8d6377f4d338cea737cb18857941ff4859a12a9 | [
"MIT"
] | null | null | null | from .twtlib import Twtlib
| 7.25 | 26 | 0.758621 | 4 | 29 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 3 | 27 | 9.666667 | 0.956522 | 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 |
fcc7f8ffad38cc7be3b71be1aea1f7cec7043ba0 | 92 | py | Python | ckanext/aafc/tests/test_plugin.py | GabeGabeT/ckanext-aafc | cb359508fb90a6a33f1d79a74c0f14ad77f48e1e | [
"MIT"
] | null | null | null | ckanext/aafc/tests/test_plugin.py | GabeGabeT/ckanext-aafc | cb359508fb90a6a33f1d79a74c0f14ad77f48e1e | [
"MIT"
] | null | null | null | ckanext/aafc/tests/test_plugin.py | GabeGabeT/ckanext-aafc | cb359508fb90a6a33f1d79a74c0f14ad77f48e1e | [
"MIT"
] | null | null | null | """Tests for plugin.py."""
import ckanext.aafc.plugin as plugin
def test_plugin():
pass | 18.4 | 36 | 0.706522 | 14 | 92 | 4.571429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 92 | 5 | 37 | 18.4 | 0.820513 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
fcd933c1af60e8a33a30c34b7988d6e6fe1e9bec | 153 | py | Python | apps/marketing/models.py | gvizquel/pyerp | c859f7293cabd1003f79112463cee93ac89fccba | [
"MIT"
] | null | null | null | apps/marketing/models.py | gvizquel/pyerp | c859f7293cabd1003f79112463cee93ac89fccba | [
"MIT"
] | 11 | 2020-06-05T22:50:37.000Z | 2022-02-10T09:05:56.000Z | apps/marketing/models.py | gvizquel/pyerp | c859f7293cabd1003f79112463cee93ac89fccba | [
"MIT"
] | null | null | null | # Librerias en carpetas locales
from .submodels.campaign import PyCampaign
from .submodels.channel import PyChannel
from .submodels.mform import PyMform
| 30.6 | 42 | 0.843137 | 19 | 153 | 6.789474 | 0.684211 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 153 | 4 | 43 | 38.25 | 0.948529 | 0.189542 | 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 |
1e11ef3cf9d5a29ac964a1702fe519cb16bcec70 | 47 | py | Python | hisitter/users/serializers/__init__.py | babysitter-finder/backend | 5c37c6876ca13b5794ac44e0342b810426acbc76 | [
"MIT"
] | 1 | 2021-02-25T01:02:40.000Z | 2021-02-25T01:02:40.000Z | hisitter/users/serializers/__init__.py | babysitter-finder/backend | 5c37c6876ca13b5794ac44e0342b810426acbc76 | [
"MIT"
] | null | null | null | hisitter/users/serializers/__init__.py | babysitter-finder/backend | 5c37c6876ca13b5794ac44e0342b810426acbc76 | [
"MIT"
] | 1 | 2020-11-23T20:57:47.000Z | 2020-11-23T20:57:47.000Z | from .users import *
from .babysitters import * | 23.5 | 26 | 0.765957 | 6 | 47 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 26 | 23.5 | 0.9 | 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 |
1e408cc7ece065a959062b3432bc159737373c22 | 186 | py | Python | downloadbot_common/messaging/consuming/exceptions.py | dnguyen0304/downloadbot.common | 25b3ef3d09764e9f8d7969c692b1e6bb87ff24d5 | [
"MIT"
] | null | null | null | downloadbot_common/messaging/consuming/exceptions.py | dnguyen0304/downloadbot.common | 25b3ef3d09764e9f8d7969c692b1e6bb87ff24d5 | [
"MIT"
] | null | null | null | downloadbot_common/messaging/consuming/exceptions.py | dnguyen0304/downloadbot.common | 25b3ef3d09764e9f8d7969c692b1e6bb87ff24d5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .. import exceptions
class DeleteError(Exception):
pass
class HandleError(Exception):
pass
class ReceiveTimeout(exceptions.Timeout):
pass
| 11.625 | 41 | 0.688172 | 19 | 186 | 6.736842 | 0.684211 | 0.203125 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0.198925 | 186 | 15 | 42 | 12.4 | 0.852349 | 0.112903 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
1e7b87d13929444848ea7a3c04295326dbd02daf | 281 | py | Python | psychsim/pwl/__init__.py | pynadath/psychsim | c7b2b92e6ff8b83b2e832acda02c4baafabdf06f | [
"MIT"
] | 23 | 2016-04-08T08:21:12.000Z | 2022-03-15T02:49:12.000Z | psychsim/pwl/__init__.py | pynadath/psychsim | c7b2b92e6ff8b83b2e832acda02c4baafabdf06f | [
"MIT"
] | 3 | 2019-07-22T16:29:07.000Z | 2020-11-06T07:00:16.000Z | psychsim/pwl/__init__.py | pynadath/psychsim | c7b2b92e6ff8b83b2e832acda02c4baafabdf06f | [
"MIT"
] | 12 | 2015-06-07T00:41:31.000Z | 2020-01-10T15:04:43.000Z | """
Class and function definitions for PieceWise Linear (PWL) representations
"""
from psychsim.pwl.keys import *
from psychsim.pwl.vector import *
from psychsim.pwl.matrix import *
from psychsim.pwl.plane import *
from psychsim.pwl.tree import *
from psychsim.pwl.state import *
| 25.545455 | 73 | 0.779359 | 39 | 281 | 5.615385 | 0.461538 | 0.328767 | 0.410959 | 0.479452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128114 | 281 | 10 | 74 | 28.1 | 0.893878 | 0.259786 | 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 |
1eb3cc7bbcaa5e54636e675a690ec3c9cf000fe8 | 526 | py | Python | linora/image/__init__.py | Hourout/linora | 4269516c9227a18bd1a65e1c6a59e73c74e874d0 | [
"Apache-2.0"
] | 10 | 2018-11-22T03:30:39.000Z | 2020-08-20T04:39:35.000Z | linora/image/__init__.py | Hourout/linora | 4269516c9227a18bd1a65e1c6a59e73c74e874d0 | [
"Apache-2.0"
] | null | null | null | linora/image/__init__.py | Hourout/linora | 4269516c9227a18bd1a65e1c6a59e73c74e874d0 | [
"Apache-2.0"
] | 3 | 2019-04-09T12:17:34.000Z | 2020-08-20T04:33:31.000Z | from linora.image._image_aug import *
from linora.image._image_color import *
from linora.image._image_crop import *
from linora.image._image_io import *
from linora.image._image_noise import *
from linora.image._image_position import *
from linora.image._image_resize import *
from linora.image._image_rescale import *
... | 40.461538 | 45 | 0.828897 | 78 | 526 | 5.25641 | 0.217949 | 0.317073 | 0.47561 | 0.634146 | 0.760976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096958 | 526 | 13 | 46 | 40.461538 | 0.863158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 |
1ec162852dbdf3b86ec4b9c3730ed948ae615d0e | 64 | py | Python | NiLBS/mesh/__init__.py | joemarch010/NILBS | c6568818ec8acdb0fe4bd8d197278f0abb361d0b | [
"MIT"
] | 2 | 2021-04-01T07:55:11.000Z | 2021-12-10T02:57:59.000Z | NiLBS/mesh/__init__.py | joemarch010/NILBS | c6568818ec8acdb0fe4bd8d197278f0abb361d0b | [
"MIT"
] | null | null | null | NiLBS/mesh/__init__.py | joemarch010/NILBS | c6568818ec8acdb0fe4bd8d197278f0abb361d0b | [
"MIT"
] | null | null | null |
import NiLBS.mesh.mesh_occupancy
import NiLBS.mesh.voxel_matrix | 21.333333 | 32 | 0.875 | 10 | 64 | 5.4 | 0.6 | 0.407407 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 64 | 3 | 33 | 21.333333 | 0.9 | 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 |
1ecddd35392f26b509e458ac4fb8b45ec87587aa | 170 | py | Python | apps/course/views.py | Jiafauser/News_blog | a3fec19c5e58c50c40268144e2f52820b24cc5d6 | [
"Unlicense"
] | null | null | null | apps/course/views.py | Jiafauser/News_blog | a3fec19c5e58c50c40268144e2f52820b24cc5d6 | [
"Unlicense"
] | null | null | null | apps/course/views.py | Jiafauser/News_blog | a3fec19c5e58c50c40268144e2f52820b24cc5d6 | [
"Unlicense"
] | null | null | null | from django.shortcuts import render
from django.views import View
# Create your views here.
def course_list(request):
return render(request, 'course/course.html')
| 18.888889 | 48 | 0.770588 | 24 | 170 | 5.416667 | 0.666667 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 170 | 8 | 49 | 21.25 | 0.896552 | 0.135294 | 0 | 0 | 0 | 0 | 0.124138 | 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 |
1ed442534c9fb2a39c9cb519133f46a6831586ab | 3,498 | py | Python | IoT_Serwer/migrations/0001_initial.py | michalkrawczyk/IoT_Serwer | 4a02540a68f5e5fb4e2b4902fc517a64389ad557 | [
"MIT"
] | null | null | null | IoT_Serwer/migrations/0001_initial.py | michalkrawczyk/IoT_Serwer | 4a02540a68f5e5fb4e2b4902fc517a64389ad557 | [
"MIT"
] | null | null | null | IoT_Serwer/migrations/0001_initial.py | michalkrawczyk/IoT_Serwer | 4a02540a68f5e5fb4e2b4902fc517a64389ad557 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.1 on 2019-06-01 08:37
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Color',
... | 53.815385 | 170 | 0.63036 | 332 | 3,498 | 6.575301 | 0.228916 | 0.087036 | 0.174072 | 0.123683 | 0.726523 | 0.726523 | 0.726523 | 0.726523 | 0.726523 | 0.726523 | 0 | 0.023634 | 0.225843 | 3,498 | 64 | 171 | 54.65625 | 0.782496 | 0.012864 | 0 | 0.614035 | 1 | 0 | 0.060852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.122807 | 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 |
1ed5cd82ea7fcff17f5683bea949ed7dd3065658 | 1,044 | py | Python | swagger_client/models/__init__.py | blarz/heiko | c99da90709a7a21498257a2922f7663a8d5547a9 | [
"MIT"
] | 3 | 2018-05-19T13:10:07.000Z | 2019-01-08T17:50:53.000Z | swagger_client/models/__init__.py | blarz/heiko | c99da90709a7a21498257a2922f7663a8d5547a9 | [
"MIT"
] | 44 | 2019-01-07T09:06:41.000Z | 2019-11-07T22:04:30.000Z | swagger_client/models/__init__.py | blarz/heiko | c99da90709a7a21498257a2922f7663a8d5547a9 | [
"MIT"
] | 3 | 2019-06-13T19:23:06.000Z | 2019-08-08T18:55:13.000Z | # coding: utf-8
# flake8: noqa
"""
MaaS
MaaS (Matomat as a Service) API definition # noqa: E501
OpenAPI spec version: 0.5.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import models into model package
from swagger_client.model... | 34.8 | 86 | 0.841954 | 140 | 1,044 | 6.05 | 0.4 | 0.155844 | 0.24085 | 0.325856 | 0.357733 | 0.230224 | 0.188902 | 0 | 0 | 0 | 0 | 0.008584 | 0.10728 | 1,044 | 29 | 87 | 36 | 0.900215 | 0.208812 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
94b681733b9c494caa120d0f155543b256975f38 | 96 | py | Python | venv/lib/python3.8/site-packages/virtualenv/app_data/na.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/virtualenv/app_data/na.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/virtualenv/app_data/na.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/37/69/51/e555787283382f29bf13e9d6ffc321df1e7e53a26cabdc78c099f7c013 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
94cc73b59f8796a10bd26a1b00c8cda37b827f80 | 1,220 | py | Python | data/dbsnp/VCF/json/loadjson.py | chunjie-sam-liu/miRNASNP-v3 | 41fab95b496b639674010863895547db0fc108bc | [
"MIT"
] | 1 | 2020-07-02T08:51:37.000Z | 2020-07-02T08:51:37.000Z | data/dbsnp/VCF/json/loadjson.py | chunjie-sam-liu/miRNASNP-v3 | 41fab95b496b639674010863895547db0fc108bc | [
"MIT"
] | null | null | null | data/dbsnp/VCF/json/loadjson.py | chunjie-sam-liu/miRNASNP-v3 | 41fab95b496b639674010863895547db0fc108bc | [
"MIT"
] | null | null | null | import json,os,re
for root,dirs,files in os.walk("/home/fux/fux/miRNASNP3/data/dbsnp/VCF/json"):
for fi in files:
if fi.endswith('.pvcf.json'):
with open(fi) as fjson:
chr_dict = json.load(fjson)
chrRegex = re.compile(r'NC_0*([1-9]*0?)')
chrid = chrRegex.search(fi).group(1)
with open("/home/fux/f... | 36.969697 | 100 | 0.638525 | 204 | 1,220 | 3.691176 | 0.269608 | 0.063745 | 0.066401 | 0.126162 | 0.833997 | 0.786189 | 0.786189 | 0.786189 | 0.786189 | 0.786189 | 0 | 0.039961 | 0.159016 | 1,220 | 32 | 101 | 38.125 | 0.693957 | 0.421311 | 0 | 0.125 | 0 | 0 | 0.269452 | 0.220461 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 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 |
a214d29fe031af459fc7e7a12ade7e7d4714ce87 | 30 | py | Python | assemblyline/alsvc_metapeek/__init__.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 46 | 2017-05-15T11:15:08.000Z | 2018-07-02T03:32:52.000Z | assemblyline/alsvc_metapeek/__init__.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | null | null | null | assemblyline/alsvc_metapeek/__init__.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 24 | 2017-05-17T03:26:17.000Z | 2018-07-09T07:00:50.000Z | from metapeek import MetaPeek
| 15 | 29 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 1 | 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 |
bf729c1a9a547e815a05e635b99e26ea7aa8f285 | 30 | py | Python | pyintuition/__init__.py | trobertsca/intuition | 5ef5d03b0856f2b95a9d0b81b3831a0c12e7208e | [
"MIT"
] | null | null | null | pyintuition/__init__.py | trobertsca/intuition | 5ef5d03b0856f2b95a9d0b81b3831a0c12e7208e | [
"MIT"
] | 1 | 2018-03-24T22:42:17.000Z | 2018-03-25T03:17:19.000Z | pyintuition/__init__.py | trobertsca/intuition | 5ef5d03b0856f2b95a9d0b81b3831a0c12e7208e | [
"MIT"
] | null | null | null | from .client import Intuition
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfc8c892f318962e12e05b22a198043f509d3792 | 97 | py | Python | myproject/__init__.py | EthanYan6/forum_project | ec07dc3b6004b38f3fce36f559ac512af6fb2a46 | [
"MIT"
] | 3 | 2019-06-17T06:15:12.000Z | 2020-10-19T09:05:49.000Z | myproject/__init__.py | EthanYan6/forum_project | ec07dc3b6004b38f3fce36f559ac512af6fb2a46 | [
"MIT"
] | null | null | null | myproject/__init__.py | EthanYan6/forum_project | ec07dc3b6004b38f3fce36f559ac512af6fb2a46 | [
"MIT"
] | null | null | null | from pymysql import install_as_MySQLdb
# 让Django的ORM能以mysqldb的方式来调用PyMySQL
install_as_MySQLdb() | 19.4 | 38 | 0.886598 | 10 | 97 | 8.2 | 0.7 | 0.219512 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 5 | 39 | 19.4 | 0.921348 | 0.340206 | 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 |
bfd7768968abb2fcab328df605998c370b656bac | 29 | py | Python | magic_vnet/blocks/skunit/__init__.py | Damseh/Magic-VNet | d7b43742e374d43785960bb57961582270ec0d8f | [
"MIT"
] | null | null | null | magic_vnet/blocks/skunit/__init__.py | Damseh/Magic-VNet | d7b43742e374d43785960bb57961582270ec0d8f | [
"MIT"
] | null | null | null | magic_vnet/blocks/skunit/__init__.py | Damseh/Magic-VNet | d7b43742e374d43785960bb57961582270ec0d8f | [
"MIT"
] | null | null | null | from .skunit import SK_Block
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 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 |
44aec5364ad47d6e0c6213ca2c274c1ba2130f34 | 150 | py | Python | contrib/scripts/reset_node.py | electrumsv/simple-indexer | be4897808b0e46ba4f9b7cfc9970e9d85f6e4cb4 | [
"OML"
] | null | null | null | contrib/scripts/reset_node.py | electrumsv/simple-indexer | be4897808b0e46ba4f9b7cfc9970e9d85f6e4cb4 | [
"OML"
] | 2 | 2021-10-14T01:45:47.000Z | 2021-11-16T02:34:14.000Z | contrib/scripts/reset_node.py | electrumsv/simple-indexer | be4897808b0e46ba4f9b7cfc9970e9d85f6e4cb4 | [
"OML"
] | null | null | null | from electrumsv_sdk import commands
commands.stop(component_type='node')
commands.reset(component_type='node')
commands.start(component_type='node')
| 25 | 37 | 0.826667 | 20 | 150 | 6 | 0.55 | 0.325 | 0.425 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 150 | 5 | 38 | 30 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
44ce1ec1d4eae1d53dd3b20a7f20d2f7b3c5ffab | 132 | py | Python | tools/py/writer.py | zepheira/versa | a33558c8bcff11eed0ef212fe9ec7e3d97047732 | [
"Apache-2.0"
] | 7 | 2015-03-12T19:13:34.000Z | 2021-07-31T10:10:46.000Z | tools/py/writer.py | zepheira/versa | a33558c8bcff11eed0ef212fe9ec7e3d97047732 | [
"Apache-2.0"
] | 14 | 2019-04-18T16:26:55.000Z | 2022-03-31T16:58:46.000Z | tools/py/writer.py | zepheira/versa | a33558c8bcff11eed0ef212fe9ec7e3d97047732 | [
"Apache-2.0"
] | 2 | 2015-11-09T04:14:10.000Z | 2019-07-24T06:03:36.000Z | # versa.writer
raise DeprecationWarning('Please use versa.serial instead.')
raise ImportError('Please use versa.serial instead.')
| 22 | 60 | 0.787879 | 16 | 132 | 6.5 | 0.5625 | 0.173077 | 0.269231 | 0.384615 | 0.519231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 132 | 5 | 61 | 26.4 | 0.881356 | 0.090909 | 0 | 0 | 0 | 0 | 0.547009 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.