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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8670e8bdc3947086e3b13d63bfe6e79202643355 | 29,702 | py | Python | testing/test_awswrangler/test_redshift.py | asafepy/aws-data-wrangler | 5cc6360eb8325fa79fc9abe3128ba7a5f40681fa | [
"Apache-2.0"
] | null | null | null | testing/test_awswrangler/test_redshift.py | asafepy/aws-data-wrangler | 5cc6360eb8325fa79fc9abe3128ba7a5f40681fa | [
"Apache-2.0"
] | null | null | null | testing/test_awswrangler/test_redshift.py | asafepy/aws-data-wrangler | 5cc6360eb8325fa79fc9abe3128ba7a5f40681fa | [
"Apache-2.0"
] | null | null | null | import json
import logging
from datetime import date, datetime
from decimal import Decimal
import pytest
import boto3
import pandas as pd
from pyspark.sql import SparkSession
import pg8000
import awswrangler as wr
from awswrangler import Session, Redshift
from awswrangler.exceptions import InvalidRedshiftDiststyle, I... | 39.340397 | 133 | 0.588311 | 3,216 | 29,702 | 5.291978 | 0.080535 | 0.106822 | 0.093778 | 0.020624 | 0.846818 | 0.8155 | 0.796933 | 0.782831 | 0.756331 | 0.744345 | 0 | 0.018215 | 0.266211 | 29,702 | 754 | 134 | 39.392573 | 0.762652 | 0.000438 | 0 | 0.728058 | 0 | 0.001439 | 0.182342 | 0.055548 | 0 | 0 | 0 | 0 | 0.066187 | 1 | 0.033094 | false | 0.028777 | 0.017266 | 0 | 0.05036 | 0.004317 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8679b85bf67b7e1a956afa090547b658be1e4d79 | 9,601 | py | Python | test/test_releases_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | test/test_releases_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | test/test_releases_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Octopus Server API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a
Generated by: https://github.com/swagger-api... | 39.838174 | 137 | 0.793876 | 1,155 | 9,601 | 5.971429 | 0.084848 | 0.167029 | 0.130492 | 0.161809 | 0.931999 | 0.9233 | 0.9233 | 0.912281 | 0.896622 | 0.895752 | 0 | 0.011728 | 0.165191 | 9,601 | 240 | 138 | 40.004167 | 0.848784 | 0.467035 | 0 | 0.434211 | 1 | 0 | 0.001708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.447368 | false | 0.434211 | 0.065789 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 11 |
86865a280a4b911c6f25567b181b77327711f1d1 | 12,744 | py | Python | ipython-extension/tests/unit/autoplot/test_dtaler.py | kernelpanek/jupyterlab-autoplot | 023b0b6a1ebc1857b4dab95c04286d45ec70fc42 | [
"BSD-3-Clause"
] | 48 | 2021-01-27T14:40:00.000Z | 2022-03-31T10:15:35.000Z | ipython-extension/tests/unit/autoplot/test_dtaler.py | kernelpanek/jupyterlab-autoplot | 023b0b6a1ebc1857b4dab95c04286d45ec70fc42 | [
"BSD-3-Clause"
] | 1 | 2021-03-11T06:31:35.000Z | 2021-07-29T18:47:29.000Z | ipython-extension/tests/unit/autoplot/test_dtaler.py | kernelpanek/jupyterlab-autoplot | 023b0b6a1ebc1857b4dab95c04286d45ec70fc42 | [
"BSD-3-Clause"
] | 5 | 2021-04-22T17:44:12.000Z | 2022-02-09T22:47:16.000Z | from typing import Union
from unittest.mock import patch
import dtale.global_state
import pandas as pd
import pytest
from IPython.core.display import Image
from autoplot.dtaler import DTaler, VarData
from autoplot.extensions.autoplot_display import AutoplotDisplay
from autoplot.extensions.toast import Toast
from ipyw... | 29.364055 | 86 | 0.680006 | 1,741 | 12,744 | 4.758185 | 0.068352 | 0.066634 | 0.11661 | 0.045268 | 0.876268 | 0.867697 | 0.839087 | 0.811082 | 0.78718 | 0.776799 | 0 | 0.034632 | 0.16392 | 12,744 | 433 | 87 | 29.431871 | 0.742844 | 0 | 0 | 0.79402 | 0 | 0 | 0.068895 | 0.0379 | 0 | 0 | 0 | 0 | 0.209302 | 1 | 0.089701 | false | 0 | 0.033223 | 0.003322 | 0.126246 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
86de781a47d47377f404e4a1212d476179f38a6b | 20,540 | py | Python | dataclasses/resources/test/leap_second_test.py | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 1 | 2020-12-24T22:00:01.000Z | 2020-12-24T22:00:01.000Z | dataclasses/resources/test/leap_second_test.py | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | null | null | null | dataclasses/resources/test/leap_second_test.py | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 3 | 2020-07-17T09:20:29.000Z | 2021-03-30T16:44:18.000Z | #!/usr/bin/env python
"""
Leap Second Unit Test Suite
This file tests I3Time for leap second awareneness.
It uses a file of days with leap seconds from the Navy and tests to
make sure I3Time works well with leap seconds.
It depends on http://maia.usno.navy.mil/ser7/tai-utc.dat, which is
kept in ${I3_TESTDATA}. The U... | 39.348659 | 109 | 0.634177 | 3,270 | 20,540 | 3.802446 | 0.086239 | 0.065868 | 0.066592 | 0.033778 | 0.821216 | 0.814541 | 0.802155 | 0.800627 | 0.787196 | 0.773283 | 0 | 0.107959 | 0.250049 | 20,540 | 521 | 110 | 39.424184 | 0.699234 | 0.135589 | 0 | 0.803077 | 0 | 0 | 0.03476 | 0 | 0 | 0 | 0 | 0 | 0.732308 | 1 | 0.003077 | false | 0 | 0.009231 | 0.003077 | 0.015385 | 0.003077 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
86e434ce86d2a788348dd975202cf547479816c8 | 47,418 | py | Python | nz_crawl_demo/day3/demo1.py | gaohj/nzflask_bbs | 36a94c380b78241ed5d1e07edab9618c3e8d477b | [
"Apache-2.0"
] | null | null | null | nz_crawl_demo/day3/demo1.py | gaohj/nzflask_bbs | 36a94c380b78241ed5d1e07edab9618c3e8d477b | [
"Apache-2.0"
] | 27 | 2020-02-12T07:55:58.000Z | 2022-03-12T00:19:09.000Z | nz_crawl_demo/day3/demo1.py | gaohj/nzflask_bbs | 36a94c380b78241ed5d1e07edab9618c3e8d477b | [
"Apache-2.0"
] | 2 | 2020-02-18T01:54:55.000Z | 2020-02-21T11:36:28.000Z | from lxml import etree
text = """
<ul class="item_con_list" style="display: block;">
<li class="con_list_item first_row default_list" data-index="0" data-positionid="3580958" data-salary="18k-25k" data-company="众禄金融" data-positionname="python工程师" data-companyid="50285" data-hrid="1509336" data-tpladword="0">
... | 26.759594 | 249 | 0.485006 | 5,524 | 47,418 | 4.076756 | 0.078204 | 0.06794 | 0.090586 | 0.066607 | 0.847957 | 0.801954 | 0.792229 | 0.735258 | 0.717407 | 0.69143 | 0 | 0.075718 | 0.35244 | 47,418 | 1,771 | 250 | 26.774704 | 0.657689 | 0.000485 | 0 | 0.645408 | 0 | 0.167092 | 0.997679 | 0.279161 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001276 | 0 | 0.001276 | 0.001276 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
86f862c37f1fc4105b32506c2611e1984f6d6818 | 162 | py | Python | sentinel/vpn/__init__.py | allagog0x01/sentwg | 52285ecf2b03c30a78901a29a7af96c8ab5764c8 | [
"Apache-2.0"
] | null | null | null | sentinel/vpn/__init__.py | allagog0x01/sentwg | 52285ecf2b03c30a78901a29a7af96c8ab5764c8 | [
"Apache-2.0"
] | null | null | null | sentinel/vpn/__init__.py | allagog0x01/sentwg | 52285ecf2b03c30a78901a29a7af96c8ab5764c8 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
from .helpers import disconnect_client
from .helpers import get_sessions
from .helpers import update_session_data
from .wireguard import wireguard
| 27 | 40 | 0.845679 | 23 | 162 | 5.782609 | 0.608696 | 0.24812 | 0.383459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.111111 | 162 | 5 | 41 | 32.4 | 0.916667 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8132159a1a5d1c76b35cec455f4090967bd3a1dc | 26,856 | py | Python | createVertexBuilding.py | geraldzakwan/ITBMaps | d31a0751d5b6b958ea3c831ac218e7e869c409c8 | [
"MIT",
"WTFPL",
"Unlicense"
] | null | null | null | createVertexBuilding.py | geraldzakwan/ITBMaps | d31a0751d5b6b958ea3c831ac218e7e869c409c8 | [
"MIT",
"WTFPL",
"Unlicense"
] | null | null | null | createVertexBuilding.py | geraldzakwan/ITBMaps | d31a0751d5b6b958ea3c831ac218e7e869c409c8 | [
"MIT",
"WTFPL",
"Unlicense"
] | null | null | null | w, h = 4, 100
list_of_gedung = [[0 for x in range(w)] for y in range(h)]
def createVertex(upperbackleft_x, upperbackleft_y, upperbackleft_z, upperbackright_x, upperbackright_y, upperbackright_z, upperfrontleft_x, upperfrontleft_y, upperfrontleft_z, upperfrontright_x, upperfrontright_y, upperfrontright_z, underbackleft... | 62.894614 | 455 | 0.570413 | 4,255 | 26,856 | 3.289777 | 0.019271 | 0.23189 | 0.463781 | 0.5015 | 0.947778 | 0.947778 | 0.944635 | 0.941635 | 0.941635 | 0.941635 | 0 | 0.06267 | 0.259085 | 26,856 | 426 | 456 | 63.042254 | 0.640818 | 0.012772 | 0 | 0.932394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008451 | false | 0 | 0 | 0 | 0.016901 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d49ed76bbf38c7c2f37da6369219140f14930f8a | 77,752 | py | Python | Controls/env/Lib/site-packages/PySide/examples/tools/qtdemo/qtdemo_rc.py | LoicBoileau/Projet-S4---Robot-Delta | 0de0768e2609c18fbf060eb6726150a99080db1c | [
"MIT"
] | 32 | 2015-11-06T02:59:41.000Z | 2021-02-12T02:44:42.000Z | Controls/env/Lib/site-packages/PySide/examples/tools/qtdemo/qtdemo_rc.py | LoicBoileau/Projet-S4---Robot-Delta | 0de0768e2609c18fbf060eb6726150a99080db1c | [
"MIT"
] | 56 | 2020-01-15T15:44:40.000Z | 2021-11-15T17:50:24.000Z | python/Lib/site-packages/PySide/examples/tools/qtdemo/qtdemo_rc.py | jfveronelli/sqink | 5e9e6bc6c5c6c00abbc07099bc1fa1ab6cf79577 | [
"Unlicense"
] | 4 | 2016-02-01T09:15:05.000Z | 2020-04-30T03:41:04.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: st 14. 10 21:40:06 2015
# by: The Resource Compiler for PySide (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore
qt_resource_data = b"\x00\x00\x1e\xe9<?xml version=\x221.0\x22 encoding=\x22iso-8859-1\x22?>\x... | 3,534.181818 | 76,552 | 0.743531 | 16,738 | 77,752 | 3.446708 | 0.180069 | 0.043265 | 0.039313 | 0.026209 | 0.138583 | 0.092597 | 0.056265 | 0.03836 | 0.015046 | 0.011059 | 0 | 0.239151 | 0.016373 | 77,752 | 21 | 76,553 | 3,702.47619 | 0.515187 | 0.002341 | 0 | 0 | 0 | 0.333333 | 0.995294 | 0.906256 | 0 | 0 | 0.000103 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0.111111 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4e5147172dea913d443fa6dccdf12d6065103d4 | 165 | py | Python | first-homework.py | FabioniMacaroni/ASTR-119 | 58fc383e2c876dbd1ee2d4b300d50a1d299068a2 | [
"MIT"
] | null | null | null | first-homework.py | FabioniMacaroni/ASTR-119 | 58fc383e2c876dbd1ee2d4b300d50a1d299068a2 | [
"MIT"
] | 2 | 2021-09-30T03:39:58.000Z | 2021-09-30T05:50:39.000Z | first-homework.py | FabioniMacaroni/ASTR-119 | 58fc383e2c876dbd1ee2d4b300d50a1d299068a2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#this program will write out my full name and preferred pronouns
print("Fabian Arias, he/him/his") #print out Fabian Arias, he/him/his
| 27.5 | 70 | 0.727273 | 28 | 165 | 4.285714 | 0.75 | 0.183333 | 0.216667 | 0.266667 | 0.316667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.169697 | 165 | 5 | 71 | 33 | 0.868613 | 0.715152 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
d4e59d1c55f9a2c045e90d722b955cb1eb80b0ed | 53,953 | py | Python | test/test_xnnpack_integration.py | Stonepia/pytorch | 82006ba46074226a071c25dd2e03dc4828941544 | [
"Intel"
] | 1 | 2021-06-17T13:02:45.000Z | 2021-06-17T13:02:45.000Z | test/test_xnnpack_integration.py | Stonepia/pytorch | 82006ba46074226a071c25dd2e03dc4828941544 | [
"Intel"
] | 1 | 2022-01-18T12:17:29.000Z | 2022-01-18T12:17:29.000Z | test/test_xnnpack_integration.py | Stonepia/pytorch | 82006ba46074226a071c25dd2e03dc4828941544 | [
"Intel"
] | 2 | 2021-07-02T10:18:21.000Z | 2021-08-18T10:10:28.000Z | import unittest
import torch
import torch.backends.xnnpack
from torch.nn import functional as F
from torch.utils.mobile_optimizer import optimize_for_mobile
from torch.testing import FileCheck
import torch.testing._internal.hypothesis_utils as hu
from torch.testing._internal.common_utils import TestCase, run_tests, sl... | 48.562556 | 124 | 0.573722 | 5,840 | 53,953 | 4.994178 | 0.046747 | 0.026058 | 0.032915 | 0.023041 | 0.898649 | 0.873689 | 0.845574 | 0.81835 | 0.785881 | 0.768155 | 0 | 0.017979 | 0.338165 | 53,953 | 1,110 | 125 | 48.606306 | 0.798813 | 0.013178 | 0 | 0.766734 | 0 | 0 | 0.046318 | 0.026231 | 0 | 0 | 0 | 0 | 0.015213 | 1 | 0.054767 | false | 0.027383 | 0.013185 | 0.011156 | 0.112576 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
076db9b5b653f663eada0a058dc3892dba3e00ab | 15,342 | py | Python | model/models.py | dingdanhao110/Conch | befa022dd08590062213ef2a17d0cf697fa26ec4 | [
"MIT"
] | 8 | 2020-12-07T08:45:31.000Z | 2022-03-05T05:35:56.000Z | model/models.py | dingdanhao110/Conch | befa022dd08590062213ef2a17d0cf697fa26ec4 | [
"MIT"
] | null | null | null | model/models.py | dingdanhao110/Conch | befa022dd08590062213ef2a17d0cf697fa26ec4 | [
"MIT"
] | 2 | 2021-07-30T11:33:34.000Z | 2021-10-19T02:40:02.000Z | import torch
import torch.nn as nn
from torch.nn import functional as F
from model.layers import BaseConch,BaseConchNc,BaseConchRd, AvgReadout, Discriminator, BaseConchGS, CLING_HAN
class conch_dgi(nn.Module):
def __init__(self, n_mp,
problem,
prep_len,
n_head,
... | 29.447217 | 109 | 0.499935 | 1,742 | 15,342 | 4.132606 | 0.053961 | 0.018614 | 0.048757 | 0.025003 | 0.964023 | 0.964023 | 0.964023 | 0.951243 | 0.947632 | 0.941659 | 0 | 0.020843 | 0.408943 | 15,342 | 521 | 110 | 29.447217 | 0.773048 | 0.081802 | 0 | 0.932292 | 0 | 0 | 0.002562 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049479 | false | 0 | 0.010417 | 0 | 0.135417 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
078226e84933638e7c878d75bd643394abf879b0 | 10,593 | py | Python | controllers/vuelos salientes amadeus_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | controllers/vuelos salientes amadeus_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | controllers/vuelos salientes amadeus_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | from ..DB.Repositorio_Vuelos_Salientes_Amadeus import BDRepositorioVuelosSalientesAmadeus as DBRepository
from ..Utilidades.Conversores import Conversores as Conversor
def obtener_cantidad_anual(PaisOrigen, AnioInicio, AnioFin): #OK
"""
Dado un pais origen obtiene la cantidad de vuelos que salen de dicho pai... | 34.731148 | 164 | 0.750212 | 1,190 | 10,593 | 6.640336 | 0.078151 | 0.028347 | 0.022779 | 0.036446 | 0.874336 | 0.868767 | 0.868767 | 0.868767 | 0.851683 | 0.841559 | 0 | 0 | 0.192863 | 10,593 | 304 | 165 | 34.845395 | 0.924211 | 0.505051 | 0 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.027778 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
07d39af11674ef36cd4dfaec8384cc06aa08ab04 | 32,782 | py | Python | src/hapPyTango/Tango_skel/__init__.py | mguijarr/hapPyTango | 2506c8e83d93fbd2c0a0115983489d59c74caa2f | [
"MIT"
] | 1 | 2020-10-28T16:57:36.000Z | 2020-10-28T16:57:36.000Z | src/hapPyTango/Tango_skel/__init__.py | mguijarr/hapPyTango | 2506c8e83d93fbd2c0a0115983489d59c74caa2f | [
"MIT"
] | null | null | null | src/hapPyTango/Tango_skel/__init__.py | mguijarr/hapPyTango | 2506c8e83d93fbd2c0a0115983489d59c74caa2f | [
"MIT"
] | null | null | null | """ Module: IDL:Tango:1.0
Automagically generated by:-
The ORB called Fnorb v1.1.Return.of.Fnorb
"""
_FNORB_ID = "IDL:Tango:1.0"
# Fnorb modules.
import Fnorb.orb.CORBA
import Fnorb.orb.TypeManager
import Fnorb.orb.Util
class Device_skel(Fnorb.orb.CORBA.Object_skel):
""" Interface: IDL:Tango/Device:1.0 """
... | 32.586481 | 87 | 0.645385 | 3,729 | 32,782 | 5.539823 | 0.027085 | 0.103834 | 0.068593 | 0.095653 | 0.975845 | 0.971246 | 0.967325 | 0.946461 | 0.936054 | 0.920757 | 0 | 0.014291 | 0.244372 | 32,782 | 1,005 | 88 | 32.618905 | 0.819668 | 0.310262 | 0 | 0.759615 | 1 | 0 | 0.099044 | 0.097548 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084135 | false | 0 | 0.007212 | 0 | 0.194712 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6affa7eec73b78ac98cb978c60e126ecc8e0642f | 2,258 | py | Python | tests/game/test_always_hungry.py | hadarshavit/botbowl | eec77bdda427d5e245de6f5e136e06886183b2c7 | [
"Apache-2.0"
] | 7 | 2021-11-19T13:17:58.000Z | 2022-03-23T10:32:13.000Z | tests/game/test_always_hungry.py | ernestvmo/botbowl | 8b70faf615fc70eb40aa8b3519a7d2339872ea15 | [
"Apache-2.0"
] | 32 | 2021-11-19T15:06:55.000Z | 2022-03-31T16:36:46.000Z | tests/game/test_always_hungry.py | ernestvmo/botbowl | 8b70faf615fc70eb40aa8b3519a7d2339872ea15 | [
"Apache-2.0"
] | 9 | 2021-11-21T16:38:48.000Z | 2022-03-30T14:12:36.000Z | from tests.util import *
import pytest
def test_failed_always_hungry_fail_escape():
game = get_game_turn()
team = game.get_agent_team(game.actor)
game.clear_board()
passer = team.players[0]
passer.role.skills = []
passer.role.ag = 2
passer.extra_skills = [Skill.THROW_TEAM_MATE, Skill.ALWAY... | 39.614035 | 96 | 0.74535 | 325 | 2,258 | 4.895385 | 0.218462 | 0.113136 | 0.061596 | 0.105594 | 0.881835 | 0.850409 | 0.850409 | 0.850409 | 0.837838 | 0.837838 | 0 | 0.012513 | 0.150576 | 2,258 | 56 | 97 | 40.321429 | 0.816997 | 0.014172 | 0 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 1 | 0.038462 | false | 0.307692 | 0.038462 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
ed04d8b5fb490a74d198e21b7563fe486ea80548 | 48,186 | py | Python | infoblox_netmri/api/broker/v3_6_0/system_health_summary_broker.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/broker/v3_6_0/system_health_summary_broker.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/broker/v3_6_0/system_health_summary_broker.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | from ..broker import Broker
class SystemHealthSummaryBroker(Broker):
controller = "system_health_summaries"
def show(self, **kwargs):
"""Shows the details for the specified system health summary.
**Inputs**
| ``api version min:`` None
| ``api versi... | 50.24609 | 583 | 0.605446 | 6,112 | 48,186 | 4.683246 | 0.048429 | 0.069871 | 0.045416 | 0.059391 | 0.920661 | 0.915665 | 0.904835 | 0.874755 | 0.852641 | 0.830108 | 0 | 0.003315 | 0.311273 | 48,186 | 959 | 584 | 50.24609 | 0.859192 | 0.800627 | 0 | 0 | 0 | 0 | 0.082213 | 0.060496 | 0 | 0 | 0 | 0 | 0 | 1 | 0.44 | false | 0 | 0.04 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
ed18544b2f1154a7bae4ed059c4d50c70a394f72 | 5,433 | py | Python | Data/Control.py | menang22/Hack-Dron | f0465d1a967a12225dd60a3825f318dcbbf653a5 | [
"MIT"
] | 2 | 2021-03-01T18:29:10.000Z | 2021-03-01T18:34:25.000Z | Data/Control.py | menang22/Hack-Dron | f0465d1a967a12225dd60a3825f318dcbbf653a5 | [
"MIT"
] | null | null | null | Data/Control.py | menang22/Hack-Dron | f0465d1a967a12225dd60a3825f318dcbbf653a5 | [
"MIT"
] | null | null | null | #!/python3
#encypt by WGIS
import marshal
exec(marshal.loads('''c\x00\x00\x00\x00\x00\x00\x00\x00\x1f\x00\x00\x00@\x00\x00\x00s\xb4\x03\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x01\x00Z\x01\x00d\x02\x00Z\x02\x00d\x03\x00Z\x03\x00d\x04\x00Z\x04\x00d\x05\x00Z\x05\x00d\x06\x00e\x02\x00e\x03\x00f\x02... | 1,086.6 | 5,389 | 0.742315 | 1,174 | 5,433 | 3.391823 | 0.142249 | 0.143144 | 0.127072 | 0.10899 | 0.617027 | 0.593169 | 0.559769 | 0.54445 | 0.520844 | 0.432446 | 0 | 0.339309 | 0.014357 | 5,433 | 4 | 5,390 | 1,358.25 | 0.404295 | 0.004233 | 0 | 0 | 0 | 0.5 | 0.991494 | 0.829512 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
ed33b5719e4ddc712f879e8f5df1f32866885f13 | 15,205 | py | Python | sdk/python/pulumi_aws/glue/trigger.py | JakeGinnivan/pulumi-aws | c91ef78932964ac74eda7f5da81f65b0f1798c93 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/glue/trigger.py | JakeGinnivan/pulumi-aws | c91ef78932964ac74eda7f5da81f65b0f1798c93 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/glue/trigger.py | JakeGinnivan/pulumi-aws | c91ef78932964ac74eda7f5da81f65b0f1798c93 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Trigge... | 53.727915 | 250 | 0.643473 | 1,867 | 15,205 | 5.108731 | 0.124264 | 0.047285 | 0.039631 | 0.016356 | 0.806563 | 0.792619 | 0.782554 | 0.766408 | 0.746278 | 0.746278 | 0 | 0.000965 | 0.250444 | 15,205 | 282 | 251 | 53.91844 | 0.835922 | 0.538112 | 0 | 0.027778 | 1 | 0 | 0.141149 | 0.006999 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.013889 | 0.083333 | 0.027778 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ed6a24f392ac6cea024b410e1255cd8d3d5e4ca3 | 311 | py | Python | textworld/envs/wrappers/__init__.py | CORGI-lab/Learning_from_stories | 183791971272fd919822ab43fc11369d9098fc69 | [
"MIT"
] | null | null | null | textworld/envs/wrappers/__init__.py | CORGI-lab/Learning_from_stories | 183791971272fd919822ab43fc11369d9098fc69 | [
"MIT"
] | null | null | null | textworld/envs/wrappers/__init__.py | CORGI-lab/Learning_from_stories | 183791971272fd919822ab43fc11369d9098fc69 | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license.
from textworld.envs.wrappers.viewer import HtmlViewer
from textworld.envs.wrappers.recorder import Recorder
from textworld.envs.wrappers.filter import Filter
from textworld.envs.wrappers.tw_inform7 import TWInform7
| 34.555556 | 59 | 0.836013 | 41 | 311 | 6.317073 | 0.585366 | 0.200772 | 0.262548 | 0.3861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007168 | 0.102894 | 311 | 8 | 60 | 38.875 | 0.921147 | 0.286174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9c5de8adca73df0b1d8151439053aefa9d018a87 | 34,711 | py | Python | tests/google/test_service_accounts.py | ADParedes/fence | 81afd1914c483da5514d0bcc13ecbfda9758dd9f | [
"Apache-2.0"
] | null | null | null | tests/google/test_service_accounts.py | ADParedes/fence | 81afd1914c483da5514d0bcc13ecbfda9758dd9f | [
"Apache-2.0"
] | 1 | 2019-11-01T08:30:28.000Z | 2019-11-01T08:30:28.000Z | tests/google/test_service_accounts.py | ADParedes/fence | 81afd1914c483da5514d0bcc13ecbfda9758dd9f | [
"Apache-2.0"
] | 3 | 2019-10-16T04:27:54.000Z | 2019-10-24T02:27:52.000Z | """
Tests for the /google/service_accounts endpoints.
NOTE: You can use the following helper assert functions when developing more
tests:
_assert_expected_service_account_response_structure(data)
- Verifies that the structure of the response represents a service
account
- ... | 32.963913 | 90 | 0.70047 | 4,051 | 34,711 | 5.611701 | 0.067884 | 0.122553 | 0.028373 | 0.043989 | 0.885277 | 0.853517 | 0.829323 | 0.813047 | 0.797563 | 0.781727 | 0 | 0.009023 | 0.20178 | 34,711 | 1,052 | 91 | 32.995247 | 0.811456 | 0.13768 | 0 | 0.760929 | 0 | 0 | 0.169977 | 0.069527 | 0 | 0 | 0 | 0 | 0.122951 | 1 | 0.031421 | false | 0 | 0.012295 | 0 | 0.043716 | 0.001366 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9c640b07c99a6dd642a4d4e997e555fffcde3b36 | 12,460 | py | Python | cosmpy/protos/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py | evsmithx/cosmpy | 7dfc81528b287f90190d6d4387942340f8ab88cf | [
"Apache-2.0"
] | 15 | 2021-09-08T05:27:14.000Z | 2022-03-29T06:48:08.000Z | cosmpy/protos/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py | evsmithx/cosmpy | 7dfc81528b287f90190d6d4387942340f8ab88cf | [
"Apache-2.0"
] | 39 | 2021-08-19T20:09:35.000Z | 2022-03-22T19:51:59.000Z | cosmpy/protos/cosmos/base/tendermint/v1beta1/query_pb2_grpc.py | evsmithx/cosmpy | 7dfc81528b287f90190d6d4387942340f8ab88cf | [
"Apache-2.0"
] | 5 | 2021-11-02T16:23:48.000Z | 2022-01-20T22:30:05.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from cosmos.base.tendermint.v1beta1 import query_pb2 as cosmos_dot_base_dot_tendermint_dot_v1beta1_dot_query__pb2
class ServiceStub(object):
"""Service def... | 51.701245 | 148 | 0.71252 | 1,187 | 12,460 | 7.049705 | 0.100253 | 0.036329 | 0.057481 | 0.070746 | 0.83162 | 0.827557 | 0.804852 | 0.777605 | 0.741037 | 0.741037 | 0 | 0.014473 | 0.223676 | 12,460 | 240 | 149 | 51.916667 | 0.850615 | 0.06236 | 0 | 0.5 | 1 | 0 | 0.093009 | 0.064822 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072917 | false | 0 | 0.010417 | 0.03125 | 0.130208 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9c6e0fa0c7dc2d5f178e7149da0108da67416876 | 129,351 | py | Python | bankManage/backEndService/summary.py | ShangziXue/A-simple-bank-system | 8d08ae8cfd159286a329da7c35ebc4ca77b2fe6d | [
"MIT"
] | null | null | null | bankManage/backEndService/summary.py | ShangziXue/A-simple-bank-system | 8d08ae8cfd159286a329da7c35ebc4ca77b2fe6d | [
"MIT"
] | null | null | null | bankManage/backEndService/summary.py | ShangziXue/A-simple-bank-system | 8d08ae8cfd159286a329da7c35ebc4ca77b2fe6d | [
"MIT"
] | null | null | null | from flask import Flask
from flask import request
from flask import jsonify
from flask import make_response
from flask_cors import *
import json
import time
import cx_Oracle
import os,sys
import math
from matplotlib import font_manager as fm
import matplotlib as mpl
import matplotlib.pyplot as plt
import pandas as pd... | 49.597776 | 158 | 0.412351 | 10,483 | 129,351 | 4.796719 | 0.026328 | 0.042658 | 0.032018 | 0.060138 | 0.965715 | 0.944774 | 0.939921 | 0.93314 | 0.925642 | 0.918403 | 0 | 0.013217 | 0.477685 | 129,351 | 2,607 | 159 | 49.616801 | 0.730914 | 0.085434 | 0 | 0.823018 | 0 | 0 | 0.319017 | 0.080413 | 0 | 0 | 0 | 0.000384 | 0 | 1 | 0.003257 | false | 0 | 0.008686 | 0.000543 | 0.035831 | 0.046688 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
92dff9b06bd13c4f727be4df42ef9580193cceb5 | 4,250 | py | Python | tests/generator/test_generator_types.py | grayfallstown/covid-blockchain | 194d5351c70d3ee5d928f767e21c7894cfbb59a7 | [
"Apache-2.0"
] | 14 | 2021-07-28T09:56:07.000Z | 2022-02-09T04:28:14.000Z | tests/generator/test_generator_types.py | grayfallstown/covid-blockchain | 194d5351c70d3ee5d928f767e21c7894cfbb59a7 | [
"Apache-2.0"
] | 23 | 2021-07-28T10:16:56.000Z | 2022-03-26T10:43:53.000Z | tests/generator/test_generator_types.py | grayfallstown/covid-blockchain | 194d5351c70d3ee5d928f767e21c7894cfbb59a7 | [
"Apache-2.0"
] | 9 | 2021-07-28T02:41:24.000Z | 2022-03-15T08:32:49.000Z | from typing import Dict
from unittest import TestCase
from covid.types.blockchain_format.program import Program, SerializedProgram
from covid.types.generator_types import GeneratorBlockCacheInterface
from covid.full_node.generator import create_block_generator, create_generator_args
from covid.util.ints import uint32
... | 69.672131 | 804 | 0.866118 | 237 | 4,250 | 15.274262 | 0.308017 | 0.01547 | 0.019337 | 0.01768 | 0.744751 | 0.733702 | 0.733702 | 0.047514 | 0.047514 | 0.047514 | 0 | 0.343264 | 0.091765 | 4,250 | 60 | 805 | 70.833333 | 0.59456 | 0.119529 | 0 | 0.157895 | 0 | 0 | 0.632511 | 0.632511 | 0 | 1 | 0 | 0.016667 | 0.026316 | 1 | 0.105263 | false | 0 | 0.157895 | 0.026316 | 0.342105 | 0.052632 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
135e068202aa307c1a7095066d694be6c97c2d4e | 19,782 | py | Python | tests/test_implementations/test_sqlalchemy/api_test/test_delete_many_api.py | aebrahim/FastAPIQuickCRUD | 5c4d1bea2203c30eb21557f18bf9016b55fffa60 | [
"MIT"
] | 123 | 2021-08-17T01:54:12.000Z | 2022-03-29T20:41:56.000Z | tests/test_implementations/test_sqlalchemy/api_test/test_delete_many_api.py | aebrahim/FastAPIQuickCRUD | 5c4d1bea2203c30eb21557f18bf9016b55fffa60 | [
"MIT"
] | 10 | 2021-12-28T21:34:20.000Z | 2022-03-16T13:31:24.000Z | tests/test_implementations/test_sqlalchemy/api_test/test_delete_many_api.py | aebrahim/FastAPIQuickCRUD | 5c4d1bea2203c30eb21557f18bf9016b55fffa60 | [
"MIT"
] | 10 | 2021-08-17T07:37:36.000Z | 2022-03-31T13:16:55.000Z | import json
from collections import OrderedDict
from starlette.testclient import TestClient
from src.fastapi_quickcrud import sqlalchemy_to_pydantic
from src.fastapi_quickcrud.crud_router import crud_router_builder
from src.fastapi_quickcrud.misc.type import CrudMethods
from tests.test_implementations.test_sqlalchemy.... | 52.752 | 138 | 0.579769 | 2,194 | 19,782 | 4.709207 | 0.080675 | 0.041812 | 0.025552 | 0.030197 | 0.913376 | 0.89005 | 0.879597 | 0.865079 | 0.857433 | 0.843399 | 0 | 0.08069 | 0.302093 | 19,782 | 374 | 139 | 52.893048 | 0.667681 | 0.243909 | 0 | 0.766234 | 0 | 0 | 0.358135 | 0.115379 | 0 | 0 | 0 | 0.002674 | 0.021645 | 1 | 0.008658 | false | 0 | 0.038961 | 0 | 0.047619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b927b629b68e7a8fba10bb4c8df026b9bb3256b5 | 109 | py | Python | test/test_dask.py | xpdAcq/streamz_ext | 9c3b41fdcca3dc7deea6d3f5523fee315af71211 | [
"BSD-3-Clause"
] | 1 | 2018-10-02T02:37:19.000Z | 2018-10-02T02:37:19.000Z | test/test_dask.py | xpdAcq/streamz_ext | 9c3b41fdcca3dc7deea6d3f5523fee315af71211 | [
"BSD-3-Clause"
] | 31 | 2018-01-17T15:54:32.000Z | 2018-10-24T17:11:28.000Z | test/test_dask.py | xpdAcq/streamz_ext | 9c3b41fdcca3dc7deea6d3f5523fee315af71211 | [
"BSD-3-Clause"
] | 4 | 2018-01-16T19:27:49.000Z | 2018-08-20T08:58:06.000Z | from streamz_ext.dask import *
try:
from zstreamz.tests.test_dask import *
except ImportError:
pass
| 15.571429 | 42 | 0.743119 | 15 | 109 | 5.266667 | 0.8 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192661 | 109 | 6 | 43 | 18.166667 | 0.897727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
b97ee0d4e1d6bbf563e9bcf4d1a8ceca18f7d4ec | 163 | py | Python | image_embedding/__init__.py | newTypeGeek/face-recognition | 235cf4aaf60ba3504b0e73dbab5f9dc4c7cc3dbd | [
"Apache-2.0"
] | 5 | 2020-02-10T04:38:40.000Z | 2021-09-01T18:50:18.000Z | image_embedding/__init__.py | newTypeGeek/face-recognition | 235cf4aaf60ba3504b0e73dbab5f9dc4c7cc3dbd | [
"Apache-2.0"
] | 1 | 2020-06-11T18:26:38.000Z | 2020-06-11T18:26:38.000Z | image_embedding/__init__.py | newTypeGeek/face-recognition | 235cf4aaf60ba3504b0e73dbab5f9dc4c7cc3dbd | [
"Apache-2.0"
] | 3 | 2019-06-24T12:30:12.000Z | 2020-02-10T04:39:59.000Z | import image_embedding.gen_vec_start as gen_vec_start
import image_embedding.gen_vec_start as gen_vec_register
import image_embedding.gen_vec_start as gen_vec_add
| 40.75 | 56 | 0.907975 | 30 | 163 | 4.433333 | 0.3 | 0.270677 | 0.330827 | 0.518797 | 0.879699 | 0.879699 | 0.879699 | 0.879699 | 0.879699 | 0 | 0 | 0 | 0.07362 | 163 | 3 | 57 | 54.333333 | 0.880795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 12 |
b9888d59363084951d8e976657780d58aa863105 | 21,696 | py | Python | motionAE/src/models.py | meaten/MotionAug | ac7d5fa3e5ade1dffca8db50c1281e9a4a747b62 | [
"MIT"
] | 24 | 2022-03-18T08:03:11.000Z | 2022-03-30T05:11:26.000Z | motionAE/src/models.py | meaten/MotionAug | ac7d5fa3e5ade1dffca8db50c1281e9a4a747b62 | [
"MIT"
] | 1 | 2022-03-28T06:39:46.000Z | 2022-03-29T03:40:01.000Z | motionAE/src/models.py | meaten/MotionAug | ac7d5fa3e5ade1dffca8db50c1281e9a4a747b62 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
torch.manual_seed(1)
class lstmEncoder_wo_Norm(nn.Module):
def __init__(self, input_len, dim, dim_z, dropout=0.0):
super(lstmEncoder_wo_Norm, self).__init__()
self.input_len = input_len
self.dim = dim
self.dim_z = dim_z
s... | 30.730878 | 105 | 0.547198 | 2,752 | 21,696 | 4.03561 | 0.042151 | 0.053665 | 0.072033 | 0.084999 | 0.928777 | 0.915181 | 0.899604 | 0.867819 | 0.865208 | 0.860886 | 0 | 0.012239 | 0.344718 | 21,696 | 705 | 106 | 30.774468 | 0.768939 | 0.010647 | 0 | 0.746562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08055 | false | 0 | 0.003929 | 0 | 0.165029 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b9b9d49a10df03c67b767356dd971e1272708fc6 | 689 | py | Python | code2/day03/demo02.py | picktsh/python | 0f758dcdf9eee3580d8f6e2241ef557b6320ef54 | [
"MIT"
] | 1 | 2019-12-31T16:44:06.000Z | 2019-12-31T16:44:06.000Z | code2/day03/demo02.py | picktsh/python | 0f758dcdf9eee3580d8f6e2241ef557b6320ef54 | [
"MIT"
] | null | null | null | code2/day03/demo02.py | picktsh/python | 0f758dcdf9eee3580d8f6e2241ef557b6320ef54 | [
"MIT"
] | 1 | 2022-01-13T10:32:22.000Z | 2022-01-13T10:32:22.000Z | """
课堂练习
续写下方代码,使用find_all()语法查找最小父级标签,并把查找的结果打印出来。
不懂做?点击下面的“需要帮助”。
"""
# 引用requests库
import requests
# 引用BeautifulSoup库
from bs4 import BeautifulSoup
# 获取数据
res_foods = requests.get('http://www.xiachufang.com/explore/')
# 解析数据
bs_foods = BeautifulSoup(res_foods.text, 'html.parser')
info = bs_foods.find_all("div", c... | 19.685714 | 62 | 0.751814 | 93 | 689 | 5.408602 | 0.451613 | 0.063618 | 0.099404 | 0.163022 | 0.771372 | 0.771372 | 0.771372 | 0.771372 | 0.771372 | 0.648111 | 0 | 0.003231 | 0.101597 | 689 | 34 | 63 | 20.264706 | 0.80937 | 0.235123 | 0 | 0.666667 | 0 | 0 | 0.241309 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 7 |
6a422b834c2af6209f507d521976c17d66cffe6d | 57,781 | py | Python | v6.0.5/vpn_ipsec/test_fortios_vpn_ipsec_phase1_interface.py | fortinet-solutions-cse/ansible_fgt_modules | c45fba49258d7c9705e7a8fd9c2a09ea4c8a4719 | [
"Apache-2.0"
] | 14 | 2018-09-25T20:35:25.000Z | 2021-07-14T04:30:54.000Z | v6.0.5/vpn_ipsec/test_fortios_vpn_ipsec_phase1_interface.py | fortinet-solutions-cse/ansible_fgt_modules | c45fba49258d7c9705e7a8fd9c2a09ea4c8a4719 | [
"Apache-2.0"
] | 32 | 2018-10-09T04:13:42.000Z | 2020-05-11T07:20:28.000Z | v6.0.5/vpn_ipsec/test_fortios_vpn_ipsec_phase1_interface.py | fortinet-solutions-cse/ansible_fgt_modules | c45fba49258d7c9705e7a8fd9c2a09ea4c8a4719 | [
"Apache-2.0"
] | 11 | 2018-10-09T00:14:53.000Z | 2021-11-03T10:54:09.000Z | # Copyright 2019 Fortinet, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the... | 40.690845 | 142 | 0.543241 | 5,850 | 57,781 | 4.991453 | 0.063932 | 0.160274 | 0.016438 | 0.020479 | 0.966301 | 0.963356 | 0.959075 | 0.9575 | 0.9575 | 0.9575 | 0 | 0.047297 | 0.305498 | 57,781 | 1,419 | 143 | 40.719521 | 0.680356 | 0.011492 | 0 | 0.971997 | 0 | 0 | 0.499869 | 0.073536 | 0 | 0 | 0 | 0 | 0.026529 | 1 | 0.005158 | false | 0.022108 | 0.005895 | 0 | 0.011791 | 0.000737 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e04f3c12d804183e7146f65281d0c9691c84e65f | 6,483 | py | Python | src/Fig_2_supplement_3_Linear_networks_SSN_NTA.py | fmi-basel/gzenke-nonlinear-transient-amplification | f3b0c8c89b42c34f1aad740c7026865cf3164f1d | [
"MIT"
] | null | null | null | src/Fig_2_supplement_3_Linear_networks_SSN_NTA.py | fmi-basel/gzenke-nonlinear-transient-amplification | f3b0c8c89b42c34f1aad740c7026865cf3164f1d | [
"MIT"
] | 3 | 2021-12-16T10:15:10.000Z | 2021-12-16T12:54:24.000Z | src/Fig_2_supplement_3_Linear_networks_SSN_NTA.py | fmi-basel/gzenke-nonlinear-transient-amplification | f3b0c8c89b42c34f1aad740c7026865cf3164f1d | [
"MIT"
] | 1 | 2021-12-16T10:02:43.000Z | 2021-12-16T10:02:43.000Z | import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
from matplotlib import patches
import matplotlib.patches as mpatches
import scipy.io as sio
# plotting configuration
ratio = 1.5
figure_len, figure_width = 15*ratio, 12*ratio
font_size_1, font_size_2 = 36*ratio, 36*ratio
legend_size = 18*ratio
li... | 25.72619 | 106 | 0.641832 | 1,305 | 6,483 | 2.922605 | 0.111877 | 0.024646 | 0.037756 | 0.012585 | 0.907708 | 0.898532 | 0.891453 | 0.891453 | 0.891453 | 0.856843 | 0 | 0.067937 | 0.182632 | 6,483 | 252 | 107 | 25.72619 | 0.651821 | 0.045349 | 0 | 0.860335 | 0 | 0 | 0.099498 | 0.046346 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03352 | 0 | 0.03352 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0eba4221dffaf7a551a55fe9039a2ff394a5f1fa | 110 | py | Python | ROHIT KUMAR/address.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | 4 | 2022-03-20T10:59:53.000Z | 2022-03-25T18:28:04.000Z | ROHIT KUMAR/address.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | null | null | null | ROHIT KUMAR/address.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | 15 | 2022-03-12T11:49:10.000Z | 2022-03-15T06:22:55.000Z | print("address\nvillage=rajwada\npost office =rajwada\npolice station=sonbarsa\ndist.=sitamarhi\npin=843330")
| 55 | 109 | 0.827273 | 14 | 110 | 6.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.036364 | 110 | 1 | 110 | 110 | 0.801887 | 0 | 0 | 0 | 0 | 1 | 0.909091 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
0ef3c7f60ac42a3fafe796541cf8caf0b0dfa70b | 18,117 | py | Python | typingtester/accounts/tests.py | AmirMohammad2003/TypingWebsite | 4f45e88dfdd35666c0028fc53d22197014505226 | [
"MIT"
] | 2 | 2022-01-23T10:04:19.000Z | 2022-01-23T10:21:45.000Z | typingtester/accounts/tests.py | AmirMohammad2003/TypingWebsite | 4f45e88dfdd35666c0028fc53d22197014505226 | [
"MIT"
] | null | null | null | typingtester/accounts/tests.py | AmirMohammad2003/TypingWebsite | 4f45e88dfdd35666c0028fc53d22197014505226 | [
"MIT"
] | null | null | null | """accounts.tests
Test Cases Defined for Accounts Application
"""
import json
from django.core import mail
from django.test import TestCase
from django.contrib.auth import get_user_model
from django.utils.http import urlsafe_base64_encode
class LoginAndLogoutTestCases(TestCase):
"""Login and Logout Test Cases""... | 38.302326 | 78 | 0.610421 | 2,008 | 18,117 | 5.360558 | 0.080179 | 0.108696 | 0.046823 | 0.060201 | 0.831289 | 0.787904 | 0.77081 | 0.744705 | 0.726496 | 0.698439 | 0 | 0.013459 | 0.257714 | 18,117 | 472 | 79 | 38.383475 | 0.786957 | 0.106199 | 0 | 0.68232 | 0 | 0 | 0.142875 | 0.01621 | 0 | 0 | 0 | 0 | 0.218232 | 1 | 0.10221 | false | 0.171271 | 0.013812 | 0 | 0.138122 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
0efa1cb084ddaf2c2a94721470d81904f8055037 | 76,176 | py | Python | pypy/rlib/parsing/regexparse.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | 1 | 2019-05-27T00:58:46.000Z | 2019-05-27T00:58:46.000Z | pypy/rlib/parsing/regexparse.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | null | null | null | pypy/rlib/parsing/regexparse.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | null | null | null | import py
from pypy.rlib.parsing.parsing import PackratParser, Rule
from pypy.rlib.parsing.tree import Nonterminal
from pypy.rlib.parsing.regex import StringExpression, RangeExpression
from pypy.rlib.parsing.lexer import Lexer, DummyLexer
from pypy.rlib.parsing.deterministic import compress_char_set, DFA
import string
... | 37.993017 | 223 | 0.485717 | 6,729 | 76,176 | 5.074454 | 0.042057 | 0.049816 | 0.039214 | 0.055409 | 0.863146 | 0.856352 | 0.841709 | 0.822 | 0.815 | 0.802202 | 0 | 0.014072 | 0.430936 | 76,176 | 2,004 | 224 | 38.011976 | 0.773628 | 0.008349 | 0 | 0.776365 | 0 | 0.005299 | 0.055201 | 0.010419 | 0 | 0 | 0.000053 | 0 | 0.006889 | 0 | null | null | 0 | 0.009009 | null | null | 0.00053 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
162277c9245c28e0a476f2ea41f453d2b3f62eef | 2,005 | py | Python | python/videoFrameAnalyse.py | bodhisatan/video_codec_evaluation | ad0560de0dd02732d1a0b7a24da988dfca9f5757 | [
"Apache-2.0"
] | 1 | 2021-06-18T01:57:56.000Z | 2021-06-18T01:57:56.000Z | python/videoFrameAnalyse.py | bodhisatan/video_codec_evaluation | ad0560de0dd02732d1a0b7a24da988dfca9f5757 | [
"Apache-2.0"
] | null | null | null | python/videoFrameAnalyse.py | bodhisatan/video_codec_evaluation | ad0560de0dd02732d1a0b7a24da988dfca9f5757 | [
"Apache-2.0"
] | 1 | 2020-09-01T02:55:27.000Z | 2020-09-01T02:55:27.000Z | s=[1, 1, 2, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,... | 182.272727 | 1,895 | 0.338653 | 657 | 2,005 | 1.033486 | 0.021309 | 1.083947 | 1.608247 | 2.126657 | 0.920471 | 0.920471 | 0.920471 | 0.920471 | 0.920471 | 0.920471 | 0 | 0.471025 | 0.328678 | 2,005 | 10 | 1,896 | 200.5 | 0.033432 | 0 | 0 | 0 | 0 | 0 | 0.007481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
166b938a39e3a0a9c0229f347e1c2c2558a28529 | 54,156 | py | Python | integrators/integrator.py | sadielbartholomew/qgs | 1efe460a91fd0d8a3318d6c9156a56621b004151 | [
"MIT"
] | null | null | null | integrators/integrator.py | sadielbartholomew/qgs | 1efe460a91fd0d8a3318d6c9156a56621b004151 | [
"MIT"
] | null | null | null | integrators/integrator.py | sadielbartholomew/qgs | 1efe460a91fd0d8a3318d6c9156a56621b004151 | [
"MIT"
] | null | null | null |
"""
Integrator module
=================
Module with the classes of integrators to multi-thread the integration of
an ordinary differential equations
.. math:: \dot{\\boldsymbol{x}} = \\boldsymbol{f}(t, \\boldsymbol{x})
of the model and its linearized version.
Module classes
--------... | 41.340458 | 224 | 0.585272 | 7,124 | 54,156 | 4.334082 | 0.056148 | 0.015222 | 0.022801 | 0.015546 | 0.892732 | 0.868312 | 0.852539 | 0.845284 | 0.833269 | 0.825917 | 0 | 0.013537 | 0.30161 | 54,156 | 1,309 | 225 | 41.37204 | 0.802813 | 0.507608 | 0 | 0.730909 | 0 | 0 | 0.007037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056364 | false | 0 | 0.012727 | 0.007273 | 0.112727 | 0.007273 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1691db90f2766019b98b43b0c672eb39be9705bf | 7,266 | py | Python | dfirtrack_main/tests/domain/test_domain_views.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | 4 | 2020-03-06T17:37:09.000Z | 2020-03-17T07:50:55.000Z | dfirtrack_main/tests/domain/test_domain_views.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | null | null | null | dfirtrack_main/tests/domain/test_domain_views.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | 1 | 2020-03-06T20:54:52.000Z | 2020-03-06T20:54:52.000Z | from django.contrib.auth.models import User
from django.test import TestCase
from dfirtrack_main.models import Domain
import urllib.parse
class DomainViewTestCase(TestCase):
""" domain view tests """
@classmethod
def setUpTestData(cls):
# create object
Domain.objects.create(domain_name='d... | 37.84375 | 117 | 0.645747 | 809 | 7,266 | 5.60445 | 0.080346 | 0.061756 | 0.05161 | 0.081165 | 0.905382 | 0.874283 | 0.862153 | 0.853772 | 0.788266 | 0.780326 | 0 | 0.018273 | 0.231764 | 7,266 | 191 | 118 | 38.041885 | 0.793981 | 0.131159 | 0 | 0.54321 | 0 | 0 | 0.169348 | 0.025516 | 0 | 0 | 0 | 0 | 0.197531 | 1 | 0.209877 | false | 0.160494 | 0.049383 | 0 | 0.271605 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
bca7648bb5abba00f5783b0b88a01388e80e830a | 24,382 | py | Python | FnB_LSTM.py | biolib/deepclip | 06e0a3c431db76745b6674afabc4d171f19b3eb0 | [
"MIT"
] | 7 | 2019-07-23T10:20:11.000Z | 2022-03-14T14:46:13.000Z | FnB_LSTM.py | biolib/deepclip | 06e0a3c431db76745b6674afabc4d171f19b3eb0 | [
"MIT"
] | 10 | 2019-09-05T22:45:04.000Z | 2022-03-21T08:40:49.000Z | FnB_LSTM.py | biolib/deepclip | 06e0a3c431db76745b6674afabc4d171f19b3eb0 | [
"MIT"
] | 5 | 2019-07-23T10:20:46.000Z | 2021-11-14T07:18:05.000Z | # -*- coding: utf-8 -*-
import lasagne
def FnB_LSTM(inp_forw, inp_backw, N_LSTM, DROPOUT_LSTM, GRAD_CLIP, forget_b, ing=0.0, cellg=0.0, outg=0., learn_init=False, peepholes=False):
l_forward_1 = lasagne.layers.LSTMLayer(
inp_forw,
N_LSTM,
ingate=lasagne.layers.Gate(
W_in=lasa... | 35.750733 | 149 | 0.596013 | 2,835 | 24,382 | 4.960141 | 0.021869 | 0.18774 | 0.106386 | 0.112644 | 0.993458 | 0.993458 | 0.993458 | 0.993458 | 0.993458 | 0.993458 | 0 | 0.018 | 0.291362 | 24,382 | 681 | 150 | 35.803231 | 0.795868 | 0.001353 | 0 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0128 | false | 0 | 0.0016 | 0 | 0.0272 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bcb2ddaefeedb11317b272826c74ebb4d9351af0 | 44,403 | py | Python | pycaret/internal/tunable.py | AIIP-DEV/pycaret | 0e09cd065f5927f120d7c8a9356f95974bfaea01 | [
"MIT"
] | 1 | 2021-04-22T23:39:46.000Z | 2021-04-22T23:39:46.000Z | pycaret/internal/tunable.py | AIIP-DEV/pycaret | 0e09cd065f5927f120d7c8a9356f95974bfaea01 | [
"MIT"
] | null | null | null | pycaret/internal/tunable.py | AIIP-DEV/pycaret | 0e09cd065f5927f120d7c8a9356f95974bfaea01 | [
"MIT"
] | 1 | 2021-01-14T07:47:59.000Z | 2021-01-14T07:47:59.000Z | # Module: internal.tunable
# Author: Antoni Baum (Yard1) <antoni.baum@protonmail.com>
# License: MIT
# Provides a VotingClassifier which weights can be tuned.
from sklearn.ensemble import VotingClassifier, VotingRegressor
from sklearn.neural_network import MLPClassifier, MLPRegressor
try:
from collections.abc im... | 36.515625 | 97 | 0.614395 | 5,549 | 44,403 | 4.769868 | 0.113174 | 0.047378 | 0.038688 | 0.033248 | 0.882802 | 0.873016 | 0.862022 | 0.859906 | 0.855901 | 0.853975 | 0 | 0.017075 | 0.298313 | 44,403 | 1,215 | 98 | 36.545679 | 0.832429 | 0.631241 | 0 | 0.903134 | 0 | 0 | 0.03923 | 0.015782 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068376 | false | 0.011396 | 0.011396 | 0.005698 | 0.125356 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4c335a075081c7f5e7cee274ed8b013fd35838bd | 41 | py | Python | code/sample_4-3-18.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/sample_4-3-18.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/sample_4-3-18.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | x = [1, 2, 3, 4, 3, 5]
print(x.count(3))
| 13.666667 | 22 | 0.463415 | 11 | 41 | 1.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 0.219512 | 41 | 2 | 23 | 20.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
4c4462f40e3c1f9a11b3f298d2c8a95797a3fb50 | 6,102 | py | Python | tests/resources/test_transformation_request.py | zorache/ServiceX_App | 4479afa0f019bbdcd35812691e78abba442c9d37 | [
"BSD-3-Clause"
] | null | null | null | tests/resources/test_transformation_request.py | zorache/ServiceX_App | 4479afa0f019bbdcd35812691e78abba442c9d37 | [
"BSD-3-Clause"
] | null | null | null | tests/resources/test_transformation_request.py | zorache/ServiceX_App | 4479afa0f019bbdcd35812691e78abba442c9d37 | [
"BSD-3-Clause"
] | null | null | null | from tests.resource_test_base import ResourceTestBase
class TestTransformationRequest(ResourceTestBase):
def test_get_single_request_no_object_store(self, mocker):
import servicex
mock_transform_request_read = mocker.patch.object(
servicex.models.TransformRequest,
'return_... | 50.85 | 99 | 0.511308 | 540 | 6,102 | 5.509259 | 0.209259 | 0.091429 | 0.053782 | 0.064538 | 0.861513 | 0.853782 | 0.794958 | 0.794958 | 0.74521 | 0.74521 | 0 | 0.037057 | 0.380859 | 6,102 | 119 | 100 | 51.277311 | 0.750397 | 0 | 0 | 0.728972 | 0 | 0 | 0.259915 | 0.052933 | 0 | 0 | 0 | 0 | 0.102804 | 1 | 0.037383 | false | 0 | 0.046729 | 0 | 0.093458 | 0.009346 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4c5bb0100771f81a5ee451b7a22e4f2485a69c57 | 2,657 | py | Python | bvspca/core/migrations/0034_auto_20180412_1059.py | rds0751/bvspca | f80eb90938f9db81d5c72a25aaa98869bbd6663a | [
"MIT"
] | 10 | 2019-02-25T07:06:09.000Z | 2022-03-23T08:12:06.000Z | bvspca/core/migrations/0034_auto_20180412_1059.py | rds0751/bvspca | f80eb90938f9db81d5c72a25aaa98869bbd6663a | [
"MIT"
] | 18 | 2021-03-08T18:38:04.000Z | 2021-08-20T14:16:37.000Z | bvspca/core/migrations/0034_auto_20180412_1059.py | rds0751/bvspca | f80eb90938f9db81d5c72a25aaa98869bbd6663a | [
"MIT"
] | 3 | 2019-01-29T05:14:22.000Z | 2021-02-18T11:58:34.000Z | # Generated by Django 2.0.4 on 2018-04-12 16:59
from django.db import migrations
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks
class Migration(migrations.Migration):
dependencies = [
('core', '0033_auto_20180403_1426'),
]
operations = [
migrations.Al... | 83.03125 | 671 | 0.717727 | 328 | 2,657 | 5.713415 | 0.207317 | 0.152615 | 0.199573 | 0.208111 | 0.877268 | 0.877268 | 0.85539 | 0.85539 | 0.85539 | 0.85539 | 0 | 0.036278 | 0.118178 | 2,657 | 31 | 672 | 85.709677 | 0.763551 | 0.016936 | 0 | 0.48 | 1 | 0 | 0.137931 | 0.008812 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.16 | 0 | 0.28 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4c68b2aa431206eaadff8f0a127bacbd657080e2 | 32,492 | py | Python | gsd/test/test_fl.py | mgorny/gsd | 4c544c412f1a65a8800e8169af044d32201bd985 | [
"BSD-2-Clause"
] | 2 | 2016-06-05T20:24:19.000Z | 2018-12-06T02:05:37.000Z | gsd/test/test_fl.py | mgorny/gsd | 4c544c412f1a65a8800e8169af044d32201bd985 | [
"BSD-2-Clause"
] | null | null | null | gsd/test/test_fl.py | mgorny/gsd | 4c544c412f1a65a8800e8169af044d32201bd985 | [
"BSD-2-Clause"
] | 1 | 2016-11-30T04:13:55.000Z | 2016-11-30T04:13:55.000Z | # Copyright (c) 2016-2021 The Regents of the University of Michigan
# This file is part of the General Simulation Data (GSD) project, released under
# the BSD 2-Clause License.
"""Test gsd.fl."""
import gsd.fl
import gsd.pygsd
import numpy
import platform
import pytest
import random
import pathlib
import os
import sh... | 36.344519 | 80 | 0.554813 | 4,231 | 32,492 | 4.082486 | 0.05507 | 0.032015 | 0.040757 | 0.041684 | 0.866497 | 0.851329 | 0.833266 | 0.806635 | 0.800903 | 0.779714 | 0 | 0.031695 | 0.325126 | 32,492 | 893 | 81 | 36.385218 | 0.75602 | 0.072264 | 0 | 0.812779 | 0 | 0 | 0.084728 | 0.012299 | 0 | 0 | 0 | 0 | 0.169391 | 1 | 0.034175 | false | 0.001486 | 0.013373 | 0 | 0.047548 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d5bea47e3ac02072464e6013f83e0960d9dcd6df | 3,184 | py | Python | my_app/blog/migrations/0029_latestproduct_latestproductone_reviewproduct_reviewproductone_topproduct_topproductone.py | Faisal-Sey/official1 | 49af7a9fd60c980bd5d4ef7075a4c1f27ecc9642 | [
"MIT"
] | 1 | 2021-06-19T00:17:02.000Z | 2021-06-19T00:17:02.000Z | my_app/blog/migrations/0029_latestproduct_latestproductone_reviewproduct_reviewproductone_topproduct_topproductone.py | Faisal-Sey/official1 | 49af7a9fd60c980bd5d4ef7075a4c1f27ecc9642 | [
"MIT"
] | null | null | null | my_app/blog/migrations/0029_latestproduct_latestproductone_reviewproduct_reviewproductone_topproduct_topproductone.py | Faisal-Sey/official1 | 49af7a9fd60c980bd5d4ef7075a4c1f27ecc9642 | [
"MIT"
] | null | null | null | # Generated by Django 3.1 on 2020-09-17 09:35
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blog', '0028_delete_search'),
]
operations = [
migrations.CreateModel(
name='LatestProduct',
fields=[
... | 43.027027 | 114 | 0.551193 | 297 | 3,184 | 5.740741 | 0.191919 | 0.095015 | 0.087977 | 0.080938 | 0.854545 | 0.854545 | 0.854545 | 0.854545 | 0.854545 | 0.854545 | 0 | 0.029676 | 0.301508 | 3,184 | 73 | 115 | 43.616438 | 0.73696 | 0.013505 | 0 | 0.80597 | 1 | 0 | 0.099713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014925 | 0 | 0.059701 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
913d643d59688620838cc48a10903e3717d70381 | 13,039 | py | Python | targets/simple_linker/lswitch_runtime/LinkerSwitch.py | hksoni/p4bricks | 0b2f4a1cbfe94d8cbbe7e04716c1b418f5f73204 | [
"Apache-2.0"
] | 1 | 2021-02-18T15:43:04.000Z | 2021-02-18T15:43:04.000Z | targets/simple_linker/lswitch_runtime/LinkerSwitch.py | hksoni/p4bricks | 0b2f4a1cbfe94d8cbbe7e04716c1b418f5f73204 | [
"Apache-2.0"
] | null | null | null | targets/simple_linker/lswitch_runtime/LinkerSwitch.py | hksoni/p4bricks | 0b2f4a1cbfe94d8cbbe7e04716c1b418f5f73204 | [
"Apache-2.0"
] | null | null | null | #
# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
... | 30.607981 | 188 | 0.689087 | 1,584 | 13,039 | 5.347854 | 0.09154 | 0.044623 | 0.074371 | 0.044623 | 0.859403 | 0.813599 | 0.786684 | 0.745721 | 0.715736 | 0.710778 | 0 | 0.010201 | 0.203083 | 13,039 | 425 | 189 | 30.68 | 0.805024 | 0.032825 | 0 | 0.774295 | 1 | 0 | 0.040697 | 0.023599 | 0 | 0 | 0 | 0 | 0 | 1 | 0.141066 | false | 0.00627 | 0.018809 | 0.037618 | 0.30094 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e6840d77600abe9dfe913678260e998c4ccbcc23 | 35,401 | py | Python | test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py | Azure/autorest.python | c36f5c1a2d614a1eeba6fec6a2c02517f2d1cce7 | [
"MIT"
] | 35 | 2018-04-03T12:15:53.000Z | 2022-03-11T14:03:34.000Z | test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py | Azure/autorest.python | c36f5c1a2d614a1eeba6fec6a2c02517f2d1cce7 | [
"MIT"
] | 652 | 2017-08-28T22:44:41.000Z | 2022-03-31T21:20:31.000Z | test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/aio/operations/_http_success_operations.py | Azure/autorest.python | c36f5c1a2d614a1eeba6fec6a2c02517f2d1cce7 | [
"MIT"
] | 29 | 2017-08-28T20:57:01.000Z | 2022-03-11T14:03:38.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.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 41.994069 | 106 | 0.662608 | 3,996 | 35,401 | 5.686436 | 0.051051 | 0.051226 | 0.030102 | 0.02174 | 0.88329 | 0.878977 | 0.878977 | 0.878581 | 0.878581 | 0.878581 | 0 | 0.023366 | 0.237168 | 35,401 | 842 | 107 | 42.043943 | 0.818071 | 0.0524 | 0 | 0.721022 | 0 | 0 | 0.042177 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001965 | false | 0 | 0.021611 | 0 | 0.068762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e6d35dc2ef004be81b4ac49afc8fc1f957f0a704 | 8,774 | py | Python | integration/instance/test_launcher_basic.py | MalibuKoKo/longhorn-engine | b31b3f177ebaadb222f733073ca6015ad01ae3ef | [
"Apache-2.0"
] | null | null | null | integration/instance/test_launcher_basic.py | MalibuKoKo/longhorn-engine | b31b3f177ebaadb222f733073ca6015ad01ae3ef | [
"Apache-2.0"
] | null | null | null | integration/instance/test_launcher_basic.py | MalibuKoKo/longhorn-engine | b31b3f177ebaadb222f733073ca6015ad01ae3ef | [
"Apache-2.0"
] | null | null | null | import tempfile
from common import ( # NOQA
em_client, pm_client, # NOQA
create_replica_process, create_engine_process,
delete_engine_process, wait_for_process_running,
wait_for_process_deletion, wait_for_engine_deletion,
check_dev_existence, wait_for_dev_deletion,
SIZE, UPGRADE_LONGHORN_BIN... | 32.376384 | 77 | 0.640985 | 1,203 | 8,774 | 4.349127 | 0.064007 | 0.078364 | 0.050459 | 0.064985 | 0.862576 | 0.844419 | 0.819381 | 0.800268 | 0.781346 | 0.734327 | 0 | 0.006236 | 0.268977 | 8,774 | 270 | 78 | 32.496296 | 0.809479 | 0.007864 | 0 | 0.784314 | 0 | 0 | 0.010465 | 0 | 0 | 0 | 0 | 0 | 0.357843 | 1 | 0.019608 | false | 0 | 0.009804 | 0 | 0.029412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e6e25260920fe9938a61b4a9f72fbabbffc61eef | 40,741 | py | Python | scenarios/SinglePlayer/ColdWar/Interception.py | dhanin/friendly-bassoon | fafcfd3921805baddc1889dc0ee2fa367ad882f8 | [
"BSD-3-Clause"
] | 2 | 2021-11-17T10:59:38.000Z | 2021-11-17T10:59:45.000Z | scenarios/SinglePlayer/ColdWar/Interception.py | dhanin/nws | 87a3f24a7887d84b9884635064b48d456b4184e2 | [
"BSD-3-Clause"
] | null | null | null | scenarios/SinglePlayer/ColdWar/Interception.py | dhanin/nws | 87a3f24a7887d84b9884635064b48d456b4184e2 | [
"BSD-3-Clause"
] | null | null | null | # Created on 11/07/14 03:28:30
from math import *
from random import *
from UnitCommands import *
def CreateScenario(SM):
SM.SetScenarioDescription("""Interception\n\nA scenario for Global Conflicts 2.\n\nInterception is a typical Cold War scenario putting Norwegian subs\nagainst an approaching Soviet landing for... | 70.608319 | 2,211 | 0.635895 | 5,790 | 40,741 | 4.428152 | 0.099482 | 0.029213 | 0.062405 | 0.082375 | 0.815476 | 0.795819 | 0.762705 | 0.715278 | 0.705176 | 0.676508 | 0 | 0.154711 | 0.151052 | 40,741 | 576 | 2,212 | 70.730903 | 0.586579 | 0.005277 | 0 | 0.577603 | 0 | 0.033399 | 0.54178 | 0.020821 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001965 | false | 0.001965 | 0.005894 | 0 | 0.007859 | 0.013752 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e6ea7e33be54096ed67145dbfa9e6fb513955c4c | 39,341 | py | Python | jams/functions/fit_functions.py | MuellerSeb/jams_python | 1bca04557da79d8f8a4c447f5ccc517c40ab7dfc | [
"MIT"
] | 9 | 2019-06-03T03:24:16.000Z | 2021-12-03T07:14:00.000Z | jams/functions/fit_functions.py | MuellerSeb/jams_python | 1bca04557da79d8f8a4c447f5ccc517c40ab7dfc | [
"MIT"
] | 6 | 2020-03-25T21:56:59.000Z | 2021-11-08T14:58:27.000Z | jams/functions/fit_functions.py | MuellerSeb/jams_python | 1bca04557da79d8f8a4c447f5ccc517c40ab7dfc | [
"MIT"
] | 5 | 2019-10-17T12:04:33.000Z | 2021-09-28T07:45:07.000Z | #!/usr/bin/env python
"""
Module defines common functions that are used in curve_fit or fmin
parameter estimations.
For all fit functions, it defines the functions in two forms (ex. of 3
params):
`func(x, p1, p2, p3)`
`func_p(x, p)` with `p[0:3]`
The first form can be used, for example, with
`scipy.optimize... | 24.120785 | 246 | 0.566305 | 5,496 | 39,341 | 3.983079 | 0.070415 | 0.050797 | 0.052624 | 0.070166 | 0.853273 | 0.827235 | 0.806861 | 0.78562 | 0.76922 | 0.761592 | 0 | 0.033626 | 0.281869 | 39,341 | 1,630 | 247 | 24.135583 | 0.741222 | 0.735772 | 0 | 0.063291 | 0 | 0 | 0.091337 | 0.01334 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35443 | false | 0 | 0.056962 | 0 | 0.765823 | 0.006329 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
e6f7cd48e876b5d98ccfe0ce08d644eac95b97b0 | 39,865 | py | Python | tests/tests_views.py | hbuyse/dj-sponsoring | dc1652ab7dbaa25199505dd680e28289a86c7d77 | [
"MIT"
] | null | null | null | tests/tests_views.py | hbuyse/dj-sponsoring | dc1652ab7dbaa25199505dd680e28289a86c7d77 | [
"MIT"
] | null | null | null | tests/tests_views.py | hbuyse/dj-sponsoring | dc1652ab7dbaa25199505dd680e28289a86c7d77 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# coding=utf-8
"""Tests the views."""
from dj_sponsoring.models import Sponsor, SponsorImage, SponsorFile
from django.conf import settings
from django.contrib.auth.models import Permission, User
from django.core.files.uploadedfile import SimpleUploadedFile
from django.test import TestCase
from... | 47.458333 | 118 | 0.643572 | 4,917 | 39,865 | 5.06508 | 0.03315 | 0.062036 | 0.057217 | 0.075166 | 0.955029 | 0.940614 | 0.932383 | 0.927324 | 0.922184 | 0.901265 | 0 | 0.00728 | 0.197165 | 39,865 | 839 | 119 | 47.514899 | 0.77088 | 0.02087 | 0 | 0.714286 | 0 | 0 | 0.170942 | 0.077793 | 0 | 0 | 0 | 0 | 0.45068 | 1 | 0.136054 | false | 0.076531 | 0.011905 | 0 | 0.173469 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
fc2c7a0f3dc7fb80215348c6f0e604fa473eef13 | 22,652 | py | Python | tests/test_import/test_label_translation.py | andreasCastor/castoredc_api | ef0bd4eb8ac2efaa7e98e8462de7e5a7aa65a7f0 | [
"MIT"
] | null | null | null | tests/test_import/test_label_translation.py | andreasCastor/castoredc_api | ef0bd4eb8ac2efaa7e98e8462de7e5a7aa65a7f0 | [
"MIT"
] | null | null | null | tests/test_import/test_label_translation.py | andreasCastor/castoredc_api | ef0bd4eb8ac2efaa7e98e8462de7e5a7aa65a7f0 | [
"MIT"
] | null | null | null | import pytest
from castoredc_api_import.helpers import read_excel, castorize_column
class TestLabelTranslation:
"""Tests the helper functions for translation of external variable labels to Castor labels."""
# TODO: Create tests for fields other than radio with a dependency for other
@pytest.fixture(sco... | 44.855446 | 120 | 0.635132 | 2,747 | 22,652 | 4.933746 | 0.069166 | 0.083672 | 0.065078 | 0.066185 | 0.94385 | 0.933742 | 0.91655 | 0.898399 | 0.881355 | 0.866303 | 0 | 0.029104 | 0.256754 | 22,652 | 504 | 121 | 44.944444 | 0.775897 | 0.155262 | 0 | 0.532178 | 0 | 0 | 0.173863 | 0.039317 | 0 | 0 | 0 | 0.001984 | 0.096535 | 1 | 0.118812 | false | 0 | 0.428218 | 0 | 0.576733 | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
fc33c0481541659ad0ca6611cdf36ceec3c0ad35 | 131,711 | py | Python | tccli/services/vod/vod_client.py | ivandksun/tencentcloud-cli-intl-en | 41b84e339918961b8bc92f7498e56347d21e16d3 | [
"Apache-2.0"
] | null | null | null | tccli/services/vod/vod_client.py | ivandksun/tencentcloud-cli-intl-en | 41b84e339918961b8bc92f7498e56347d21e16d3 | [
"Apache-2.0"
] | 1 | 2022-02-07T13:39:09.000Z | 2022-02-07T13:39:09.000Z | tccli/services/vod/vod_client.py | ivandksun/tencentcloud-cli-intl-en | 41b84e339918961b8bc92f7498e56347d21e16d3 | [
"Apache-2.0"
] | 4 | 2020-07-20T01:51:58.000Z | 2021-08-13T08:25:22.000Z | # -*- coding: utf-8 -*-
import os
import json
import tccli.options_define as OptionsDefine
import tccli.format_output as FormatOutput
from tccli import __version__
from tccli.utils import Utils
from tccli.exceptions import ConfigurationError
from tencentcloud.common import credential
from tencentcloud.common.profile.ht... | 44.451907 | 105 | 0.733295 | 14,709 | 131,711 | 6.324495 | 0.029166 | 0.080106 | 0.230589 | 0.057854 | 0.848657 | 0.846754 | 0.84598 | 0.845206 | 0.844196 | 0.797091 | 0 | 0.008037 | 0.160154 | 131,711 | 2,962 | 106 | 44.466914 | 0.832946 | 0.007904 | 0 | 0.739726 | 0 | 0 | 0.042469 | 0.012431 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039574 | false | 0 | 0.004566 | 0.000381 | 0.044901 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fc3b0ea50bbf83e496e3d60c4dc862f7a5144180 | 155 | py | Python | mdp/orderbook/__init__.py | mehazardtfgm/sbedecoder | 375e2d1f9557778170bdf3c3f0c36e721f013f52 | [
"MIT"
] | 65 | 2016-01-31T18:38:37.000Z | 2022-03-05T01:11:10.000Z | mdp/orderbook/__init__.py | mehazardtfgm/sbedecoder | 375e2d1f9557778170bdf3c3f0c36e721f013f52 | [
"MIT"
] | 22 | 2015-08-24T19:11:42.000Z | 2020-05-07T18:01:19.000Z | mdp/orderbook/__init__.py | mehazardtfgm/sbedecoder | 375e2d1f9557778170bdf3c3f0c36e721f013f52 | [
"MIT"
] | 50 | 2015-08-20T14:57:59.000Z | 2022-03-05T01:11:12.000Z | from .orderbook import OrderBookEntry
from .orderbook import OrderBook
from .packet_processor import PacketProcessor
from .orderbook import ConsolePrinter
| 31 | 45 | 0.870968 | 17 | 155 | 7.882353 | 0.470588 | 0.291045 | 0.425373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103226 | 155 | 4 | 46 | 38.75 | 0.964029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fc52bf695a8e615af714422f1e894c9cbb16aa0c | 303 | py | Python | pines_analysis_toolkit/__init__.py | patricktamburo/pines_analysis_toolkit | d528d757cc1a7e0d8b7a599106814ff529b4ab77 | [
"MIT"
] | 1 | 2020-06-05T21:18:09.000Z | 2020-06-05T21:18:09.000Z | pines_analysis_toolkit/__init__.py | patricktamburo/pines_analysis_toolkit | d528d757cc1a7e0d8b7a599106814ff529b4ab77 | [
"MIT"
] | 2 | 2021-01-27T16:57:23.000Z | 2022-02-10T07:22:05.000Z | pines_analysis_toolkit/__init__.py | patricktamburo/pines_analysis_toolkit | d528d757cc1a7e0d8b7a599106814ff529b4ab77 | [
"MIT"
] | null | null | null | import pines_analysis_toolkit.data
import pines_analysis_toolkit.photometry
import pines_analysis_toolkit.analysis
import pines_analysis_toolkit.utils
import pines_analysis_toolkit.observing
import pines_analysis_toolkit.output
import pines_analysis_toolkit.pwv
import pines_analysis_toolkit.astrometry
| 33.666667 | 40 | 0.920792 | 40 | 303 | 6.575 | 0.275 | 0.334601 | 0.577947 | 0.790875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052805 | 303 | 8 | 41 | 37.875 | 0.916376 | 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 | 1 | 0 | 0 | 7 |
fc643f7f9b349b21e21c884c9a40c6d98fc44535 | 142 | py | Python | school_students_analysis/__init__.py | krzpiesiewicz/nypd2020z-school-students-analysis | 5b7195b15e8a4e68093bf2750f52199692fa3146 | [
"MIT"
] | null | null | null | school_students_analysis/__init__.py | krzpiesiewicz/nypd2020z-school-students-analysis | 5b7195b15e8a4e68093bf2750f52199692fa3146 | [
"MIT"
] | null | null | null | school_students_analysis/__init__.py | krzpiesiewicz/nypd2020z-school-students-analysis | 5b7195b15e8a4e68093bf2750f52199692fa3146 | [
"MIT"
] | null | null | null | from .students_per_teacher import students_per_teacher_by_the_type_of_school
from .students_by_year_of_birth import students_by_year_of_birth
| 47.333333 | 76 | 0.929577 | 25 | 142 | 4.6 | 0.48 | 0.208696 | 0.313043 | 0.278261 | 0.365217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 142 | 2 | 77 | 71 | 0.858209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
fc662d55bcf2a100a4845a8ae6108ae1826800ed | 3,403 | py | Python | examples/cont_example.py | AminFarhang/edibles | e148291d7f11932f228e58b2e2e6101bb82c3f24 | [
"MIT"
] | 8 | 2020-04-15T10:44:48.000Z | 2021-06-21T15:58:19.000Z | examples/cont_example.py | AminFarhang/edibles | e148291d7f11932f228e58b2e2e6101bb82c3f24 | [
"MIT"
] | 100 | 2020-05-08T13:20:41.000Z | 2022-01-11T20:04:52.000Z | examples/cont_example.py | jancami/edibles | 51263b24c5e8aef786692011289b906a810ad2f7 | [
"MIT"
] | 8 | 2020-05-27T00:39:39.000Z | 2021-06-23T14:07:16.000Z | import numpy as np
import matplotlib.pyplot as plt
from edibles.models import ContinuumModel
from edibles.utils.edibles_spectrum import EdiblesSpectrum
# #################################################################################
# Example 1
x = np.linspace(0, 3)
y = x**3 - 3 * x**2 + 1
cont_model = Continuum... | 24.65942 | 83 | 0.625918 | 527 | 3,403 | 3.791271 | 0.151803 | 0.08008 | 0.044044 | 0.048048 | 0.821321 | 0.821321 | 0.821321 | 0.790791 | 0.740741 | 0.711712 | 0 | 0.020687 | 0.119306 | 3,403 | 137 | 84 | 24.839416 | 0.645979 | 0.04496 | 0 | 0.710526 | 0 | 0 | 0.044547 | 0.018888 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fc73405e735a8be6b1b2bd6fa82148184a240924 | 7,162 | py | Python | tests/integration/supersim/v1/test_ip_command.py | BrimmingDev/twilio-python | 3226b5fed92b3c2ce64f03e6b19fc4792ef7647f | [
"MIT"
] | 1 | 2022-03-03T05:24:20.000Z | 2022-03-03T05:24:20.000Z | tests/integration/supersim/v1/test_ip_command.py | BrimmingDev/twilio-python | 3226b5fed92b3c2ce64f03e6b19fc4792ef7647f | [
"MIT"
] | 1 | 2022-01-28T14:45:53.000Z | 2022-01-28T14:45:53.000Z | tests/integration/supersim/v1/test_ip_command.py | BrimmingDev/twilio-python | 3226b5fed92b3c2ce64f03e6b19fc4792ef7647f | [
"MIT"
] | null | null | null | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class IpCommandTestCase(Integra... | 37.302083 | 156 | 0.534069 | 598 | 7,162 | 6.229097 | 0.170569 | 0.032215 | 0.056107 | 0.064966 | 0.884832 | 0.875436 | 0.856913 | 0.823356 | 0.822282 | 0.800268 | 0 | 0.065438 | 0.340687 | 7,162 | 191 | 157 | 37.497382 | 0.723422 | 0.015219 | 0 | 0.645161 | 1 | 0 | 0.112676 | 0.025885 | 0 | 0 | 0 | 0 | 0.177419 | 1 | 0.129032 | false | 0 | 0.064516 | 0 | 0.209677 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5d8a611ae49d9f9afb0888972cd48ac604d6550a | 2,642 | py | Python | python/test/o_types_test/test_otime.py | ojai/ojai-core | 058b147e735fe95c83b339776daf79d437adae80 | [
"Apache-2.0"
] | 51 | 2015-09-30T18:54:57.000Z | 2020-08-13T09:35:15.000Z | python/test/o_types_test/test_otime.py | ojai/ojai-core | 058b147e735fe95c83b339776daf79d437adae80 | [
"Apache-2.0"
] | 21 | 2015-10-01T14:22:19.000Z | 2022-02-04T02:17:26.000Z | python/test/o_types_test/test_otime.py | ojai/ojai-core | 058b147e735fe95c83b339776daf79d437adae80 | [
"Apache-2.0"
] | 25 | 2015-09-30T14:13:16.000Z | 2021-12-10T21:29:32.000Z | from __future__ import unicode_literals
from ojai.types.OTime import OTime
try:
import unittest2 as unittest
except ImportError:
import unittest
class OTimeTest(unittest.TestCase):
def test_days_from_epoch(self):
epoch = 8587555
o_time = OTime(timestamp=epoch)
self.assertEqual(o... | 43.311475 | 104 | 0.68433 | 399 | 2,642 | 4.172932 | 0.160401 | 0.15015 | 0.144144 | 0.216216 | 0.735135 | 0.735135 | 0.735135 | 0.731532 | 0.731532 | 0.731532 | 0 | 0.046768 | 0.174489 | 2,642 | 60 | 105 | 44.033333 | 0.716644 | 0 | 0 | 0.647059 | 0 | 0 | 0.039364 | 0 | 0 | 0 | 0 | 0 | 0.588235 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.196078 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5da6d5adae1db6c3fbb3f449376d04d9c897aabc | 28,126 | py | Python | sdk/python/pulumi_ovh/pubic_cloud_private_network_subnet.py | tumblewader/pulumi-ovh | fd484de69a247cf4f05c22cf73f1c57b973a1dab | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_ovh/pubic_cloud_private_network_subnet.py | tumblewader/pulumi-ovh | fd484de69a247cf4f05c22cf73f1c57b973a1dab | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_ovh/pubic_cloud_private_network_subnet.py | tumblewader/pulumi-ovh | fd484de69a247cf4f05c22cf73f1c57b973a1dab | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 40.352941 | 165 | 0.615978 | 3,317 | 28,126 | 5.04703 | 0.058788 | 0.086733 | 0.076937 | 0.057822 | 0.847381 | 0.814587 | 0.790574 | 0.750075 | 0.739024 | 0.717042 | 0 | 0.00527 | 0.284897 | 28,126 | 696 | 166 | 40.41092 | 0.827077 | 0.367418 | 0 | 0.62931 | 1 | 0 | 0.094267 | 0.023583 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16092 | false | 0.002874 | 0.020115 | 0 | 0.278736 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5d0b2bd7ed4da81908d0eadab0142ce1d50cf9fd | 11,722 | py | Python | tests/test_models.py | aditya-agrawal-30502/vformer | e1f4950f980238442ff1dc39a8f0791e4fbc9dac | [
"MIT"
] | 90 | 2021-09-08T10:21:19.000Z | 2022-03-26T18:11:47.000Z | tests/test_models.py | aditya-agrawal-30502/vformer | e1f4950f980238442ff1dc39a8f0791e4fbc9dac | [
"MIT"
] | 72 | 2021-09-09T06:54:50.000Z | 2022-03-31T09:23:31.000Z | tests/test_models.py | aditya-agrawal-30502/vformer | e1f4950f980238442ff1dc39a8f0791e4fbc9dac | [
"MIT"
] | 21 | 2021-09-09T05:56:03.000Z | 2022-03-20T08:22:09.000Z | import torch
import torch.nn as nn
from vformer.utils import MODEL_REGISTRY
models = MODEL_REGISTRY.get_list()
img_3channels_256 = torch.randn(2, 3, 256, 256)
img_3channels_224 = torch.randn(4, 3, 224, 224)
img_1channels_224 = torch.randn(2, 1, 224, 224)
def test_VanillaViT():
model = MODEL_REGISTRY.get("Vanil... | 25.262931 | 86 | 0.587186 | 1,577 | 11,722 | 4.164236 | 0.105263 | 0.112685 | 0.112076 | 0.143901 | 0.849094 | 0.837216 | 0.817116 | 0.776763 | 0.755901 | 0.735039 | 0 | 0.109121 | 0.285446 | 11,722 | 463 | 87 | 25.317495 | 0.674904 | 0.013308 | 0 | 0.776923 | 0 | 0 | 0.073966 | 0 | 0 | 0 | 0 | 0 | 0.097436 | 1 | 0.020513 | false | 0 | 0.007692 | 0 | 0.028205 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5d6d66b694c95f4ae35277457b87db6a0c795a2f | 31,658 | py | Python | tests/test_0057-virtual-array.py | colesbury/awkward-1.0 | d036ab18eb54de8a2571d9f179d315ac8ee22119 | [
"BSD-3-Clause"
] | null | null | null | tests/test_0057-virtual-array.py | colesbury/awkward-1.0 | d036ab18eb54de8a2571d9f179d315ac8ee22119 | [
"BSD-3-Clause"
] | null | null | null | tests/test_0057-virtual-array.py | colesbury/awkward-1.0 | d036ab18eb54de8a2571d9f179d315ac8ee22119 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
import json
import pickle
import pytest # noqa: F401
import numpy as np # noqa: F401
import awkward as ak # noqa: F401
def test_forms():
form = ak.forms.NumpyForm([], 8, "d")
assert form == form
assert pickle.lo... | 31.190148 | 88 | 0.515825 | 3,427 | 31,658 | 4.710242 | 0.049898 | 0.06195 | 0.04925 | 0.048321 | 0.896048 | 0.864019 | 0.845496 | 0.82053 | 0.810804 | 0.798228 | 0 | 0.029837 | 0.29705 | 31,658 | 1,014 | 89 | 31.220907 | 0.695515 | 0.003727 | 0 | 0.738854 | 0 | 0 | 0.17739 | 0 | 0 | 0 | 0 | 0 | 0.286624 | 1 | 0.012739 | false | 0 | 0.005308 | 0.001062 | 0.022293 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
53c36907bdf7669e712119ed94d341b9de1642fd | 19,251 | py | Python | tconfig/tests/core/algorithms/recursive/test_recursive_gen.py | awwilliams/tconfig | e798ca7d85a61c53df07b61440b321dbd3793350 | [
"MIT"
] | null | null | null | tconfig/tests/core/algorithms/recursive/test_recursive_gen.py | awwilliams/tconfig | e798ca7d85a61c53df07b61440b321dbd3793350 | [
"MIT"
] | null | null | null | tconfig/tests/core/algorithms/recursive/test_recursive_gen.py | awwilliams/tconfig | e798ca7d85a61c53df07b61440b321dbd3793350 | [
"MIT"
] | null | null | null | """
Created on Sep 30, 2017
@author: Alan Williams
"""
import numpy as np
from tconfig.core.data import DEFAULT_NDARRAY_TYPE, ParameterSet
from tconfig.core.algorithms import RecursiveGenerator
# pylint: disable=invalid-name
def test_generate_configurations():
ps = ParameterSet.create_from_parm_and_value_size... | 23.796044 | 64 | 0.237702 | 2,413 | 19,251 | 1.828429 | 0.028595 | 0.126927 | 0.126473 | 0.127833 | 0.821623 | 0.769719 | 0.733228 | 0.704896 | 0.63146 | 0.606754 | 0 | 0.267951 | 0.61441 | 19,251 | 808 | 65 | 23.825495 | 0.326418 | 0.004 | 0 | 0.711052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015979 | 1 | 0.015979 | false | 0 | 0.003995 | 0 | 0.019973 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
99061f4967a3b849d2bc40f36354244f8748821b | 188 | py | Python | multiworld/world/__init__.py | corl2019metaworld/metaworld | 46d54644915a7d80d3f4206e2e5abe1ccbdb5393 | [
"MIT"
] | null | null | null | multiworld/world/__init__.py | corl2019metaworld/metaworld | 46d54644915a7d80d3f4206e2e5abe1ccbdb5393 | [
"MIT"
] | null | null | null | multiworld/world/__init__.py | corl2019metaworld/metaworld | 46d54644915a7d80d3f4206e2e5abe1ccbdb5393 | [
"MIT"
] | null | null | null | from multiworld.world.world import POMDPDescriptor
from multiworld.world.world import BaseWorld
from multiworld.world.world import World
from multiworld.world.world import ParametricWorld
| 37.6 | 50 | 0.87234 | 24 | 188 | 6.833333 | 0.291667 | 0.341463 | 0.463415 | 0.585366 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 188 | 4 | 51 | 47 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
54eeb30a0c5223a5881be93581ee3d266bf85509 | 2,591 | py | Python | Instanssi/kompomaatti/migrations/0006_auto_20210511_0020.py | Instanssi/Instanssi.org | 108b596c6663a3317adfe76bd537d4f05256261d | [
"MIT"
] | 6 | 2015-04-03T12:15:02.000Z | 2019-05-29T07:56:11.000Z | Instanssi/kompomaatti/migrations/0006_auto_20210511_0020.py | Instanssi/Instanssi.org | 108b596c6663a3317adfe76bd537d4f05256261d | [
"MIT"
] | 52 | 2015-03-04T21:15:48.000Z | 2022-03-21T20:16:24.000Z | Instanssi/kompomaatti/migrations/0006_auto_20210511_0020.py | Instanssi/Instanssi.org | 108b596c6663a3317adfe76bd537d4f05256261d | [
"MIT"
] | 6 | 2017-09-26T00:52:51.000Z | 2020-02-17T17:24:21.000Z | # Generated by Django 3.2.2 on 2021-05-10 21:20
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('kompomaatti', '0005_entry_platform'),
]
operations = [
migrations.AlterField(
model_name='competition',
name='id',
... | 37.550725 | 111 | 0.604014 | 259 | 2,591 | 5.864865 | 0.185328 | 0.086899 | 0.18104 | 0.210007 | 0.806452 | 0.806452 | 0.806452 | 0.806452 | 0.806452 | 0.806452 | 0 | 0.010123 | 0.275569 | 2,591 | 68 | 112 | 38.102941 | 0.799148 | 0.017368 | 0 | 0.709677 | 1 | 0 | 0.073899 | 0.009434 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016129 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
54f1a39aa007557fdfed818ed2d5bb021bb90ac8 | 11,784 | py | Python | MD_exps/MD_utils_adrp/openmm_simulation.py | DeepDriveMD/DeepDriveMD | e0837a3c3a8eb69e0068e5dec0db00a174bae325 | [
"MIT"
] | null | null | null | MD_exps/MD_utils_adrp/openmm_simulation.py | DeepDriveMD/DeepDriveMD | e0837a3c3a8eb69e0068e5dec0db00a174bae325 | [
"MIT"
] | null | null | null | MD_exps/MD_utils_adrp/openmm_simulation.py | DeepDriveMD/DeepDriveMD | e0837a3c3a8eb69e0068e5dec0db00a174bae325 | [
"MIT"
] | 2 | 2021-08-18T13:42:32.000Z | 2021-11-08T19:56:28.000Z | import os
import time
import glob
import shutil
import random
import numpy as np
import parmed as pmd
import simtk.openmm.app as app
import simtk.openmm as omm
import simtk.unit as u
from MD_utils.openmm_reporter import ContactMapReporter
from MD_utils.utils import create_md_path, touch_file
def openmm_simulate_... | 36.482972 | 89 | 0.617447 | 1,401 | 11,784 | 5.037116 | 0.174875 | 0.016863 | 0.025507 | 0.014454 | 0.873034 | 0.854896 | 0.844693 | 0.8386 | 0.80119 | 0.786453 | 0 | 0.014509 | 0.298116 | 11,784 | 322 | 90 | 36.596273 | 0.838714 | 0.236507 | 0 | 0.779904 | 0 | 0 | 0.046836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009569 | false | 0 | 0.057416 | 0 | 0.086124 | 0.019139 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
07429d68a919ac500760ee0db25b77eb02246db9 | 91 | py | Python | tools/wptserve/wptserve/logger.py | meyerweb/wpt | f04261533819893c71289614c03434c06856c13e | [
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | tools/wptserve/wptserve/logger.py | meyerweb/wpt | f04261533819893c71289614c03434c06856c13e | [
"BSD-3-Clause"
] | 7,642 | 2018-05-28T09:38:03.000Z | 2022-03-31T20:55:48.000Z | tools/wptserve/wptserve/logger.py | meyerweb/wpt | f04261533819893c71289614c03434c06856c13e | [
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | import logging
def get_logger():
# Use the root logger
return logging.getLogger()
| 15.166667 | 30 | 0.703297 | 12 | 91 | 5.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21978 | 91 | 5 | 31 | 18.2 | 0.887324 | 0.208791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
ab5ed83dee6de6a5cc67a07b1643606daac9d2fe | 45 | py | Python | test_fitacola.py | luismsmendonca/fitacola | 247ae5113687c5fd457c7aa4d9464b0c83a51d9d | [
"MIT"
] | null | null | null | test_fitacola.py | luismsmendonca/fitacola | 247ae5113687c5fd457c7aa4d9464b0c83a51d9d | [
"MIT"
] | null | null | null | test_fitacola.py | luismsmendonca/fitacola | 247ae5113687c5fd457c7aa4d9464b0c83a51d9d | [
"MIT"
] | null | null | null | import pytest
def test_fitacola():
pass
| 9 | 20 | 0.711111 | 6 | 45 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 45 | 4 | 21 | 11.25 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
ab629c7b9e58a241624c76517585ec0fb9868aab | 181 | py | Python | blog/admin.py | initsysctrl/mysite | 881039f3c445e9bbc5615f9510959ca6bb2b7c18 | [
"MIT"
] | null | null | null | blog/admin.py | initsysctrl/mysite | 881039f3c445e9bbc5615f9510959ca6bb2b7c18 | [
"MIT"
] | null | null | null | blog/admin.py | initsysctrl/mysite | 881039f3c445e9bbc5615f9510959ca6bb2b7c18 | [
"MIT"
] | null | null | null | '''
Date: 2021-03-30 19:32:22
'''
# Register your models here.
from django.contrib import admin
from django.contrib import admin
from .models import Blog
admin.site.register(Blog)
| 18.1 | 32 | 0.756906 | 29 | 181 | 4.724138 | 0.62069 | 0.145985 | 0.248175 | 0.335766 | 0.437956 | 0.437956 | 0 | 0 | 0 | 0 | 0 | 0.089172 | 0.132597 | 181 | 9 | 33 | 20.111111 | 0.783439 | 0.292818 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
db495fdcbe4cb231ca26dae296e9cb768de89e50 | 10,619 | py | Python | tests/data/responses.py | ionut-ciubotariu/scrapy-crawlera-fetch | da74f91d87ac302c09a1965a8c9a6053adf9e60f | [
"BSD-3-Clause"
] | null | null | null | tests/data/responses.py | ionut-ciubotariu/scrapy-crawlera-fetch | da74f91d87ac302c09a1965a8c9a6053adf9e60f | [
"BSD-3-Clause"
] | null | null | null | tests/data/responses.py | ionut-ciubotariu/scrapy-crawlera-fetch | da74f91d87ac302c09a1965a8c9a6053adf9e60f | [
"BSD-3-Clause"
] | null | null | null | from scrapy.http.request import Request
from scrapy.http.response.html import HtmlResponse
from scrapy.http.response.text import TextResponse
from tests.data import SETTINGS
from tests.utils import mocked_time
test_responses = []
test_responses.append(
{
"original": HtmlResponse(
url=SETTING... | 71.268456 | 1,996 | 0.526227 | 1,293 | 10,619 | 4.290797 | 0.205723 | 0.008652 | 0.023071 | 0.017304 | 0.931507 | 0.905912 | 0.905912 | 0.875631 | 0.855443 | 0.854722 | 0 | 0.070835 | 0.26349 | 10,619 | 148 | 1,997 | 71.75 | 0.638537 | 0.006121 | 0 | 0.517731 | 0 | 0.035461 | 0.691097 | 0.142315 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035461 | 0 | 0.035461 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
db64f40e7815cd43b02589b0b2cb546aff16f817 | 80 | py | Python | spartan/model/flowscope/__init__.py | xyyphant0m/spartan2 | 6c40247052cdce80c2787c9ee0c5485e218c082d | [
"BSD-3-Clause"
] | 50 | 2020-08-24T15:21:37.000Z | 2022-03-09T09:18:17.000Z | spartan/model/flowscope/__init__.py | xyyphant0m/spartan2 | 6c40247052cdce80c2787c9ee0c5485e218c082d | [
"BSD-3-Clause"
] | 16 | 2020-08-24T15:20:46.000Z | 2021-12-20T03:13:40.000Z | spartan/model/flowscope/__init__.py | xyyphant0m/spartan2 | 6c40247052cdce80c2787c9ee0c5485e218c082d | [
"BSD-3-Clause"
] | 15 | 2020-08-24T15:13:16.000Z | 2022-02-26T15:25:05.000Z | from .flowscopeFraudDect import FlowScope
def __call__():
return FlowScope
| 16 | 41 | 0.7875 | 8 | 80 | 7.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 4 | 42 | 20 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
dba24b58ba244335f4a480bc55a2c759713de21c | 9,435 | py | Python | utils/dataset.py | THU-CVlab/MEPDNet-pytorch | af033785fe183a4360f3f395087b45aba377d2bc | [
"MIT"
] | 2 | 2021-06-13T05:58:52.000Z | 2021-07-09T03:44:13.000Z | utils/dataset.py | THU-CVlab/MEPDNet-pytorch | af033785fe183a4360f3f395087b45aba377d2bc | [
"MIT"
] | null | null | null | utils/dataset.py | THU-CVlab/MEPDNet-pytorch | af033785fe183a4360f3f395087b45aba377d2bc | [
"MIT"
] | null | null | null | import os
import glob
import torch
import numpy as np
from PIL import Image
from os import listdir
from os.path import join,split,splitext
from utils import is_image_file
from torch.utils.data import Dataset
class SingleDataset(Dataset):
def __init__(self, img_dir, mask_dir, input_transform, target_transform, lo... | 45.143541 | 174 | 0.662109 | 1,401 | 9,435 | 4.149179 | 0.06424 | 0.081885 | 0.087046 | 0.126613 | 0.88801 | 0.88801 | 0.880956 | 0.873387 | 0.873387 | 0.873387 | 0 | 0.013732 | 0.212719 | 9,435 | 208 | 175 | 45.360577 | 0.768848 | 0 | 0 | 0.795322 | 0 | 0.070175 | 0.140117 | 0.064865 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.070175 | 0.035088 | 0.280702 | 0.05848 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dbba89e2dcb3ecab8c0ca99ffdcb8ebcb7da260d | 106 | py | Python | icevision/models/mmdet/fastai/__init__.py | ai-fast-track/mantisshrimp | cc6d6a4a048f6ddda2782b6593dcd6b083a673e4 | [
"Apache-2.0"
] | 580 | 2020-09-10T06:29:57.000Z | 2022-03-29T19:34:54.000Z | icevision/models/mmdet/fastai/__init__.py | ai-fast-track/mantisshrimp | cc6d6a4a048f6ddda2782b6593dcd6b083a673e4 | [
"Apache-2.0"
] | 691 | 2020-09-05T03:08:34.000Z | 2022-03-31T23:47:06.000Z | icevision/models/mmdet/fastai/__init__.py | lgvaz/mantisshrimp2 | 743cb7df0dae7eb1331fc2bb66fc9ca09db496cd | [
"Apache-2.0"
] | 105 | 2020-09-09T10:41:35.000Z | 2022-03-25T17:16:49.000Z | from icevision.models.mmdet.fastai.callbacks import *
from icevision.models.mmdet.fastai.learner import *
| 35.333333 | 53 | 0.830189 | 14 | 106 | 6.285714 | 0.571429 | 0.295455 | 0.431818 | 0.545455 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 106 | 2 | 54 | 53 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
9197a2097ebc25dbcdcf4f16fc61c7176f468aeb | 8,788 | py | Python | tests/python/unittest/test_auto_scheduler_search_task.py | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 4,640 | 2017-08-17T19:22:15.000Z | 2019-11-04T15:29:46.000Z | tests/python/unittest/test_auto_scheduler_search_task.py | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 3,022 | 2020-11-24T14:02:31.000Z | 2022-03-31T23:55:31.000Z | tests/python/unittest/test_auto_scheduler_search_task.py | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 1,352 | 2017-08-17T19:30:38.000Z | 2019-11-04T16:09:29.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 42.25 | 184 | 0.716431 | 1,278 | 8,788 | 4.604069 | 0.13615 | 0.061863 | 0.041978 | 0.048946 | 0.800986 | 0.78569 | 0.777362 | 0.753229 | 0.7483 | 0.736234 | 0 | 0.026796 | 0.176149 | 8,788 | 207 | 185 | 42.454106 | 0.785912 | 0.124829 | 0 | 0.72956 | 0 | 0.012579 | 0.080679 | 0.023629 | 0 | 0 | 0 | 0.004831 | 0.301887 | 1 | 0.018868 | false | 0 | 0.044025 | 0 | 0.062893 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
919c6a65fed478261d02cf231b0e54aa32771f41 | 1,344 | py | Python | tests/python/test_bls_assume_in_range.py | kxxt/taichi | 15f39b79c258080f1e34fcbdc29646d9ced0a4fe | [
"MIT"
] | 11,699 | 2020-01-09T03:02:46.000Z | 2022-03-31T20:59:08.000Z | tests/python/test_bls_assume_in_range.py | kxxt/taichi | 15f39b79c258080f1e34fcbdc29646d9ced0a4fe | [
"MIT"
] | 3,589 | 2020-01-09T03:18:25.000Z | 2022-03-31T19:06:42.000Z | tests/python/test_bls_assume_in_range.py | kxxt/taichi | 15f39b79c258080f1e34fcbdc29646d9ced0a4fe | [
"MIT"
] | 1,391 | 2020-01-09T03:02:54.000Z | 2022-03-31T08:44:29.000Z | import taichi as ti
from .bls_test_template import bls_particle_grid
@ti.test(require=ti.extension.bls)
def test_scattering():
bls_particle_grid(N=128,
ppc=10,
block_size=8,
scatter=True,
use_offset=False)
@ti.test(require=... | 25.358491 | 48 | 0.508185 | 148 | 1,344 | 4.364865 | 0.27027 | 0.102167 | 0.139319 | 0.116099 | 0.80031 | 0.80031 | 0.80031 | 0.80031 | 0.80031 | 0.648607 | 0 | 0.039092 | 0.40997 | 1,344 | 52 | 49 | 25.846154 | 0.775536 | 0.032738 | 0 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0 | 1 | 0.131579 | true | 0 | 0.052632 | 0 | 0.184211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
91c072d2620e318568a27f670f23a1ad8e77b262 | 20,218 | py | Python | Lib/robofab/test/test_fontLabUFOReadWrite.py | Vectro-Type-Foundry/robofab | cd65d78292d24358c98dce53d283314cdc85878e | [
"BSD-3-Clause"
] | 61 | 2015-01-17T10:15:45.000Z | 2018-12-02T13:53:02.000Z | Lib/robofab/test/test_fontLabUFOReadWrite.py | Vectro-Type-Foundry/robofab | cd65d78292d24358c98dce53d283314cdc85878e | [
"BSD-3-Clause"
] | 37 | 2015-01-05T23:44:56.000Z | 2018-03-16T19:05:28.000Z | Lib/robofab/test/test_fontLabUFOReadWrite.py | Vectro-Type-Foundry/robofab | cd65d78292d24358c98dce53d283314cdc85878e | [
"BSD-3-Clause"
] | 25 | 2015-01-08T19:49:36.000Z | 2018-10-29T00:36:46.000Z | import os
import shutil
import unittest
import tempfile
from robofab.plistlib import readPlist
import robofab
from robofab.ufoLib import UFOReader, UFOWriter
from robofab.test.testSupport import fontInfoVersion2, expectedFontInfo1To2Conversion
from robofab.objects.objectsFL import NewFont, OpenFont
vfbPath = os.path.d... | 35.720848 | 124 | 0.735681 | 2,232 | 20,218 | 6.653226 | 0.081989 | 0.113131 | 0.196364 | 0.133603 | 0.902963 | 0.889764 | 0.889024 | 0.878114 | 0.866734 | 0.850707 | 0 | 0.002974 | 0.135078 | 20,218 | 565 | 125 | 35.784071 | 0.846229 | 0.028539 | 0 | 0.854 | 0 | 0 | 0.076218 | 0.012941 | 0 | 0 | 0 | 0 | 0.224 | 1 | 0.072 | false | 0 | 0.02 | 0 | 0.108 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
53327b75d25ba5f1eda75bbe94ebad66dc92d777 | 75,794 | py | Python | ocbind/__init__.py | SeanCondon/onos-config-demo | 0789d397b46fd5cda512ae7fffe35e1a4bfdfdbe | [
"Apache-2.0"
] | 1 | 2019-08-01T17:42:57.000Z | 2019-08-01T17:42:57.000Z | ocbind/__init__.py | SeanCondon/onos-config-demo | 0789d397b46fd5cda512ae7fffe35e1a4bfdfdbe | [
"Apache-2.0"
] | 1 | 2021-05-26T16:38:04.000Z | 2021-05-26T16:38:04.000Z | ocbind/__init__.py | SeanCondon/onos-config-demo | 0789d397b46fd5cda512ae7fffe35e1a4bfdfdbe | [
"Apache-2.0"
] | 4 | 2019-07-24T16:52:39.000Z | 2021-12-03T02:08:13.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBoo... | 42.178075 | 367 | 0.735071 | 10,033 | 75,794 | 5.401874 | 0.037476 | 0.033212 | 0.037198 | 0.021256 | 0.992343 | 0.988339 | 0.988339 | 0.988339 | 0.988339 | 0.988339 | 0 | 0.002436 | 0.176637 | 75,794 | 1,796 | 368 | 42.201559 | 0.866023 | 0.421709 | 0 | 0.976398 | 0 | 0.014907 | 0.241283 | 0.057936 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074534 | false | 0 | 0.034783 | 0 | 0.280745 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
53598bc85aa11d1c2ca7ce442a369d4f52e30826 | 17,536 | py | Python | tests/test_config.py | sehilyi/vitessce-python | f3dd3ac6fa8bb66e3b25a4e396f16c1a29ce5573 | [
"MIT"
] | null | null | null | tests/test_config.py | sehilyi/vitessce-python | f3dd3ac6fa8bb66e3b25a4e396f16c1a29ce5573 | [
"MIT"
] | null | null | null | tests/test_config.py | sehilyi/vitessce-python | f3dd3ac6fa8bb66e3b25a4e396f16c1a29ce5573 | [
"MIT"
] | null | null | null | import json
import unittest
from vitessce import (
VitessceConfig,
CoordinationType as ct,
Component as cm,
DataType as dt,
FileType as ft,
hconcat,
vconcat,
)
class TestConfig(unittest.TestCase):
def test_config_creation(self):
vc = VitessceConfig()
vc_dict = vc.to_di... | 29.373534 | 152 | 0.320255 | 1,187 | 17,536 | 4.559393 | 0.104465 | 0.036585 | 0.033629 | 0.028825 | 0.819845 | 0.798041 | 0.775868 | 0.752033 | 0.705469 | 0.691981 | 0 | 0.018177 | 0.554516 | 17,536 | 596 | 153 | 29.422819 | 0.674603 | 0 | 0 | 0.621818 | 0 | 0 | 0.171029 | 0 | 0 | 0 | 0 | 0 | 0.02 | 1 | 0.023636 | false | 0 | 0.005455 | 0 | 0.038182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
536ef3f253904367c74bf94586189e7102090467 | 87 | py | Python | gym_maze/envs/__init__.py | omar-bfs/DQN | 50181a2340a49c81476f56b7c74ec8572f4a9042 | [
"MIT"
] | 3 | 2021-08-13T17:02:06.000Z | 2022-03-12T06:30:26.000Z | gym_maze/envs/__init__.py | omar-bfs/DQN | 50181a2340a49c81476f56b7c74ec8572f4a9042 | [
"MIT"
] | null | null | null | gym_maze/envs/__init__.py | omar-bfs/DQN | 50181a2340a49c81476f56b7c74ec8572f4a9042 | [
"MIT"
] | null | null | null | from gym_maze.envs.maze_env import *
from gym_maze.envs.maze_view_2d import MazeView2D
| 29 | 49 | 0.850575 | 16 | 87 | 4.3125 | 0.5625 | 0.202899 | 0.318841 | 0.434783 | 0.550725 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.091954 | 87 | 2 | 50 | 43.5 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
72674cee2ac8b91845475a8e6d2c55824c52ee04 | 1,658 | py | Python | microraiden/utils/__init__.py | andrevmatos/microraiden | 2d51e78afaf3c0a8ddab87e59a5260c0064cdbdd | [
"MIT"
] | 417 | 2017-09-19T19:06:23.000Z | 2021-11-28T05:39:23.000Z | microraiden/utils/__init__.py | andrevmatos/microraiden | 2d51e78afaf3c0a8ddab87e59a5260c0064cdbdd | [
"MIT"
] | 259 | 2017-09-19T20:42:57.000Z | 2020-11-18T01:31:41.000Z | microraiden/utils/__init__.py | andrevmatos/microraiden | 2d51e78afaf3c0a8ddab87e59a5260c0064cdbdd | [
"MIT"
] | 126 | 2017-09-19T17:11:39.000Z | 2020-12-17T17:05:27.000Z | from .crypto import (
generate_privkey,
pubkey_to_addr,
privkey_to_addr,
addr_from_sig,
pack,
keccak256,
keccak256_hex,
sign,
sign_transaction,
eth_message_hash,
eth_sign,
eth_verify,
eth_sign_typed_data_message,
eth_sign_typed_data,
eth_sign_typed_data_messag... | 19.738095 | 39 | 0.735826 | 202 | 1,658 | 5.410891 | 0.217822 | 0.064044 | 0.087832 | 0.117109 | 0.935041 | 0.935041 | 0.810613 | 0.810613 | 0.810613 | 0.810613 | 0 | 0.009252 | 0.217732 | 1,658 | 83 | 40 | 19.975904 | 0.833462 | 0 | 0 | 0.763158 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
727f8247ba57ff4fc9b3c023a24f2aeb907d48b2 | 88 | py | Python | cyder/cydns/cybind/tests/test_models.py | ngokevin/chili | 36c354ac567471d5e36dccf9eea5096c6b02d4b9 | [
"BSD-3-Clause"
] | 2 | 2019-03-16T00:47:09.000Z | 2022-03-04T14:39:08.000Z | cyder/cydns/cybind/tests/test_models.py | ngokevin/chili | 36c354ac567471d5e36dccf9eea5096c6b02d4b9 | [
"BSD-3-Clause"
] | 1 | 2020-04-24T08:24:55.000Z | 2020-04-24T08:24:55.000Z | cyder/cydns/cybind/tests/test_models.py | ngokevin/chili | 36c354ac567471d5e36dccf9eea5096c6b02d4b9 | [
"BSD-3-Clause"
] | null | null | null | from cydns.cybind.tests.dirty_soa import *
from cydns.cybind.tests.build_tests import *
| 29.333333 | 44 | 0.818182 | 14 | 88 | 5 | 0.571429 | 0.257143 | 0.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 45 | 44 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
72cf11ddf0511d385dbdb76498f89badee9fe097 | 17,566 | py | Python | tests/catalyst/callbacks/test_control_flow.py | gr33n-made/catalyst | bd413abc908ef7cbdeab42b0e805277a791e3ddb | [
"Apache-2.0"
] | 1 | 2021-03-02T12:06:32.000Z | 2021-03-02T12:06:32.000Z | tests/catalyst/callbacks/test_control_flow.py | gr33n-made/catalyst | bd413abc908ef7cbdeab42b0e805277a791e3ddb | [
"Apache-2.0"
] | null | null | null | tests/catalyst/callbacks/test_control_flow.py | gr33n-made/catalyst | bd413abc908ef7cbdeab42b0e805277a791e3ddb | [
"Apache-2.0"
] | 1 | 2021-06-11T16:33:30.000Z | 2021-06-11T16:33:30.000Z | # flake8: noqa
import random
import unittest
from unittest.mock import Mock
from catalyst.dl import Callback, CallbackOrder, ControlFlowCallback
class _Runner:
def __init__(self, stage, loader_key, global_epoch, epoch):
self.stage_key = stage
self.loader_key = loader_key
self.global_epoch... | 32.231193 | 97 | 0.597063 | 1,760 | 17,566 | 5.7375 | 0.073295 | 0.024559 | 0.041196 | 0.045157 | 0.922757 | 0.907705 | 0.879283 | 0.855318 | 0.821846 | 0.780254 | 0 | 0.012793 | 0.301378 | 17,566 | 544 | 98 | 32.290441 | 0.810055 | 0.000683 | 0 | 0.755991 | 0 | 0 | 0.06495 | 0 | 0 | 0 | 0 | 0 | 0.071895 | 1 | 0.058824 | false | 0.002179 | 0.008715 | 0.004357 | 0.082789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
72d560b8d1aa6b09fdbd7f42d7dc09a307b6d315 | 1,746 | py | Python | utils/unit/arraybuffer_unit.py | teddydragoone/makehuman1.0.0alpha7 | 9aa7735a0a1ea83e52b1acc0fb8760057dd72d99 | [
"CC0-1.0"
] | 2 | 2016-11-23T16:37:15.000Z | 2018-02-13T04:18:23.000Z | utils/unit/arraybuffer_unit.py | Tomoyon/makehuman1.0.0alpha7 | 9aa7735a0a1ea83e52b1acc0fb8760057dd72d99 | [
"CC0-1.0"
] | null | null | null | utils/unit/arraybuffer_unit.py | Tomoyon/makehuman1.0.0alpha7 | 9aa7735a0a1ea83e52b1acc0fb8760057dd72d99 | [
"CC0-1.0"
] | null | null | null | from mh import ArrayBuffer, Float32Array;
# build from number
f32 = Float32Array(4)
print f32, f32.byteOffset, f32.byteLength, f32.length, [f for f in f32]
# build from view
f32 = Float32Array(Float32Array((1.0, 2.0, 3.0, 4.0)))
print f32, f32.byteOffset, f32.byteLength, f32.length, [f for f in f32]
# ... | 29.1 | 72 | 0.658076 | 317 | 1,746 | 3.624606 | 0.100946 | 0.083551 | 0.105309 | 0.201044 | 0.878155 | 0.878155 | 0.878155 | 0.878155 | 0.878155 | 0.878155 | 0 | 0.19131 | 0.182703 | 1,746 | 60 | 73 | 29.1 | 0.613875 | 0.123139 | 0 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.038462 | null | null | 0.461538 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
f44b574fa80a7c4a7d37cc583d547cc233284769 | 94,202 | py | Python | main_window_ui.py | junglefive/BleProduceTestHelper | aa8bcdb9f3b53b10ceb68cc4624e72703f006dff | [
"MIT"
] | null | null | null | main_window_ui.py | junglefive/BleProduceTestHelper | aa8bcdb9f3b53b10ceb68cc4624e72703f006dff | [
"MIT"
] | null | null | null | main_window_ui.py | junglefive/BleProduceTestHelper | aa8bcdb9f3b53b10ceb68cc4624e72703f006dff | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'main_window.ui'
#
# Created by: PyQt5 UI code generator 5.9
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWin... | 60.502248 | 108 | 0.707947 | 10,928 | 94,202 | 6.03459 | 0.02489 | 0.143511 | 0.087344 | 0.114639 | 0.829694 | 0.805326 | 0.775756 | 0.743108 | 0.71319 | 0.70861 | 0 | 0.046312 | 0.174816 | 94,202 | 1,556 | 109 | 60.541131 | 0.802043 | 0.001932 | 0 | 0.716969 | 1 | 0 | 0.021753 | 0.003021 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001295 | false | 0 | 0.000648 | 0 | 0.002591 | 0.016839 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
be2e1ac0eb53b715b8e3492d93ac7421a1c61da3 | 164 | py | Python | SimPEG/electromagnetics/natural_source/utils/plotDataTypes.py | prisae/simpeg | 5cdd1b496bddcf3d9acd714b901a57bad6fb1ef9 | [
"MIT"
] | 3 | 2021-08-04T02:27:41.000Z | 2022-01-12T00:20:07.000Z | SimPEG/electromagnetics/natural_source/utils/plotDataTypes.py | thast/simpeg | 8021082b8b53f3c08fa87fc085547bdd56437c6b | [
"MIT"
] | 2 | 2020-06-16T00:11:37.000Z | 2020-07-10T19:45:09.000Z | SimPEG/electromagnetics/natural_source/utils/plotDataTypes.py | thast/simpeg | 8021082b8b53f3c08fa87fc085547bdd56437c6b | [
"MIT"
] | 1 | 2021-12-29T00:06:07.000Z | 2021-12-29T00:06:07.000Z | from ....utils.code_utils import deprecate_module
deprecate_module("plotDataTypes", "plot_data_types", "0.16.0", future_warn=True)
from .plot_data_types import *
| 27.333333 | 80 | 0.786585 | 24 | 164 | 5.041667 | 0.625 | 0.247934 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.085366 | 164 | 5 | 81 | 32.8 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
be95fe69d3da94304f9bbf30e3c65814a11f0c72 | 28,745 | py | Python | 2020.py | farelind/relind_2020 | 7b50f5bffcbc70d7e62e60aa2a15f65a93a00592 | [
"Apache-2.0"
] | null | null | null | 2020.py | farelind/relind_2020 | 7b50f5bffcbc70d7e62e60aa2a15f65a93a00592 | [
"Apache-2.0"
] | null | null | null | 2020.py | farelind/relind_2020 | 7b50f5bffcbc70d7e62e60aa2a15f65a93a00592 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python2
# coding=utf-8
#Import module
import os,sys,time,datetime,random,hashlib,re,threading,json,getpass,urllib,cookielib
from multiprocessing.pool import ThreadPool
from datetime import datetime
try:
import mechanize
except ImportError:
os.system("pip2 install mechanize")
try:
import bs4
except Import... | 40.947293 | 305 | 0.582049 | 4,379 | 28,745 | 3.971683 | 0.088605 | 0.105336 | 0.108268 | 0.077622 | 0.819917 | 0.798701 | 0.758395 | 0.724816 | 0.701414 | 0.673011 | 0 | 0.167207 | 0.184623 | 28,745 | 701 | 306 | 41.005706 | 0.538229 | 0.006053 | 0 | 0.580247 | 0 | 0.151235 | 0.50641 | 0.191801 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.075617 | 0.016975 | null | null | 0.212963 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
fe2447d03cbbe79e3c04ee355734e96140b0a61c | 24,052 | py | Python | app/backend/src/tests/test_auth.py | anand-prem/couchers | ee4e93aacc6331cc22bb496749ca79c2c6474976 | [
"MIT"
] | null | null | null | app/backend/src/tests/test_auth.py | anand-prem/couchers | ee4e93aacc6331cc22bb496749ca79c2c6474976 | [
"MIT"
] | null | null | null | app/backend/src/tests/test_auth.py | anand-prem/couchers | ee4e93aacc6331cc22bb496749ca79c2c6474976 | [
"MIT"
] | null | null | null | import http.cookies
import grpc
import pytest
from google.protobuf import empty_pb2
from couchers import errors
from couchers.crypto import hash_password, random_hex
from couchers.db import session_scope
from couchers.models import LoginToken, PasswordResetToken, SignupToken, User, UserSession
from pb import api_pb2,... | 39.045455 | 114 | 0.646017 | 2,797 | 24,052 | 5.294601 | 0.086879 | 0.077993 | 0.051995 | 0.065636 | 0.850901 | 0.839895 | 0.823013 | 0.809575 | 0.783713 | 0.770275 | 0 | 0.014254 | 0.259147 | 24,052 | 615 | 115 | 39.108943 | 0.816825 | 0.041078 | 0 | 0.67679 | 0 | 0 | 0.042515 | 0.010379 | 0 | 0 | 0 | 0 | 0.130152 | 1 | 0.047722 | false | 0.088937 | 0.021692 | 0.002169 | 0.071584 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
fe5d5cc5ee688eb8893125c2dfffc38956ebdf6d | 5,215 | py | Python | wtknowledgebase/migrations/0001_initial.py | skruger/wagtail-knowledgebase | cb92640b3394a14c75b3629f0582c8a070fddd95 | [
"MIT"
] | 1 | 2021-05-03T23:52:09.000Z | 2021-05-03T23:52:09.000Z | wtknowledgebase/migrations/0001_initial.py | skruger/wagtail-knowledgebase | cb92640b3394a14c75b3629f0582c8a070fddd95 | [
"MIT"
] | null | null | null | wtknowledgebase/migrations/0001_initial.py | skruger/wagtail-knowledgebase | cb92640b3394a14c75b3629f0582c8a070fddd95 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.10 on 2020-09-15 22:27
from django.db import migrations, models
import django.db.models.deletion
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks
import wtknowledgebase.blocks
class Migration(migrations.Migration):
initial = True
dependencies = [
... | 94.818182 | 1,157 | 0.695302 | 568 | 5,215 | 6.290493 | 0.15669 | 0.153932 | 0.218864 | 0.087322 | 0.88553 | 0.88553 | 0.88553 | 0.88553 | 0.88553 | 0.860341 | 0 | 0.005083 | 0.132311 | 5,215 | 54 | 1,158 | 96.574074 | 0.78453 | 0.008821 | 0 | 0.574468 | 1 | 0 | 0.17844 | 0.007354 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.12766 | 0 | 0.212766 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fe6d4a2c7f56ba72d9709cb34aa68b3b8caf93bd | 130 | py | Python | scCloud/scCloud/pipeline/__init__.py | broadinstitute/scRNA-Seq | 03aafb92274a97f4d634ac9e42f0e0feca91ed98 | [
"BSD-3-Clause"
] | 12 | 2019-04-08T11:39:33.000Z | 2022-02-22T02:50:27.000Z | scCloud/scCloud/pipeline/__init__.py | broadinstitute/scRNA-Seq | 03aafb92274a97f4d634ac9e42f0e0feca91ed98 | [
"BSD-3-Clause"
] | null | null | null | scCloud/scCloud/pipeline/__init__.py | broadinstitute/scRNA-Seq | 03aafb92274a97f4d634ac9e42f0e0feca91ed98 | [
"BSD-3-Clause"
] | 3 | 2019-03-06T20:44:33.000Z | 2020-02-17T13:43:46.000Z | from .pipeline import run_pipeline
from .demuxEM_pipeline import run_demuxEM_pipeline
from .cite_seq import run_cite_seq_pipeline
| 32.5 | 50 | 0.884615 | 20 | 130 | 5.35 | 0.35 | 0.252336 | 0.317757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 130 | 3 | 51 | 43.333333 | 0.90678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
228ceae5c798d1cd4446a777e4f7fc43c18f0c7a | 55 | py | Python | pynet/__init__.py | iavr/pynet | 09f3500e12a72c63699c74c34573539bfdc3ea12 | [
"BSD-2-Clause"
] | 3 | 2019-12-11T15:09:58.000Z | 2020-12-29T05:54:40.000Z | pynet/__init__.py | iavr/pynet | 09f3500e12a72c63699c74c34573539bfdc3ea12 | [
"BSD-2-Clause"
] | null | null | null | pynet/__init__.py | iavr/pynet | 09f3500e12a72c63699c74c34573539bfdc3ea12 | [
"BSD-2-Clause"
] | null | null | null | from lib import *
from lib import __
from net import *
| 13.75 | 18 | 0.745455 | 9 | 55 | 4.333333 | 0.444444 | 0.358974 | 0.666667 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 55 | 3 | 19 | 18.333333 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
fe04bd177d7f393fbc34de7fb1eef6bedfd1122c | 123 | py | Python | test/test_convert.py | laashub-sua/demo-print | 76665ffa6e3bd675ffa111ff6c3aabed9b5ea6ec | [
"Apache-2.0"
] | null | null | null | test/test_convert.py | laashub-sua/demo-print | 76665ffa6e3bd675ffa111ff6c3aabed9b5ea6ec | [
"Apache-2.0"
] | null | null | null | test/test_convert.py | laashub-sua/demo-print | 76665ffa6e3bd675ffa111ff6c3aabed9b5ea6ec | [
"Apache-2.0"
] | null | null | null | import convert_pdf_2_jpg
if __name__ == '__main__':
convert_pdf_2_jpg.do_convert(r'files/test_convert_pdf_2_jpg.pdf')
| 24.6 | 69 | 0.804878 | 22 | 123 | 3.636364 | 0.545455 | 0.375 | 0.4125 | 0.525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.097561 | 123 | 4 | 70 | 30.75 | 0.693694 | 0 | 0 | 0 | 0 | 0 | 0.325203 | 0.260163 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
fe08169c9104f05d4aa77d800165ac4a797401a5 | 31,241 | py | Python | aiofetch/zhihu_APIs.py | ScottishFold007/zhihu_spider_aiofetch | 6b316c5cd80283018f6c09904da2bf77ab0a68dc | [
"MIT"
] | 1 | 2020-02-26T15:12:48.000Z | 2020-02-26T15:12:48.000Z | aiofetch/zhihu_APIs.py | ScottishFold007/zhihu_spider_aiofetch | 6b316c5cd80283018f6c09904da2bf77ab0a68dc | [
"MIT"
] | null | null | null | aiofetch/zhihu_APIs.py | ScottishFold007/zhihu_spider_aiofetch | 6b316c5cd80283018f6c09904da2bf77ab0a68dc | [
"MIT"
] | null | null | null | # !/usr/bin/env python3
# -*- coding: utf-8 -*-
# author : strangestring
# github : https://github.com/strangestring
import time
class ZhiHu:
def __init__(self):
"""
Core of zhihu API
"""
self.members = self._Members()
self.articles = self._Articles()
self.answers... | 41.599201 | 642 | 0.556128 | 3,357 | 31,241 | 4.922252 | 0.081323 | 0.075163 | 0.062152 | 0.061002 | 0.850823 | 0.832849 | 0.796175 | 0.775962 | 0.732692 | 0.702917 | 0 | 0.007723 | 0.312026 | 31,241 | 750 | 643 | 41.654667 | 0.761085 | 0.00685 | 0 | 0.529825 | 0 | 0.098246 | 0.427474 | 0.403894 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.003509 | null | null | 0.010526 | 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 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fe115bce34dbe8ddeab51769047045b6d3faf572 | 1,193 | py | Python | tests/conftest.py | ghtyrant/skjold | 1ce7dee2ef410ded3a4f4f045838317dcaf9a686 | [
"MIT"
] | null | null | null | tests/conftest.py | ghtyrant/skjold | 1ce7dee2ef410ded3a4f4f045838317dcaf9a686 | [
"MIT"
] | null | null | null | tests/conftest.py | ghtyrant/skjold | 1ce7dee2ef410ded3a4f4f045838317dcaf9a686 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
@pytest.fixture
def requirements_txt_with_hashes():
return """appdirs==1.4.3 \\
--hash=sha256:d8b24664561d0d34ddfaec54636d502d7cea6e29c3eaf68f3df6180863e2166e \\
--hash=sha256:9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92
argh==0.26.2 \\... | 44.185185 | 89 | 0.775356 | 75 | 1,193 | 12.253333 | 0.573333 | 0.108814 | 0.03482 | 0.026115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.418828 | 0.12741 | 1,193 | 26 | 90 | 45.884615 | 0.463977 | 0.017603 | 0 | 0 | 0 | 0 | 0.882051 | 0.666667 | 0 | 1 | 0 | 0 | 0 | 1 | 0.095238 | true | 0 | 0.047619 | 0.095238 | 0.238095 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a3ddf455a47aa92d2a268ab8bfe2fa3b80de3dd4 | 152,814 | py | Python | dataset_creation/NSWPH_models_linear.py | jbesty/irep_2022_closing_the_loop | db88bd3ead2231636aa46e36f0a0272b17437612 | [
"MIT"
] | null | null | null | dataset_creation/NSWPH_models_linear.py | jbesty/irep_2022_closing_the_loop | db88bd3ead2231636aa46e36f0a0272b17437612 | [
"MIT"
] | null | null | null | dataset_creation/NSWPH_models_linear.py | jbesty/irep_2022_closing_the_loop | db88bd3ead2231636aa46e36f0a0272b17437612 | [
"MIT"
] | null | null | null | import numpy as np
from dataset_creation.NSWPH_models import ModelType
def compute_damping_ratio(eig_vals):
sigma = np.real(eig_vals)
omega = np.abs(np.imag(eig_vals))
# Compute the damping ratio
damping = np.divide(-sigma, np.sqrt(sigma ** 2 + omega ** 2),
out=np.... | 58.482204 | 1,112 | 0.388073 | 25,212 | 152,814 | 2.290933 | 0.016579 | 0.229401 | 0.315899 | 0.391627 | 0.95457 | 0.937205 | 0.922575 | 0.911944 | 0.903721 | 0.897903 | 0 | 0.101304 | 0.418051 | 152,814 | 2,612 | 1,113 | 58.504594 | 0.548184 | 0.131539 | 0 | 0.687174 | 0 | 0 | 0.00335 | 0 | 0 | 0 | 0 | 0.001531 | 0 | 1 | 0.009906 | false | 0 | 0.001043 | 0 | 0.020855 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
4a5c4305ac1abee7510d7ae4ee59202a7cdc5436 | 16,682 | py | Python | sdk/python/pulumi_gcp/accesscontextmanager/service_perimeters.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 121 | 2018-06-18T19:16:42.000Z | 2022-03-31T06:06:48.000Z | sdk/python/pulumi_gcp/accesscontextmanager/service_perimeters.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 492 | 2018-06-22T19:41:03.000Z | 2022-03-31T15:33:53.000Z | sdk/python/pulumi_gcp/accesscontextmanager/service_perimeters.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2018-06-19T01:43:13.000Z | 2022-03-23T22:43:37.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 47.936782 | 235 | 0.654058 | 1,531 | 16,682 | 6.949053 | 0.150229 | 0.09108 | 0.019739 | 0.030548 | 0.820848 | 0.807031 | 0.806185 | 0.795094 | 0.7903 | 0.78419 | 0 | 0.001702 | 0.260221 | 16,682 | 347 | 236 | 48.074928 | 0.860384 | 0.54364 | 0 | 0.559322 | 1 | 0 | 0.153634 | 0.073816 | 0 | 0 | 0 | 0 | 0 | 1 | 0.144068 | false | 0.008475 | 0.059322 | 0 | 0.288136 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4a837390ce0ca5bc474bb50477fbcfd22817d7a5 | 2,191 | py | Python | tests/test_cli_install.py | drivendataorg/nbautoexport | 3a3d67ac392d22bd2284ccce98f70ca76fd01637 | [
"MIT"
] | 46 | 2020-07-25T22:59:56.000Z | 2022-03-11T00:06:30.000Z | tests/test_cli_install.py | drivendataorg/nbautoexport | 3a3d67ac392d22bd2284ccce98f70ca76fd01637 | [
"MIT"
] | 67 | 2020-07-01T18:55:20.000Z | 2022-03-16T20:20:27.000Z | tests/test_cli_install.py | drivendataorg/nbautoexport | 3a3d67ac392d22bd2284ccce98f70ca76fd01637 | [
"MIT"
] | 7 | 2020-07-21T05:36:21.000Z | 2021-10-03T21:02:33.000Z | from typer.testing import CliRunner
from nbautoexport.nbautoexport import app
from nbautoexport import jupyter_config
def test_install_new_config(tmp_path, monkeypatch):
monkeypatch.setenv("JUPYTER_CONFIG_DIR", str(tmp_path))
config_path = tmp_path / "jupyter_notebook_config.py"
result = CliRunner().in... | 31.753623 | 87 | 0.69466 | 295 | 2,191 | 4.891525 | 0.169492 | 0.12474 | 0.045738 | 0.091476 | 0.928621 | 0.914761 | 0.914761 | 0.914761 | 0.914761 | 0.914761 | 0 | 0.005531 | 0.174806 | 2,191 | 68 | 88 | 32.220588 | 0.792589 | 0 | 0 | 0.808511 | 0 | 0 | 0.143314 | 0.042903 | 0 | 0 | 0 | 0 | 0.297872 | 1 | 0.085106 | false | 0 | 0.06383 | 0 | 0.148936 | 0.085106 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4abaeb27a368ef505c2af8ba0f4e1b60813635b4 | 38,284 | py | Python | experiments/tpcds1d.py | qingzma/DBEstClient | d2cdf51bc3c69e50bcf4d1d516673b7d20843c16 | [
"BSD-2-Clause"
] | 11 | 2019-12-24T02:39:35.000Z | 2022-03-21T22:39:41.000Z | experiments/tpcds1d.py | Forever-MrX/DBEstClient | d2cdf51bc3c69e50bcf4d1d516673b7d20843c16 | [
"BSD-2-Clause"
] | 4 | 2019-12-09T09:48:17.000Z | 2021-07-07T02:58:26.000Z | experiments/tpcds1d.py | qingzma/DBEstClient | d2cdf51bc3c69e50bcf4d1d516673b7d20843c16 | [
"BSD-2-Clause"
] | 8 | 2019-11-08T02:10:37.000Z | 2022-03-21T22:42:46.000Z | # Created by Qingzhi Ma at 21/11/2019
# All right reserved
# Department of Computer Science
# the University of Warwick
# Q.Ma.2@warwick.ac.uk
from dbestclient.executor.executor import SqlExecutor
def run():
#
sqlExecutor = SqlExecutor()
sqlExecutor.set_table_headers("ss_sold_date_sk,ss_sold_time_sk,ss_i... | 99.958225 | 190 | 0.764157 | 5,876 | 38,284 | 4.497617 | 0.025187 | 0.10557 | 0.116959 | 0.128727 | 0.980324 | 0.97847 | 0.976427 | 0.976427 | 0.976162 | 0.975026 | 0 | 0.073401 | 0.187572 | 38,284 | 382 | 191 | 100.219895 | 0.776292 | 0.02262 | 0 | 0.284866 | 0 | 0.083086 | 0.85806 | 0.405658 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011869 | false | 0 | 0.002967 | 0 | 0.014837 | 0.035608 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4ac66bc7f9e41dc14dc5596af385e503cbba9e57 | 1,557 | py | Python | .circleci/cimodel/data/simple/docker_definitions.py | wenhaopeter/read_pytorch_code | 491f989cd918cf08874dd4f671fb7f0142a0bc4f | [
"Intel",
"X11"
] | null | null | null | .circleci/cimodel/data/simple/docker_definitions.py | wenhaopeter/read_pytorch_code | 491f989cd918cf08874dd4f671fb7f0142a0bc4f | [
"Intel",
"X11"
] | null | null | null | .circleci/cimodel/data/simple/docker_definitions.py | wenhaopeter/read_pytorch_code | 491f989cd918cf08874dd4f671fb7f0142a0bc4f | [
"Intel",
"X11"
] | null | null | null | from collections import OrderedDict
from cimodel.lib.miniutils import quote
# TODO: make this generated from a matrix rather than just a static list
IMAGE_NAMES = [
"pytorch-linux-bionic-cuda11.0-cudnn8-py3.6-gcc9",
"pytorch-linux-bionic-cuda11.0-cudnn8-py3.8-gcc9",
"pytorch-linux-bionic-cuda10.2-cudnn7-... | 34.6 | 80 | 0.663455 | 217 | 1,557 | 4.714286 | 0.299539 | 0.258065 | 0.281525 | 0.164223 | 0.572825 | 0.479961 | 0.322581 | 0 | 0 | 0 | 0 | 0.076803 | 0.180475 | 1,557 | 44 | 81 | 35.386364 | 0.724922 | 0.078356 | 0 | 0 | 1 | 0 | 0.622113 | 0.60112 | 0 | 0 | 0 | 0.022727 | 0 | 1 | 0.027027 | false | 0 | 0.054054 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
435ca8be44a185d26d6f4c847581bd921b49022f | 11,191 | py | Python | test/distributions/test_multivariate_normal.py | konstantinklemmer/gpytorch | f1d947b340a188c398b6c6e610b6a839c61aa298 | [
"MIT"
] | 2 | 2019-03-31T04:36:30.000Z | 2019-05-22T20:09:25.000Z | test/distributions/test_multivariate_normal.py | konstantinklemmer/gpytorch | f1d947b340a188c398b6c6e610b6a839c61aa298 | [
"MIT"
] | null | null | null | test/distributions/test_multivariate_normal.py | konstantinklemmer/gpytorch | f1d947b340a188c398b6c6e610b6a839c61aa298 | [
"MIT"
] | 1 | 2019-02-15T17:05:42.000Z | 2019-02-15T17:05:42.000Z | from __future__ import absolute_import, division, print_function, unicode_literals
import unittest
import torch
from gpytorch.distributions import MultivariateNormal
from gpytorch.lazy import LazyTensor, NonLazyTensor
from test._utils import approx_equal
class TestMultivariateNormal(unittest.TestCase):
def test... | 58.286458 | 118 | 0.683764 | 1,526 | 11,191 | 4.837484 | 0.074705 | 0.127066 | 0.077215 | 0.08453 | 0.947575 | 0.93728 | 0.928068 | 0.899621 | 0.869277 | 0.869277 | 0 | 0.032951 | 0.181038 | 11,191 | 191 | 119 | 58.591623 | 0.772504 | 0.068001 | 0 | 0.703947 | 0 | 0 | 0.004803 | 0 | 0 | 0 | 0 | 0.005236 | 0.453947 | 1 | 0.078947 | false | 0 | 0.039474 | 0 | 0.125 | 0.006579 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
438449ad4ee647fb59f0da92db683246e22a4891 | 141 | py | Python | tests/parser/recursive_aggregates.2.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/recursive_aggregates.2.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/recursive_aggregates.2.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
d(1).
d(2).
d(3).
d(4) :- #min{V : d(V)} = 1.
"""
output = """
d(1).
d(2).
d(3).
d(4) :- #min{V : d(V)} = 1.
"""
| 8.294118 | 28 | 0.29078 | 28 | 141 | 1.464286 | 0.321429 | 0.097561 | 0.146341 | 0.195122 | 0.731707 | 0.731707 | 0.731707 | 0.731707 | 0.731707 | 0.731707 | 0 | 0.103093 | 0.312057 | 141 | 16 | 29 | 8.8125 | 0.319588 | 0 | 0 | 0.833333 | 0 | 0 | 0.75969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
43b44a662a6f0c396e5b0b93df345e62dae7378a | 282 | py | Python | impl/inversion/__init__.py | cmrudolph/algorithms | 3097d0082094ade4de654b342db09be22e2917ba | [
"MIT"
] | null | null | null | impl/inversion/__init__.py | cmrudolph/algorithms | 3097d0082094ade4de654b342db09be22e2917ba | [
"MIT"
] | null | null | null | impl/inversion/__init__.py | cmrudolph/algorithms | 3097d0082094ade4de654b342db09be22e2917ba | [
"MIT"
] | null | null | null | from .inversion import (py_brute_force,
py_recursive_merge,
adapt_benchmark_args,
adapt_run_args)
__all__ = [
'py_brute_force',
'py_recursive_merge',
'adapt_benchmark_args',
'adapt_run_args'
]
| 23.5 | 45 | 0.560284 | 28 | 282 | 4.928571 | 0.464286 | 0.101449 | 0.173913 | 0.202899 | 0.84058 | 0.84058 | 0.84058 | 0.84058 | 0.84058 | 0.84058 | 0 | 0 | 0.368794 | 282 | 11 | 46 | 25.636364 | 0.775281 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
43d010b3ca481bea9b8bf65c8a090f69433dda3a | 170 | py | Python | loldib/getratings/models/NA/na_cassiopeia/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_cassiopeia/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_cassiopeia/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from .na_cassiopeia_top import *
from .na_cassiopeia_jng import *
from .na_cassiopeia_mid import *
from .na_cassiopeia_bot import *
from .na_cassiopeia_sup import *
| 28.333333 | 33 | 0.794118 | 25 | 170 | 5 | 0.36 | 0.24 | 0.64 | 0.704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 170 | 5 | 34 | 34 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
60112a997239409730680e34f2be721cd2aaa7bf | 111 | py | Python | src/vpnchooser/helpers/fields/__init__.py | cbrand/vpnchooser | 0982baeb14eff1e0b7ef5dbc8f11b3a7213f341c | [
"MIT"
] | null | null | null | src/vpnchooser/helpers/fields/__init__.py | cbrand/vpnchooser | 0982baeb14eff1e0b7ef5dbc8f11b3a7213f341c | [
"MIT"
] | null | null | null | src/vpnchooser/helpers/fields/__init__.py | cbrand/vpnchooser | 0982baeb14eff1e0b7ef5dbc8f11b3a7213f341c | [
"MIT"
] | 1 | 2016-05-31T16:14:37.000Z | 2016-05-31T16:14:37.000Z | # -*- encoding: utf-8 -*-
from .absolute_url import AbsoluteUrl
from .absolute_url import NullableAbsoluteUrl
| 22.2 | 45 | 0.774775 | 13 | 111 | 6.461538 | 0.692308 | 0.285714 | 0.357143 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.126126 | 111 | 4 | 46 | 27.75 | 0.85567 | 0.207207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.