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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4db9132ae537ad3fa6bbcb2e7c7b8711ae3424b7 | 26 | py | Python | Basics 101/arithmetic.py | AbhijeetSrivastav/Open-CV-Guide | dee5e2352ef2e8d7666231297f320cc54554469d | [
"MIT",
"Unlicense"
] | null | null | null | Basics 101/arithmetic.py | AbhijeetSrivastav/Open-CV-Guide | dee5e2352ef2e8d7666231297f320cc54554469d | [
"MIT",
"Unlicense"
] | null | null | null | Basics 101/arithmetic.py | AbhijeetSrivastav/Open-CV-Guide | dee5e2352ef2e8d7666231297f320cc54554469d | [
"MIT",
"Unlicense"
] | null | null | null | "OpenCV Image Arithemetic" | 26 | 26 | 0.846154 | 3 | 26 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.916667 | 0.923077 | 0 | 0 | 0 | 0 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4dc5311a93fc84d3cb57e71237af29d3ba80147f | 86 | py | Python | dpsutil/media/__init__.py | connortran216/DPS_Util | 8e6af59c3cc5d4addf3694ee0dfede08206ec4b3 | [
"MIT"
] | 1 | 2021-01-19T03:14:42.000Z | 2021-01-19T03:14:42.000Z | dpsutil/media/__init__.py | connortran216/DPS_Util | 8e6af59c3cc5d4addf3694ee0dfede08206ec4b3 | [
"MIT"
] | 1 | 2021-01-27T09:50:33.000Z | 2021-01-27T09:50:33.000Z | dpsutil/media/__init__.py | connortran216/DPS_Util | 8e6af59c3cc5d4addf3694ee0dfede08206ec4b3 | [
"MIT"
] | 3 | 2020-03-24T02:49:47.000Z | 2021-02-26T04:05:06.000Z | from .image import *
from .constant import *
from .video import *
from .tool import *
| 17.2 | 23 | 0.72093 | 12 | 86 | 5.166667 | 0.5 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 4 | 24 | 21.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12c81e423a0415902cee0898ccd04572333cfdea | 11,777 | py | Python | tests/integration/test_paths_metadata.py | italovalcy/pathfinder | eb7784a88adec7d1d7f635b31389cf903a08e996 | [
"MIT"
] | null | null | null | tests/integration/test_paths_metadata.py | italovalcy/pathfinder | eb7784a88adec7d1d7f635b31389cf903a08e996 | [
"MIT"
] | null | null | null | tests/integration/test_paths_metadata.py | italovalcy/pathfinder | eb7784a88adec7d1d7f635b31389cf903a08e996 | [
"MIT"
] | null | null | null | """Module to test the KytosGraph in graph.py."""
# pylint: disable=too-many-public-methods
from tests.integration.metadata_settings import MetadataSettings
class TestPathsMetadata(MetadataSettings):
"""Tests for the graph class.
Tests if the metadata in search paths edges have passing values.
"""
d... | 33.081461 | 78 | 0.590898 | 1,340 | 11,777 | 5.037313 | 0.096269 | 0.033185 | 0.043556 | 0.077778 | 0.828444 | 0.796889 | 0.778074 | 0.772741 | 0.766222 | 0.755111 | 0 | 0.017226 | 0.314851 | 11,777 | 355 | 79 | 33.174648 | 0.819308 | 0.152501 | 0 | 0.639485 | 0 | 0 | 0.051733 | 0 | 0 | 0 | 0 | 0 | 0.240343 | 1 | 0.090129 | false | 0 | 0.004292 | 0 | 0.103004 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
421458095333b25d05a5e222510947ac39eab3ca | 28 | py | Python | stringTemplate/__init__.py | IngenuityEngine/stringTemplate | e0c9abb41e0538126288a57c4e92cd7ead965abf | [
"MIT"
] | null | null | null | stringTemplate/__init__.py | IngenuityEngine/stringTemplate | e0c9abb41e0538126288a57c4e92cd7ead965abf | [
"MIT"
] | null | null | null | stringTemplate/__init__.py | IngenuityEngine/stringTemplate | e0c9abb41e0538126288a57c4e92cd7ead965abf | [
"MIT"
] | null | null | null | from stringTemplate import * | 28 | 28 | 0.857143 | 3 | 28 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
426c1b29a5e1577fb24080e845d46d35befbd2bb | 39,339 | py | Python | lib_py/lib_pyrender_br_savefig.py | henryclever/bodies-at-rest | 1706b53817b31c5123b852654bee3cf92fa8fb96 | [
"MIT"
] | 57 | 2020-03-08T03:30:27.000Z | 2022-03-08T15:27:46.000Z | lib_py/lib_pyrender_br_savefig.py | henryclever/bodies-at-rest | 1706b53817b31c5123b852654bee3cf92fa8fb96 | [
"MIT"
] | 6 | 2020-04-05T18:34:39.000Z | 2021-10-20T13:08:05.000Z | lib_py/lib_pyrender_br_savefig.py | henryclever/bodies-at-rest | 1706b53817b31c5123b852654bee3cf92fa8fb96 | [
"MIT"
] | 4 | 2020-04-18T14:24:21.000Z | 2022-03-04T16:58:20.000Z |
try:
import open3d as o3d
except:
print "COULD NOT IMPORT 03D"
import trimesh
import pyrender
import pyglet
from scipy import ndimage
import numpy as np
import random
import copy
from smpl.smpl_webuser.serialization import load_model
from time import sleep
#ROS
#import rospy
#import tf
DATASET_CREATE_TYPE... | 42.946507 | 206 | 0.544574 | 5,352 | 39,339 | 3.771674 | 0.078288 | 0.014763 | 0.011741 | 0.010304 | 0.812543 | 0.777222 | 0.744278 | 0.700386 | 0.667938 | 0.616269 | 0 | 0.076699 | 0.335825 | 39,339 | 916 | 207 | 42.946507 | 0.695882 | 0.12949 | 0 | 0.609023 | 0 | 0 | 0.023445 | 0.006045 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.009399 | 0.054511 | null | null | 0.024436 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
42b12b11c02984681364f9e69729f3982ae62a83 | 14,498 | py | Python | tests/views/test_change_response_status.py | ONSdigital/response-operations-ui | 1ec70c89e443fdfba620af328a4a13ce67459aa8 | [
"MIT"
] | 3 | 2018-03-06T12:33:11.000Z | 2021-03-09T09:20:55.000Z | tests/views/test_change_response_status.py | ONSdigital/response-operations-ui | 1ec70c89e443fdfba620af328a4a13ce67459aa8 | [
"MIT"
] | 519 | 2017-11-30T16:32:24.000Z | 2022-03-28T13:37:57.000Z | tests/views/test_change_response_status.py | ONSdigital/response-operations-ui | 1ec70c89e443fdfba620af328a4a13ce67459aa8 | [
"MIT"
] | 2 | 2020-01-21T20:27:32.000Z | 2021-04-11T07:45:16.000Z | import json
import os
from unittest import TestCase
import requests_mock
from config import TestingConfig
from response_operations_ui import create_app
short_name = "BLOCKS"
survey_id = "cb0711c3-0ac8-41d3-ae0e-567e5ea1ef87"
period = "201801"
collection_exercise_id = "14fb3e68-4dca-46db-bf49-04b84e07e77c"
ru_ref = "... | 48.814815 | 116 | 0.740309 | 2,037 | 14,498 | 4.881689 | 0.075601 | 0.086283 | 0.084473 | 0.095736 | 0.864139 | 0.84101 | 0.826931 | 0.802192 | 0.778158 | 0.762671 | 0 | 0.021716 | 0.151952 | 14,498 | 296 | 117 | 48.97973 | 0.787068 | 0 | 0 | 0.567347 | 0 | 0 | 0.227066 | 0.180577 | 0 | 0 | 0 | 0 | 0.17551 | 1 | 0.069388 | false | 0 | 0.02449 | 0 | 0.097959 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35ed4b699ec87230240a30289c98fd70353d9423 | 5,871 | py | Python | VQA/VIS-LSTM/my_models.py | channelCS/Summaries | 0323569d01f414ab67b12c7cbc4fd2b3cd423d6e | [
"MIT"
] | 36 | 2018-05-21T18:16:05.000Z | 2021-05-27T02:14:45.000Z | VQA/VIS-LSTM/my_models.py | channelCS/Summaries | 0323569d01f414ab67b12c7cbc4fd2b3cd423d6e | [
"MIT"
] | null | null | null | VQA/VIS-LSTM/my_models.py | channelCS/Summaries | 0323569d01f414ab67b12c7cbc4fd2b3cd423d6e | [
"MIT"
] | 15 | 2018-05-16T12:13:58.000Z | 2020-09-16T05:18:55.000Z | # -*- coding: utf-8 -*-
from keras.models import Sequential
from keras.layers.core import Reshape, Activation, Dropout
from keras.layers import Input, Dense, Embedding, Conv2D, MaxPool2D
from keras.layers import Reshape, Flatten, Dropout, Concatenate
from keras.layers import LSTM, Merge, Dense, Embedding, Input,Bidirec... | 38.123377 | 119 | 0.721002 | 786 | 5,871 | 5.083969 | 0.105598 | 0.058559 | 0.07007 | 0.054054 | 0.823323 | 0.794294 | 0.78028 | 0.752753 | 0.713964 | 0.67993 | 0 | 0.021124 | 0.169477 | 5,871 | 153 | 120 | 38.372549 | 0.7984 | 0.050588 | 0 | 0.623853 | 0 | 0 | 0.005938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036697 | false | 0 | 0.06422 | 0 | 0.137615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c41552cea40ded48b21161810e3287f93948b7be | 44 | py | Python | src/training/Core2/Chapter7MappingAndSetTypes/set_task.py | MagicForest/Python | 8af56e9384061504f05b229467c922ba71a433cb | [
"Apache-2.0"
] | null | null | null | src/training/Core2/Chapter7MappingAndSetTypes/set_task.py | MagicForest/Python | 8af56e9384061504f05b229467c922ba71a433cb | [
"Apache-2.0"
] | null | null | null | src/training/Core2/Chapter7MappingAndSetTypes/set_task.py | MagicForest/Python | 8af56e9384061504f05b229467c922ba71a433cb | [
"Apache-2.0"
] | null | null | null | def get_all_sub_set(src_set):
return '' | 22 | 30 | 0.704545 | 8 | 44 | 3.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 31 | 22 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c430b67c94e39270429ccbcb707f9df9b549cc22 | 232 | py | Python | app/models/schemas/workspace_config.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | 1 | 2021-05-04T08:46:19.000Z | 2021-05-04T08:46:19.000Z | app/models/schemas/workspace_config.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | null | null | null | app/models/schemas/workspace_config.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | 1 | 2022-01-28T21:21:32.000Z | 2022-01-28T21:21:32.000Z | from typing import List
from app.models.schemas.sensor import SensorInWorkspace
from app.models.schemas.mongo_model import MongoModel, OID
class WorkspaceConfig(MongoModel):
workspaceId: OID
sensors: List[SensorInWorkspace] | 33.142857 | 58 | 0.823276 | 28 | 232 | 6.785714 | 0.607143 | 0.073684 | 0.136842 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116379 | 232 | 7 | 59 | 33.142857 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 6 |
c433231598406cf838483b0e88304491017a4725 | 101 | py | Python | src/api/admin.py | bartlomiej-zdrojewski/netguru-recruitment-task | 82a5419f30f3591736c319ea462de382d9e407e8 | [
"MIT"
] | null | null | null | src/api/admin.py | bartlomiej-zdrojewski/netguru-recruitment-task | 82a5419f30f3591736c319ea462de382d9e407e8 | [
"MIT"
] | null | null | null | src/api/admin.py | bartlomiej-zdrojewski/netguru-recruitment-task | 82a5419f30f3591736c319ea462de382d9e407e8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Car, Rating
admin.site.register([Car, Rating])
| 20.2 | 34 | 0.782178 | 15 | 101 | 5.266667 | 0.666667 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 4 | 35 | 25.25 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
67409eb23efbd376a06a0ac7a4c2e592b8eb0510 | 224 | py | Python | src/ebonite/ext/lightgbm/__init__.py | koskotG/ebonite | 9f9ae016b70fb24865d5edc99142afb8ab4ddc59 | [
"Apache-2.0"
] | null | null | null | src/ebonite/ext/lightgbm/__init__.py | koskotG/ebonite | 9f9ae016b70fb24865d5edc99142afb8ab4ddc59 | [
"Apache-2.0"
] | null | null | null | src/ebonite/ext/lightgbm/__init__.py | koskotG/ebonite | 9f9ae016b70fb24865d5edc99142afb8ab4ddc59 | [
"Apache-2.0"
] | null | null | null | from .dataset import LightGBMDatasetHook, LightGBMDatasetType
from .model import LightGBMModelHook, LightGBMModelWrapper
__all__ = ['LightGBMModelWrapper', 'LightGBMModelHook', 'LightGBMDatasetHook', 'LightGBMDatasetType']
| 44.8 | 101 | 0.84375 | 15 | 224 | 12.333333 | 0.6 | 0.410811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075893 | 224 | 4 | 102 | 56 | 0.89372 | 0 | 0 | 0 | 0 | 0 | 0.334821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
677d4324dafd37793fbdcd77e4d50725ba519556 | 25,502 | py | Python | test/tools_tests/tree_metrics_test.py | YosefLab/SingleCellLineageTracing | d9133fc80c8314e7935fde037dd86111cac47447 | [
"MIT"
] | 1 | 2022-01-03T21:15:03.000Z | 2022-01-03T21:15:03.000Z | test/tools_tests/tree_metrics_test.py | sbradford2/Cassiopeia | 010072b307f7eadbf10dc4af8b2165e48f1736a7 | [
"MIT"
] | null | null | null | test/tools_tests/tree_metrics_test.py | sbradford2/Cassiopeia | 010072b307f7eadbf10dc4af8b2165e48f1736a7 | [
"MIT"
] | null | null | null | """
Tests for cassiopeia/tools/tree_metrics.py
"""
import unittest
import itertools
import networkx as nx
from networkx.generators import stochastic
import numpy as np
import pandas as pd
import cassiopeia as cas
from cassiopeia.tools import tree_metrics
from cassiopeia.mixins import TreeMetricError
class TestCassi... | 35.078404 | 80 | 0.56474 | 2,797 | 25,502 | 4.849839 | 0.062925 | 0.084924 | 0.06502 | 0.077405 | 0.89038 | 0.882271 | 0.87453 | 0.854478 | 0.824917 | 0.800221 | 0 | 0.079212 | 0.329229 | 25,502 | 726 | 81 | 35.126722 | 0.713785 | 0.001647 | 0 | 0.645706 | 0 | 0 | 0.059799 | 0.035125 | 0 | 0 | 0 | 0 | 0.095092 | 1 | 0.021472 | false | 0 | 0.013804 | 0 | 0.03681 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6788760947df696e3c3caa699e1b4d912b6e13af | 31 | py | Python | python/testData/refactoring/move/moveSymbolDoesntReorderImportsInOriginFile/after/src/main.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/move/moveSymbolDoesntReorderImportsInOriginFile/after/src/main.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/move/moveSymbolDoesntReorderImportsInOriginFile/after/src/main.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import c
import a
print(a, c)
| 6.2 | 11 | 0.677419 | 7 | 31 | 3 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 4 | 12 | 7.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
67a1e5248a4465335d41b1c2b81f5651a2c54535 | 114 | py | Python | src/little_r/__init__.py | cyemeng/python-little_r | 13aa985c9fd89106acc6260e6c4eeb4eb99111af | [
"BSD-3-Clause"
] | 7 | 2018-03-19T01:39:37.000Z | 2022-01-09T09:19:30.000Z | src/little_r/__init__.py | cyemeng/python-little_r | 13aa985c9fd89106acc6260e6c4eeb4eb99111af | [
"BSD-3-Clause"
] | null | null | null | src/little_r/__init__.py | cyemeng/python-little_r | 13aa985c9fd89106acc6260e6c4eeb4eb99111af | [
"BSD-3-Clause"
] | 4 | 2020-03-20T09:19:59.000Z | 2022-01-09T07:49:50.000Z | from .record import Record
from .station import Station
from .time_series_converter import time_series_to_little_r | 38 | 58 | 0.877193 | 18 | 114 | 5.222222 | 0.555556 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096491 | 114 | 3 | 58 | 38 | 0.912621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
67f496d6efed224b3f6dfb5a6ee4bc0a82cd9553 | 2,309 | py | Python | SoftLayer/fixtures/SoftLayer_Virtual_ReservedCapacityGroup.py | dvzrv/softlayer-python | 9a5f6c6981bcc370084537b4d1769383499ce90d | [
"MIT"
] | 126 | 2015-01-05T05:09:22.000Z | 2021-07-02T00:16:35.000Z | SoftLayer/fixtures/SoftLayer_Virtual_ReservedCapacityGroup.py | dvzrv/softlayer-python | 9a5f6c6981bcc370084537b4d1769383499ce90d | [
"MIT"
] | 969 | 2015-01-05T15:55:31.000Z | 2022-03-31T19:55:20.000Z | SoftLayer/fixtures/SoftLayer_Virtual_ReservedCapacityGroup.py | dvzrv/softlayer-python | 9a5f6c6981bcc370084537b4d1769383499ce90d | [
"MIT"
] | 176 | 2015-01-22T11:23:40.000Z | 2022-02-11T13:16:58.000Z | getObject = {
'accountId': 1234,
'backendRouterId': 1411193,
'backendRouter': {
'fullyQualifiedDomainName': 'bcr02a.dal13.softlayer.com',
'hostname': 'bcr02a.dal13',
'id': 1411193,
'datacenter': {
'id': 1854895,
'longName': 'Dallas 13',
'na... | 26.848837 | 65 | 0.426592 | 177 | 2,309 | 5.514124 | 0.389831 | 0.036885 | 0.081967 | 0.107582 | 0.751025 | 0.727459 | 0.727459 | 0.727459 | 0.727459 | 0.727459 | 0 | 0.210411 | 0.409268 | 2,309 | 85 | 66 | 27.164706 | 0.505132 | 0 | 0 | 0.54321 | 0 | 0 | 0.389779 | 0.127761 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67f90e1a23f59d72621e70ab832936f60cc187b7 | 3,785 | py | Python | ubc/da/dbr.py | gdsfactory/ubc | f780778a06dad80c3e0df36c534d88000adc1c87 | [
"MIT"
] | 9 | 2020-05-16T07:20:11.000Z | 2022-03-27T18:18:52.000Z | ubc/da/dbr.py | gdsfactory/ubc | f780778a06dad80c3e0df36c534d88000adc1c87 | [
"MIT"
] | 5 | 2022-01-25T02:50:55.000Z | 2022-03-14T02:32:20.000Z | ubc/da/dbr.py | gdsfactory/ubc | f780778a06dad80c3e0df36c534d88000adc1c87 | [
"MIT"
] | 3 | 2020-05-28T20:45:54.000Z | 2022-01-11T21:46:18.000Z | from ubc.config import PATH
dbrs = {
filename.split("_")[3][8:].replace("Num", "_"): PATH.dbr / filename
for filename in [
"ELEC_413_lukasc_BraggSet1Num10_1272.mat",
"ELEC_413_lukasc_BraggSet1Num11_1273.mat",
"ELEC_413_lukasc_BraggSet1Num12_1271.mat",
"ELEC_413_lukasc_BraggSet1N... | 47.3125 | 71 | 0.737384 | 450 | 3,785 | 5.557778 | 0.362222 | 0.201519 | 0.37425 | 0.454218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22376 | 0.179392 | 3,785 | 79 | 72 | 47.911392 | 0.581455 | 0 | 0 | 0 | 0 | 0 | 0.736063 | 0.734742 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012821 | 0 | 0.012821 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67fac06542f5750e1c374a0af9811263e244bed2 | 39 | py | Python | textmagic/rest/__init__.py | textmagic/textmagic-rest-python | 15d679cb985b88b1cb2153ef2ba80d9749f9e281 | [
"MIT"
] | 28 | 2016-11-18T10:55:32.000Z | 2022-01-01T07:54:54.000Z | textmagic/rest/__init__.py | textmagic/textmagic-rest-python | 15d679cb985b88b1cb2153ef2ba80d9749f9e281 | [
"MIT"
] | 12 | 2015-09-17T17:46:59.000Z | 2020-07-05T12:16:05.000Z | textmagic/rest/__init__.py | textmagic/textmagic-rest-python | 15d679cb985b88b1cb2153ef2ba80d9749f9e281 | [
"MIT"
] | 23 | 2015-09-17T16:42:10.000Z | 2021-05-18T09:48:24.000Z | from .client import TextmagicRestClient | 39 | 39 | 0.897436 | 4 | 39 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db1c7313fce37926e08eb08c463adedb2ddda381 | 34 | py | Python | Krakatau-master/Krakatau/Krakatau/ssa/__init__.py | orneryhippo/saturdays | 525ce086452e96a01d1762418c79d4c84fd605b5 | [
"Apache-2.0"
] | null | null | null | Krakatau-master/Krakatau/Krakatau/ssa/__init__.py | orneryhippo/saturdays | 525ce086452e96a01d1762418c79d4c84fd605b5 | [
"Apache-2.0"
] | null | null | null | Krakatau-master/Krakatau/Krakatau/ssa/__init__.py | orneryhippo/saturdays | 525ce086452e96a01d1762418c79d4c84fd605b5 | [
"Apache-2.0"
] | null | null | null | from .graph import ssaFromVerified | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1e40c77b3540ab4dde3e80ed64055e34610e5fb | 10,685 | py | Python | vm_network_migration_end_to_end_tests/test_forwarding_rule_migration/test_internal_self_managed_forwarding_rule_migration.py | googleinterns/vm-network-migration | 1132e44d696ab9da4d1079ebc3d32ed4382cdc28 | [
"Apache-2.0"
] | 1 | 2020-05-27T00:30:47.000Z | 2020-05-27T00:30:47.000Z | vm_network_migration_end_to_end_tests/test_forwarding_rule_migration/test_internal_self_managed_forwarding_rule_migration.py | yueMaHello/vm-network-migration | 4a6bdbb2952fb8ee8022b5c0452159329a79e953 | [
"Apache-2.0"
] | 1 | 2020-06-03T15:51:20.000Z | 2020-06-03T15:51:20.000Z | vm_network_migration_end_to_end_tests/test_forwarding_rule_migration/test_internal_self_managed_forwarding_rule_migration.py | yueMaHello/vm-network-migration | 4a6bdbb2952fb8ee8022b5c0452159329a79e953 | [
"Apache-2.0"
] | 3 | 2020-06-03T15:17:00.000Z | 2020-06-20T08:39:50.000Z | # Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 50.164319 | 114 | 0.671315 | 1,090 | 10,685 | 6.098165 | 0.16055 | 0.075824 | 0.05777 | 0.083045 | 0.792388 | 0.792388 | 0.791485 | 0.791485 | 0.762449 | 0.754325 | 0 | 0.004511 | 0.273842 | 10,685 | 212 | 115 | 50.400943 | 0.852172 | 0.080112 | 0 | 0.736527 | 0 | 0 | 0.083461 | 0.054755 | 0 | 0 | 0 | 0 | 0.05988 | 1 | 0.02994 | false | 0.017964 | 0.053892 | 0 | 0.08982 | 0.017964 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c02e43631eb5d2d9d105a340a788763643bcb402 | 136 | py | Python | examples/libtest/_importtimeerror.py | takipsizad/pyjs | 54db0ba6747aca744f9f3c3e985a17e913dfb951 | [
"ECL-2.0",
"Apache-2.0"
] | 739 | 2015-01-01T02:05:11.000Z | 2022-03-30T15:26:16.000Z | examples/libtest/_importtimeerror.py | takipsizad/pyjs | 54db0ba6747aca744f9f3c3e985a17e913dfb951 | [
"ECL-2.0",
"Apache-2.0"
] | 33 | 2015-03-25T23:17:04.000Z | 2021-08-19T08:25:22.000Z | examples/libtest/_importtimeerror.py | takipsizad/pyjs | 54db0ba6747aca744f9f3c3e985a17e913dfb951 | [
"ECL-2.0",
"Apache-2.0"
] | 167 | 2015-01-01T22:27:47.000Z | 2022-03-17T13:29:19.000Z | """
Test module with import-time exception, for import compilation/linking testing
"""
raise Exception("Testing import-time exception")
| 27.2 | 78 | 0.786765 | 17 | 136 | 6.294118 | 0.647059 | 0.186916 | 0.35514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110294 | 136 | 4 | 79 | 34 | 0.884298 | 0.573529 | 0 | 0 | 0 | 0 | 0.58 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c04e00102e41e2f5cd8dbad7a117ba054686683b | 24 | py | Python | netforce_marketing/netforce_marketing/migrations/__init__.py | nfco/netforce | 35252eecd0a6633ab9d82162e9e3ff57d4da029a | [
"MIT"
] | 27 | 2015-09-30T23:53:30.000Z | 2021-06-07T04:56:25.000Z | netforce_marketing/netforce_marketing/migrations/__init__.py | nfco/netforce | 35252eecd0a6633ab9d82162e9e3ff57d4da029a | [
"MIT"
] | 191 | 2015-10-08T11:46:30.000Z | 2019-11-14T02:24:36.000Z | netforce_marketing/netforce_marketing/migrations/__init__.py | nfco/netforce | 35252eecd0a6633ab9d82162e9e3ff57d4da029a | [
"MIT"
] | 32 | 2015-10-01T03:59:43.000Z | 2022-01-13T07:31:05.000Z | from . import mkt_clean
| 12 | 23 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbe759961210468453a2c96914811e06f55aeaf4 | 217 | py | Python | unsorted/pythonsnippets_0030.py | fiddlerwoaroof/sandbox | 652acaf710a8b60f005769bde317e7bbf548cc2b | [
"BSD-3-Clause"
] | null | null | null | unsorted/pythonsnippets_0030.py | fiddlerwoaroof/sandbox | 652acaf710a8b60f005769bde317e7bbf548cc2b | [
"BSD-3-Clause"
] | null | null | null | unsorted/pythonsnippets_0030.py | fiddlerwoaroof/sandbox | 652acaf710a8b60f005769bde317e7bbf548cc2b | [
"BSD-3-Clause"
] | null | null | null | {
0: {
1:{
2: {}
},
14: {
15: {}
},
16:{
18: {}
},
17:{}
19:{}
20:{}
21:{}
22:{}
}
}
| 11.421053 | 18 | 0.096774 | 12 | 217 | 1.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33871 | 0.714286 | 217 | 18 | 19 | 12.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fbf63cf309b49a3c13f56ee7855e26701d2550c8 | 9,604 | py | Python | scripts/BI/pyro_model/pgexplainer/Jermey/models.py | shalinkpatel/GCN_Integration | 253fa4321606acf0ee0a98667bf6e5eb8ec96cf1 | [
"MIT"
] | null | null | null | scripts/BI/pyro_model/pgexplainer/Jermey/models.py | shalinkpatel/GCN_Integration | 253fa4321606acf0ee0a98667bf6e5eb8ec96cf1 | [
"MIT"
] | 1 | 2022-02-10T06:32:42.000Z | 2022-02-10T06:32:42.000Z | scripts/BI/pyro_model/pgexplainer/Jermey/models.py | shalinkpatel/GCN_Integration | 253fa4321606acf0ee0a98667bf6e5eb8ec96cf1 | [
"MIT"
] | null | null | null | import os
import argparse
import time
from datetime import datetime, date
import random
import numpy as np
from scipy.sparse import load_npz
from sklearn.metrics import roc_auc_score, f1_score, precision_recall_curve, auc
from scipy.stats import pearsonr
import pandas as pd
import torch
import torch_geometric
import ... | 35.57037 | 127 | 0.594752 | 1,221 | 9,604 | 4.420966 | 0.120393 | 0.08003 | 0.072619 | 0.098555 | 0.773249 | 0.773249 | 0.745461 | 0.728418 | 0.728418 | 0.728418 | 0 | 0.021299 | 0.30581 | 9,604 | 270 | 128 | 35.57037 | 0.788361 | 0.215848 | 0 | 0.724638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050725 | false | 0 | 0.108696 | 0 | 0.210145 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2218f20afb133b7c5fd28378c41182a57ac0c430 | 15,329 | py | Python | seleniumbase/behave/behave_helper.py | mdmintz/seleniumspot | f5c225aa4fcd0b4124fc990e3892c36736290ce8 | [
"MIT"
] | 1 | 2015-06-17T10:16:26.000Z | 2015-06-17T10:16:26.000Z | seleniumbase/behave/behave_helper.py | mdmintz/seleniumspot | f5c225aa4fcd0b4124fc990e3892c36736290ce8 | [
"MIT"
] | null | null | null | seleniumbase/behave/behave_helper.py | mdmintz/seleniumspot | f5c225aa4fcd0b4124fc990e3892c36736290ce8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
python3 = True
if sys.version_info[0] < 3:
python3 = False
def generate_gherkin(srt_actions):
sb_actions = []
for action in srt_actions:
if action[0] == "begin" or action[0] == "_url_":
if "%" in action[2] and python3:
try:
... | 42.22865 | 78 | 0.412029 | 1,741 | 15,329 | 3.541643 | 0.090178 | 0.169153 | 0.211645 | 0.072008 | 0.784625 | 0.758028 | 0.73143 | 0.720078 | 0.696886 | 0.672884 | 0 | 0.03386 | 0.425859 | 15,329 | 362 | 79 | 42.345304 | 0.666742 | 0.00137 | 0 | 0.43662 | 1 | 0 | 0.138377 | 0 | 0 | 0 | 0 | 0 | 0.047887 | 1 | 0.002817 | false | 0.005634 | 0.011268 | 0 | 0.016901 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
221d7df8276bc43741dd7bdbcd42c88c792a3ded | 2,800 | py | Python | test/test_readers.py | alexandonian/lightning | 90350fd454cd7a51c35adadf5b9753868ac6dccd | [
"Apache-2.0"
] | null | null | null | test/test_readers.py | alexandonian/lightning | 90350fd454cd7a51c35adadf5b9753868ac6dccd | [
"Apache-2.0"
] | null | null | null | test/test_readers.py | alexandonian/lightning | 90350fd454cd7a51c35adadf5b9753868ac6dccd | [
"Apache-2.0"
] | null | null | null | from lightning.readers import LocalFileReader, LocalParallelReader, listsubdir, listsubdirflat
def make(tmpdir, files):
tmpdir.mkdir('foo')
tmpdir.mkdir('bar')
tmpdir.mkdir('foo/bar')
for f in files:
tmpdir.join(f).write('hi')
def parse(files):
return [f.split('/')[-1] for f in files]
... | 30.434783 | 94 | 0.651786 | 337 | 2,800 | 5.338279 | 0.151335 | 0.133407 | 0.085047 | 0.105058 | 0.831017 | 0.799889 | 0.780989 | 0.776543 | 0.723735 | 0.657032 | 0 | 0.001305 | 0.178929 | 2,800 | 91 | 95 | 30.769231 | 0.781209 | 0 | 0 | 0.61194 | 0 | 0 | 0.133571 | 0.075714 | 0 | 0 | 0 | 0 | 0.149254 | 1 | 0.179104 | false | 0 | 0.014925 | 0.014925 | 0.208955 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
225b7f72b3ecd68b8fc37c48ec39aa872bf8c107 | 104 | py | Python | manage_app/backend/mixins/__init__.py | radekska/django-network-controller | 6bcb847cbe1efa7dee118974de5e49b4f411e5da | [
"MIT"
] | null | null | null | manage_app/backend/mixins/__init__.py | radekska/django-network-controller | 6bcb847cbe1efa7dee118974de5e49b4f411e5da | [
"MIT"
] | null | null | null | manage_app/backend/mixins/__init__.py | radekska/django-network-controller | 6bcb847cbe1efa7dee118974de5e49b4f411e5da | [
"MIT"
] | null | null | null | from .AjaxTrapEngineMixin import AjaxTrapEngineView
from .AjaxSSHSessionMixin import AjaxSSHSessionView
| 34.666667 | 51 | 0.903846 | 8 | 104 | 11.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 104 | 2 | 52 | 52 | 0.979167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
226a617f18f41d243e915007584e455b29dbcfbc | 2,996 | py | Python | algocodes/algocodes/spiders/leetcode_spide.py | Brucechen13/freeprograms | 260f80cb6350da04a27a8ffccca3fdb0d9e0ad98 | [
"MIT"
] | null | null | null | algocodes/algocodes/spiders/leetcode_spide.py | Brucechen13/freeprograms | 260f80cb6350da04a27a8ffccca3fdb0d9e0ad98 | [
"MIT"
] | null | null | null | algocodes/algocodes/spiders/leetcode_spide.py | Brucechen13/freeprograms | 260f80cb6350da04a27a8ffccca3fdb0d9e0ad98 | [
"MIT"
] | null | null | null | # -*- coding:UTF-8 -*-
import json
from algocodes.items import QuestionItem
import scrapy
from scrapy.http import Request
class LeetcodeSpider(scrapy.Spider):
name = 'leetcode'
start_urls = ['https://leetcode.com/api/problems/algorithms/']
def parse(self, response):
# follow links to author page... | 93.625 | 1,849 | 0.733645 | 518 | 2,996 | 4.194981 | 0.249035 | 0.263231 | 0.23746 | 0.202485 | 0.184077 | 0.184077 | 0.173033 | 0.173033 | 0.173033 | 0.173033 | 0 | 0.234568 | 0.080774 | 2,996 | 31 | 1,850 | 96.645161 | 0.554466 | 0.029039 | 0 | 0 | 0 | 0.043478 | 0.716007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.173913 | 0 | 0.391304 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
2279e175ee79d64e7ec15d23d53ac9f93eda0ee3 | 323 | py | Python | dygiepp/dygie/data/__init__.py | feiLinX/SciREX | 768c869af746f4a61b3d58b15897e03caa5e2d32 | [
"Apache-2.0"
] | 99 | 2020-05-04T11:07:00.000Z | 2022-03-30T12:55:00.000Z | dygiepp/dygie/data/__init__.py | feiLinX/SciREX | 768c869af746f4a61b3d58b15897e03caa5e2d32 | [
"Apache-2.0"
] | 13 | 2020-08-05T18:22:44.000Z | 2021-05-06T21:35:05.000Z | dygiepp/dygie/data/__init__.py | feiLinX/SciREX | 768c869af746f4a61b3d58b15897e03caa5e2d32 | [
"Apache-2.0"
] | 24 | 2020-07-09T13:37:42.000Z | 2022-03-26T09:56:43.000Z | from dygie.data.dataset_readers.ie_json import IEJsonReader
from dygie.data.dataset_readers.data_structures import Dataset
from dygie.data.iterators.document_iterator import DocumentIterator
from dygie.data.iterators.batch_iterator import BatchIterator
from dygie.data.iterators.multitask_iterator import MultiTaskIterat... | 53.833333 | 69 | 0.891641 | 42 | 323 | 6.690476 | 0.428571 | 0.160142 | 0.231317 | 0.234875 | 0.192171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06192 | 323 | 5 | 70 | 64.6 | 0.927393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97dd2350bf660ac489f30caeb9e6c20f3a909cdc | 148 | py | Python | _includes/examples/02basic/bool.py | sjirwin/dunder-methods-are-special | 6c13e7d1ea0f2bc4ab2c5070117b6692c252f83e | [
"CC0-1.0"
] | 1 | 2019-10-23T17:19:08.000Z | 2019-10-23T17:19:08.000Z | _includes/examples/02basic/bool.py | sjirwin/dunder-methods-are-special | 6c13e7d1ea0f2bc4ab2c5070117b6692c252f83e | [
"CC0-1.0"
] | null | null | null | _includes/examples/02basic/bool.py | sjirwin/dunder-methods-are-special | 6c13e7d1ea0f2bc4ab2c5070117b6692c252f83e | [
"CC0-1.0"
] | null | null | null | class Swallow:
def __init__(self, state: str):
self.state = state.lower()
def __bool__(self):
return self.state == 'unladen' | 29.6 | 38 | 0.614865 | 18 | 148 | 4.611111 | 0.611111 | 0.325301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256757 | 148 | 5 | 38 | 29.6 | 0.754545 | 0 | 0 | 0 | 0 | 0 | 0.04698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3f310b2eb630c06f62c1adaa9a4ec6c98c04335e | 106 | py | Python | MaximumInTable/MaximumInTable509A.py | EthanHaque/codeforces | ab9edf6bd8c5f71595996b2b0757e0a9efe9aae2 | [
"MIT"
] | null | null | null | MaximumInTable/MaximumInTable509A.py | EthanHaque/codeforces | ab9edf6bd8c5f71595996b2b0757e0a9efe9aae2 | [
"MIT"
] | null | null | null | MaximumInTable/MaximumInTable509A.py | EthanHaque/codeforces | ab9edf6bd8c5f71595996b2b0757e0a9efe9aae2 | [
"MIT"
] | null | null | null | import math
n = int(input())
print(round(math.factorial(2*n-2)/(math.factorial(n-1)*math.factorial(n-1)))) | 35.333333 | 77 | 0.707547 | 20 | 106 | 3.75 | 0.5 | 0.52 | 0.373333 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.04717 | 106 | 3 | 77 | 35.333333 | 0.70297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
58bef5b544de67442f9dbab7890f678f9f7e7959 | 4,024 | py | Python | frameworks/elastic/tests/test_upgrade.py | ankitcid/dcos-commons | 6804670110a9db01a7414f1c2abc2a35d9d7433d | [
"Apache-2.0"
] | null | null | null | frameworks/elastic/tests/test_upgrade.py | ankitcid/dcos-commons | 6804670110a9db01a7414f1c2abc2a35d9d7433d | [
"Apache-2.0"
] | null | null | null | frameworks/elastic/tests/test_upgrade.py | ankitcid/dcos-commons | 6804670110a9db01a7414f1c2abc2a35d9d7433d | [
"Apache-2.0"
] | null | null | null | import logging
from typing import Iterator
import pytest
import sdk_install
import sdk_utils
from tests import config
log = logging.getLogger(__name__)
foldered_name = sdk_utils.get_foldered_name(config.SERVICE_NAME)
expected_task_count = config.DEFAULT_TASK_COUNT
@pytest.fixture(scope="module", autouse=True)
def... | 38.32381 | 97 | 0.742545 | 567 | 4,024 | 5.008818 | 0.153439 | 0.035211 | 0.06338 | 0.088028 | 0.864789 | 0.839085 | 0.82007 | 0.815493 | 0.778521 | 0.712676 | 0 | 0.010607 | 0.156561 | 4,024 | 104 | 98 | 38.692308 | 0.826164 | 0.082008 | 0 | 0.459459 | 0 | 0 | 0.236714 | 0.005965 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067568 | false | 0 | 0.081081 | 0 | 0.148649 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
45021a8f0714712224f30389f7cb8975728dee9a | 2,667 | py | Python | examples/proxy_graphic.py | jkjt/ezdxf | 2acc5611b81476ea16b98063b9f55446a9182b81 | [
"MIT"
] | 515 | 2017-01-25T05:46:52.000Z | 2022-03-29T09:52:27.000Z | examples/proxy_graphic.py | jkjt/ezdxf | 2acc5611b81476ea16b98063b9f55446a9182b81 | [
"MIT"
] | 417 | 2017-01-25T10:01:17.000Z | 2022-03-29T09:22:04.000Z | examples/proxy_graphic.py | jkjt/ezdxf | 2acc5611b81476ea16b98063b9f55446a9182b81 | [
"MIT"
] | 149 | 2017-02-01T15:52:02.000Z | 2022-03-17T10:33:38.000Z | # Copyright (c) 2020, Manfred Moitzi
# License: MIT License
from pathlib import Path
from ezdxf.lldxf.tags import Tags
from ezdxf.proxygraphic import load_proxy_graphic, ProxyGraphic
import logging
import ezdxf
logging.basicConfig(level=logging.ERROR)
DIR = Path("~/Desktop/outbox").expanduser()
DATA = """160
968
310
... | 56.744681 | 254 | 0.92351 | 114 | 2,667 | 21.54386 | 0.526316 | 0.007329 | 0.013029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.67853 | 0.041245 | 2,667 | 46 | 255 | 57.978261 | 0.281971 | 0.020622 | 0 | 0.216216 | 0 | 0 | 0.786125 | 0.742047 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.135135 | 0 | 0.135135 | 0.054054 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
453652da11f519622a119229158e8f3e6e86d031 | 318 | py | Python | src/packageManagerIntrinsic.py | arjungopisetty/kyrios | 453ebb4ff01d5042f16e39475bccd114b059f344 | [
"MIT"
] | 3 | 2017-06-19T13:26:01.000Z | 2020-08-06T16:42:44.000Z | src/packageManagerIntrinsic.py | arjungopisetty/kyrios | 453ebb4ff01d5042f16e39475bccd114b059f344 | [
"MIT"
] | 31 | 2018-07-24T20:35:47.000Z | 2020-09-03T03:48:01.000Z | src/packageManagerIntrinsic.py | arjungopisetty/kyrios | 453ebb4ff01d5042f16e39475bccd114b059f344 | [
"MIT"
] | 1 | 2020-08-03T19:50:56.000Z | 2020-08-03T19:50:56.000Z | from packageManager import packageManager
import logging
class packageManagerIntrinsic(packageManager):
def isInstalled(self, packageName, package, context, platformConfig):
return True
def installPackage(self, packageName, package, context, platformConfig):
pass # it's intrinsically there!
| 31.8 | 76 | 0.77044 | 30 | 318 | 8.166667 | 0.7 | 0.163265 | 0.179592 | 0.236735 | 0.35102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 318 | 9 | 77 | 35.333333 | 0.924528 | 0.078616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
453fbd6c9bfc9fdb12cafe150f9466d2a776e3b7 | 34 | py | Python | Myna/Hornbill/__init__.py | sartho/GreenAnt | 9d46c19612ca0392d73b5f625d35e917076d93ca | [
"MIT"
] | null | null | null | Myna/Hornbill/__init__.py | sartho/GreenAnt | 9d46c19612ca0392d73b5f625d35e917076d93ca | [
"MIT"
] | null | null | null | Myna/Hornbill/__init__.py | sartho/GreenAnt | 9d46c19612ca0392d73b5f625d35e917076d93ca | [
"MIT"
] | null | null | null | from .ResizerIMG import IMGresizer | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18c22c276599e56641e71bd002ec7b926e375808 | 3,293 | py | Python | part_1/sw/part_1_2.py | tanselsimsek/Recommendation-Systems | c8918edba3c1801f067244153f7f9b456bd6b3a4 | [
"MIT"
] | null | null | null | part_1/sw/part_1_2.py | tanselsimsek/Recommendation-Systems | c8918edba3c1801f067244153f7f9b456bd6b3a4 | [
"MIT"
] | null | null | null | part_1/sw/part_1_2.py | tanselsimsek/Recommendation-Systems | c8918edba3c1801f067244153f7f9b456bd6b3a4 | [
"MIT"
] | 1 | 2021-11-13T11:44:19.000Z | 2021-11-13T11:44:19.000Z | import os
from surprise import Reader
from surprise import Dataset,KNNBaseline, SVD
from surprise.model_selection import KFold, cross_validate
from surprise.model_selection.search import GridSearchCV, RandomizedSearchCV
cwd = os.getcwd()
#------------------------DATASET_1_LOADING -------------------------------------... | 29.401786 | 107 | 0.524142 | 420 | 3,293 | 3.916667 | 0.259524 | 0.012766 | 0.012158 | 0.036474 | 0.816413 | 0.774468 | 0.746505 | 0.733131 | 0.733131 | 0.733131 | 0 | 0.084887 | 0.234437 | 3,293 | 111 | 108 | 29.666667 | 0.567632 | 0.134528 | 0 | 0.557143 | 0 | 0 | 0.154716 | 0.021194 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0.057143 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18c3f1282c1e4580fd36a555fab6f4b2fb2b16b5 | 173 | py | Python | marker-conversion-utils/cartocomutils/esriGraphicsSymbols.py | jasonbot/maki-to-style | caaf5285cdccc493c6c24ff9700ccf21c81edaf0 | [
"Apache-2.0"
] | 1 | 2016-05-22T07:59:05.000Z | 2016-05-22T07:59:05.000Z | marker-conversion-utils/cartocomutils/esriGraphicsSymbols.py | jasonbot/maki-to-style | caaf5285cdccc493c6c24ff9700ccf21c81edaf0 | [
"Apache-2.0"
] | null | null | null | marker-conversion-utils/cartocomutils/esriGraphicsSymbols.py | jasonbot/maki-to-style | caaf5285cdccc493c6c24ff9700ccf21c81edaf0 | [
"Apache-2.0"
] | null | null | null | 'Type library'
__all__ = []
from cartocomutils import _esriGraphicsSymbols
from cartocomutils import Enumeration, IndexProperty, _IIDMap, _CLSIDMap, _RecordMap
import uuid
| 24.714286 | 84 | 0.83237 | 17 | 173 | 8 | 0.764706 | 0.25 | 0.338235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115607 | 173 | 6 | 85 | 28.833333 | 0.888889 | 0.069364 | 0 | 0 | 0 | 0 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18ccf481c7e7a3db83fc457ab5614e5bd26c6bc2 | 11,703 | py | Python | tests/api/v2/handlers/test_adversaries_api.py | mihaid-b/caldera | 90af73188a9865757c167efd31cbd87a8e6160b1 | [
"Apache-2.0"
] | null | null | null | tests/api/v2/handlers/test_adversaries_api.py | mihaid-b/caldera | 90af73188a9865757c167efd31cbd87a8e6160b1 | [
"Apache-2.0"
] | null | null | null | tests/api/v2/handlers/test_adversaries_api.py | mihaid-b/caldera | 90af73188a9865757c167efd31cbd87a8e6160b1 | [
"Apache-2.0"
] | null | null | null | import pytest
from http import HTTPStatus
from app.objects.c_adversary import AdversarySchema, Adversary
from app.utility.base_service import BaseService
@pytest.fixture
def updated_adversary_payload():
return {
'name': 'test updated adversary',
'description': 'an updated adversary',
'ob... | 52.954751 | 119 | 0.652226 | 1,295 | 11,703 | 5.548263 | 0.087259 | 0.036882 | 0.052053 | 0.035491 | 0.832707 | 0.792763 | 0.774669 | 0.757133 | 0.7254 | 0.672095 | 0 | 0.021888 | 0.262155 | 11,703 | 220 | 120 | 53.195455 | 0.810191 | 0 | 0 | 0.521739 | 0 | 0 | 0.130394 | 0.062548 | 0 | 0 | 0 | 0 | 0.179348 | 1 | 0.043478 | false | 0 | 0.021739 | 0.016304 | 0.11413 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18e2925102b32d05c2fccddf1e2dd162ffba9061 | 20,934 | py | Python | dota_data.py | cl886699/frcnn_multigpu | eed28bd3eafdf43957ea66b4ab6198d7dca57385 | [
"MIT"
] | null | null | null | dota_data.py | cl886699/frcnn_multigpu | eed28bd3eafdf43957ea66b4ab6198d7dca57385 | [
"MIT"
] | null | null | null | dota_data.py | cl886699/frcnn_multigpu | eed28bd3eafdf43957ea66b4ab6198d7dca57385 | [
"MIT"
] | null | null | null | import os
import sys
import tensorlayer as tl
import tensorflow as tf
import numpy as np
import random
import cv2
from shapely.geometry import Polygon
from tqdm import tqdm
from skimage import transform
def show_images(image, boxes, filen, label_pre, pth=''):
image = image.numpy()
image = image.astype(np.uint8... | 43.6125 | 132 | 0.523359 | 2,812 | 20,934 | 3.692034 | 0.100285 | 0.05105 | 0.016182 | 0.015026 | 0.794163 | 0.777307 | 0.769505 | 0.758717 | 0.736274 | 0.726835 | 0 | 0.039388 | 0.337824 | 20,934 | 480 | 133 | 43.6125 | 0.709566 | 0.118563 | 0 | 0.726316 | 0 | 0 | 0.01834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055263 | false | 0.005263 | 0.026316 | 0.015789 | 0.152632 | 0.007895 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a12afc1ba302056ec6f267e8dca01cbe111213b | 27,483 | py | Python | main.py | praktica98/Critical_path_tracing | efb0eb016a58333b79d3eb1bc725227d092b1a3e | [
"MIT"
] | null | null | null | main.py | praktica98/Critical_path_tracing | efb0eb016a58333b79d3eb1bc725227d092b1a3e | [
"MIT"
] | null | null | null | main.py | praktica98/Critical_path_tracing | efb0eb016a58333b79d3eb1bc725227d092b1a3e | [
"MIT"
] | null | null | null | import random
import re
tasks = dict() # contains all the tasks
branches = list()
output = dict()
gates = dict()
def read_task():
global tasks, gates
counter = 0
file = open('c17.txt')
for line in file: # slide the file line by line
if '#' in line or line == '\n':
continue
... | 47.713542 | 164 | 0.509842 | 3,827 | 27,483 | 3.47191 | 0.02613 | 0.159856 | 0.122601 | 0.055844 | 0.909009 | 0.886731 | 0.854068 | 0.825243 | 0.796192 | 0.788967 | 0 | 0.053532 | 0.325729 | 27,483 | 575 | 165 | 47.796522 | 0.663483 | 0.013026 | 0 | 0.642857 | 0 | 0 | 0.092231 | 0.005165 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022449 | false | 0.002041 | 0.004082 | 0.002041 | 0.102041 | 0.006122 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1961d5273ffba4d7a9388f30a6e42f6399c3fb0 | 46 | py | Python | WebScrapy/__init__.py | phamvanhanh6720/Bigdata | 5310fc3ce5b1b21341489df89cb76be0a5a09020 | [
"MIT"
] | 2 | 2022-01-01T15:27:51.000Z | 2022-01-03T15:00:49.000Z | WebScrapy/__init__.py | phamvanhanh6720/Bigdata | 5310fc3ce5b1b21341489df89cb76be0a5a09020 | [
"MIT"
] | null | null | null | WebScrapy/__init__.py | phamvanhanh6720/Bigdata | 5310fc3ce5b1b21341489df89cb76be0a5a09020 | [
"MIT"
] | 1 | 2022-02-13T02:40:21.000Z | 2022-02-13T02:40:21.000Z | from .spiders.alonhadat import AlonhadatSpider | 46 | 46 | 0.891304 | 5 | 46 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e197f863adac29376171c02913a55999d6404e87 | 35 | py | Python | tensordata/nlp/__init__.py | Hourout/tensordata | cbef6742ee0d3bfc4b886358fc01618bb5b63603 | [
"Apache-2.0"
] | 13 | 2019-01-08T10:22:39.000Z | 2020-06-17T10:02:47.000Z | tensordata/nlp/__init__.py | Hourout/tensordata | cbef6742ee0d3bfc4b886358fc01618bb5b63603 | [
"Apache-2.0"
] | null | null | null | tensordata/nlp/__init__.py | Hourout/tensordata | cbef6742ee0d3bfc4b886358fc01618bb5b63603 | [
"Apache-2.0"
] | 1 | 2020-06-17T10:02:49.000Z | 2020-06-17T10:02:49.000Z | from tensordata.nlp import chinese
| 17.5 | 34 | 0.857143 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1b782a599473b3863907ebc43acbbc59febd566 | 149 | py | Python | tests/testapp/settings_operational_error.py | marty-2015/django-hurricane | fe05ed1360ad504167aa403c999357eb4f0cdb8b | [
"MIT"
] | 30 | 2020-12-23T21:07:42.000Z | 2022-03-24T17:09:43.000Z | tests/testapp/settings_operational_error.py | marty-2015/django-hurricane | fe05ed1360ad504167aa403c999357eb4f0cdb8b | [
"MIT"
] | 60 | 2021-02-05T13:20:32.000Z | 2022-03-24T20:56:48.000Z | tests/testapp/settings_operational_error.py | marty-2015/django-hurricane | fe05ed1360ad504167aa403c999357eb4f0cdb8b | [
"MIT"
] | 3 | 2021-02-11T10:46:09.000Z | 2021-11-04T16:48:15.000Z | from django.core.checks import register
import tests.testapp.utils as utils
from .settings import *
register(utils.check_raise_operational_error)
| 18.625 | 45 | 0.832215 | 21 | 149 | 5.761905 | 0.714286 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107383 | 149 | 7 | 46 | 21.285714 | 0.909774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1b8c2ec9b03e6c47ceae1b47f770ac6bbe9e01b | 5,737 | py | Python | model-optimizer/extensions/back/ClampNormalizer_test.py | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 2 | 2020-11-18T14:14:06.000Z | 2020-11-28T04:55:57.000Z | model-optimizer/extensions/back/ClampNormalizer_test.py | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 30 | 2020-11-13T11:44:07.000Z | 2022-02-21T13:03:16.000Z | model-optimizer/extensions/back/ClampNormalizer_test.py | mmakridi/openvino | 769bb7709597c14debdaa356dd60c5a78bdfa97e | [
"Apache-2.0"
] | 1 | 2020-12-18T15:47:45.000Z | 2020-12-18T15:47:45.000Z | """
Copyright (C) 2018-2020 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | 48.210084 | 117 | 0.54471 | 646 | 5,737 | 4.614551 | 0.19195 | 0.036229 | 0.069775 | 0.101979 | 0.737001 | 0.729285 | 0.723583 | 0.723583 | 0.723583 | 0.705803 | 0 | 0.033218 | 0.296845 | 5,737 | 118 | 118 | 48.618644 | 0.705751 | 0.098832 | 0 | 0.714286 | 0 | 0 | 0.155474 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 1 | 0.043956 | false | 0 | 0.054945 | 0 | 0.10989 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bec96692f9a3f95710fbdb9fde5a9620af1bdf94 | 103 | py | Python | md2d/rag_splade/__init__.py | aditya-srikanth/multidoc2dial | e3d67372bd110f687464dde3cdf8fd084b95abfe | [
"Apache-2.0"
] | null | null | null | md2d/rag_splade/__init__.py | aditya-srikanth/multidoc2dial | e3d67372bd110f687464dde3cdf8fd084b95abfe | [
"Apache-2.0"
] | null | null | null | md2d/rag_splade/__init__.py | aditya-srikanth/multidoc2dial | e3d67372bd110f687464dde3cdf8fd084b95abfe | [
"Apache-2.0"
] | null | null | null | from .modeling_splade import Splade_Pooling, SpladeModel, SpladeOutput, SpladeConfig, SpladeOnnxConfig
| 51.5 | 102 | 0.873786 | 10 | 103 | 8.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 103 | 1 | 103 | 103 | 0.926316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bed7f3bb7d959b83a509ba6cdfb6301e50bf4e76 | 44 | py | Python | kerastuner/engine/conditions.py | haifeng-jin/kt-legacy | 15686b5e2d25b7094134d68956b2edce5dffa7a0 | [
"Apache-2.0"
] | 1 | 2022-03-29T21:49:22.000Z | 2022-03-29T21:49:22.000Z | kerastuner/engine/conditions.py | haifeng-jin/kt-legacy | 15686b5e2d25b7094134d68956b2edce5dffa7a0 | [
"Apache-2.0"
] | null | null | null | kerastuner/engine/conditions.py | haifeng-jin/kt-legacy | 15686b5e2d25b7094134d68956b2edce5dffa7a0 | [
"Apache-2.0"
] | 1 | 2022-02-14T18:57:19.000Z | 2022-02-14T18:57:19.000Z | from keras_tuner.engine.conditions import *
| 22 | 43 | 0.840909 | 6 | 44 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bedb18577e2b35600534e8d85edf375dece77e98 | 49 | py | Python | chapter4/4_6_2.py | kungbob/Machine_Learning_In_Action | 007db9d2a6c957d314ecd0b4322cad5b04da7113 | [
"MIT"
] | null | null | null | chapter4/4_6_2.py | kungbob/Machine_Learning_In_Action | 007db9d2a6c957d314ecd0b4322cad5b04da7113 | [
"MIT"
] | 1 | 2018-01-05T15:48:33.000Z | 2018-01-05T15:54:22.000Z | chapter4/4_6_2.py | kungbob/Machine_Learning_In_Action | 007db9d2a6c957d314ecd0b4322cad5b04da7113 | [
"MIT"
] | 2 | 2019-02-12T01:35:20.000Z | 2019-03-24T03:00:51.000Z | import bayes
bayes.spamTest()
bayes.spamTest()
| 8.166667 | 16 | 0.755102 | 6 | 49 | 6.166667 | 0.5 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 5 | 17 | 9.8 | 0.860465 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
83181b8272574202951585b908cdec48f8d9ee60 | 172 | py | Python | src/python/zensols/deepnlp/vectorize/__init__.py | plandes/deepnlp | 49820084ccf797d59535d5920559ab768bf2ec73 | [
"MIT"
] | 7 | 2020-05-11T07:13:56.000Z | 2021-09-27T13:03:46.000Z | src/python/zensols/deepnlp/vectorize/__init__.py | plandes/deepnlp | 49820084ccf797d59535d5920559ab768bf2ec73 | [
"MIT"
] | null | null | null | src/python/zensols/deepnlp/vectorize/__init__.py | plandes/deepnlp | 49820084ccf797d59535d5920559ab768bf2ec73 | [
"MIT"
] | 1 | 2022-02-12T00:22:26.000Z | 2022-02-12T00:22:26.000Z | """This module vecorizes natural language features in to PyTorch tensors.
"""
from .spacy import *
from .manager import *
from .vectorizers import *
from .embed import *
| 19.111111 | 73 | 0.744186 | 22 | 172 | 5.818182 | 0.727273 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168605 | 172 | 8 | 74 | 21.5 | 0.895105 | 0.406977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8324366f8a16079eee0c00d397b752415edf402b | 13,998 | py | Python | test/test_performance_analysis.py | TritumDigitalAssets/hummingbot | 13fde61a41a0b13651117c06fc87d02a9cd55a44 | [
"Apache-2.0"
] | 2 | 2019-09-14T12:55:03.000Z | 2019-11-11T12:17:42.000Z | test/test_performance_analysis.py | TritumDigitalAssets/hummingbot | 13fde61a41a0b13651117c06fc87d02a9cd55a44 | [
"Apache-2.0"
] | 1 | 2021-01-22T13:19:11.000Z | 2021-01-22T13:19:11.000Z | test/test_performance_analysis.py | TritumDigitalAssets/hummingbot | 13fde61a41a0b13651117c06fc87d02a9cd55a44 | [
"Apache-2.0"
] | 2 | 2020-03-25T00:47:45.000Z | 2020-04-09T20:16:37.000Z | import asyncio
import math
import unittest
from hummingbot.client.performance_analysis import PerformanceAnalysis
from hummingbot.core.utils.exchange_rate_conversion import ExchangeRateConversion
from hummingbot.core.utils.async_utils import (
safe_ensure_future,
safe_gather,
)
from hummingbot.data_feed.data_... | 55.328063 | 120 | 0.702172 | 1,569 | 13,998 | 5.917145 | 0.096877 | 0.098234 | 0.056872 | 0.077553 | 0.809349 | 0.786084 | 0.768634 | 0.71844 | 0.7095 | 0.677402 | 0 | 0.013565 | 0.225818 | 13,998 | 252 | 121 | 55.547619 | 0.84313 | 0.028218 | 0 | 0.438095 | 0 | 0 | 0.163313 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.052381 | false | 0 | 0.033333 | 0.019048 | 0.128571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
83463fe1eaa2ce6383b52527fbb676ebeedd7b33 | 125 | py | Python | server/schemata/__init__.py | fostroll/modelsrv0 | 0debc1d64734aafd5d4286397f9db530c7dd8719 | [
"CC0-1.0"
] | null | null | null | server/schemata/__init__.py | fostroll/modelsrv0 | 0debc1d64734aafd5d4286397f9db530c7dd8719 | [
"CC0-1.0"
] | null | null | null | server/schemata/__init__.py | fostroll/modelsrv0 | 0debc1d64734aafd5d4286397f9db530c7dd8719 | [
"CC0-1.0"
] | null | null | null | from .main_schema import Config, config
from .model_schema import FormatEnum
from .user_schema import UserData, UserDataView
| 31.25 | 47 | 0.848 | 17 | 125 | 6.058824 | 0.588235 | 0.349515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112 | 125 | 3 | 48 | 41.666667 | 0.927928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
836090eee4edba8219ec44c2a3a784567372aa61 | 6,561 | py | Python | gclda/tests/test_dataset.py | tsalo/python_gclda | 599a71196d50b53cd20059ec7ba593570ecc1a30 | [
"Apache-2.0"
] | 1 | 2019-03-11T12:28:09.000Z | 2019-03-11T12:28:09.000Z | gclda/tests/test_dataset.py | tsalo/gclda | 599a71196d50b53cd20059ec7ba593570ecc1a30 | [
"Apache-2.0"
] | 16 | 2017-08-04T22:12:03.000Z | 2020-04-26T19:58:40.000Z | gclda/tests/test_dataset.py | tsalo/gclda | 599a71196d50b53cd20059ec7ba593570ecc1a30 | [
"Apache-2.0"
] | 3 | 2017-10-26T03:16:42.000Z | 2020-02-21T16:41:49.000Z | # emacs: -*- mode: python-mode; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil -*-
# ex: set sts=4 ts=4 sw=4 et:
"""
Tests for GC-LDA dataset module.
"""
import sys
from os import remove
from os.path import isfile, join
from shutil import rmtree
try:
# 2.7
from StringIO import StringIO
except ImportE... | 32.161765 | 92 | 0.707209 | 891 | 6,561 | 4.904602 | 0.131313 | 0.038444 | 0.060412 | 0.08238 | 0.846453 | 0.806636 | 0.781007 | 0.752174 | 0.70984 | 0.70984 | 0 | 0.004277 | 0.180308 | 6,561 | 203 | 93 | 32.320197 | 0.808293 | 0.192806 | 0 | 0.65625 | 0 | 0 | 0.093551 | 0.012705 | 0 | 0 | 0 | 0 | 0.101563 | 1 | 0.101563 | false | 0 | 0.148438 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
362eba17d561a6bb034d66fa7667f48dd51d9857 | 3,436 | py | Python | tests/test_extension.py | patkle/spidermon | 30ea112b4147e47d1aa212a27cfa358299c275bf | [
"BSD-3-Clause"
] | null | null | null | tests/test_extension.py | patkle/spidermon | 30ea112b4147e47d1aa212a27cfa358299c275bf | [
"BSD-3-Clause"
] | null | null | null | tests/test_extension.py | patkle/spidermon | 30ea112b4147e47d1aa212a27cfa358299c275bf | [
"BSD-3-Clause"
] | null | null | null | try:
import unittest.mock as mock
except ImportError:
import mock
import pytest
from scrapy import signals
from spidermon.contrib.scrapy.extensions import Spidermon
@pytest.fixture
def suites():
return ["tests.fixtures.suites.Suite01"]
def test_spider_opened_suites_should_run(get_crawler, suites):
... | 44.623377 | 96 | 0.78929 | 456 | 3,436 | 5.578947 | 0.122807 | 0.100236 | 0.04717 | 0.044811 | 0.854953 | 0.796777 | 0.784198 | 0.756289 | 0.712264 | 0.691824 | 0 | 0.007616 | 0.121071 | 3,436 | 76 | 97 | 45.210526 | 0.834768 | 0.13475 | 0 | 0.418182 | 0 | 0 | 0.047927 | 0.040789 | 0 | 0 | 0 | 0 | 0.163636 | 1 | 0.127273 | false | 0 | 0.109091 | 0.018182 | 0.254545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
363c1a46b35049b53d48df5e03d9b2a4e6d3201d | 11,002 | py | Python | tests/Kinect_testing.py | Gsvend20/P4-Grise_Projekt | 28e558139dd0368db2e29de3c8aa3842bad9edef | [
"MIT"
] | 2 | 2022-03-23T08:55:42.000Z | 2022-03-23T09:06:04.000Z | tests/Kinect_testing.py | Gsvend20/P4-Grise_Projekt | 28e558139dd0368db2e29de3c8aa3842bad9edef | [
"MIT"
] | null | null | null | tests/Kinect_testing.py | Gsvend20/P4-Grise_Projekt | 28e558139dd0368db2e29de3c8aa3842bad9edef | [
"MIT"
] | 1 | 2022-03-23T08:55:19.000Z | 2022-03-23T08:55:19.000Z | import numpy as np
import cv2
import time
import datetime
from os.path import exists
from os import remove
from pykinect2 import PyKinectV2
from pykinect2 import PyKinectRuntime
# Chose operating mode (options: Read, Save)
operating_mode = 'Save'
# Chose how many frames per second should be recorded
operating_fps = ... | 42.315385 | 169 | 0.59471 | 1,218 | 11,002 | 5.179803 | 0.178982 | 0.022825 | 0.048819 | 0.029165 | 0.781582 | 0.781582 | 0.781582 | 0.766524 | 0.762086 | 0.749723 | 0 | 0.027623 | 0.332031 | 11,002 | 259 | 170 | 42.478764 | 0.830861 | 0.156699 | 0 | 0.716867 | 0 | 0 | 0.044721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012048 | false | 0.012048 | 0.048193 | 0 | 0.072289 | 0.042169 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3648dd50bf16937baa8be95b6ff89fcdd419ea07 | 367 | py | Python | content/templatetags/content.py | esistgut/django-content-toolkit | 318956035f7dedb40e8c7862589d89415154438a | [
"MIT"
] | null | null | null | content/templatetags/content.py | esistgut/django-content-toolkit | 318956035f7dedb40e8c7862589d89415154438a | [
"MIT"
] | 1 | 2021-03-19T21:57:34.000Z | 2021-03-19T21:57:34.000Z | content/templatetags/content.py | esistgut/django-content-toolkit | 318956035f7dedb40e8c7862589d89415154438a | [
"MIT"
] | null | null | null | from django import template
from ..models import Content, Entry
register = template.Library()
@register.assignment_tag()
def content(slug):
return Content.objects.get(translations__slug=slug)
@register.assignment_tag()
def entries():
return Entry.objects.all()
@register.assignment_tag()
def random_item... | 17.47619 | 55 | 0.746594 | 46 | 367 | 5.804348 | 0.543478 | 0.202247 | 0.235955 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128065 | 367 | 21 | 56 | 17.47619 | 0.834375 | 0 | 0 | 0.25 | 0 | 0 | 0.002717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.25 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
36507fbfd2ce6ea36d4cbfa599746137fae3c484 | 173 | py | Python | django/settings/wsgi.py | fossabot/docker-django | 1758527e02a6c028601de2662e3efcab3e05be32 | [
"MIT"
] | null | null | null | django/settings/wsgi.py | fossabot/docker-django | 1758527e02a6c028601de2662e3efcab3e05be32 | [
"MIT"
] | null | null | null | django/settings/wsgi.py | fossabot/docker-django | 1758527e02a6c028601de2662e3efcab3e05be32 | [
"MIT"
] | null | null | null | # from django.core.asgi import get_asgi_application as get_application
from django.core.wsgi import get_wsgi_application as get_application
application = get_application()
| 34.6 | 70 | 0.855491 | 25 | 173 | 5.64 | 0.36 | 0.297872 | 0.198582 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098266 | 173 | 4 | 71 | 43.25 | 0.903846 | 0.393064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3652f211c2d7402db47c0b92bf38e60c4ecc318c | 42,031 | py | Python | app/tests/test_views/test_library_and_selected_book.py | OlegKlimenko/Plamber | a3536b864d05abb6b6bba0f2971ab4b7b9c60db6 | [
"Apache-2.0"
] | 13 | 2017-03-30T12:19:35.000Z | 2019-12-09T03:15:22.000Z | app/tests/test_views/test_library_and_selected_book.py | OlegKlimenko/Plamber | a3536b864d05abb6b6bba0f2971ab4b7b9c60db6 | [
"Apache-2.0"
] | 213 | 2017-02-18T11:48:40.000Z | 2022-03-11T23:20:36.000Z | app/tests/test_views/test_library_and_selected_book.py | OlegKlimenko/Plamber | a3536b864d05abb6b6bba0f2971ab4b7b9c60db6 | [
"Apache-2.0"
] | 3 | 2018-06-17T11:54:49.000Z | 2019-10-22T16:19:28.000Z | # -*- coding: utf-8 -*-
import json
import os
from django.contrib.auth.models import User
from django.core.files.uploadedfile import SimpleUploadedFile
from django.shortcuts import reverse
from django.test import TestCase, Client, override_settings
from ...forms import ReportForm
from ...models import Aut... | 50.518029 | 121 | 0.531084 | 4,000 | 42,031 | 5.3095 | 0.06675 | 0.128543 | 0.179772 | 0.08466 | 0.822818 | 0.77771 | 0.746822 | 0.723844 | 0.711979 | 0.684857 | 0 | 0.013083 | 0.208917 | 42,031 | 831 | 122 | 50.578821 | 0.625654 | 0.170731 | 0 | 0.486154 | 0 | 0 | 0.107184 | 0.016111 | 0 | 0 | 0 | 0.001203 | 0.321538 | 1 | 0.089231 | false | 0.007692 | 0.016923 | 0 | 0.107692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
365f831f23a4bb99fe0887df1c64d523c506a140 | 4,300 | py | Python | tests/test_api.py | ufownl/neuraleduseg-service | e193ddaf84be51cffe08c8e30b1639a152790357 | [
"Apache-2.0"
] | null | null | null | tests/test_api.py | ufownl/neuraleduseg-service | e193ddaf84be51cffe08c8e30b1639a152790357 | [
"Apache-2.0"
] | 2 | 2021-02-24T21:34:21.000Z | 2021-11-09T14:30:41.000Z | tests/test_api.py | ufownl/neuraleduseg-service | e193ddaf84be51cffe08c8e30b1639a152790357 | [
"Apache-2.0"
] | 1 | 2021-07-19T05:33:52.000Z | 2021-07-19T05:33:52.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: Arne Neumann <nlpbox.programming@arne.cl>
import pexpect
import pytest
import requests
import sh
from test_cli import FIXTURES_PATH, REPO_PACKAGE_PATH
@pytest.fixture(scope="session", autouse=True)
def start_api():
print("starting API...")
api_path = R... | 37.068966 | 249 | 0.666977 | 559 | 4,300 | 4.910555 | 0.18068 | 0.059016 | 0.116576 | 0.058288 | 0.801457 | 0.795993 | 0.795993 | 0.783607 | 0.778506 | 0.778506 | 0 | 0.017057 | 0.195581 | 4,300 | 115 | 250 | 37.391304 | 0.776525 | 0.081395 | 0 | 0.6 | 0 | 0 | 0.226765 | 0.022346 | 0 | 0 | 0 | 0 | 0.1375 | 1 | 0.125 | false | 0 | 0.0625 | 0 | 0.1875 | 0.025 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36e787ab5fa34a63a8f5b4e2cca385e6fce7d14d | 87 | py | Python | api/src/events/__init__.py | Noahffiliation/corpus-christi | c69ec88784de7d2e5acde3012926f307b43e38b3 | [
"MIT"
] | 35 | 2018-11-29T20:06:52.000Z | 2021-04-12T19:01:42.000Z | api/src/events/__init__.py | Noahffiliation/corpus-christi | c69ec88784de7d2e5acde3012926f307b43e38b3 | [
"MIT"
] | 529 | 2018-12-31T23:51:25.000Z | 2022-02-26T10:42:29.000Z | api/src/events/__init__.py | Noahffiliation/corpus-christi | c69ec88784de7d2e5acde3012926f307b43e38b3 | [
"MIT"
] | 10 | 2018-12-04T16:17:00.000Z | 2021-04-07T00:47:52.000Z | from flask import Blueprint
events = Blueprint('events', __name__)
from . import api
| 14.5 | 38 | 0.758621 | 11 | 87 | 5.636364 | 0.636364 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 87 | 5 | 39 | 17.4 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
36e98bac40878c2f91a2e14b77a3bd9962a635c9 | 415 | py | Python | container_service_extension/pksclient/api/v1beta/__init__.py | YiouZhu1010/container-service-extension | f36bc250d226609b9a64e99073bb7a752ffb9f9b | [
"BSD-2-Clause"
] | 1 | 2019-02-22T22:10:02.000Z | 2019-02-22T22:10:02.000Z | container_service_extension/pksclient/api/v1beta/__init__.py | YiouZhu1010/container-service-extension | f36bc250d226609b9a64e99073bb7a752ffb9f9b | [
"BSD-2-Clause"
] | null | null | null | container_service_extension/pksclient/api/v1beta/__init__.py | YiouZhu1010/container-service-extension | f36bc250d226609b9a64e99073bb7a752ffb9f9b | [
"BSD-2-Clause"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from container_service_extension.pksclient.api.v1beta.cluster_api import ClusterApi
from container_service_extension.pksclient.api.v1beta.profile_api import ProfileApi
from container_service_extension.pksclient.api.v1beta.quota_api i... | 41.5 | 83 | 0.879518 | 56 | 415 | 6.214286 | 0.410714 | 0.149425 | 0.229885 | 0.333333 | 0.54023 | 0.54023 | 0.54023 | 0 | 0 | 0 | 0 | 0.013021 | 0.074699 | 415 | 9 | 84 | 46.111111 | 0.893229 | 0.098795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
180b5311d908ace708601f7c90b019cf0822d584 | 167 | py | Python | model/__init__.py | YuhangSong/RBP | 68a230053198de1b689e262974947c4186ee1c49 | [
"MIT"
] | 35 | 2018-08-16T17:16:11.000Z | 2022-02-22T22:14:17.000Z | model/__init__.py | YuhangSong/RBP | 68a230053198de1b689e262974947c4186ee1c49 | [
"MIT"
] | null | null | null | model/__init__.py | YuhangSong/RBP | 68a230053198de1b689e262974947c4186ee1c49 | [
"MIT"
] | 4 | 2019-05-28T19:17:39.000Z | 2021-03-18T13:33:57.000Z | from model.gnn import GNN
from model.citation_baseline import CitationBaseline
from model.hopfield_net import HopfieldNet
from model.hypergrad_net import HypergradNet
| 33.4 | 52 | 0.88024 | 23 | 167 | 6.26087 | 0.521739 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095808 | 167 | 4 | 53 | 41.75 | 0.953642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18180bdf0c2614b6c3dbe5c3df892a16f15912c1 | 113 | py | Python | head.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | head.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | head.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | """
By Dr Jie Zheng -Q, NAOC
v1 2019-04-27
"""
import numpy as np
from..util import *
def xxxx():
pass
| 7.533333 | 24 | 0.59292 | 20 | 113 | 3.35 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 0.265487 | 113 | 14 | 25 | 8.071429 | 0.698795 | 0.336283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
181a1211a835a07ad4606d8205c7141bdfaf6395 | 38 | py | Python | ndsys/optimizers/__init__.py | slagosz/ndsys | 9ef9e47a20fdf93fe2ea3f6c3647e373152e8d9f | [
"MIT"
] | null | null | null | ndsys/optimizers/__init__.py | slagosz/ndsys | 9ef9e47a20fdf93fe2ea3f6c3647e373152e8d9f | [
"MIT"
] | null | null | null | ndsys/optimizers/__init__.py | slagosz/ndsys | 9ef9e47a20fdf93fe2ea3f6c3647e373152e8d9f | [
"MIT"
] | null | null | null | from .da import EntropicDualAveraging
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18260eb03dd07e62c9df43510d10afe132fb783f | 309 | py | Python | trdg/generators/__init__.py | thanhhau097/TextRecognitionDataGenerator | fd4eabe610b2264550a081254cfe5c320edfdbbb | [
"MIT"
] | null | null | null | trdg/generators/__init__.py | thanhhau097/TextRecognitionDataGenerator | fd4eabe610b2264550a081254cfe5c320edfdbbb | [
"MIT"
] | null | null | null | trdg/generators/__init__.py | thanhhau097/TextRecognitionDataGenerator | fd4eabe610b2264550a081254cfe5c320edfdbbb | [
"MIT"
] | null | null | null | from trdg.generators.from_dict import GeneratorFromDict
from trdg.generators.from_random import GeneratorFromRandom
from trdg.generators.from_strings import GeneratorFromStrings
from trdg.generators.from_wikipedia import GeneratorFromWikipedia
from trdg.generators.from_text_file import GeneratorFromTextFile
| 51.5 | 65 | 0.902913 | 36 | 309 | 7.583333 | 0.416667 | 0.14652 | 0.32967 | 0.40293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064725 | 309 | 5 | 66 | 61.8 | 0.944637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
186637f3cabc7b838cb55e7cee88e7e892b236b3 | 8,568 | py | Python | tests/integ/test_kmeans_efs_fsx.py | LastRemote/sagemaker-python-sdk | fddf29d9e4383cd3f939253eef47ee79a464dd37 | [
"Apache-2.0"
] | 1,690 | 2017-11-29T20:13:37.000Z | 2022-03-31T12:58:11.000Z | tests/integ/test_kmeans_efs_fsx.py | LastRemote/sagemaker-python-sdk | fddf29d9e4383cd3f939253eef47ee79a464dd37 | [
"Apache-2.0"
] | 2,762 | 2017-12-04T05:18:03.000Z | 2022-03-31T23:40:11.000Z | tests/integ/test_kmeans_efs_fsx.py | LastRemote/sagemaker-python-sdk | fddf29d9e4383cd3f939253eef47ee79a464dd37 | [
"Apache-2.0"
] | 961 | 2017-11-30T16:44:03.000Z | 2022-03-30T23:12:09.000Z | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompan... | 36.151899 | 88 | 0.691176 | 1,066 | 8,568 | 5.157599 | 0.17167 | 0.049109 | 0.042015 | 0.019098 | 0.788287 | 0.775009 | 0.767552 | 0.767552 | 0.767552 | 0.765733 | 0 | 0.006519 | 0.230159 | 8,568 | 236 | 89 | 36.305085 | 0.827016 | 0.062442 | 0 | 0.714286 | 0 | 0 | 0.099751 | 0 | 0 | 0 | 0 | 0 | 0.02551 | 1 | 0.02551 | false | 0 | 0.061224 | 0 | 0.086735 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1dcb51d0955d3feabf414bd2c8c0c6b225b6c47 | 349 | py | Python | 08-Social-Blog-Project/Final-Project/puppycompanyblog/error_pages/handlers.py | saidulislam/flask-bootcamp-1 | 590bcac5a242b0f1f1e7540019bc3fc3e109c9b9 | [
"Apache-2.0"
] | null | null | null | 08-Social-Blog-Project/Final-Project/puppycompanyblog/error_pages/handlers.py | saidulislam/flask-bootcamp-1 | 590bcac5a242b0f1f1e7540019bc3fc3e109c9b9 | [
"Apache-2.0"
] | null | null | null | 08-Social-Blog-Project/Final-Project/puppycompanyblog/error_pages/handlers.py | saidulislam/flask-bootcamp-1 | 590bcac5a242b0f1f1e7540019bc3fc3e109c9b9 | [
"Apache-2.0"
] | null | null | null | # handlers.py
from flask import Blueprint, render_template
error_pages = Blueprint('error_pages', __name__)
@error_pages.app_errorhandler(404)
def error_404(error):
return render_template('error_pages/404.html'), 404
@error_pages.app_errorhandler(403)
def error_403(error):
return render_template('... | 26.846154 | 56 | 0.762178 | 48 | 349 | 5.1875 | 0.375 | 0.240964 | 0.228916 | 0.289157 | 0.281125 | 0.281125 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 0.131805 | 349 | 12 | 57 | 29.083333 | 0.742574 | 0.031519 | 0 | 0 | 0 | 0 | 0.157407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b8069fad3fad22d0de4caf4047b172c89a1393f6 | 869 | py | Python | test/test_interface_template.py | nrfta/python-netbox-client | 68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8 | [
"MIT"
] | null | null | null | test/test_interface_template.py | nrfta/python-netbox-client | 68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8 | [
"MIT"
] | null | null | null | test/test_interface_template.py | nrfta/python-netbox-client | 68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
NetBox API
API to access NetBox # noqa: E501
OpenAPI spec version: 2.8
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import netbox_client
from netbox_client.models.interface_template import Int... | 21.195122 | 91 | 0.704258 | 97 | 869 | 6.113402 | 0.57732 | 0.080944 | 0.053963 | 0.091062 | 0.118044 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.212888 | 869 | 40 | 92 | 21.725 | 0.849415 | 0.429229 | 0 | 0.214286 | 1 | 0 | 0.017621 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b80ec091d2c8bf6884ebf0a3918d7a7c3c702fd8 | 12,832 | py | Python | tests/service_matching_tests.py | lessaworld/sqlpie | 22cac1fc7f9cb939e823058f84a68988e03ab239 | [
"MIT"
] | 3 | 2016-01-27T19:49:23.000Z | 2020-08-18T13:59:02.000Z | tests/service_matching_tests.py | lessaworld/sqlpie | 22cac1fc7f9cb939e823058f84a68988e03ab239 | [
"MIT"
] | null | null | null | tests/service_matching_tests.py | lessaworld/sqlpie | 22cac1fc7f9cb939e823058f84a68988e03ab239 | [
"MIT"
] | 1 | 2016-02-01T01:57:54.000Z | 2016-02-01T01:57:54.000Z | # -*- coding: utf-8 -*-
"""
SQLpie License (MIT License)
Copyright (c) 2011-2016 André Lessa, http://sqlpie.com
See LICENSE file.
"""
import json
import sqlpie
class ServiceMatchingTests(object):
#
# Service Matching Tests
#
def run_before_service_matching_tests(self):
response = self.app.p... | 83.869281 | 948 | 0.700436 | 1,613 | 12,832 | 5.368878 | 0.105394 | 0.12194 | 0.074827 | 0.078984 | 0.872748 | 0.847575 | 0.847575 | 0.822286 | 0.802656 | 0.783949 | 0 | 0.017298 | 0.148535 | 12,832 | 152 | 949 | 84.421053 | 0.775307 | 0.011456 | 0 | 0.623853 | 0 | 0 | 0.420567 | 0.009944 | 0 | 0 | 0 | 0 | 0.330275 | 1 | 0.100917 | false | 0 | 0.018349 | 0 | 0.12844 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
62d37d2731b2a05017b98abfe56d24427b5d5aa2 | 41 | py | Python | disnake/ext/music/utils/__init__.py | KortaPo/discord-ext-music | aee811ba2e5204244778c0bd4c28cbe20fdefd72 | [
"MIT"
] | 1 | 2022-02-10T14:08:23.000Z | 2022-02-10T14:08:23.000Z | disnake/ext/music/utils/__init__.py | KortaPo/disnake-ext-music | aee811ba2e5204244778c0bd4c28cbe20fdefd72 | [
"MIT"
] | null | null | null | disnake/ext/music/utils/__init__.py | KortaPo/disnake-ext-music | aee811ba2e5204244778c0bd4c28cbe20fdefd72 | [
"MIT"
] | null | null | null | from .errors import *
from .var import *
| 13.666667 | 21 | 0.707317 | 6 | 41 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 22 | 20.5 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62d408a4badb289495f14f270272e8eb393193c0 | 79 | py | Python | pre_process/__init__.py | ratkhohieu/Context-aware-emotion-recognition-based-on-visual-relationship-detection | 84d9029a5a30ecc24450df7f8f9d9fe6761ddf71 | [
"MIT"
] | null | null | null | pre_process/__init__.py | ratkhohieu/Context-aware-emotion-recognition-based-on-visual-relationship-detection | 84d9029a5a30ecc24450df7f8f9d9fe6761ddf71 | [
"MIT"
] | null | null | null | pre_process/__init__.py | ratkhohieu/Context-aware-emotion-recognition-based-on-visual-relationship-detection | 84d9029a5a30ecc24450df7f8f9d9fe6761ddf71 | [
"MIT"
] | null | null | null | from .dataloader import *
from .prepare_models import *
from .word2vec import * | 26.333333 | 29 | 0.78481 | 10 | 79 | 6.1 | 0.6 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.139241 | 79 | 3 | 30 | 26.333333 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62dfd20fc9d673efe69bfc9e17b415bb1df43e97 | 113 | py | Python | cpq_exporter/context_processors.py | mjj55409/cpq-exporter | ae46c1580a1c7d228a352a88a61164d9b3c2490c | [
"MIT"
] | null | null | null | cpq_exporter/context_processors.py | mjj55409/cpq-exporter | ae46c1580a1c7d228a352a88a61164d9b3c2490c | [
"MIT"
] | null | null | null | cpq_exporter/context_processors.py | mjj55409/cpq-exporter | ae46c1580a1c7d228a352a88a61164d9b3c2490c | [
"MIT"
] | null | null | null | import versioneer
def exporter_version(request):
return {'exporter_version': versioneer.get_version()}
| 18.833333 | 61 | 0.752212 | 12 | 113 | 6.833333 | 0.666667 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150442 | 113 | 5 | 62 | 22.6 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
1a1dd397186ae33b52c1ce3d978807e68349d6fd | 1,346 | py | Python | spykeutils/plot/__init__.py | rproepp/spykeutils | 0bdae5fc6493b01bc9744a84b0c288ae49a5614d | [
"BSD-3-Clause"
] | 5 | 2015-06-01T04:07:13.000Z | 2022-03-16T13:24:16.000Z | spykeutils/plot/__init__.py | rproepp/spykeutils | 0bdae5fc6493b01bc9744a84b0c288ae49a5614d | [
"BSD-3-Clause"
] | 2 | 2015-07-05T22:42:39.000Z | 2019-02-08T21:02:51.000Z | spykeutils/plot/__init__.py | rproepp/spykeutils | 0bdae5fc6493b01bc9744a84b0c288ae49a5614d | [
"BSD-3-Clause"
] | 4 | 2015-10-23T11:35:07.000Z | 2019-02-06T18:05:17.000Z | """ This package contains various plotting functions for neo objects.
The plots are created using :mod:`guiqwt` - if it is not installed,
this package can not be used.
.. automodule:: spykeutils.plot.rasterplot
:members:
.. automodule:: spykeutils.plot.correlogram
:members:
.. automodule:: spykeutils.plot.in... | 22.433333 | 69 | 0.72214 | 150 | 1,346 | 6.353333 | 0.38 | 0.23085 | 0.27702 | 0.227702 | 0.075551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139673 | 1,346 | 59 | 70 | 22.813559 | 0.822971 | 0.751857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7e863657cd1e78a4f8b8c901b2c850ac8eb9a75 | 91 | py | Python | macromedia_package/example.py | saumyagoyal95/macromedia_package | 45812ada9a62e984cfc0ccc19bd86f7dbc288703 | [
"MIT"
] | null | null | null | macromedia_package/example.py | saumyagoyal95/macromedia_package | 45812ada9a62e984cfc0ccc19bd86f7dbc288703 | [
"MIT"
] | null | null | null | macromedia_package/example.py | saumyagoyal95/macromedia_package | 45812ada9a62e984cfc0ccc19bd86f7dbc288703 | [
"MIT"
] | null | null | null | def add_five(number):
return number + 5
def add_twenty(number):
return number + 20 | 18.2 | 23 | 0.692308 | 14 | 91 | 4.357143 | 0.571429 | 0.196721 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.21978 | 91 | 5 | 24 | 18.2 | 0.816901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a7fcce5bd2eea60b016f3ca86244b8752c0e8251 | 37,886 | py | Python | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/30.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/30.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/30.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3279
passenger_arriving = (
(3, 5, 5, 8, 1, 0, 3, 5, 9, 3, 0, 0), # 0
(6, 9, 5, 4, 1, 0, 10, 3, 4, 5, 2, 0), # 1
(5, 10, 4, 5, 0, 0, 6, 8, 6, 8, 3, 0), # 2
(7, 9, 7, 7, 2, 0, 9, 10, 5, 6, 1, 0), # 3
(4, 6, 7, 3, 1, 0, 4, 10, 7, 6, 2, 0), # 4
(7, 11, 4, 2, 0, 0, 7, 12, 5,... | 113.092537 | 212 | 0.729082 | 5,147 | 37,886 | 5.364484 | 0.22926 | 0.312919 | 0.247727 | 0.469378 | 0.328927 | 0.32784 | 0.32784 | 0.32784 | 0.32784 | 0.32784 | 0 | 0.81901 | 0.119147 | 37,886 | 334 | 213 | 113.431138 | 0.00836 | 0.031964 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a7fdd7cb80283421dfd22302183def36b56dcf37 | 7,494 | py | Python | express/auth.py | andrequeiroz2/api-auth-express | a6a27d395cd331d8041e20e892a7d137e482e7df | [
"MIT"
] | null | null | null | express/auth.py | andrequeiroz2/api-auth-express | a6a27d395cd331d8041e20e892a7d137e482e7df | [
"MIT"
] | null | null | null | express/auth.py | andrequeiroz2/api-auth-express | a6a27d395cd331d8041e20e892a7d137e482e7df | [
"MIT"
] | null | null | null | import ast
from flask import (
Blueprint,
render_template,
redirect,
url_for,
request,
flash
)
import requests
from requests.models import ConnectionError, InvalidURL
from express.host.controller import get_host, host
auth = Blueprint('auth', __name__)
@auth.route('/login')
def login():
... | 28.603053 | 98 | 0.569656 | 833 | 7,494 | 4.980792 | 0.103241 | 0.06363 | 0.080983 | 0.11087 | 0.76404 | 0.738491 | 0.738491 | 0.734635 | 0.72885 | 0.72885 | 0 | 0.005291 | 0.293835 | 7,494 | 261 | 99 | 28.712644 | 0.778723 | 0 | 0 | 0.668293 | 0 | 0 | 0.193755 | 0.00854 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053659 | false | 0.102439 | 0.02439 | 0 | 0.234146 | 0.009756 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c5058e38b47967cb9c6465e99efe713d4bb590d9 | 21,838 | py | Python | cnn_certify_ibp_tf.py | AkhilanB/SingleProp | 86f79614606fe7567cc9028cfd21873c7db83104 | [
"Apache-2.0"
] | null | null | null | cnn_certify_ibp_tf.py | AkhilanB/SingleProp | 86f79614606fe7567cc9028cfd21873c7db83104 | [
"Apache-2.0"
] | null | null | null | cnn_certify_ibp_tf.py | AkhilanB/SingleProp | 86f79614606fe7567cc9028cfd21873c7db83104 | [
"Apache-2.0"
] | null | null | null | """
cnn_certify_ibp_tf.py
Certifies networks under IBP certification
Copyright (C) 2021, Akhilan Boopathy <akhilan@mit.edu>
Lily Weng <twweng@mit.edu>
Sijia Liu <liusiji5@msu.edu>
Pin-Yu Chen <Pin-Yu.Chen@ibm.com>
Gaoyuan Zhang <Gaoyuan.... | 42.321705 | 120 | 0.497939 | 2,879 | 21,838 | 3.59604 | 0.084057 | 0.036511 | 0.040568 | 0.032454 | 0.798995 | 0.792234 | 0.78045 | 0.763643 | 0.754854 | 0.730223 | 0 | 0.121139 | 0.36986 | 21,838 | 515 | 121 | 42.403884 | 0.631204 | 0.034069 | 0 | 0.721348 | 0 | 0 | 0.095699 | 0.05929 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006742 | false | 0 | 0.017978 | 0 | 0.031461 | 0.076404 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5530e80900545af4f8cddc4c7b717a70bb8296c | 101 | py | Python | tests/conftest.py | trewjames/tdd-chess | 7aa5c1942627cc93886ffede8e84b65726e44946 | [
"MIT"
] | null | null | null | tests/conftest.py | trewjames/tdd-chess | 7aa5c1942627cc93886ffede8e84b65726e44946 | [
"MIT"
] | 3 | 2020-08-19T18:07:16.000Z | 2020-08-24T20:57:13.000Z | tests/conftest.py | trewjames/tdd-chess | 7aa5c1942627cc93886ffede8e84b65726e44946 | [
"MIT"
] | null | null | null | import pytest
from chess.board import Board
@pytest.fixture
def start_board():
return Board()
| 11.222222 | 29 | 0.742574 | 14 | 101 | 5.285714 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 101 | 8 | 30 | 12.625 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3d65dc859999118ba6a9bad5c833a0a7a88930c9 | 36 | py | Python | lightex/dispatch/__init__.py | ofnote/lightex | 86aa1306356d20b714f1970fddc981f668ca06e5 | [
"Apache-2.0"
] | 12 | 2019-10-14T22:08:16.000Z | 2022-01-03T04:53:39.000Z | lightex/dispatch/__init__.py | ofnote/lightex | 86aa1306356d20b714f1970fddc981f668ca06e5 | [
"Apache-2.0"
] | 11 | 2019-07-20T03:45:07.000Z | 2020-02-04T18:24:03.000Z | lightex/dispatch/__init__.py | ofnote/lightex | 86aa1306356d20b714f1970fddc981f668ca06e5 | [
"Apache-2.0"
] | 5 | 2019-07-25T11:35:14.000Z | 2021-01-26T04:49:51.000Z | from .dispatch import dispatch_expts | 36 | 36 | 0.888889 | 5 | 36 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d6b6c9803f9312f6a88f3624bad65cffd704350 | 10,710 | py | Python | tests/DetectTests.py | woodlee/sqlserver-plan-regression-monitor | ad7fc5972f2947290fbee90823bcb175a8adc0a3 | [
"MIT"
] | 1 | 2021-02-03T22:48:31.000Z | 2021-02-03T22:48:31.000Z | tests/DetectTests.py | woodlee/sqlserver-plan-regression-monitor | ad7fc5972f2947290fbee90823bcb175a8adc0a3 | [
"MIT"
] | 1 | 2021-02-09T15:39:34.000Z | 2021-02-09T15:39:34.000Z | tests/DetectTests.py | woodlee/sqlserver-plan-regression-monitor | ad7fc5972f2947290fbee90823bcb175a8adc0a3 | [
"MIT"
] | 1 | 2021-02-03T22:48:45.000Z | 2021-02-03T22:48:45.000Z | import datetime
from unittest import TestCase, mock
from plan_monitor import config
from plan_monitor.detect import calculate_plan_age_stats, is_established_plan, \
get_query_plan_hashes_under_investigation
def get_time_diff_from_ms(start_time: datetime, seconds_to_subtract: int) -> int:
ts = start_time - date... | 54.090909 | 113 | 0.707096 | 1,400 | 10,710 | 4.904286 | 0.072857 | 0.104136 | 0.062482 | 0.058986 | 0.868191 | 0.8545 | 0.83979 | 0.83979 | 0.833091 | 0.833091 | 0 | 0.018935 | 0.211018 | 10,710 | 197 | 114 | 54.365482 | 0.793609 | 0.040149 | 0 | 0.696429 | 0 | 0 | 0.151315 | 0.081889 | 0 | 0 | 0 | 0 | 0.065476 | 1 | 0.053571 | false | 0 | 0.02381 | 0 | 0.10119 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d6fefa8105e6a57c6d93c9893724bc75ac0d391 | 35 | py | Python | data_providers/__init__.py | mghorbani2357/Face-Match | fa7b3e81ffc4d0a59e013e53dddc5adfacb96eb5 | [
"MIT"
] | 1 | 2021-01-31T06:20:06.000Z | 2021-01-31T06:20:06.000Z | data_providers/__init__.py | mghorbani2357/Single-Shot-Face-Recognition | fa7b3e81ffc4d0a59e013e53dddc5adfacb96eb5 | [
"MIT"
] | null | null | null | data_providers/__init__.py | mghorbani2357/Single-Shot-Face-Recognition | fa7b3e81ffc4d0a59e013e53dddc5adfacb96eb5 | [
"MIT"
] | null | null | null | from .instagram import InstaFeeder
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ad0cea1ac29d835713105ce59174b78e97440e3 | 79 | py | Python | django_ses_plus/backends.py | pascal-financial/django-ses-plus | 8e8c18988231c4da6ea782ab756c32ee44356ed0 | [
"Apache-2.0"
] | 1 | 2019-12-02T09:11:22.000Z | 2019-12-02T09:11:22.000Z | django_ses_plus/backends.py | pascal-financial/django-ses-plus | 8e8c18988231c4da6ea782ab756c32ee44356ed0 | [
"Apache-2.0"
] | 8 | 2019-10-29T13:51:26.000Z | 2021-12-14T18:43:39.000Z | django_ses_plus/backends.py | pascal-financial/django-ses-plus | 8e8c18988231c4da6ea782ab756c32ee44356ed0 | [
"Apache-2.0"
] | 2 | 2021-04-06T14:20:23.000Z | 2021-04-19T20:49:59.000Z | from django_ses import SESBackend
class SESPlusBackend(SESBackend):
pass
| 13.166667 | 33 | 0.797468 | 9 | 79 | 6.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 5 | 34 | 15.8 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9af5ff40f53d62545558f21f72c806a8c0419985 | 137 | py | Python | disnakeSuperUtils/music/__init__.py | Delta-Discord-Bot/disnakeSuperUtils | 8a021d3a47ff56f22e0687d92827faa0b652b14c | [
"MIT"
] | 91 | 2021-07-14T13:01:31.000Z | 2022-03-25T10:28:49.000Z | discordSuperUtils/music/__init__.py | KortaPo/discord-super-utils | b8c1cd1a986bc5c78eaf472bb5caf44dd7b605e4 | [
"MIT"
] | 14 | 2021-08-13T14:23:54.000Z | 2022-03-25T09:57:12.000Z | discordSuperUtils/music/__init__.py | KortaPo/discord-super-utils | b8c1cd1a986bc5c78eaf472bb5caf44dd7b605e4 | [
"MIT"
] | 42 | 2021-08-02T00:27:24.000Z | 2022-03-31T15:47:37.000Z | from .exceptions import *
from .playlist import *
from .enums import *
from .lavalink import *
from .music import *
from .utils import *
| 19.571429 | 25 | 0.737226 | 18 | 137 | 5.611111 | 0.444444 | 0.49505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175182 | 137 | 6 | 26 | 22.833333 | 0.893805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b1143117232db91b606b154bf560e3b68d9b0799 | 328 | py | Python | src/cone/firebase/api.py | conestack/cone.firebase | d7debd76240e3f50e50968b453987e7d7baf9c2d | [
"BSD-2-Clause"
] | null | null | null | src/cone/firebase/api.py | conestack/cone.firebase | d7debd76240e3f50e50968b453987e7d7baf9c2d | [
"BSD-2-Clause"
] | null | null | null | src/cone/firebase/api.py | conestack/cone.firebase | d7debd76240e3f50e50968b453987e7d7baf9c2d | [
"BSD-2-Clause"
] | 1 | 2021-02-03T11:14:29.000Z | 2021-02-03T11:14:29.000Z | from cone.firebase.management import get_device_tokens_for_user # noqa
from cone.firebase.management import register_device_token_for_user # noqa
from cone.firebase.messaging import send_message # noqa
from cone.firebase.messaging import send_message_to_user # noqa
from cone.firebase.messaging import send_messages ... | 54.666667 | 75 | 0.847561 | 48 | 328 | 5.520833 | 0.375 | 0.150943 | 0.301887 | 0.301887 | 0.818868 | 0.637736 | 0.524528 | 0.524528 | 0 | 0 | 0 | 0 | 0.106707 | 328 | 5 | 76 | 65.6 | 0.904437 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b12a07de471a4a6135921cd00a63d6568d062a4a | 96 | py | Python | venv/lib/python3.8/site-packages/future/backports/datetime.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/backports/datetime.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/backports/datetime.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/23/6d/78/56ed1c458f268bc27968872c0324099d698e29778b57e4135929fb5505 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.520833 | 0 | 96 | 1 | 96 | 96 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b16299ae9ac97d8ce1901fe9422adb258d64b331 | 23 | py | Python | banddownfolder/math/__init__.py | juijan/banddownfolder | 889e9542f46a4647e2ced0eda9a2035a0197e3f8 | [
"BSD-2-Clause"
] | 9 | 2020-04-16T11:52:05.000Z | 2022-01-21T12:17:53.000Z | banddownfolder/math/__init__.py | juijan/banddownfolder | 889e9542f46a4647e2ced0eda9a2035a0197e3f8 | [
"BSD-2-Clause"
] | null | null | null | banddownfolder/math/__init__.py | juijan/banddownfolder | 889e9542f46a4647e2ced0eda9a2035a0197e3f8 | [
"BSD-2-Clause"
] | 5 | 2020-04-18T19:09:06.000Z | 2021-06-27T20:11:40.000Z | from .pert import Pert
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b1697da9a3e4051e075164cf2c774ce52a47afa9 | 245 | py | Python | PyIK/tests/PyIK_tests.py | yuliya-sm7/EvoArm | c82e8229333b2dcac3d18eb1d0518a16a23c945b | [
"CC-BY-3.0"
] | 110 | 2017-01-13T17:19:18.000Z | 2022-02-20T06:50:03.000Z | PyIK/tests/PyIK_tests.py | yuliya-sm7/EvoArm | c82e8229333b2dcac3d18eb1d0518a16a23c945b | [
"CC-BY-3.0"
] | 1 | 2018-08-30T07:27:56.000Z | 2018-08-30T07:27:56.000Z | PyIK/tests/PyIK_tests.py | yuliya-sm7/EvoArm | c82e8229333b2dcac3d18eb1d0518a16a23c945b | [
"CC-BY-3.0"
] | 47 | 2017-03-10T20:34:01.000Z | 2021-11-18T03:44:06.000Z | import unittest
from .context import solvers
class TestCircle(unittest.TestCase):
pass
class TestPhysicalSolver(unittest.TestCase):
pass
class TestIKSolver(unittest.TestCase):
pass
if __name__ == '__main__':
unittest.main()
| 15.3125 | 44 | 0.746939 | 26 | 245 | 6.730769 | 0.538462 | 0.274286 | 0.342857 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167347 | 245 | 15 | 45 | 16.333333 | 0.857843 | 0 | 0 | 0.3 | 0 | 0 | 0.032653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.3 | 0.2 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b176decfc7808d2fed361f16014bd590befcc9d4 | 27,755 | py | Python | facilities/migrations/0001_initial.py | MarkJaroski/aho-dev-dct | 75ad72d408ce60ebfdf9c02fe57cdf9edba5e4d7 | [
"MIT"
] | null | null | null | facilities/migrations/0001_initial.py | MarkJaroski/aho-dev-dct | 75ad72d408ce60ebfdf9c02fe57cdf9edba5e4d7 | [
"MIT"
] | null | null | null | facilities/migrations/0001_initial.py | MarkJaroski/aho-dev-dct | 75ad72d408ce60ebfdf9c02fe57cdf9edba5e4d7 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.12 on 2021-03-18 10:13
from django.conf import settings
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import parler.fields
import parler.models
import uuid
class Migration(migrations.Migration):
init... | 67.860636 | 245 | 0.620032 | 2,709 | 27,755 | 6.178295 | 0.091547 | 0.098584 | 0.051981 | 0.040868 | 0.804027 | 0.76059 | 0.718588 | 0.707355 | 0.694509 | 0.685607 | 0 | 0.009908 | 0.243632 | 27,755 | 408 | 246 | 68.026961 | 0.787358 | 0.001657 | 0 | 0.59601 | 1 | 0 | 0.263688 | 0.061862 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01995 | 0 | 0.029925 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b17beee262280077ef8e1b286a3772626080a5ea | 669 | py | Python | server/test.py | wangdavid84/csc510-project | eae1858c06bed411c84e9a91ad8f6b8db0a7467d | [
"MIT"
] | null | null | null | server/test.py | wangdavid84/csc510-project | eae1858c06bed411c84e9a91ad8f6b8db0a7467d | [
"MIT"
] | 11 | 2020-10-26T01:11:10.000Z | 2020-10-26T01:26:30.000Z | server/test.py | wangdavid84/csc510-project | eae1858c06bed411c84e9a91ad8f6b8db0a7467d | [
"MIT"
] | null | null | null | import requests
# To check list of employees
def test_get_employees_check_status_code_equals_200():
response = requests.get("http://127.0.0.1:5002/employees")
assert response.status_code == 200
# Test to check get employee info
def test_get_employee_info_check_status_code_equals_200():
response = reque... | 37.166667 | 76 | 0.73991 | 102 | 669 | 4.617647 | 0.303922 | 0.084926 | 0.127389 | 0.146497 | 0.711253 | 0.711253 | 0.711253 | 0.711253 | 0.711253 | 0.711253 | 0 | 0.07772 | 0.134529 | 669 | 17 | 77 | 39.352941 | 0.735751 | 0.134529 | 0 | 0.363636 | 0 | 0 | 0.26087 | 0.038261 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.272727 | false | 0 | 0.090909 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b18b27e76a73264879a719140473466618ed010a | 26,349 | py | Python | tests/test_mock_object.py | myGitToy/aliyun-oss-python-sdk | fc4d6fb68e6a768d41fd74b252931abe64ee10ab | [
"MIT"
] | null | null | null | tests/test_mock_object.py | myGitToy/aliyun-oss-python-sdk | fc4d6fb68e6a768d41fd74b252931abe64ee10ab | [
"MIT"
] | null | null | null | tests/test_mock_object.py | myGitToy/aliyun-oss-python-sdk | fc4d6fb68e6a768d41fd74b252931abe64ee10ab | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import oss2
import unittest
import unittests
from functools import partial
from mock import patch
def make_get_object(content):
request_text = '''GET /sjbhlsgsbecvlpbf HTTP/1.1
Host: ming-oss-share.oss-cn-hangzhou.aliyuncs.com
Accept-Encoding: identity
Connection: keep-aliv... | 36.343448 | 130 | 0.716688 | 3,362 | 26,349 | 5.473825 | 0.088043 | 0.03619 | 0.053633 | 0.019562 | 0.838939 | 0.807477 | 0.781394 | 0.754497 | 0.705863 | 0.666576 | 0 | 0.085432 | 0.162169 | 26,349 | 725 | 131 | 36.343448 | 0.748188 | 0.001063 | 0 | 0.671875 | 0 | 0.03125 | 0.448459 | 0.19712 | 0 | 0 | 0 | 0 | 0.151042 | 1 | 0.050347 | false | 0.006944 | 0.010417 | 0 | 0.067708 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4921b1a0d09ba465eefdc692ed7c1252aba4a2bd | 33 | py | Python | topic_domain_nmt/models/__init__.py | Vicky-Wil/topic-NMT | 880a354059e52b97ff01529daaedc7a8315e5dc7 | [
"MIT"
] | 4 | 2022-01-06T06:39:04.000Z | 2022-03-24T10:43:09.000Z | topic_domain_nmt/models/__init__.py | Vicky-Wil/topic-NMT | 880a354059e52b97ff01529daaedc7a8315e5dc7 | [
"MIT"
] | 1 | 2021-11-12T11:31:32.000Z | 2022-03-01T04:33:17.000Z | topic_domain_nmt/models/__init__.py | Vicky-Wil/topic-NMT | 880a354059e52b97ff01529daaedc7a8315e5dc7 | [
"MIT"
] | null | null | null | from . import topic_transformer
| 11 | 31 | 0.818182 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 2 | 32 | 16.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
493d600ae2fca494b8f6ba65161330041be06b81 | 186 | py | Python | gwinc/noise/__init__.py | Jonjocarts/LION-Public | e6c8d7475e4f883dbb268bf6f028bbc378540ab3 | [
"Unlicense"
] | 14 | 2019-10-16T13:27:19.000Z | 2022-03-15T02:14:49.000Z | gwinc/noise/__init__.py | Jonjocarts/LION-Public | e6c8d7475e4f883dbb268bf6f028bbc378540ab3 | [
"Unlicense"
] | 1 | 2019-09-29T21:21:40.000Z | 2019-09-29T21:21:40.000Z | gwinc/noise/__init__.py | Jonjocarts/LION-Public | e6c8d7475e4f883dbb268bf6f028bbc378540ab3 | [
"Unlicense"
] | 6 | 2019-11-27T09:45:31.000Z | 2022-03-15T02:14:31.000Z | from . import coatingthermal
from . import residualgas
from . import substratethermal
from . import newtonian
from . import quantum
from . import suspensionthermal
from . import seismic
| 23.25 | 31 | 0.811828 | 21 | 186 | 7.190476 | 0.428571 | 0.463576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 186 | 7 | 32 | 26.571429 | 0.955696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4954573b2156d216013bdf567db9639937fdf753 | 136 | py | Python | lhotse/bin/modes/recipes/__init__.py | freewym/lhotse | 66e9bbaf25b75011388ab00189baa162c3c1d435 | [
"Apache-2.0"
] | null | null | null | lhotse/bin/modes/recipes/__init__.py | freewym/lhotse | 66e9bbaf25b75011388ab00189baa162c3c1d435 | [
"Apache-2.0"
] | null | null | null | lhotse/bin/modes/recipes/__init__.py | freewym/lhotse | 66e9bbaf25b75011388ab00189baa162c3c1d435 | [
"Apache-2.0"
] | null | null | null | from .broadcast_news import *
from .heroico import *
from .librimix import *
from .mini_librispeech import *
from .switchboard import *
| 22.666667 | 31 | 0.779412 | 17 | 136 | 6.117647 | 0.529412 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 5 | 32 | 27.2 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49689a1043fac9c87e05290fc4a752b162dcdcc7 | 47 | py | Python | src/predicting_all.py | peterchencyc/deep-baking | 653183676baf32598b5df2814d22bccc03138241 | [
"BSD-3-Clause"
] | null | null | null | src/predicting_all.py | peterchencyc/deep-baking | 653183676baf32598b5df2814d22bccc03138241 | [
"BSD-3-Clause"
] | null | null | null | src/predicting_all.py | peterchencyc/deep-baking | 653183676baf32598b5df2814d22bccc03138241 | [
"BSD-3-Clause"
] | null | null | null | import predicting
predicting.predicting_all()
| 11.75 | 27 | 0.851064 | 5 | 47 | 7.8 | 0.6 | 1.025641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 3 | 28 | 15.666667 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4973e1bbaf0f542400f53888bf8df3fb1da3b2d4 | 794 | py | Python | Fig_S19/blastRunner_v6_20190305.py | nimitjainFireLab/JainEtAl_T7rnaReplication | 1a6111ee70cd99ec531a92f49e7fe8a0f1de0145 | [
"MIT"
] | null | null | null | Fig_S19/blastRunner_v6_20190305.py | nimitjainFireLab/JainEtAl_T7rnaReplication | 1a6111ee70cd99ec531a92f49e7fe8a0f1de0145 | [
"MIT"
] | null | null | null | Fig_S19/blastRunner_v6_20190305.py | nimitjainFireLab/JainEtAl_T7rnaReplication | 1a6111ee70cd99ec531a92f49e7fe8a0f1de0145 | [
"MIT"
] | null | null | null | import subprocess
subprocess.check_call('ncbi-blast-2.7.1+/bin/blastn -task blastn-short -out blastresults6_20190305.txt -num_threads 25 -db t7rp1'+' -word_size 7 -query sequencesToBlast_20190305.fasta -outfmt 11 -evalue 100000 -num_alignments 20 -dust no -soft_masking false -show_gis -max_hsps 3',shell=True)
subproce... | 113.428571 | 292 | 0.821159 | 122 | 794 | 5.147541 | 0.434426 | 0.105096 | 0.121019 | 0.146497 | 0.503185 | 0.503185 | 0.503185 | 0.503185 | 0.503185 | 0.449045 | 0 | 0.141509 | 0.065491 | 794 | 6 | 293 | 132.333333 | 0.704852 | 0 | 0 | 0 | 0 | 1 | 0.783375 | 0.473552 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 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 | 0 | 0 | 6 |
4985dc81692d4ce4d4a073274fd53ab234d96203 | 31 | py | Python | scotch/__init__.py | QCaudron/scotch2 | 62abf7bf9e64fd49b7a546dcdd6a25050356da06 | [
"MIT"
] | null | null | null | scotch/__init__.py | QCaudron/scotch2 | 62abf7bf9e64fd49b7a546dcdd6a25050356da06 | [
"MIT"
] | null | null | null | scotch/__init__.py | QCaudron/scotch2 | 62abf7bf9e64fd49b7a546dcdd6a25050356da06 | [
"MIT"
] | null | null | null | from scotch.model import Model
| 15.5 | 30 | 0.83871 | 5 | 31 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
498f83d8fcd1d078c9e8390a1b2b531eec59c8eb | 19,059 | py | Python | nidaqmx/tests/test_stream_counter_readers_writers.py | hboshnak/nidaqmx-python | b756fbd7f0c0f7deadb468d77ceacb03ed467885 | [
"MIT"
] | null | null | null | nidaqmx/tests/test_stream_counter_readers_writers.py | hboshnak/nidaqmx-python | b756fbd7f0c0f7deadb468d77ceacb03ed467885 | [
"MIT"
] | null | null | null | nidaqmx/tests/test_stream_counter_readers_writers.py | hboshnak/nidaqmx-python | b756fbd7f0c0f7deadb468d77ceacb03ed467885 | [
"MIT"
] | null | null | null | import numpy
import pytest
import random
import nidaqmx
from nidaqmx.constants import (
Edge, TriggerType, AcquisitionType, Level, TaskMode)
from nidaqmx.stream_readers import CounterReader
from nidaqmx.stream_writers import CounterWriter
from nidaqmx.tests.fixtures import x_series_device
from nidaqmx.tests.helper... | 40.987097 | 79 | 0.642059 | 2,369 | 19,059 | 4.810046 | 0.077248 | 0.040018 | 0.055287 | 0.033172 | 0.860114 | 0.837999 | 0.810882 | 0.797894 | 0.776481 | 0.745415 | 0 | 0.028093 | 0.273467 | 19,059 | 464 | 80 | 41.075431 | 0.794829 | 0.066006 | 0 | 0.647416 | 0 | 0 | 0.017688 | 0 | 0 | 0 | 0 | 0 | 0.048632 | 1 | 0.030395 | false | 0 | 0.030395 | 0 | 0.06383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b8d1db3bf4b4b722ed89f2912f4071e0ab67dfce | 27,370 | py | Python | test/texturizer_test.py | lordmauve/lepton | bf03f2c20ea8c51ade632f692d0a21e520fbba7c | [
"MIT"
] | 7 | 2018-02-20T02:56:03.000Z | 2020-01-23T05:35:55.000Z | test/texturizer_test.py | lordmauve/lepton | bf03f2c20ea8c51ade632f692d0a21e520fbba7c | [
"MIT"
] | 1 | 2017-11-12T10:14:13.000Z | 2017-11-12T10:14:44.000Z | test/texturizer_test.py | lordmauve/lepton | bf03f2c20ea8c51ade632f692d0a21e520fbba7c | [
"MIT"
] | 1 | 2019-01-05T00:38:50.000Z | 2019-01-05T00:38:50.000Z | #
#
# Copyright (c) 2008, 2009 by Casey Duncan and contributors
# All Rights Reserved.
#
# This software is subject to the provisions of the MIT License
# A copy of the license should accompany this distribution.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT L... | 42.698908 | 123 | 0.526379 | 3,733 | 27,370 | 3.744709 | 0.060809 | 0.035339 | 0.033264 | 0.03491 | 0.863867 | 0.8188 | 0.791759 | 0.765577 | 0.747621 | 0.716074 | 0 | 0.084823 | 0.335806 | 27,370 | 640 | 124 | 42.765625 | 0.684141 | 0.015601 | 0 | 0.686007 | 0 | 0 | 0.009136 | 0 | 0 | 0 | 0 | 0 | 0.206485 | 1 | 0.046075 | false | 0 | 0.049488 | 0 | 0.109215 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b8d880c37e419a9532ef6a7f10335c02c3cbd241 | 26 | py | Python | src/python/pyllars/pthread.h/__init__.py | nak/pyllars | b4b3b131c61e6ba6a916df37129269f91ad1cc89 | [
"Apache-2.0"
] | 2 | 2015-12-20T06:19:11.000Z | 2020-07-28T04:17:57.000Z | src/python/pyllars/pthread.h/__init__.py | nak/pyllars | b4b3b131c61e6ba6a916df37129269f91ad1cc89 | [
"Apache-2.0"
] | null | null | null | src/python/pyllars/pthread.h/__init__.py | nak/pyllars | b4b3b131c61e6ba6a916df37129269f91ad1cc89 | [
"Apache-2.0"
] | null | null | null | from ._pthread.h import *
| 13 | 25 | 0.730769 | 4 | 26 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
773f4a9b80969c26a8e3ab785797964a14892549 | 170 | py | Python | torchelper/utils/logger.py | huachao1001/torch_helper | 29453dc035a9038fd0d216a8d8366df42523421e | [
"MIT"
] | null | null | null | torchelper/utils/logger.py | huachao1001/torch_helper | 29453dc035a9038fd0d216a8d8366df42523421e | [
"MIT"
] | null | null | null | torchelper/utils/logger.py | huachao1001/torch_helper | 29453dc035a9038fd0d216a8d8366df42523421e | [
"MIT"
] | null | null | null |
from .dist_util import master_only
@master_only
def debug(*msg):
print(msg)
@master_only
def log(*msg):
print(msg)
@master_only
def warn(*msg):
print(msg) | 12.142857 | 34 | 0.688235 | 27 | 170 | 4.148148 | 0.444444 | 0.357143 | 0.348214 | 0.303571 | 0.428571 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182353 | 170 | 14 | 35 | 12.142857 | 0.805755 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | true | 0 | 0.1 | 0 | 0.4 | 0.3 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
774f092b5c8b294fd84ec33976007dc877cf2e45 | 112 | py | Python | modulos e pacotes/menu/__init__.py | Rachidomar1523/pythonExercicios | cca5b637ee97f83c7bdcc3babc4e53428edc1ce9 | [
"MIT"
] | null | null | null | modulos e pacotes/menu/__init__.py | Rachidomar1523/pythonExercicios | cca5b637ee97f83c7bdcc3babc4e53428edc1ce9 | [
"MIT"
] | null | null | null | modulos e pacotes/menu/__init__.py | Rachidomar1523/pythonExercicios | cca5b637ee97f83c7bdcc3babc4e53428edc1ce9 | [
"MIT"
] | null | null | null | def lih(a='MENU PRINCIPAL'):
print('-' * 40)
print(f"|\033[37;1m{a:^38}\033[m|")
print('-' * 40)
| 14 | 39 | 0.482143 | 18 | 112 | 3 | 0.722222 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0.223214 | 112 | 7 | 40 | 16 | 0.448276 | 0 | 0 | 0.5 | 0 | 0 | 0.376147 | 0.229358 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.75 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6207deafb6205665447f9f75b5848d22beb01db9 | 26 | py | Python | isosurface/__init__.py | kevinjuan25/isosurface | ee7f1a19250854a9b4edc3a314971b5bb46b8a84 | [
"MIT"
] | null | null | null | isosurface/__init__.py | kevinjuan25/isosurface | ee7f1a19250854a9b4edc3a314971b5bb46b8a84 | [
"MIT"
] | null | null | null | isosurface/__init__.py | kevinjuan25/isosurface | ee7f1a19250854a9b4edc3a314971b5bb46b8a84 | [
"MIT"
] | null | null | null | from .isosurface import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6241bd216e4cf63c1e05164442cf836744e8f6ab | 30 | py | Python | function/python/index.py | walk8243/language-study | 9625cb1a25c2d9fa35ade53b7861aa6d59601196 | [
"MIT"
] | null | null | null | function/python/index.py | walk8243/language-study | 9625cb1a25c2d9fa35ade53b7861aa6d59601196 | [
"MIT"
] | null | null | null | function/python/index.py | walk8243/language-study | 9625cb1a25c2d9fa35ade53b7861aa6d59601196 | [
"MIT"
] | null | null | null | import func
func.print_now()
| 7.5 | 16 | 0.766667 | 5 | 30 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 3 | 17 | 10 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.