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
dc04e2944ef140ad62427cf2f86c99472ab9de33
2,680
py
Python
python/onos/config/network_change.py
al8/onos-api
8200b4a142d3dd1692f3cceac64a891c698d917d
[ "Apache-2.0" ]
null
null
null
python/onos/config/network_change.py
al8/onos-api
8200b4a142d3dd1692f3cceac64a891c698d917d
[ "Apache-2.0" ]
null
null
null
python/onos/config/network_change.py
al8/onos-api
8200b4a142d3dd1692f3cceac64a891c698d917d
[ "Apache-2.0" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # sources: onos/config/change/network/types.proto # plugin: python-betterproto from dataclasses import dataclass from datetime import datetime from typing import List import betterproto @dataclass(eq=False, repr=False) class NetworkChange(betterproto.Message...
42.539683
81
0.737313
377
2,680
5.114058
0.352785
0.042012
0.059647
0.020747
0.232365
0.186722
0.126556
0.09751
0
0
0
0.006487
0.194776
2,680
62
82
43.225806
0.886932
0.562687
0
0.25
1
0
0.042743
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.833333
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
0
0
0
0
0
0
0
0
1
0
0
2
dc0f46672bac478f55b0e8806bb0b25edf659f21
750
py
Python
tests/base.py
KnightHacks/hackathon-2021-backend
7fa8f0dbe9732eff42393322bab73f0fd540ca7f
[ "MIT" ]
4
2021-08-19T17:32:08.000Z
2021-09-18T23:23:42.000Z
tests/base.py
KnightHacks/hackathon-2021-backend
7fa8f0dbe9732eff42393322bab73f0fd540ca7f
[ "MIT" ]
63
2021-05-16T16:02:00.000Z
2021-11-03T04:43:03.000Z
tests/base.py
KnightHacks/hackathon-2021-backend
7fa8f0dbe9732eff42393322bab73f0fd540ca7f
[ "MIT" ]
2
2021-09-07T04:05:46.000Z
2021-09-13T21:26:42.000Z
# flake8: noqa import os from flask_testing import TestCase from mongoengine import connect from mongoengine.connection import disconnect_all os.environ["APP_SETTINGS"] = "src.config.TestingConfig" from src import app class BaseTestCase(TestCase): def create_app(self): app.config.from_object("src.config....
25.862069
76
0.713333
83
750
6.277108
0.457831
0.074856
0.092131
0.178503
0.130518
0
0
0
0
0
0
0.001645
0.189333
750
28
77
26.785714
0.855263
0.016
0
0.285714
0
0
0.191576
0.09375
0
0
0
0
0
1
0.190476
false
0
0.238095
0
0.52381
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
905523b2c30e157868eb05b70c42e8727acc7d14
4,865
py
Python
game/perception.py
JCKing97/Agents4Asteroids
c25eb106b9963db97a6fd426f2a8b2f7b8dd073f
[ "MIT" ]
1
2020-06-24T16:07:38.000Z
2020-06-24T16:07:38.000Z
game/perception.py
JCKing97/Agents4Asteroids
c25eb106b9963db97a6fd426f2a8b2f7b8dd073f
[ "MIT" ]
9
2019-08-14T19:44:39.000Z
2020-05-03T13:01:57.000Z
game/perception.py
JCKing97/Agents4Asteroids
c25eb106b9963db97a6fd426f2a8b2f7b8dd073f
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import List import pyglet from game.entities import Ship, Particle, Asteroid class Perception(ABC): """ A base class to describe a perception of the game at a certain point in it's running. """ @abstractmethod def __init__(self, ship: Ship=None, pa...
38.307087
114
0.593011
586
4,865
4.737201
0.197952
0.035303
0.042147
0.040346
0.415346
0.387608
0.387608
0.370317
0.334654
0.334654
0
0.015515
0.297842
4,865
126
115
38.611111
0.797131
0.457965
0
0.378378
0
0
0.065924
0
0
0
0
0
0
1
0.216216
false
0.054054
0.108108
0
0.459459
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
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
905f233a10a5d87bffb20a8846a3b7cb638b8eef
1,701
py
Python
pypeln/task/api/from_iterable_task_test.py
isaacjoy/pypeln
5909376b30fe25fd869e49e4e46b7782d48f1be2
[ "MIT" ]
null
null
null
pypeln/task/api/from_iterable_task_test.py
isaacjoy/pypeln
5909376b30fe25fd869e49e4e46b7782d48f1be2
[ "MIT" ]
null
null
null
pypeln/task/api/from_iterable_task_test.py
isaacjoy/pypeln
5909376b30fe25fd869e49e4e46b7782d48f1be2
[ "MIT" ]
null
null
null
import asyncio import sys import typing as tp from unittest import TestCase import unittest from unittest import mock import cytoolz as cz import hypothesis as hp from hypothesis import strategies as st import pypeln as pl MAX_EXAMPLES = 10 T = tp.TypeVar("T") @hp.given(nums=st.lists(st.integers())) @hp.settings(...
21.2625
61
0.713698
276
1,701
4.155797
0.166667
0.088928
0.05231
0.05667
0.744551
0.730602
0.687881
0.687881
0.669573
0.669573
0
0.002147
0.178718
1,701
79
62
21.531646
0.818898
0
0
0.576923
0
0
0.000588
0
0
0
0
0
0.096154
1
0.076923
false
0
0.192308
0
0.269231
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9060bf9a7c500354c6431fb4332cf3b815ce0289
292
py
Python
28 Wind chill index.py
L0ganhowlett/Python_workbook-Ben_Stephenson
ab711257bd2da9b34c6001a8e09d20bfc0114a3f
[ "MIT" ]
null
null
null
28 Wind chill index.py
L0ganhowlett/Python_workbook-Ben_Stephenson
ab711257bd2da9b34c6001a8e09d20bfc0114a3f
[ "MIT" ]
null
null
null
28 Wind chill index.py
L0ganhowlett/Python_workbook-Ben_Stephenson
ab711257bd2da9b34c6001a8e09d20bfc0114a3f
[ "MIT" ]
null
null
null
# 28 Wind Chill #Asking for air temperature and wind speed. T = float(input('Enter the air temperature in celsius= ')) v = float(input('Enter the velocity of windin km/h = ')) x = round(13.12 * 0.6215 * T - 11.37 * v ** 0.16 + 0.3965 * T * v ** 0.16) print('Wind chill index = ',x)
32.444444
75
0.616438
52
292
3.461538
0.653846
0.1
0.166667
0.2
0
0
0
0
0
0
0
0.115044
0.226027
292
8
76
36.5
0.681416
0.188356
0
0
0
0
0.415179
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
0
0
0
0
0
0
0
0
2
90702d94a6773cdadbf8c3e046fb600c76f14fc9
726
py
Python
goalsettrack/usuario/models.py
ingsoft-famaf/the-late-ones
4641413890ae3713d415afca1d42462cc07405bf
[ "MIT" ]
null
null
null
goalsettrack/usuario/models.py
ingsoft-famaf/the-late-ones
4641413890ae3713d415afca1d42462cc07405bf
[ "MIT" ]
null
null
null
goalsettrack/usuario/models.py
ingsoft-famaf/the-late-ones
4641413890ae3713d415afca1d42462cc07405bf
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.contrib.auth.models import User # from django.core.validators import MaxValueValidator from django.db import models from django.db.models.signals import post_save from django.dispatch import receiver class Usuario(models.Model): """ usuario """ usuario = m...
26.888889
73
0.745179
93
726
5.634409
0.537634
0.09542
0.045802
0
0
0
0
0
0
0
0
0.006547
0.158402
726
26
74
27.923077
0.851064
0.085399
0
0
0
0
0.00761
0
0
0
0
0
0
1
0.125
false
0
0.3125
0.0625
0.75
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9087a450ddbcfdabeb3ed95f36870d157a73aeae
259
py
Python
Collector.py
wbs306/LabBoard_Collector
ea93d8018bfd5ef65f956ce28f7611bc7b163874
[ "MIT" ]
null
null
null
Collector.py
wbs306/LabBoard_Collector
ea93d8018bfd5ef65f956ce28f7611bc7b163874
[ "MIT" ]
null
null
null
Collector.py
wbs306/LabBoard_Collector
ea93d8018bfd5ef65f956ce28f7611bc7b163874
[ "MIT" ]
null
null
null
class Collector: def __init__(self, name, have_task=True): self.name = name self.have_task = have_task self.data_dict = None self.last_collect = 0 def run_task(self): pass def get_data(self): pass
19.923077
45
0.586873
35
259
4.028571
0.514286
0.170213
0
0
0
0
0
0
0
0
0
0.00578
0.332046
259
12
46
21.583333
0.809249
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0.2
0
0
0.4
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
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
908e3b9d9fa05f95184a7d736984584cd9274070
1,475
py
Python
src/deque.py
reaperr/data-structures
a397fe9002f6a655b7f06f44069ee3e25502e99d
[ "MIT" ]
null
null
null
src/deque.py
reaperr/data-structures
a397fe9002f6a655b7f06f44069ee3e25502e99d
[ "MIT" ]
null
null
null
src/deque.py
reaperr/data-structures
a397fe9002f6a655b7f06f44069ee3e25502e99d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from dll import DLL class Deque(object): """Python Implementation of Deque Data Structure""" def __init__(self, iter=None): """Constructor Function for Deque.""" self.container = DLL() if iter: for val in iter: self.container.append(...
27.314815
72
0.574237
185
1,475
4.524324
0.324324
0.139785
0.059737
0.052569
0.545998
0.394265
0.265233
0.121864
0.121864
0.121864
0
0.001007
0.32678
1,475
53
73
27.830189
0.841893
0.268475
0
0.424242
0
0
0
0
0
0
0
0
0
1
0.242424
false
0
0.030303
0
0.515152
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
909d0658a21080003aae780f816f402a112d0e07
2,613
py
Python
tests/command/test_automatic_stream_association.py
mpsiva89/protean
315fa56da3f64178bbbf0edf1995af46d5eb3da7
[ "BSD-3-Clause" ]
null
null
null
tests/command/test_automatic_stream_association.py
mpsiva89/protean
315fa56da3f64178bbbf0edf1995af46d5eb3da7
[ "BSD-3-Clause" ]
null
null
null
tests/command/test_automatic_stream_association.py
mpsiva89/protean
315fa56da3f64178bbbf0edf1995af46d5eb3da7
[ "BSD-3-Clause" ]
null
null
null
from __future__ import annotations import pytest from protean import BaseCommand, BaseCommandHandler, BaseEventSourcedAggregate, handle from protean.fields import DateTime, Identifier, String class User(BaseEventSourcedAggregate): email = String() name = String() password_hash = String() class Email(B...
22.525862
86
0.698814
292
2,613
6.041096
0.256849
0.061224
0.063492
0.05102
0.27551
0.248299
0.14966
0.049887
0
0
0
0
0.210869
2,613
115
87
22.721739
0.85548
0.045159
0
0.364865
0
0
0.021371
0
0
0
0
0
0.135135
1
0.108108
false
0.108108
0.054054
0
0.581081
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
90c5a4c232675d86b7fa8b0be2b0ad1e0d5b36ce
2,722
py
Python
tests/dispatcher_testdoubles.py
homcl/sonarcloud-brightside
4422c2663aad7794f306331968a125d3029e0f01
[ "MIT" ]
20
2017-08-05T20:34:02.000Z
2021-11-26T09:08:47.000Z
tests/dispatcher_testdoubles.py
homcl/sonarcloud-brightside
4422c2663aad7794f306331968a125d3029e0f01
[ "MIT" ]
49
2017-08-18T14:17:39.000Z
2021-05-08T16:53:03.000Z
tests/dispatcher_testdoubles.py
homcl/sonarcloud-brightside
4422c2663aad7794f306331968a125d3029e0f01
[ "MIT" ]
6
2017-08-18T10:45:47.000Z
2020-09-25T15:04:01.000Z
""" File : dispatcher_testdoubles.py Author : ian Created : 06-05-2017 Last Modified By : ian Last Modified On : 06-05-2017 *********************************************************************** The MIT License (MIT) Copyright © 2017 Ian Cooper <ian_hammond_cooper@yahoo.co.uk> Permissi...
43.903226
107
0.743571
335
2,722
5.952239
0.459701
0.044132
0.03009
0.035105
0.098295
0.098295
0.098295
0.098295
0.098295
0
0
0.00873
0.158339
2,722
61
108
44.622951
0.861196
0.570536
0
0
0
0
0.017513
0
0
0
0
0
0
1
0.15
false
0
0.35
0.05
0.65
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
90cb1a85ab9e3f4d474ee6c732f4cdaa794a5304
6,017
py
Python
django/asset-registry/asset_registry_application/settings.py
Group2-WSO2/Group2-WSO2-FinalProject
2d20e90009ee06a499a9ff997244a2fda7944782
[ "MIT" ]
1
2022-03-19T11:18:46.000Z
2022-03-19T11:18:46.000Z
django/asset-registry/asset_registry_application/settings.py
Group2-WSO2/Group2-WSO2-FinalProject
2d20e90009ee06a499a9ff997244a2fda7944782
[ "MIT" ]
null
null
null
django/asset-registry/asset_registry_application/settings.py
Group2-WSO2/Group2-WSO2-FinalProject
2d20e90009ee06a499a9ff997244a2fda7944782
[ "MIT" ]
null
null
null
""" Django settings for asset_registry_application project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings...
27.600917
133
0.60595
608
6,017
5.883224
0.368421
0.054515
0.049203
0.055913
0.219737
0.219737
0.149567
0.112105
0.04473
0
0
0.013426
0.232508
6,017
218
134
27.600917
0.761152
0.365298
0
0.035714
1
0.008929
0.506933
0.334933
0
0
0
0
0
1
0
false
0.071429
0.026786
0
0.026786
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
0
0
0
0
0
1
0
0
0
0
0
2
90d17e243a4fcf057a74ce7d5fcdaa3c3eab4e8d
326
py
Python
exercises/CursoemVideo/aula16.py
arthurguerra/cursoemvideo-python
37f45ec25f422673fa9bbeee682e098f14d8ceab
[ "MIT" ]
null
null
null
exercises/CursoemVideo/aula16.py
arthurguerra/cursoemvideo-python
37f45ec25f422673fa9bbeee682e098f14d8ceab
[ "MIT" ]
null
null
null
exercises/CursoemVideo/aula16.py
arthurguerra/cursoemvideo-python
37f45ec25f422673fa9bbeee682e098f14d8ceab
[ "MIT" ]
null
null
null
lanche = 'Hambúrguer', 'Suco', 'Pizza', 'Pudim' for comida in lanche: print(f'Eu vou comer {comida}') for cont in range(0, len(lanche)): print(f'Eu vou comer {lanche[cont]} na posição {cont}') for pos, comida in enumerate(lanche): print(f'Eu vou comer {comida} na posição {pos + 1}') print('Comi pra caramb...
25.076923
59
0.659509
52
326
4.134615
0.480769
0.153488
0.167442
0.195349
0.362791
0.362791
0.260465
0
0
0
0
0.007463
0.177914
326
12
60
27.166667
0.794776
0
0
0
0
0
0.458462
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
90d334adb70866eb91febf5e1c9f96a870d6f999
2,420
py
Python
backend/api/config.py
AlexScheller/dark-chess
b7049549b1b9e3fbf5d00a387fef0ec8401f431c
[ "MIT" ]
null
null
null
backend/api/config.py
AlexScheller/dark-chess
b7049549b1b9e3fbf5d00a387fef0ec8401f431c
[ "MIT" ]
1
2020-09-14T02:17:32.000Z
2020-09-14T02:17:32.000Z
backend/api/config.py
AlexScheller/dark-chess
b7049549b1b9e3fbf5d00a387fef0ec8401f431c
[ "MIT" ]
null
null
null
import os from dotenv import load_dotenv basedir = os.path.abspath(os.path.dirname(__file__)) load_dotenv(os.path.join(basedir, '.env.flask')) def env_to_bool(value, default=False): if value is None: return default val = value.lower() if val in ['false', 'f', 'no', 'n', '1']: return False elif val in ['true',...
34.084507
110
0.740909
394
2,420
4.22335
0.266497
0.108173
0.144231
0.075721
0.225361
0.180889
0.082933
0.051683
0.051683
0.051683
0
0.005587
0.112397
2,420
71
111
34.084507
0.769088
0.085537
0
0.08
0
0
0.286558
0.143506
0
0
0
0
0
1
0.04
false
0.08
0.04
0
0.68
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
90d68802b86499797fc7621a5d96a3e78406866a
2,058
py
Python
app/core/models.py
xylo99/IP-to-AWS-region-API
f2022b1fff46ece898ca64763604cdf7a5ee4f77
[ "MIT" ]
null
null
null
app/core/models.py
xylo99/IP-to-AWS-region-API
f2022b1fff46ece898ca64763604cdf7a5ee4f77
[ "MIT" ]
null
null
null
app/core/models.py
xylo99/IP-to-AWS-region-API
f2022b1fff46ece898ca64763604cdf7a5ee4f77
[ "MIT" ]
null
null
null
import requests from django.db import models from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, \ PermissionsMixin def find_region(): ip_to_region_dict = { "US": "US-East" } ip_data = requests.get("https://ipinfo.io/ip", verify=False) ip = ip_data.text.split('\n')[0...
31.661538
81
0.677357
265
2,058
5.101887
0.343396
0.036982
0.022189
0.037722
0.252219
0.123521
0.077663
0.056213
0.056213
0
0
0.005556
0.212828
2,058
64
82
32.15625
0.829012
0.159378
0
0.2
0
0
0.049238
0
0
0
0
0
0
1
0.1
false
0.15
0.075
0
0.525
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
90d8b0feb92d159dcabbf9e4f14c056ed188abd0
644
py
Python
payload/block_check.py
FlexingTiger/henkaku
a7b04f38aa7fc6d59b76b4542474dfc65e5f6cef
[ "MIT" ]
11
2017-11-16T17:58:12.000Z
2021-12-31T16:29:25.000Z
payload/block_check.py
FlexingTiger/henkaku
a7b04f38aa7fc6d59b76b4542474dfc65e5f6cef
[ "MIT" ]
1
2018-04-18T19:37:08.000Z
2019-11-24T14:48:26.000Z
payload/block_check.py
MLTHaKu/MLTHaKu-HAX
2f5cddbf2173669fdff776eb50cba71531977ca3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from sys import argv, exit # Checks that all 16-byte blocks in the file are different # This hides the fact the we use AES in ECB mode def main(): if len(argv) != 2: print("Usage: block_check.py filename") return -2 with open(argv[1], "rb") as fin: data = fin.read() blocks = [data[x:x...
23.851852
61
0.658385
113
644
3.672566
0.584071
0.036145
0.057831
0.062651
0.096386
0.096386
0
0
0
0
0
0.028958
0.195652
644
26
62
24.769231
0.772201
0.226708
0
0.111111
0
0
0.214575
0
0
0
0
0.038462
0
1
0.055556
false
0.055556
0.055556
0
0.277778
0.166667
0
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
1
0
0
0
0
1
0
0
0
0
0
2
90e20d87b46556d3bb2d8d358648e43f9fc228ee
1,828
py
Python
share/fathead/java/test_parse_utils.py
wilkox/zeroclickinfo-fathead
59fc62f758e9f59a465ff97fbb06862ccaaa0673
[ "Apache-2.0" ]
1
2021-01-05T16:48:23.000Z
2021-01-05T16:48:23.000Z
share/fathead/java/test_parse_utils.py
wilkox/zeroclickinfo-fathead
59fc62f758e9f59a465ff97fbb06862ccaaa0673
[ "Apache-2.0" ]
null
null
null
share/fathead/java/test_parse_utils.py
wilkox/zeroclickinfo-fathead
59fc62f758e9f59a465ff97fbb06862ccaaa0673
[ "Apache-2.0" ]
1
2016-06-12T06:12:02.000Z
2016-06-12T06:12:02.000Z
#!/usr/bin/python import unittest import parse_utils class TestParse(unittest.TestCase): def setUp(self): pass def test_remove_keywords(self): self.assertEqual("SQLWarning", parse_utils.remove_keywords("Class SQLWarning")) self.assertEqual("StandardCopyOption", parse_utils.remove_keywords("Enum Stand...
43.52381
272
0.775164
217
1,828
6.271889
0.410138
0.08817
0.05878
0.08817
0.123439
0.123439
0.066128
0.066128
0.066128
0
0
0.091133
0.111597
1,828
41
273
44.585366
0.746921
0.053063
0
0
0
0
0.303241
0.087963
0
0
0
0
0.428571
1
0.25
false
0.035714
0.071429
0
0.357143
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
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
90eac17962f42cffb90237d7dfea5de06fa63f3b
1,786
py
Python
project-euler/problem18.py
sebaven/python-experimental
586a851750e6b627d2ab09125cda746bbb6051b2
[ "MIT" ]
null
null
null
project-euler/problem18.py
sebaven/python-experimental
586a851750e6b627d2ab09125cda746bbb6051b2
[ "MIT" ]
null
null
null
project-euler/problem18.py
sebaven/python-experimental
586a851750e6b627d2ab09125cda746bbb6051b2
[ "MIT" ]
null
null
null
""" By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23. 3 7 4 2 4 6 8 5 9 3 That is, 3 + 7 + 4 + 9 = 23. Find the maximum total from top to bottom of the triangle below: 75 95 64 17 47 82 18 35 87 10 20 04 82 47 65 19 01 23 75 03...
26.264706
97
0.664054
437
1,786
2.713959
0.382151
0.013491
0.040472
0.048061
0.494941
0.494941
0.472175
0.421585
0.421585
0.421585
0
0.402578
0.261478
1,786
68
98
26.264706
0.496588
0.592945
0
0
0
0
0.554469
0
0
0
0
0
0
1
0
false
0
0
0
0
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
90eb5bb14e075b7f54e911cc065942e9ef142df5
643
py
Python
django_business_rules/views.py
marquicus/django-business-rules
3d409849f670f51a9ec1de88a301e82feec606a0
[ "BSD-2-Clause" ]
null
null
null
django_business_rules/views.py
marquicus/django-business-rules
3d409849f670f51a9ec1de88a301e82feec606a0
[ "BSD-2-Clause" ]
null
null
null
django_business_rules/views.py
marquicus/django-business-rules
3d409849f670f51a9ec1de88a301e82feec606a0
[ "BSD-2-Clause" ]
null
null
null
from __future__ import unicode_literals from django.contrib.auth.mixins import LoginRequiredMixin from django.views.generic.edit import UpdateView from django.views.generic.list import ListView from django_business_rules.models import BusinessRuleModel class BusinessRuleListView(LoginRequiredMixin, ListView): mod...
35.722222
67
0.825816
71
643
7.183099
0.450704
0.078431
0.111765
0.086275
0.168627
0.168627
0.168627
0
0
0
0
0
0.11353
643
17
68
37.823529
0.894737
0
0
0.153846
0
0
0.175739
0.139969
0
0
0
0
0
1
0
false
0
0.384615
0
1
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
90f3e517fbe69024a7804e314fb66c915ec916fe
802
py
Python
pyeee/__init__.py
mcuntz/pyeee
ed00d62d4f6540f803259c7d4b32a5a7b2704cc6
[ "MIT" ]
4
2020-01-22T06:54:01.000Z
2021-08-29T09:03:17.000Z
pyeee/__init__.py
mcuntz/pyeee
ed00d62d4f6540f803259c7d4b32a5a7b2704cc6
[ "MIT" ]
1
2020-02-10T13:25:34.000Z
2020-02-10T13:30:11.000Z
pyeee/__init__.py
mcuntz/pyeee
ed00d62d4f6540f803259c7d4b32a5a7b2704cc6
[ "MIT" ]
3
2020-01-23T11:34:08.000Z
2020-03-06T23:07:29.000Z
#!/usr/bin/env python """ Purpose ======= pyeee provides parameter screening of computational models using the Morris method of elementary effects or the extension of Efficient/Sequential Elementary Effects of Cuntz, Mai et al. (Water Res Research, 2015). The package uses several functions of the JAMS Python package ...
26.733333
75
0.763092
105
802
5.571429
0.647619
0.05812
0
0
0
0
0
0
0
0
0
0.017417
0.140898
802
29
76
27.655172
0.83164
0.74813
0
0
0
0
0.139175
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0.25
0
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
0
0
0
1
0
1
0
0
2
90f5af6ed477b39cad2e6aae1da1a896ff761724
1,125
py
Python
issuedump.py
eucalyptus/jira-scripts
84db02a7f5ac28f3228d33c5b9542da19b01f623
[ "BSD-2-Clause" ]
25
2015-01-05T06:11:34.000Z
2021-12-20T04:41:09.000Z
issuedump.py
eucalyptus/jira-scripts
84db02a7f5ac28f3228d33c5b9542da19b01f623
[ "BSD-2-Clause" ]
null
null
null
issuedump.py
eucalyptus/jira-scripts
84db02a7f5ac28f3228d33c5b9542da19b01f623
[ "BSD-2-Clause" ]
15
2015-03-08T10:13:13.000Z
2021-12-20T04:41:13.000Z
#!/usr/bin/python import time import sys from jiraauth import jclient as jira issues = sys.argv[1:] def dump_issue(issue): print "Key: " + issue.key print "Summary: " + issue.fields.summary print "Description: " + (issue.fields.description or "") print "Status: " + issue.fields.status.name print "Type: " ...
34.090909
88
0.646222
145
1,125
5
0.365517
0.151724
0.055172
0.066207
0.068966
0.068966
0
0
0
0
0
0.00108
0.176889
1,125
32
89
35.15625
0.781857
0.014222
0
0
0
0
0.149819
0.024368
0
0
0
0
0
0
null
null
0
0.115385
null
null
0.5
0
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
1
0
0
0
0
0
0
1
0
2
90f7136b56022b1b1a84d6a2a826e63b6bdf3e84
1,449
py
Python
code/old code/svm.py
ujjwal95/tappe_project
c10ff68d2e6d9418fa4b59cb1c5c178a3ef7f07b
[ "MIT" ]
1
2019-12-02T22:45:12.000Z
2019-12-02T22:45:12.000Z
code/old code/svm.py
ujjwal95/tappe_project
c10ff68d2e6d9418fa4b59cb1c5c178a3ef7f07b
[ "MIT" ]
null
null
null
code/old code/svm.py
ujjwal95/tappe_project
c10ff68d2e6d9418fa4b59cb1c5c178a3ef7f07b
[ "MIT" ]
null
null
null
import pandas as pd import numpy import operator import sys import matplotlib.pyplot as plt from sklearn import preprocessing from sklearn.svm import SVC from glob import glob from sklearn.externals import joblib from sklearn.model_selection import train_test_split from sklearn.metrics import classification_report,...
37.153846
259
0.775017
194
1,449
5.664948
0.551546
0.050046
0.025478
0.025478
0
0
0
0
0
0
0
0.002329
0.111111
1,449
39
260
37.153846
0.850932
0.15597
0
0
0
0
0.19114
0.036095
0
0
0
0
0
0
null
null
0
0.407407
null
null
0.074074
0
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
1
0
0
0
1
0
0
0
0
2
90fff11e633c824332314f01e6d26dbe6e15cd96
949
py
Python
voltmeter.py
rickroty/SL1
bfa319561ed3ecc64277874be16e028c3a717693
[ "MIT" ]
null
null
null
voltmeter.py
rickroty/SL1
bfa319561ed3ecc64277874be16e028c3a717693
[ "MIT" ]
null
null
null
voltmeter.py
rickroty/SL1
bfa319561ed3ecc64277874be16e028c3a717693
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO import time from time import sleep import datetime import socket clientsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) SWITCH = 18 VOLTMETER = 15 GPIO.setmode(GPIO.BOARD) GPIO.setup(SWITCH, GPIO.IN) GPIO.setup(VOLTMETER, GPIO.OUT) GPIO.output(VOLTMETER, GPIO.HIGH) print 'VOLT M...
21.088889
64
0.596417
115
949
4.904348
0.434783
0.115248
0.134752
0.163121
0.244681
0.152482
0.152482
0.152482
0.152482
0
0
0.021116
0.30137
949
44
65
21.568182
0.829563
0
0
0.294118
0
0
0.066456
0
0
0
0
0
0
0
null
null
0
0.147059
null
null
0.117647
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
290ffecd8227146b7e34bc1e442db58b2a9cb77b
1,046
py
Python
src/sentry/integrations/jira/installed.py
andrzej-tests-1/sentry.app
c863b8c5f9a4ed38a5fa817d28f610cd3c47b9f3
[ "BSD-3-Clause" ]
1
2019-01-07T03:37:32.000Z
2019-01-07T03:37:32.000Z
src/sentry/integrations/jira/installed.py
c88888/sentry
53837d9e8dad2443c3881fcd05f1b261bdd922fd
[ "BSD-3-Clause" ]
4
2020-09-05T14:32:35.000Z
2021-05-09T17:26:50.000Z
src/sentry/integrations/jira/installed.py
c88888/sentry
53837d9e8dad2443c3881fcd05f1b261bdd922fd
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import from django.views.decorators.csrf import csrf_exempt from sentry.api.base import Endpoint from sentry.integrations.pipeline import ensure_integration from sentry.tasks.integrations import sync_metadata from .integration import JiraIntegrationProvider class JiraInstalledEndpo...
32.6875
84
0.736138
117
1,046
6.444444
0.547009
0.039788
0.067639
0.055703
0
0
0
0
0
0
0
0.002345
0.184512
1,046
31
85
33.741935
0.881594
0.14914
0
0
0
0
0.004515
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.055556
0.722222
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
2925099cd00e125207948914827020b3e4bb9df7
591
py
Python
zenacrawler/items.py
robikieq/zenacrawler
5036364f2b28fb36a68523138f28245ae656b166
[ "MIT" ]
null
null
null
zenacrawler/items.py
robikieq/zenacrawler
5036364f2b28fb36a68523138f28245ae656b166
[ "MIT" ]
null
null
null
zenacrawler/items.py
robikieq/zenacrawler
5036364f2b28fb36a68523138f28245ae656b166
[ "MIT" ]
null
null
null
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy from scrapy.loader.processors import Join, MapCompose, TakeFirst from w3lib.html import remove_tags def remove_whitspaces(value): return value.strip() class ZenaCrawlerIte...
26.863636
67
0.734349
75
591
5.706667
0.626667
0.077103
0
0
0
0
0
0
0
0
0
0.002053
0.175973
591
21
68
28.142857
0.876797
0.274112
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0.076923
0.230769
0.076923
0.692308
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
292a348cfc0fd68a94d305bee2369eb03f5b271a
12,065
py
Python
core/ast_module.py
Aareon/Akilang
3dda47064abd5846043364533d5af5f924f6660d
[ "MIT" ]
null
null
null
core/ast_module.py
Aareon/Akilang
3dda47064abd5846043364533d5af5f924f6660d
[ "MIT" ]
null
null
null
core/ast_module.py
Aareon/Akilang
3dda47064abd5846043364533d5af5f924f6660d
[ "MIT" ]
null
null
null
from collections import namedtuple from core.vartypes import DEFAULT_TYPE, VarTypes # TODO: make sure these are eventually supplied # by way of the module instance import llvmlite.ir as ir # AST hierarchy class Node(object): def __init__(self, position): self.position = position def flatten(self):...
25.5074
116
0.585661
1,406
12,065
4.630156
0.109531
0.05914
0.049002
0.08172
0.560983
0.481567
0.378955
0.353456
0.310599
0.264363
0
0.002264
0.304351
12,065
472
117
25.561441
0.773383
0.017323
0
0.458689
0
0
0.028397
0.00652
0
0
0
0.002119
0.002849
1
0.207977
false
0.008547
0.008547
0.11396
0.438746
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
29315b28b6f613d37265f94ab6ef25da8ff6c052
538
py
Python
IFSensor/views/__init__.py
andrevdl/IFSensor
f77059f7e0c49e3ba39a524a6918206d203153b9
[ "MIT" ]
null
null
null
IFSensor/views/__init__.py
andrevdl/IFSensor
f77059f7e0c49e3ba39a524a6918206d203153b9
[ "MIT" ]
null
null
null
IFSensor/views/__init__.py
andrevdl/IFSensor
f77059f7e0c49e3ba39a524a6918206d203153b9
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template from flask_jwt_extended import jwt_required from IFSensor.views.view_controller import view_controller views = Blueprint('views', __name__) @views.route('/') @jwt_required(optional=True, locations=["headers", "cookies"]) def home(): return render_template('home.html', ...
35.866667
80
0.776952
66
538
6.075758
0.409091
0.139651
0.094763
0.114713
0.244389
0.244389
0.244389
0.244389
0
0
0
0
0.091078
538
15
80
35.866667
0.820041
0
0
0.166667
0
0
0.128015
0
0
0
0
0
0
1
0.166667
false
0
0.25
0.166667
0.583333
0.166667
0
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
0
0
0
0
1
1
0
0
2
293eb0d56721c03715f01cbf3a22258ee2f1a80a
1,153
py
Python
release/stubs.min/System/Windows/Forms/__init___parts/DataGridViewTriState.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/System/Windows/Forms/__init___parts/DataGridViewTriState.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/System/Windows/Forms/__init___parts/DataGridViewTriState.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class DataGridViewTriState(Enum, IComparable, IFormattable, IConvertible): """ Defines values for specifying one of three possible states. enum DataGridViewTriState,values: False (2),NotSet (0),True (1) """ def __eq__(self, *args): """ x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__...
24.531915
221
0.570685
130
1,153
4.330769
0.361538
0.142096
0.149201
0.159858
0.22913
0.22913
0.22913
0.20071
0.20071
0.20071
0
0.003686
0.294016
1,153
46
222
25.065217
0.687961
0
0
0.4
0
0
0
0
0
0
0
0
0
0
null
null
0.4
0
null
null
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
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
294c37a942de72a3a49ace5010d86d51d5a218a8
10,011
py
Python
Chapter07/example/python/endpoint_pb2.py
mahen92/Hyperledger-Cookbook
c2aaf9f9fd58757110a2a6b3ab7498da11fba254
[ "MIT" ]
11
2019-07-24T19:27:41.000Z
2021-11-08T13:10:56.000Z
Chapter07/example/python/endpoint_pb2.py
mahen92/Hyperledger-Cookbook
c2aaf9f9fd58757110a2a6b3ab7498da11fba254
[ "MIT" ]
1
2021-01-19T09:57:22.000Z
2021-01-28T04:48:33.000Z
Chapter07/example/python/endpoint_pb2.py
mahen92/Hyperledger-Cookbook
c2aaf9f9fd58757110a2a6b3ab7498da11fba254
[ "MIT" ]
13
2019-05-22T20:52:18.000Z
2022-02-05T13:24:26.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: endpoint.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _...
33.039604
1,437
0.759764
1,198
10,011
6.04424
0.188648
0.059246
0.030521
0.049303
0.454357
0.323022
0.306311
0.256871
0.251623
0.211021
0
0.039859
0.122865
10,011
302
1,438
33.149007
0.784763
0.034762
0
0.512
1
0.004
0.260073
0.216157
0
0
0
0
0
1
0
false
0
0.04
0
0.04
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
295b4f8d27ae415cdc4ae910a7528ce509f871a4
11,322
py
Python
components/isceobj/Alos2burstProc/runSwathMosaic.py
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
1,133
2022-01-07T21:24:57.000Z
2022-01-07T21:33:08.000Z
components/isceobj/Alos2burstProc/runSwathMosaic.py
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
276
2019-02-10T07:18:28.000Z
2022-03-31T21:45:55.000Z
components/isceobj/Alos2burstProc/runSwathMosaic.py
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
235
2019-02-10T05:00:53.000Z
2022-03-18T07:37:24.000Z
# # Author: Cunren Liang # Copyright 2015-present, NASA-JPL/Caltech # import os import logging import isceobj from isceobj.Alos2Proc.runSwathMosaic import swathMosaic from isceobj.Alos2Proc.runSwathMosaic import swathMosaicParameters from isceobj.Alos2Proc.Alos2ProcPublic import create_xml logger = logging.getLogger...
51.463636
217
0.672584
1,052
11,322
7.144487
0.172053
0.104178
0.023949
0.043108
0.75133
0.727382
0.709686
0.67975
0.646754
0.577036
0
0.006447
0.205441
11,322
219
218
51.69863
0.829035
0.205087
0
0.578125
0
0
0.031462
0.003961
0
0
0
0
0
1
0.007813
false
0
0.0625
0
0.070313
0.007813
0
0
0
null
0
0
0
0
1
1
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
0
0
0
0
0
0
0
2
29699917b550407ca9de0591d81c38af77486415
471
py
Python
cargo_parse/models/badges.py
Deca-Technologies/cargo-parse
2263f55f40adc22f797fb7514818753e84dc5887
[ "MIT" ]
1
2021-12-10T18:22:57.000Z
2021-12-10T18:22:57.000Z
cargo_parse/models/badges.py
Deca-Technologies/cargo-parse
2263f55f40adc22f797fb7514818753e84dc5887
[ "MIT" ]
null
null
null
cargo_parse/models/badges.py
Deca-Technologies/cargo-parse
2263f55f40adc22f797fb7514818753e84dc5887
[ "MIT" ]
null
null
null
from enum import Enum, unique from cargo_parse.models.core import CoreModel @unique class Status(str, Enum): ACTIVELY_DEVELOPED = "actively-developed" PASSIVELY_MAINTAINED = "passively-maintained" AS_IS = "as-is" EXPERIMENTAL = "experimental" LOOKING_FOR_MAINTAINER = "looking-for-maintainer" ...
20.478261
53
0.730361
51
471
6.627451
0.509804
0.100592
0.118343
0
0
0
0
0
0
0
0
0
0.180467
471
22
54
21.409091
0.875648
0
0
0
0
0
0.193206
0.046709
0
0
0
0
0
1
0
false
0.066667
0.133333
0
0.933333
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
29770f0aa029695b0a3c2f114bdde2144631f275
240
py
Python
setup.py
HSE-LAMBDA/gym-qubit
2b159096c38c2f471e95342061a10edcd0e6c947
[ "Apache-2.0" ]
3
2019-06-04T23:50:05.000Z
2020-05-19T19:37:45.000Z
setup.py
HSE-LAMBDA/gym-qubit
2b159096c38c2f471e95342061a10edcd0e6c947
[ "Apache-2.0" ]
null
null
null
setup.py
HSE-LAMBDA/gym-qubit
2b159096c38c2f471e95342061a10edcd0e6c947
[ "Apache-2.0" ]
1
2018-11-05T15:13:35.000Z
2018-11-05T15:13:35.000Z
from setuptools import setup setup(name='gym_qubit', version='0.0.1', install_requires=['gym>=0.10.5', 'qutip>=4.3.1', 'scipy>=1.0.1', 'numpy>=1.14.5'] )
24
40
0.420833
30
240
3.3
0.666667
0.040404
0
0
0
0
0
0
0
0
0
0.118881
0.404167
240
9
41
26.666667
0.573427
0
0
0
0
0
0.258333
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
2982c883ad087d734c1c5973d149731fb36cea11
3,027
py
Python
students/K33402/Livasily/FlexAirApp/FlexAir2/FlexAirApp/serializers.py
jabkevich/ITMO_ICT_WebDevelopment_2020-2021
b2bfbcf53d061e20f8c13d2fe662a4df2022d09b
[ "MIT" ]
null
null
null
students/K33402/Livasily/FlexAirApp/FlexAir2/FlexAirApp/serializers.py
jabkevich/ITMO_ICT_WebDevelopment_2020-2021
b2bfbcf53d061e20f8c13d2fe662a4df2022d09b
[ "MIT" ]
null
null
null
students/K33402/Livasily/FlexAirApp/FlexAir2/FlexAirApp/serializers.py
jabkevich/ITMO_ICT_WebDevelopment_2020-2021
b2bfbcf53d061e20f8c13d2fe662a4df2022d09b
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import * class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = fields = ['first_name', 'last_name', 'username', 'passport'] class AirlineSerializer(serializers.ModelSerializer): class Meta: model = A...
22.094891
77
0.653122
267
3,027
7.116105
0.243446
0.218947
0.117895
0.257895
0.53
0.340526
0.313684
0.208947
0.185263
0.185263
0
0
0.256029
3,027
136
78
22.257353
0.843694
0.18335
0
0.479452
0
0
0.056781
0
0
0
0
0
0
1
0.041096
false
0.013699
0.027397
0
0.534247
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
462fcf7c3a33930c92ef4205d18f5b42b36d0c54
5,617
py
Python
virgil_sdk/utils/utils.py
VirgilSecurity/sdk-python
1e9a784f04683af6cc3e293600686981cb0e6b8a
[ "BSD-3-Clause" ]
10
2016-02-24T17:08:52.000Z
2022-02-16T18:18:40.000Z
virgil_sdk/utils/utils.py
VirgilSecurity/sdk-python
1e9a784f04683af6cc3e293600686981cb0e6b8a
[ "BSD-3-Clause" ]
4
2018-04-20T10:42:09.000Z
2019-04-04T01:55:42.000Z
virgil_sdk/utils/utils.py
VirgilSecurity/sdk-python
1e9a784f04683af6cc3e293600686981cb0e6b8a
[ "BSD-3-Clause" ]
5
2016-07-01T10:28:37.000Z
2020-04-09T13:05:49.000Z
# Copyright (C) 2016-2019 Virgil Security Inc. # # Lead Maintainer: Virgil Security Inc. <support@virgilsecurity.com> # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # (1) Redistribution...
34.888199
99
0.654976
664
5,617
5.480422
0.341867
0.045342
0.034625
0.037923
0.296785
0.197307
0.174224
0.143721
0.143721
0.12366
0
0.021713
0.253872
5,617
160
100
35.10625
0.846576
0.435642
0
0.350649
0
0
0.014701
0
0
0
0
0
0
1
0.207792
false
0
0.077922
0.064935
0.558442
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
464f91597451a2a8fd14ce864efe16ac7544e024
1,591
py
Python
inpanzee/client.py
crazytruth/inpanzee
a1e6346e864142adafaf6928409aaf301a07ef47
[ "MIT" ]
null
null
null
inpanzee/client.py
crazytruth/inpanzee
a1e6346e864142adafaf6928409aaf301a07ef47
[ "MIT" ]
null
null
null
inpanzee/client.py
crazytruth/inpanzee
a1e6346e864142adafaf6928409aaf301a07ef47
[ "MIT" ]
null
null
null
from yarl import URL from inpanzee.base import BaseKongObject from inpanzee.resources import Service, Upstream, Consumer, Plugin, Certificate, SNI """ docker run -d --name kong \ --link kong-database:kong-database \ -e "KONG_DATABASE=postgres" \ -e "KONG_PG_HOST=kong-database" \ -e "KONG_PROXY_ACCESS_...
26.081967
86
0.618479
210
1,591
4.490476
0.357143
0.042418
0.042418
0.061506
0.106045
0.106045
0.057264
0
0
0
0
0.040851
0.261471
1,591
60
87
26.516667
0.761702
0.117536
0
0
0
0
0.008403
0
0
0
0
0
0
1
0.190476
false
0
0.142857
0.142857
0.619048
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
46532704583202b63a89a31651ccbc583dc975e7
336
py
Python
haf_plug_play/database/access.py
seakintruth/haf-plug-play
ac6b9d87b072e1504884c31975e8dfbb31905024
[ "MIT" ]
null
null
null
haf_plug_play/database/access.py
seakintruth/haf-plug-play
ac6b9d87b072e1504884c31975e8dfbb31905024
[ "MIT" ]
null
null
null
haf_plug_play/database/access.py
seakintruth/haf-plug-play
ac6b9d87b072e1504884c31975e8dfbb31905024
[ "MIT" ]
null
null
null
from haf_plug_play.database.handlers import PlugPlayDb from haf_plug_play.database.core import DbSession from haf_plug_play.config import Config config = Config.config class ReadDb: def __init__(self) -> None: self.db = PlugPlayDb(config) class WriteDb: def __init__(self) -> None: self.db = D...
25.846154
54
0.744048
46
336
5.130435
0.413043
0.088983
0.139831
0.190678
0.372881
0.177966
0
0
0
0
0
0
0.175595
336
13
55
25.846154
0.851986
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.7
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
4653d9b3d2ae27a9f513b22d6fede6bc7f8e0ffe
2,664
py
Python
vint/ast/plugin/scope_plugin/__init__.py
ViViDboarder/vint
b577a623e9279d44eb3dc81e6817c8eec25add63
[ "MIT" ]
null
null
null
vint/ast/plugin/scope_plugin/__init__.py
ViViDboarder/vint
b577a623e9279d44eb3dc81e6817c8eec25add63
[ "MIT" ]
null
null
null
vint/ast/plugin/scope_plugin/__init__.py
ViViDboarder/vint
b577a623e9279d44eb3dc81e6817c8eec25add63
[ "MIT" ]
null
null
null
from vint.ast.plugin.abstract_ast_plugin import AbstractASTPlugin from vint.ast.plugin.scope_plugin.reference_reachability_tester import ( ReferenceReachabilityTester, is_reference_identifier as _is_reference_identifier, is_declarative_identifier as _is_declarative_identifier, is_reachable_reference_ide...
35.52
85
0.793168
308
2,664
6.37987
0.233766
0.083969
0.042748
0.043257
0.255471
0.180153
0.151654
0.112977
0.112977
0.112977
0
0
0.156532
2,664
74
86
36
0.874499
0.061937
0
0.040816
0
0
0
0
0
0
0
0
0
1
0.204082
false
0
0.102041
0.122449
0.510204
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
46555e86d8b3c78156861a91e1850c33aea2cbf4
7,458
py
Python
ox_profile/__init__.py
SergeyPiskunov/ox_profile
6959c1e96fb24b2996f8b31e0167ff6f16d4aabd
[ "MIT" ]
null
null
null
ox_profile/__init__.py
SergeyPiskunov/ox_profile
6959c1e96fb24b2996f8b31e0167ff6f16d4aabd
[ "MIT" ]
null
null
null
ox_profile/__init__.py
SergeyPiskunov/ox_profile
6959c1e96fb24b2996f8b31e0167ff6f16d4aabd
[ "MIT" ]
null
null
null
""" Introduction ============ The ``ox_profile`` package provides a python framework for statistical profiling. If you are using ``Flask``, then ``ox_profile`` provides a flask blueprint so that you can start/stop/analyze profiling from within your application. You can also run the profiler stand-alone without ``Flask...
38.443299
75
0.728614
1,150
7,458
4.684348
0.34087
0.041767
0.013366
0.00724
0.060145
0.042695
0.014479
0.014479
0
0
0
0.00279
0.182891
7,458
193
76
38.642487
0.881195
0.998525
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
465cf4c209c9cac39fb3990382d698b16e8fe96f
213
py
Python
Python/longest-uncommon-subsequence-i.py
coolryze/LeetCode
03876232521a20d32f8fa4e7d6d19cf208739a79
[ "MIT" ]
2
2018-07-18T01:33:07.000Z
2018-11-16T03:17:03.000Z
Python/longest-uncommon-subsequence-i.py
coolryze/LeetCode
03876232521a20d32f8fa4e7d6d19cf208739a79
[ "MIT" ]
null
null
null
Python/longest-uncommon-subsequence-i.py
coolryze/LeetCode
03876232521a20d32f8fa4e7d6d19cf208739a79
[ "MIT" ]
null
null
null
class Solution: def findLUSlength(self, a, b): """ :type a: str :type b: str :rtype: int """ if a == b: return -1 return max(len(a), len(b))
19.363636
34
0.408451
26
213
3.346154
0.615385
0.045977
0
0
0
0
0
0
0
0
0
0.008621
0.455399
213
10
35
21.3
0.741379
0.173709
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.8
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
0
0
0
0
0
1
0
0
2
466eba6fe83ed0a392d6db9f56810e32d292ec6b
62
py
Python
mup/__init__.py
agateau/mup
bfc654765238970dd0361fffdce3c5cca1c223bd
[ "BSD-3-Clause-Clear" ]
35
2015-01-01T11:05:07.000Z
2022-03-25T21:06:32.000Z
mup/__init__.py
agateau/mup
bfc654765238970dd0361fffdce3c5cca1c223bd
[ "BSD-3-Clause-Clear" ]
13
2015-01-01T14:54:04.000Z
2016-09-27T13:29:17.000Z
mup/__init__.py
agateau/mup
bfc654765238970dd0361fffdce3c5cca1c223bd
[ "BSD-3-Clause-Clear" ]
4
2015-01-21T15:35:16.000Z
2019-08-31T20:11:55.000Z
__appname__ = "mup" __version__ = "1.0.0" __license__ = "BSD"
15.5
21
0.677419
8
62
3.75
0.875
0
0
0
0
0
0
0
0
0
0
0.056604
0.145161
62
3
22
20.666667
0.509434
0
0
0
0
0
0.177419
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
2
467753a62b2812859aee2b15724c660bd52bfec9
741
py
Python
account/migrations/0006_auto_20180410_1628.py
toddwebsite/preffered_p_plus
a774ab34ef614c77b43b1ff1331f4ff26372d61a
[ "MIT" ]
null
null
null
account/migrations/0006_auto_20180410_1628.py
toddwebsite/preffered_p_plus
a774ab34ef614c77b43b1ff1331f4ff26372d61a
[ "MIT" ]
null
null
null
account/migrations/0006_auto_20180410_1628.py
toddwebsite/preffered_p_plus
a774ab34ef614c77b43b1ff1331f4ff26372d61a
[ "MIT" ]
null
null
null
# Generated by Django 2.0.4 on 2018-04-10 16:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0005_auto_20180410_1458'), ] operations = [ migrations.AddField( model_name='account', name='last_modifie...
25.551724
69
0.576248
76
741
5.473684
0.578947
0.129808
0.165865
0.194712
0.480769
0.331731
0.240385
0.240385
0.240385
0
0
0.066277
0.307692
741
28
70
26.464286
0.744639
0.060729
0
0.409091
1
0
0.106628
0.033141
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
46814f770f066accdd9fd3a27753b8899780b5c0
739
py
Python
blog/tools.py
LeonardA-L/plog
2cb479f01b7e8ad117669e57b5d3d612d330b9dd
[ "Apache-2.0" ]
null
null
null
blog/tools.py
LeonardA-L/plog
2cb479f01b7e8ad117669e57b5d3d612d330b9dd
[ "Apache-2.0" ]
null
null
null
blog/tools.py
LeonardA-L/plog
2cb479f01b7e8ad117669e57b5d3d612d330b9dd
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from blog.models import Article def retrieveArticles(drafts, future, limit=-1): """ Will retrieve and filter articles according to the parameters """ latest_blog_posts = Article.objects.all() if drafts == False: # No drafts latest_blog_posts = latest_blog...
33.590909
95
0.713126
102
739
4.941176
0.490196
0.198413
0.297619
0.166667
0.261905
0.261905
0.142857
0
0
0
0
0.003425
0.209743
739
21
96
35.190476
0.859589
0.246279
0
0
0
0
0.009294
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
468e962d46d8ff740933ab19f5ea7cd7dc5d70ac
446
py
Python
python_negative_sampling.py
xiexj2019/treasures
52061c491d3ff6836d986df30ee1d4bbfaef37ac
[ "MIT" ]
null
null
null
python_negative_sampling.py
xiexj2019/treasures
52061c491d3ff6836d986df30ee1d4bbfaef37ac
[ "MIT" ]
null
null
null
python_negative_sampling.py
xiexj2019/treasures
52061c491d3ff6836d986df30ee1d4bbfaef37ac
[ "MIT" ]
null
null
null
import os from multiprocessing import Pool def worker(*args, **kwds): cnt, pid = 0, os.getpid() with open("pros/{}.txt".format(pid), "w") as fout: pass # ... # cnt += 1 # if cnt % 100 == 0: # print(pid, cnt) # # fout.write(... + "\n") def manager(*...
19.391304
54
0.457399
57
446
3.578947
0.596491
0.098039
0.098039
0
0
0
0
0
0
0
0
0.028169
0.363229
446
22
55
20.272727
0.690141
0.210762
0
0
0
0
0.034985
0
0
0
0
0
0
1
0.181818
true
0.090909
0.181818
0
0.363636
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
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
46908340338a722317788b87cfde448a309f3718
655
py
Python
native with local db and server/server/backend/events/serializer/model_serializers.py
albcristi/mobile-programming
7807e48a7ad11b5752b1bc83aec22a5ff892f1e7
[ "MIT" ]
null
null
null
native with local db and server/server/backend/events/serializer/model_serializers.py
albcristi/mobile-programming
7807e48a7ad11b5752b1bc83aec22a5ff892f1e7
[ "MIT" ]
null
null
null
native with local db and server/server/backend/events/serializer/model_serializers.py
albcristi/mobile-programming
7807e48a7ad11b5752b1bc83aec22a5ff892f1e7
[ "MIT" ]
null
null
null
from rest_framework import serializers from ..models import ApplicationUser, UserEvent class ApplicationUserSerializer(serializers.ModelSerializer): class Meta: model = ApplicationUser fields = [ 'username', 'password', 'full_name' ] class UserEventSer...
21.833333
61
0.514504
46
655
7.195652
0.673913
0.1571
0.187311
0.21148
0.241692
0
0
0
0
0
0
0
0.396947
655
29
62
22.586207
0.837975
0
0
0.16
0
0
0.140458
0
0
0
0
0
0
1
0
false
0.04
0.08
0
0.24
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4696144662db2061d9a17792e84dcf6ecbd65e72
195
py
Python
Programming Languages/Python/Theory/100_Python_Exercises/Exercises/Exercise 28/28.py
jaswinder9051998/Resources
fd468af37bf24ca57555d153ee64693c018e822e
[ "MIT" ]
101
2021-12-20T11:57:11.000Z
2022-03-23T09:49:13.000Z
50-Python-Exercises/Exercises/Exercise 28/28.py
kuwarkapur/Hacktoberfest-2022
efaafeba5ce51d8d2e2d94c6326cc20bff946f17
[ "MIT" ]
4
2022-01-12T11:55:56.000Z
2022-02-12T04:53:33.000Z
50-Python-Exercises/Exercises/Exercise 28/28.py
kuwarkapur/Hacktoberfest-2022
efaafeba5ce51d8d2e2d94c6326cc20bff946f17
[ "MIT" ]
38
2022-01-12T11:56:16.000Z
2022-03-23T10:07:52.000Z
#Why is the error and how to fix it? #A: A TypeError menas you are using the wrong type to make an operation. Change print(a+b) to return a+b def foo(a, b): print(a + b) x = foo(2, 3) * 10
24.375
104
0.65641
43
195
2.976744
0.697674
0.0625
0.109375
0
0
0
0
0
0
0
0
0.026846
0.235897
195
7
105
27.857143
0.832215
0.707692
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
46a9a6fc512ff70abcbb272a8e8229ec8a64dbe3
3,624
py
Python
calculator.py
RandelSouza/Calculator
72114d5559cf61193c6495fb172465cbebfc1d09
[ "Apache-2.0" ]
null
null
null
calculator.py
RandelSouza/Calculator
72114d5559cf61193c6495fb172465cbebfc1d09
[ "Apache-2.0" ]
null
null
null
calculator.py
RandelSouza/Calculator
72114d5559cf61193c6495fb172465cbebfc1d09
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import math """ Created on Wed Oct 9 00:51:06 2019 @author: randel """ class Calculator(object): ''' Classe Calculadora, especializada em realizar as seguintes operações matemáticas: add - adição de dois números; subtract - subtração de dois números; multiply - multiplicaç...
32.648649
141
0.57202
420
3,624
4.866667
0.27619
0.046967
0.073386
0.039139
0.099804
0.080235
0.055773
0.055773
0.055773
0
0
0.02562
0.33223
3,624
111
142
32.648649
0.819008
0.311534
0
0
0
0
0.051821
0
0
0
0
0.09009
0
1
0.22449
false
0
0.020408
0
0.489796
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
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
d3b2e67d69d3c1e60c823885e9d2bf4a0210259f
222
py
Python
hfexcel_web/urls.py
ebsaral/hfexcel-web
d4b093048c5ab3dd06b8bc23158b2cfb57da8bdd
[ "BSD-3-Clause" ]
null
null
null
hfexcel_web/urls.py
ebsaral/hfexcel-web
d4b093048c5ab3dd06b8bc23158b2cfb57da8bdd
[ "BSD-3-Clause" ]
8
2019-12-04T23:03:16.000Z
2022-02-10T07:21:23.000Z
hfexcel_web/urls.py
ebsaral/hfexcel-web
d4b093048c5ab3dd06b8bc23158b2cfb57da8bdd
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import url from django.contrib import admin import web.views as web_views urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^$', web_views.DocumentManagerView.as_view(), name='web') ]
22.2
67
0.716216
33
222
4.727273
0.515152
0.153846
0
0
0
0
0
0
0
0
0
0
0.13964
222
9
68
24.666667
0.816754
0
0
0
0
0
0.054054
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
d3b468868ffd1918e04bfe8e40bbb25e4067dc32
827
py
Python
app/main/views.py
h1-the-swan/jasport-flask
914d53ed942f1b2710342d23637821374386e6d5
[ "MIT" ]
null
null
null
app/main/views.py
h1-the-swan/jasport-flask
914d53ed942f1b2710342d23637821374386e6d5
[ "MIT" ]
null
null
null
app/main/views.py
h1-the-swan/jasport-flask
914d53ed942f1b2710342d23637821374386e6d5
[ "MIT" ]
null
null
null
import os, json from flask import render_template, url_for, flash # from ..models import EditableHTML from . import main from app import basedir @main.route('/') def index(): return render_template('main/index.html') @main.route('/resume') def resume(): # resume_data_fname = basedir + url_for('main.static',...
30.62963
99
0.70133
112
827
4.964286
0.3125
0.143885
0.107914
0.129496
0.23741
0.23741
0.136691
0
0
0
0
0
0.165659
827
26
100
31.807692
0.805797
0.406288
0
0
0
0
0.153209
0.057971
0
0
0
0
0
1
0.153846
false
0
0.307692
0.076923
0.615385
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d3ba7391bb985008e4a6e08411326ad01dcd0791
3,329
py
Python
tests/dummy/test_device.py
thex12/nmcli
af0df0283b2d8dbf9158248e69cf1aebcdabeaa1
[ "MIT" ]
null
null
null
tests/dummy/test_device.py
thex12/nmcli
af0df0283b2d8dbf9158248e69cf1aebcdabeaa1
[ "MIT" ]
null
null
null
tests/dummy/test_device.py
thex12/nmcli
af0df0283b2d8dbf9158248e69cf1aebcdabeaa1
[ "MIT" ]
null
null
null
import pytest from nmcli.dummy._device import DummyDeviceControl from nmcli.data import Device, DeviceWifi def test_call(): result_call = [Device('eth0', 'ethernet', 'connected,', 'MyNet')] c = DummyDeviceControl(result_call) assert c() == result_call def test_call_when_raise_error(): c = DummyDeviceC...
27.97479
73
0.695704
408
3,329
5.421569
0.125
0.066456
0.079566
0.067812
0.583183
0.485986
0.421338
0.421338
0.421338
0.391501
0
0.006993
0.183839
3,329
118
74
28.211864
0.80714
0
0
0.443299
0
0
0.044157
0
0
0
0
0
0.113402
1
0.216495
false
0.061856
0.030928
0
0.247423
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
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
d3bd663942dcc2d8bf751d025dcf01b36b7449a4
670
py
Python
compiler/runtime.py
paulscottrobson/amoral
09186f2476bd1e8acfc59ba9efbf04e1126567e9
[ "MIT" ]
3
2020-11-19T18:31:11.000Z
2020-11-23T17:59:53.000Z
compiler/runtime.py
paulscottrobson/amoral
09186f2476bd1e8acfc59ba9efbf04e1126567e9
[ "MIT" ]
null
null
null
compiler/runtime.py
paulscottrobson/amoral
09186f2476bd1e8acfc59ba9efbf04e1126567e9
[ "MIT" ]
1
2021-05-14T07:49:05.000Z
2021-05-14T07:49:05.000Z
# # Automatically generated # class RTOpcodes(object): pass RTOpcodes.JSR = 0x00 RTOpcodes.IMMSHORT = 0x00 RTOpcodes.IMMLONG = 0x10 RTOpcodes.VARSHORT = 0x20 RTOpcodes.VARLONG = 0x30 RTOpcodes.ABS = 0x40 RTOpcodes.LDR = 0x80 RTOpcodes.AND = 0x81 RTOpcodes.ORR = 0x82 RTOpcodes.XOR = 0x83 RTOpcodes.ADD = 0x84 RTOpcod...
18.108108
25
0.764179
90
670
5.688889
0.677778
0.050781
0
0
0
0
0
0
0
0
0
0.125436
0.143284
670
36
26
18.611111
0.766551
0.034328
0
0
1
0
0
0
0
0
0.174184
0
0
1
0
true
0.033333
0
0
0.033333
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
0
0
0
0
1
0
0
0
0
0
0
2
d3f4a734982b5797fb58dc51d82e0a20a4079381
949
py
Python
tests/test_js_settimeout.py
andymckay/amo-validator
d13e3644eb657e56666ee40d91a9c67382cfa725
[ "BSD-3-Clause" ]
1
2015-07-15T20:06:09.000Z
2015-07-15T20:06:09.000Z
tests/test_js_settimeout.py
mattbasta/amo-validator
f4d9612c15508b991cad637be9062a10d5e38e53
[ "BSD-3-Clause" ]
null
null
null
tests/test_js_settimeout.py
mattbasta/amo-validator
f4d9612c15508b991cad637be9062a10d5e38e53
[ "BSD-3-Clause" ]
null
null
null
from js_helper import _do_test_raw def test_settimeout_fail(): "Test cases in which setTimeout should fail" assert _do_test_raw(""" setTimeout("abc.def()", 1000); """).failed() assert _do_test_raw(""" window["set" + "Timeout"]("abc.def()", 1000); """).failed() assert _do_test_raw("""...
21.568182
60
0.57745
116
949
4.448276
0.258621
0.104651
0.156977
0.116279
0.707364
0.707364
0.478682
0.478682
0.406977
0.29845
0
0.032258
0.216017
949
43
61
22.069767
0.66129
0.09589
0
0.580645
0
0
0.514768
0.120253
0
0
0
0
0.258065
1
0.064516
true
0.032258
0.032258
0
0.096774
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
d3f53d6e7eb08a9a52bb6fc9b30c9df739e6cf8c
1,135
py
Python
modules/shared/infrastructure/responses/django/response.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
6
2020-08-09T23:41:08.000Z
2021-03-16T22:05:40.000Z
modules/shared/infrastructure/responses/django/response.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
1
2020-10-02T02:59:38.000Z
2020-10-02T02:59:38.000Z
modules/shared/infrastructure/responses/django/response.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
2
2021-03-16T22:05:43.000Z
2021-04-30T06:35:25.000Z
# -*- coding: utf-8 -*- from rest_framework.response import Response from modules.shared.domain.responses import Response as AbstractResponse class RestResponse(Response): """ Django Rest Response """ def __init__(self, response: Response = None): """ Constructor @param respo...
24.673913
72
0.590308
114
1,135
5.763158
0.324561
0.129376
0.09589
0.066971
0.401826
0.401826
0.401826
0.401826
0.401826
0.401826
0
0.001269
0.305727
1,135
45
73
25.222222
0.832487
0.392952
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0
0.888889
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
d3fa59e04769b769072985be56b304a28c5062e4
4,951
py
Python
tests/test_SklearnGLMClassifierConverter.py
wenbingl/sklearn-onnx
b18cf687f3ffa5fe7f6d23e2f06f2095da622e26
[ "MIT" ]
null
null
null
tests/test_SklearnGLMClassifierConverter.py
wenbingl/sklearn-onnx
b18cf687f3ffa5fe7f6d23e2f06f2095da622e26
[ "MIT" ]
null
null
null
tests/test_SklearnGLMClassifierConverter.py
wenbingl/sklearn-onnx
b18cf687f3ffa5fe7f6d23e2f06f2095da622e26
[ "MIT" ]
null
null
null
import unittest import numpy from sklearn import datasets from sklearn import linear_model from sklearn.neighbors import KNeighborsClassifier from sklearn.svm import LinearSVC from skl2onnx import convert_sklearn from skl2onnx.common.data_types import FloatTensorType from test_utils import dump_data_and_model class T...
55.011111
122
0.698647
554
4,951
5.897112
0.15704
0.066116
0.030303
0.044077
0.76431
0.743802
0.729721
0.695439
0.680135
0.582798
0
0.014791
0.194304
4,951
89
123
55.629213
0.804212
0.023026
0
0.351351
0
0
0.170252
0.098883
0
0
0
0
0.108108
1
0.135135
false
0
0.121622
0
0.297297
0
0
0
0
null
0
0
0
0
1
1
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
0
0
0
0
0
0
0
2
310120ef095d34d7c23f5c6e994c9d3d0cf451bc
19,715
py
Python
test/test_analysis/test_prim.py
brodderickrodriguez/EMAworkbench
90031223a4b6feb49633d45816e20981dc9415a0
[ "BSD-3-Clause" ]
75
2015-01-14T20:39:14.000Z
2022-03-31T09:28:15.000Z
test/test_analysis/test_prim.py
brodderickrodriguez/EMAworkbench
90031223a4b6feb49633d45816e20981dc9415a0
[ "BSD-3-Clause" ]
92
2015-01-15T16:12:38.000Z
2022-03-23T20:46:37.000Z
test/test_analysis/test_prim.py
brodderickrodriguez/EMAworkbench
90031223a4b6feb49633d45816e20981dc9415a0
[ "BSD-3-Clause" ]
64
2015-02-16T15:07:12.000Z
2022-03-23T16:17:16.000Z
''' Created on Mar 13, 2012 .. codeauthor:: jhkwakkel <j.h.kwakkel (at) tudelft (dot) nl> ''' import unittest import numpy as np import pandas as pd from ema_workbench.analysis import prim from ema_workbench.analysis.prim import PrimBox from test import utilities from ema_workbench.analysis.scenario_discovery_util i...
36.307551
80
0.502866
2,462
19,715
3.901706
0.098294
0.050281
0.029773
0.0203
0.758068
0.731522
0.697064
0.662815
0.646367
0.630752
0
0.040659
0.353792
19,715
543
81
36.307551
0.713344
0.05681
0
0.599483
0
0
0.030969
0
0
0
0
0
0.170543
1
0.05168
false
0.002584
0.018088
0
0.080103
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3103f846fd54cea1d6e8c1d98b335779ed2a1ae2
650
py
Python
mspray/apps/main/tests/models/test_household.py
onaio/mspray
b3e0f4b5855abbf0298de6b66f2e9f472f2bf838
[ "Apache-2.0" ]
null
null
null
mspray/apps/main/tests/models/test_household.py
onaio/mspray
b3e0f4b5855abbf0298de6b66f2e9f472f2bf838
[ "Apache-2.0" ]
76
2018-03-15T09:37:56.000Z
2019-05-15T12:45:51.000Z
mspray/apps/main/tests/models/test_household.py
onaio/mspray
b3e0f4b5855abbf0298de6b66f2e9f472f2bf838
[ "Apache-2.0" ]
1
2020-10-31T07:15:22.000Z
2020-10-31T07:15:22.000Z
# -*- coding: utf-8 -*- """ Test Household model module. """ from django.test import TestCase from mspray.apps.main.models.household import Household from mspray.apps.main.models.location import Location from mspray.apps.main.tests.utils import data_setup, load_spray_data class TestHousehold(TestCase): """Test H...
28.26087
78
0.706154
84
650
5.333333
0.47619
0.066964
0.09375
0.120536
0.205357
0
0
0
0
0
0
0.011091
0.167692
650
22
79
29.545455
0.817006
0.144615
0
0
0
0
0.016729
0
0
0
0
0
0.181818
1
0.090909
false
0
0.363636
0
0.545455
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3106a89824f6723669f6d62e589bba6da0f9a9af
1,739
py
Python
notebooks/beaconrunner2049/remerkleable/virtual.py
casparschwa/beaconrunner
d5430e08b120462beea19f65a4cf335ec9eb9134
[ "MIT" ]
11
2020-07-06T12:36:17.000Z
2021-04-22T11:00:18.000Z
notebooks/beaconrunner2049/remerkleable/virtual.py
casparschwa/beaconrunner
d5430e08b120462beea19f65a4cf335ec9eb9134
[ "MIT" ]
3
2021-09-22T16:04:35.000Z
2021-09-22T16:05:25.000Z
notebooks/beaconrunner2049/remerkleable/virtual.py
casparschwa/beaconrunner
d5430e08b120462beea19f65a4cf335ec9eb9134
[ "MIT" ]
12
2021-05-24T15:21:04.000Z
2022-03-28T17:50:37.000Z
from typing import Protocol, Optional from remerkleable.tree import Node, Root, RebindableNode, NavigationError class VirtualSource(Protocol): def get_left(self, key: Root) -> Node: ... def get_right(self, key: Root) -> Node: ... def is_leaf(self, key: Root) -> bool: ... class ...
29.474576
118
0.617021
234
1,739
4.350427
0.222222
0.064833
0.068762
0.058939
0.32613
0.290766
0.273084
0.21611
0.21611
0.21611
0
0.000808
0.288672
1,739
58
119
29.982759
0.82215
0.062105
0
0.209302
0
0
0.081846
0
0
0
0
0
0
1
0.232558
false
0
0.046512
0.069767
0.581395
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
310f896a57cc52c4e5eae578784f2e66f7003ce2
2,135
py
Python
lib/yaki/plugins/_legacy/TaggedList.py
rcarmo/yaki-tng
9f1094bc8e359be881fb5ca19042f352b8c8d8a1
[ "MIT" ]
2
2015-12-21T02:24:13.000Z
2016-03-08T06:45:58.000Z
lib/yaki/plugins/_legacy/TaggedList.py
rcarmo/yaki-tng
9f1094bc8e359be881fb5ca19042f352b8c8d8a1
[ "MIT" ]
null
null
null
lib/yaki/plugins/_legacy/TaggedList.py
rcarmo/yaki-tng
9f1094bc8e359be881fb5ca19042f352b8c8d8a1
[ "MIT" ]
1
2015-07-19T22:10:51.000Z
2015-07-19T22:10:51.000Z
#!/usr/bin/env python # encoding: utf-8 """ TaggedList.py Created by Rui Carmo on 2008-04-19. Published under the MIT license. """ import yaki.Engine, yaki.Store, yaki.Locale from BeautifulSoup import * from yaki.Utils import * import urllib class TaggedListWikiPlugin(yaki.Plugins.WikiPlugin): def __init__(self, r...
35.583333
138
0.652459
285
2,135
4.824561
0.410526
0.069818
0.037818
0.064
0.264727
0.229818
0.229818
0.229818
0.229818
0.229818
0
0.020127
0.18548
2,135
59
139
36.186441
0.770558
0.066511
0
0.380952
0
0.02381
0.228782
0.096468
0
0
0
0.016949
0
0
null
null
0.02381
0.095238
null
null
0.02381
0
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
1
0
1
0
0
0
0
0
0
0
0
2
3129e27e23c01062a8a4d8bd45cd915975264d4c
1,792
py
Python
aiozipkin/utils.py
gugu/aiozipkin
c5ba4891e48c48e108ce1190ef4d1d68c82c34fa
[ "Apache-2.0" ]
null
null
null
aiozipkin/utils.py
gugu/aiozipkin
c5ba4891e48c48e108ce1190ef4d1d68c82c34fa
[ "Apache-2.0" ]
null
null
null
aiozipkin/utils.py
gugu/aiozipkin
c5ba4891e48c48e108ce1190ef4d1d68c82c34fa
[ "Apache-2.0" ]
null
null
null
import binascii import os import struct # https://github.com/Yelp/py_zipkin/blob/ # 7937ca859f8ae1f1009ab69fd1ddcd8fc33f1dad/py_zipkin/util.py#L1-L54 def generate_random_64bit_string() -> str: """Returns a 64 bit UTF-8 encoded string. In the interests of simplicity, this is always cast to a `str` instead of (...
32
78
0.701451
247
1,792
4.97166
0.404858
0.07329
0.014658
0.040717
0.174267
0.117264
0.078176
0.078176
0
0
0
0.119228
0.19029
1,792
55
79
32.581818
0.727085
0.586496
0
0
1
0
0.023659
0
0
0
0
0
0
1
0.285714
false
0
0.214286
0
0.857143
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
0
0
0
1
0
0
0
0
0
0
0
2
3130d74265af992ef8e3d6438f0b24eb13761f3d
391
py
Python
ngraphs/testg.py
Sam---/python-graph-theory
53b074276db47d8030e90ba952eeb7acfb68ec0c
[ "MIT" ]
null
null
null
ngraphs/testg.py
Sam---/python-graph-theory
53b074276db47d8030e90ba952eeb7acfb68ec0c
[ "MIT" ]
null
null
null
ngraphs/testg.py
Sam---/python-graph-theory
53b074276db47d8030e90ba952eeb7acfb68ec0c
[ "MIT" ]
null
null
null
import graphs import sys usa = graphs.Vertex(name="USA") mexico = graphs.Vertex(name="Mexico") canada = graphs.Vertex(name="Canada") algeria = graphs.Vertex(name="Algeria") uk = graphs.Vertex(name="UK") g = graphs.Graph() g.connect(usa, mexico, weight=3) g.connect(usa, canada, weight=60) g.connect(algeria, canada, we...
24.4375
39
0.723785
62
391
4.564516
0.306452
0.212014
0.282686
0
0
0
0
0
0
0
0
0.019886
0.099744
391
15
40
26.066667
0.784091
0
0
0
0
0
0.061381
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3135bd9b92ee85da6fde23262ab7d7cbc72425a0
227
py
Python
LeetCode/September 2020 Leetcoding Challenge/Find the Difference.py
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
13
2021-09-02T07:30:02.000Z
2022-03-22T19:32:03.000Z
LeetCode/September 2020 Leetcoding Challenge/Find the Difference.py
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
null
null
null
LeetCode/September 2020 Leetcoding Challenge/Find the Difference.py
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
3
2021-08-24T16:06:22.000Z
2021-09-17T15:39:53.000Z
class Solution: def findTheDifference(self, s: str, t: str) -> str: result = 0 for char in s: result ^= ord(char) for char in t: result ^= ord(char) return chr(result)
28.375
55
0.511013
29
227
4
0.551724
0.12069
0.155172
0
0
0
0
0
0
0
0
0.007194
0.387665
227
8
56
28.375
0.827338
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
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
0
0
0
0
0
0
0
2
31365be4a8e757cf88968e9dabc8e1933fcad274
7,210
py
Python
attack_information/serializers.py
luke-feng/MAP
bc82ec20e2859dd6437d314fc12880f5e6b6aad8
[ "Apache-2.0" ]
1
2021-11-30T19:38:55.000Z
2021-11-30T19:38:55.000Z
attack_information/serializers.py
luke-feng/MAP
bc82ec20e2859dd6437d314fc12880f5e6b6aad8
[ "Apache-2.0" ]
null
null
null
attack_information/serializers.py
luke-feng/MAP
bc82ec20e2859dd6437d314fc12880f5e6b6aad8
[ "Apache-2.0" ]
1
2022-02-25T22:48:21.000Z
2022-02-25T22:48:21.000Z
from rest_framework import serializers from .models import Attackinformation, Attackinformation2Assettype from information_sharing.serializers import AssettypeSerializer class AttackinformationDeserializer(serializers.ModelSerializer): class Meta: model = Attackinformation fields = [ ...
43.433735
84
0.769209
601
7,210
8.772047
0.196339
0.323217
0.14852
0.088012
0.611533
0.587443
0.543437
0.497724
0.497724
0.45239
0
0.001489
0.161859
7,210
165
85
43.69697
0.870925
0.008877
0
0.431818
0
0
0.051512
0.016377
0
0
0
0
0
1
0.007576
false
0.007576
0.022727
0
0.780303
0
0
0
0
null
1
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
0
0
0
0
0
1
0
0
2
3137221d44633044d640e2db1eae4dfc187d4d33
804
py
Python
bench/hooks.py
jareddk/bench
2e6726a830bbe94a4daab1f892818bde0e3b9888
[ "MIT-0" ]
null
null
null
bench/hooks.py
jareddk/bench
2e6726a830bbe94a4daab1f892818bde0e3b9888
[ "MIT-0" ]
null
null
null
bench/hooks.py
jareddk/bench
2e6726a830bbe94a4daab1f892818bde0e3b9888
[ "MIT-0" ]
null
null
null
from fielder import FieldClass from typing import Dict, Iterable from bench.triggers import TriggerBase, AlwaysTrigger from bench.metrics import MetricBase class HookBase(FieldClass): trigger: TriggerBase = AlwaysTrigger() def setup(self): pass def post_step(self, data_batch: Dict, model_outputs...
25.935484
88
0.68408
95
804
5.673684
0.442105
0.050093
0.040816
0.055659
0.122449
0.122449
0.122449
0
0
0
0
0
0.232587
804
30
89
26.8
0.873582
0.004975
0
0
0
0
0
0
0
0
0
0.033333
0
1
0.15
false
0.05
0.2
0.05
0.75
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
3140ab834474c628da8c492b120a44fea7e8e9ab
14,714
py
Python
modules/chempy/__init__.py
hryknkgw/pymolwin
4a1335e90497dbcbfa789f1285a7c1ad84a051f8
[ "CNRI-Python" ]
null
null
null
modules/chempy/__init__.py
hryknkgw/pymolwin
4a1335e90497dbcbfa789f1285a7c1ad84a051f8
[ "CNRI-Python" ]
null
null
null
modules/chempy/__init__.py
hryknkgw/pymolwin
4a1335e90497dbcbfa789f1285a7c1ad84a051f8
[ "CNRI-Python" ]
null
null
null
#A* ------------------------------------------------------------------- #B* This file contains source code for the PyMOL computer program #C* copyright 1998-2000 by Warren Lyford Delano of DeLano Scientific. #D* ------------------------------------------------------------------- #E* It is unlawful to modify or remove ...
22.498471
86
0.397988
1,902
14,714
3.040484
0.292324
0.006917
0.005706
0.007609
0.106865
0.083867
0.078852
0.044959
0.044959
0.037351
0
0.19949
0.386435
14,714
653
87
22.532925
0.441072
0.065448
0
0.027211
0
0
0.085889
0
0
0
0
0
0
0
null
null
0.001701
0.008503
null
null
0.003401
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
2
31477cfc41f68189b7d169cda30d5ab2f6ffc4aa
1,338
py
Python
pylib/src/util/rand.py
HaiDang9719/pixel_link_VMNDOC
5f05346b05d583bff4676f45501c2e8ac12d4c53
[ "MIT" ]
9
2019-02-18T03:52:10.000Z
2021-09-03T09:22:10.000Z
pylib/src/util/rand.py
dxv2k/pixel_link_py3
c9837ea57823b3354b045f34b168ddb3e19dc17d
[ "MIT" ]
1
2020-06-11T10:03:59.000Z
2020-06-11T10:03:59.000Z
pylib/src/util/rand.py
dxv2k/pixel_link_py3
c9837ea57823b3354b045f34b168ddb3e19dc17d
[ "MIT" ]
5
2018-12-30T05:35:35.000Z
2020-03-18T07:07:05.000Z
#coding=utf-8 ''' Created on 2016年9月27日 @author: dengdan ''' import numpy as np import time import random rng = np.random.RandomState(int(time.time())) rand = np.random.rand """ Create an array of the given shape and populate it with random samples from a uniform distribution over [0, 1) """ def normal(shape, mu =...
24.327273
110
0.636024
207
1,338
4.067633
0.400966
0.053444
0.032067
0.049881
0.125891
0.125891
0.125891
0.061758
0.061758
0
0
0.0249
0.249626
1,338
55
111
24.327273
0.813745
0.186099
0
0.08
0
0
0
0
0
0
0
0
0
1
0.24
false
0
0.12
0.04
0.56
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
316a01651aae68db11bf055e260f861edb88e2df
1,111
py
Python
src/weibo/index.py
aa1213889/scrapy_study
24c16039c1ea5b0a100e4dc51e09a018ba449762
[ "Apache-2.0" ]
null
null
null
src/weibo/index.py
aa1213889/scrapy_study
24c16039c1ea5b0a100e4dc51e09a018ba449762
[ "Apache-2.0" ]
null
null
null
src/weibo/index.py
aa1213889/scrapy_study
24c16039c1ea5b0a100e4dc51e09a018ba449762
[ "Apache-2.0" ]
null
null
null
# 获取weibo.cn的网页内容 # 1. 先正常登录微博 # 2.登录成功后在第一个get请求接口里找到cookie和referer两个请求头 # cookie中携带者你的登录信息,如果有登录之后的cookie,那就可以携带着cookie进入任何页面 # referer:判断当前路径是不是由上一个路径进来的 一般情况下是做图片防盗链 import urllib.request url = 'https://weibo.cn/1686546714/info' headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebK...
38.310345
446
0.80288
116
1,111
7.62931
0.75
0.044068
0.027119
0.049718
0.058757
0
0
0
0
0
0
0.157741
0.075608
1,111
28
447
39.678571
0.703992
0.143114
0
0
0
0.153846
0.689218
0.43129
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
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
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
316bad944d850d038e10fdcf6fc138c3c6835db9
852
py
Python
pycuda/test1.py
UnicornParson/pyTest
73c6b9b6e1d38ecaf1bd2ba27e4d92cb923a1c04
[ "Apache-2.0" ]
null
null
null
pycuda/test1.py
UnicornParson/pyTest
73c6b9b6e1d38ecaf1bd2ba27e4d92cb923a1c04
[ "Apache-2.0" ]
null
null
null
pycuda/test1.py
UnicornParson/pyTest
73c6b9b6e1d38ecaf1bd2ba27e4d92cb923a1c04
[ "Apache-2.0" ]
null
null
null
from inspect import currentframe, getframeinfo print(getframeinfo(currentframe()).lineno) import pycuda.driver as drv print(getframeinfo(currentframe()).lineno) import pycuda.tools print(getframeinfo(currentframe()).lineno) #import pycuda.autoinit print(getframeinfo(currentframe()).lineno) from pycuda.compiler import S...
30.428571
62
0.746479
114
852
5.517544
0.377193
0.189189
0.322735
0.389507
0.406995
0.341812
0.117647
0
0
0
0
0.019608
0.102113
852
28
63
30.428571
0.802614
0.025822
0
0.269231
0
0
0.146988
0
0
0
0
0
0
1
0
false
0
0.192308
0
0.192308
0.269231
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
316cc0aedc8324bf042782cf509ab18f236a8bb6
2,893
py
Python
examples/droptests/icosahedron_payload_test.py
kcaluwae/tensegrity-el-simulator
e258aa4acf97ed03601d92d4761f4aa9d9a3ee60
[ "MIT" ]
4
2015-04-27T02:25:57.000Z
2021-05-24T00:09:32.000Z
examples/droptests/icosahedron_payload_test.py
kcaluwae/tensegrity-el-simulator
e258aa4acf97ed03601d92d4761f4aa9d9a3ee60
[ "MIT" ]
null
null
null
examples/droptests/icosahedron_payload_test.py
kcaluwae/tensegrity-el-simulator
e258aa4acf97ed03601d92d4761f4aa9d9a3ee60
[ "MIT" ]
null
null
null
''' Ken Caluwaerts 2012-2013 <ken@caluwaerts.eu> ''' import numpy as np import scipy.io as sio def create_icosahedron(height=1.,payloadR=0.3): ''' Creates a tensegrity icosahedron ''' #create points points = np.zeros((3,2*6+2)) phi = (1+np.sqrt(5))*0.5 offest = 0.792 points[:,0] = (-...
31.107527
114
0.527134
510
2,893
2.958824
0.180392
0.05169
0.214712
0.043738
0.327369
0.158383
0.158383
0.142478
0.114645
0.092114
0
0.152455
0.197373
2,893
92
115
31.445652
0.497416
0.254753
0
0
0
0
0
0
0
0
0
0
0
1
0.016129
false
0
0.032258
0
0.064516
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3170fb2ba22aac9218525b29934d441fe4d1505c
2,400
py
Python
test/gendata.py
leyhline/modern-mutual-information
ca2e5579d0b82979ee9a8a0dee0b4453b96647b2
[ "Apache-2.0" ]
2
2021-01-12T09:23:38.000Z
2022-03-03T14:00:30.000Z
test/gendata.py
leyhline/modern-mutual-information
ca2e5579d0b82979ee9a8a0dee0b4453b96647b2
[ "Apache-2.0" ]
null
null
null
test/gendata.py
leyhline/modern-mutual-information
ca2e5579d0b82979ee9a8a0dee0b4453b96647b2
[ "Apache-2.0" ]
null
null
null
#/usr/bin/env python3 import numpy as np # Try importing matplotlib; if it works show a plot of generated data try: import matplotlib.pyplot as plt except ImportError: MAKE_PLOT = False else: MAKE_PLOT = True FILTERSIZE = 50 def smooth(x, window_len=11, window='hanning'): """smooth the data using a...
30.769231
121
0.65375
361
2,400
4.277008
0.404432
0.05829
0.034974
0.050518
0.098446
0.032383
0
0
0
0
0
0.01626
0.23125
2,400
77
122
31.168831
0.820596
0.454583
0
0.055556
1
0
0.189967
0
0
0
0
0.012987
0
1
0.055556
false
0
0.083333
0
0.194444
0.027778
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
0
0
0
0
0
0
0
0
2
317147ea83400aac39db77479f90d2646f93c1ee
184
py
Python
OOP/methods.py
crobert7/Py-Basics
c1d1a1441de6cbee409c59ddda2b11bc7ee16df1
[ "MIT" ]
null
null
null
OOP/methods.py
crobert7/Py-Basics
c1d1a1441de6cbee409c59ddda2b11bc7ee16df1
[ "MIT" ]
null
null
null
OOP/methods.py
crobert7/Py-Basics
c1d1a1441de6cbee409c59ddda2b11bc7ee16df1
[ "MIT" ]
null
null
null
import math # static method root = math.sqrt(4) print(root) class mathops: @staticmethod def square(val): return val * val square = mathops.square(6) print(square)
12.266667
26
0.668478
25
184
4.92
0.64
0
0
0
0
0
0
0
0
0
0
0.014085
0.228261
184
14
27
13.142857
0.852113
0.070652
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.444444
0.222222
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
0
0
0
0
1
0
0
0
2
31734ed779e64e0b6eebb3c092707e0be2c37165
548
py
Python
dnsalloc/apps/dnsalloc/migrations/0006_auto_20161228_1015.py
mback2k/django-dnsalloc
0c030486cc68a222afa6429cb70b2df1d6d5e561
[ "MIT" ]
3
2018-05-02T13:15:27.000Z
2019-09-25T01:34:30.000Z
dnsalloc/apps/dnsalloc/migrations/0006_auto_20161228_1015.py
mback2k/django-dnsalloc
0c030486cc68a222afa6429cb70b2df1d6d5e561
[ "MIT" ]
102
2018-04-06T08:03:33.000Z
2022-03-21T18:26:10.000Z
dnsalloc/apps/dnsalloc/migrations/0006_auto_20161228_1015.py
mback2k/django-dnsalloc
0c030486cc68a222afa6429cb70b2df1d6d5e561
[ "MIT" ]
1
2020-07-03T10:14:04.000Z
2020-07-03T10:14:04.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dnsalloc', '0005_auto_20161228_1014'), ] operations = [ migrations.RenameField( model_name='service', ...
21.92
48
0.580292
49
548
6.163265
0.612245
0.139073
0.172185
0.198676
0.324503
0.324503
0.324503
0.324503
0
0
0
0.044855
0.308394
548
24
49
22.833333
0.751979
0.038321
0
0.333333
0
0
0.169524
0.04381
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.277778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
317870bcfbe4482ed523bcdc48193dd648bebdca
261
py
Python
auth/social_pipeline.py
arcturus5340/julia
6bb7b6e956edc9b16f773926978679dd6031e959
[ "MIT" ]
13
2018-10-20T17:31:00.000Z
2022-03-06T23:02:48.000Z
auth/social_pipeline.py
arcturus5340/julia
6bb7b6e956edc9b16f773926978679dd6031e959
[ "MIT" ]
4
2019-10-08T18:24:38.000Z
2021-06-10T20:06:26.000Z
auth/social_pipeline.py
arcturus5340/julia
6bb7b6e956edc9b16f773926978679dd6031e959
[ "MIT" ]
6
2018-10-29T00:58:55.000Z
2020-03-25T14:02:18.000Z
from django.contrib.auth.models import Group from social_core.pipeline.partial import partial @partial def verify_user(strategy, details, user=None, is_new=False, *args, **kwargs): user.groups.add(Group.objects.get(name='Verified Users')) user.save()
29
77
0.762452
38
261
5.157895
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.111111
261
9
78
29
0.844828
0
0
0
0
0
0.053435
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
317bd78f3904cf784fb6dae5b9116916895cb66a
73
py
Python
src/fermulerpy/analytic/__init__.py
ghi94116/fermulerpy
ba89e39a9174ac83b3eaaf217789adc97d91314d
[ "MIT" ]
null
null
null
src/fermulerpy/analytic/__init__.py
ghi94116/fermulerpy
ba89e39a9174ac83b3eaaf217789adc97d91314d
[ "MIT" ]
null
null
null
src/fermulerpy/analytic/__init__.py
ghi94116/fermulerpy
ba89e39a9174ac83b3eaaf217789adc97d91314d
[ "MIT" ]
null
null
null
from .arithmetic_fundamental import( gcd, ) __all__ = [ "gcd", ]
10.428571
36
0.616438
7
73
5.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.246575
73
7
37
10.428571
0.727273
0
0
0
0
0
0.040541
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
0
0
0
0
0
2
317eb0dba7d679a9b8fd9a08014c7d675e91d3cc
1,262
py
Python
{{cookiecutter.project_slug}}/{{cookiecutter.app_name}}/utils/serialization.py
mhavel/cookiecutter-python3-quickstart
c1d29b4b8dbdc2a53d67699c3e8c0bde786697cf
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/{{cookiecutter.app_name}}/utils/serialization.py
mhavel/cookiecutter-python3-quickstart
c1d29b4b8dbdc2a53d67699c3e8c0bde786697cf
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/{{cookiecutter.app_name}}/utils/serialization.py
mhavel/cookiecutter-python3-quickstart
c1d29b4b8dbdc2a53d67699c3e8c0bde786697cf
[ "MIT" ]
null
null
null
# coding: utf-8 """ (de-)Serialization tools """ import importlib import pickle class PickleProtocol: def __init__(self, level: int): self.previous = pickle.HIGHEST_PROTOCOL self.level = level or self.previous def __enter__(self): importlib.reload(pickle) pickle.HIGHEST_PROT...
25.755102
101
0.654517
155
1,262
5.141935
0.548387
0.033877
0.079046
0.094103
0.209536
0.115433
0.115433
0
0
0
0
0.002105
0.247227
1,262
48
102
26.291667
0.836842
0.337559
0
0.095238
0
0
0.15871
0
0
0
0
0
0
1
0.238095
false
0
0.190476
0
0.571429
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
318dd661712181d2c14e49ff2d72cc2134176c2f
125
py
Python
Buy a Shovel.py
IftequarIffu/Codeforces-Contest-Problems
24e876b34158fdd6453e404b99d98be5f342fa1e
[ "CC0-1.0" ]
null
null
null
Buy a Shovel.py
IftequarIffu/Codeforces-Contest-Problems
24e876b34158fdd6453e404b99d98be5f342fa1e
[ "CC0-1.0" ]
null
null
null
Buy a Shovel.py
IftequarIffu/Codeforces-Contest-Problems
24e876b34158fdd6453e404b99d98be5f342fa1e
[ "CC0-1.0" ]
null
null
null
n,k=map(int,input().split()) for i in range(1,10): rem=(n*i)%10 if(rem==0 or rem==k): print(i) break
17.857143
28
0.496
25
125
2.48
0.72
0
0
0
0
0
0
0
0
0
0
0.066667
0.28
125
6
29
20.833333
0.622222
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
0
0
0
0
0
0
0
2
31950d85092bc9d8111a26a98bf33cac1a0b4e40
151
py
Python
tests/test_parser.py
devonnuri/phantasm
3083f26c20cfb3bb511b5c5ee2231e1535b23e62
[ "MIT" ]
1
2020-01-16T09:19:53.000Z
2020-01-16T09:19:53.000Z
tests/test_parser.py
devonnuri/phantasm
3083f26c20cfb3bb511b5c5ee2231e1535b23e62
[ "MIT" ]
null
null
null
tests/test_parser.py
devonnuri/phantasm
3083f26c20cfb3bb511b5c5ee2231e1535b23e62
[ "MIT" ]
1
2021-12-03T14:10:12.000Z
2021-12-03T14:10:12.000Z
from phantasm import Parser if __name__ == '__main__': with open('add.wasm', 'rb') as f: parser = Parser(f) print(parser.parse())
21.571429
37
0.602649
20
151
4.15
0.8
0
0
0
0
0
0
0
0
0
0
0
0.251656
151
6
38
25.166667
0.734513
0
0
0
0
0
0.119205
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
0
0
0
0
0
0
0
2
31a12ec8db7a829ded7b0e8969625cf4574c6d9d
13,428
py
Python
src/setup/appconfig.py
RLogik/phpytex
4e422a07ec23b4ade5263db499318b3e2c75f1f9
[ "MIT" ]
null
null
null
src/setup/appconfig.py
RLogik/phpytex
4e422a07ec23b4ade5263db499318b3e2c75f1f9
[ "MIT" ]
8
2021-08-24T12:27:02.000Z
2021-10-14T07:50:12.000Z
src/setup/appconfig.py
RLogik/phpytex
4e422a07ec23b4ade5263db499318b3e2c75f1f9
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # IMPORTS # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from __future__ import annotations; from src.local.system import *; from src.local.maths import *; from src.local.typing impor...
32.278846
115
0.682306
1,384
13,428
6.33815
0.17341
0.171455
0.05586
0.058482
0.477314
0.380757
0.274852
0.211354
0.181145
0.106133
0
0.002134
0.162422
13,428
415
116
32.356627
0.777807
0.050417
0
0.309677
0
0.006452
0.144125
0.012253
0
0
0
0
0
1
0.258065
false
0
0.058065
0.109677
0.448387
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
31a53e531a1f03f64fe0a11f66f0c15aa0e7d8dd
443
py
Python
drf_problems/utils.py
jayvdb/drf-problems
a5aa4b63651b5e1ce53fbbadcaa102b226216da0
[ "MIT" ]
null
null
null
drf_problems/utils.py
jayvdb/drf-problems
a5aa4b63651b5e1ce53fbbadcaa102b226216da0
[ "MIT" ]
null
null
null
drf_problems/utils.py
jayvdb/drf-problems
a5aa4b63651b5e1ce53fbbadcaa102b226216da0
[ "MIT" ]
null
null
null
from drf_problems import PROBLEM_CODE_CHOICES, PROBLEM_EXCEPTION_MAP def register_exception(exc_cls): code = getattr(exc_cls, 'code', exc_cls.default_code) PROBLEM_EXCEPTION_MAP[code] = exc_cls PROBLEM_CODE_CHOICES.append((code, code)) class register(object): def __init__(self, cls): self.cl...
26.058824
68
0.708804
59
443
4.915254
0.40678
0.082759
0.124138
0
0
0
0
0
0
0
0
0
0.185102
443
16
69
27.6875
0.803324
0
0
0
0
0
0.009029
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.090909
0.545455
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
31abdb56e426ca138083227908940be46288550a
278
py
Python
ch3/Permuatations/algorithm.py
omar659/Algorithms-Sequential-Parallel-Distributed
3543631139a20625f413cea2ba1f013f3a40d123
[ "MIT" ]
2
2020-02-19T09:27:20.000Z
2020-02-19T09:28:21.000Z
ch3/Permuatations/algorithm.py
omar-3/Algorithms-Sequential-Parallel-Distributed
3543631139a20625f413cea2ba1f013f3a40d123
[ "MIT" ]
null
null
null
ch3/Permuatations/algorithm.py
omar-3/Algorithms-Sequential-Parallel-Distributed
3543631139a20625f413cea2ba1f013f3a40d123
[ "MIT" ]
null
null
null
def generate_permutations(L,i=None,n=None): if i==None: i=0 if n==None: n=len(L)-1 if i==n: print(L) else: for j in range(i,n+1): L[i],L[j]=L[j],L[i] generate_permutations(L,i=i+1,n=n) L[i],L[j]=L[j],L[i] L=["a","b","c","d","e"] generate_permutations(L)
15.444444
43
0.561151
66
278
2.318182
0.333333
0.078431
0.078431
0.287582
0.104575
0.104575
0.104575
0.104575
0
0
0
0.017167
0.161871
278
17
44
16.352941
0.639485
0
0
0.142857
1
0
0.018051
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.071429
0.071429
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
31b202c4a1598bf425f9cceb339ec7039aa6bc9d
155
py
Python
smartcontract/venv/lib/python3.6/site-packages/events/__init__.py
simplitech/neoinvoice
bc9a0217858938b49f99fef13b3439f4a537a5f5
[ "MIT" ]
null
null
null
smartcontract/venv/lib/python3.6/site-packages/events/__init__.py
simplitech/neoinvoice
bc9a0217858938b49f99fef13b3439f4a537a5f5
[ "MIT" ]
null
null
null
smartcontract/venv/lib/python3.6/site-packages/events/__init__.py
simplitech/neoinvoice
bc9a0217858938b49f99fef13b3439f4a537a5f5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .events import Events, EventsException __version__ = '0.3' __all__ = [ Events.__name__, EventsException.__name__, ]
15.5
43
0.670968
16
155
5.5
0.75
0
0
0
0
0
0
0
0
0
0
0.02381
0.187097
155
9
44
17.222222
0.674603
0.135484
0
0
0
0
0.022727
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
0
0
0
0
0
2
31bc1ee43333c5db2deb9cad861025daf31668f0
545
py
Python
api/india.py
Soumikbhatta/FindUni
151176f16053bf3e2df7d04e9692483651fcfc1f
[ "MIT" ]
null
null
null
api/india.py
Soumikbhatta/FindUni
151176f16053bf3e2df7d04e9692483651fcfc1f
[ "MIT" ]
null
null
null
api/india.py
Soumikbhatta/FindUni
151176f16053bf3e2df7d04e9692483651fcfc1f
[ "MIT" ]
null
null
null
import json import os from django.conf import settings exam_data_path = os.path.join(settings.PROJECT_ROOT, "train\\tests.json") exams_college = json.loads(open(exam_data_path).read()) college_data_path = os.path.join( settings.PROJECT_ROOT, "train\\orignal_data.json") college_data = json.loads(open(college_da...
24.772727
91
0.770642
84
545
4.714286
0.416667
0.080808
0.060606
0.070707
0.212121
0.212121
0.212121
0.212121
0.212121
0
0
0
0.110092
545
21
92
25.952381
0.816495
0
0
0
0
0
0.100917
0.044037
0
0
0
0
0
1
0.166667
false
0
0.25
0.166667
0.583333
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
31c362c07dd536cc46e70b973da62b4444d02851
6,247
py
Python
idgo_resource/views/new.py
neogeo-technologies/idgo-resource
cd49de2100cefb2ed75f65920aa8b013281d5dd3
[ "Apache-2.0" ]
null
null
null
idgo_resource/views/new.py
neogeo-technologies/idgo-resource
cd49de2100cefb2ed75f65920aa8b013281d5dd3
[ "Apache-2.0" ]
null
null
null
idgo_resource/views/new.py
neogeo-technologies/idgo-resource
cd49de2100cefb2ed75f65920aa8b013281d5dd3
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017-2020 Neogeo-Technologies. # 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. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
36.964497
89
0.64607
734
6,247
5.316076
0.230245
0.04613
0.026653
0.025115
0.384931
0.261404
0.216299
0.197335
0.175807
0.175807
0
0.013235
0.238034
6,247
169
90
36.964497
0.806513
0.798303
0
0
0
0
0.030714
0
0
0
0
0.005917
0
1
0.05
false
0
0.45
0
0.6
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
31c9cc3c86bd70cac7dfbd8ac1e5e5b1d2f4d124
606
py
Python
tasks/templatetags/tasksapp_tags.py
EDario333/minegocito
5dd0869fa2510bb8152f4a117f33b2a30bb6d69c
[ "MIT" ]
null
null
null
tasks/templatetags/tasksapp_tags.py
EDario333/minegocito
5dd0869fa2510bb8152f4a117f33b2a30bb6d69c
[ "MIT" ]
null
null
null
tasks/templatetags/tasksapp_tags.py
EDario333/minegocito
5dd0869fa2510bb8152f4a117f33b2a30bb6d69c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.template import Library from django.utils.translation import gettext as _ from tasks.views import UserTasksView register = Library() # @register.inclusion_tag('dashboard/assets/top-bar/tasks.html', takes_context=True) @register...
27.545455
85
0.734323
76
606
5.657895
0.513158
0.046512
0.093023
0.097674
0.116279
0
0
0
0
0
0
0.001931
0.145215
606
21
86
28.857143
0.828185
0.245875
0
0
0
0
0.081019
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
31d0432409952471524a6ca5902be4bf178ee8f3
22,344
py
Python
src/awkward/_v2/operations/convert/to_arrow.py
scikit-hep/awkward-1.0
a440328f8097d22c2ba053fd117fed543829afc0
[ "BSD-3-Clause" ]
519
2019-10-17T12:36:22.000Z
2022-03-26T23:28:19.000Z
src/awkward/_v2/operations/convert/to_arrow.py
scikit-hep/awkward-1.0
a440328f8097d22c2ba053fd117fed543829afc0
[ "BSD-3-Clause" ]
924
2019-11-03T21:05:01.000Z
2022-03-31T22:44:30.000Z
src/awkward/_v2/operations/convert/to_arrow.py
scikit-hep/awkward-1.0
a440328f8097d22c2ba053fd117fed543829afc0
[ "BSD-3-Clause" ]
56
2019-12-17T15:49:22.000Z
2022-03-09T20:34:06.000Z
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE from __future__ import absolute_import import distutils import awkward as ak np = ak.nplike.NumpyMetadata.instance() def _import_pyarrow(name): # move this to _util try: import pyarrow except ImportError: ...
39.828877
93
0.452918
1,936
22,344
5.070764
0.146694
0.030254
0.050423
0.037486
0.575227
0.508404
0.475807
0.44046
0.41367
0.400428
0
0.014036
0.441998
22,344
560
94
39.9
0.77334
0.921097
0
0
0
0
0.037162
0
0
0
0
0
0
1
0.086957
false
0.043478
0.347826
0
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
31e18eb9457a2c54800e5cfff64f925aadaff2e2
3,177
py
Python
fabfile/setup.py
luzfcb/smallactsmanifesto
b1fc3ca6de413b8c03a01122014c5c599cb3da40
[ "MIT" ]
11
2015-10-17T02:44:58.000Z
2021-03-05T15:18:59.000Z
fabfile/setup.py
luzfcb/smallactsmanifesto
b1fc3ca6de413b8c03a01122014c5c599cb3da40
[ "MIT" ]
2
2016-01-17T12:06:58.000Z
2018-05-05T19:48:48.000Z
fabfile/setup.py
luzfcb/smallactsmanifesto
b1fc3ca6de413b8c03a01122014c5c599cb3da40
[ "MIT" ]
5
2016-01-16T11:19:31.000Z
2019-06-07T20:13:32.000Z
# coding: utf-8 from fabric.api import env, run, require, abort, task from fabric.colors import red, yellow from fabric.contrib.console import confirm from fabric.contrib.files import exists @task def server(): print """ Dreamhost Setup Consider that we're trying to setup a *fully hosted* domain "myp...
34.912088
81
0.628895
450
3,177
4.433333
0.386667
0.075188
0.071679
0.042105
0.215038
0.185464
0.108271
0.108271
0.03609
0
0
0.02029
0.239849
3,177
90
82
35.3
0.805797
0.024237
0
0.127273
0
0
0.639985
0.015468
0
0
0
0
0
0
null
null
0.036364
0.072727
null
null
0.036364
0
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
31e9e7bf060698033ca1a66958df6e0f79516e65
891
py
Python
kscore/kernels/diagonal_gaussian.py
miskcoo/kscore
80aef7e2cab26c81392e2526437247e2a8c295e4
[ "MIT" ]
35
2020-05-21T16:55:32.000Z
2022-03-25T02:54:11.000Z
kscore/kernels/diagonal_gaussian.py
miskcoo/kscore
80aef7e2cab26c81392e2526437247e2a8c295e4
[ "MIT" ]
null
null
null
kscore/kernels/diagonal_gaussian.py
miskcoo/kscore
80aef7e2cab26c81392e2526437247e2a8c295e4
[ "MIT" ]
2
2021-06-14T21:32:57.000Z
2021-06-29T18:29:13.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import collections import tensorflow as tf from .diagonal import Diagonal from kscore.utils import median_heuristic class DiagonalGaussian(Diagonal): def __...
30.724138
88
0.6633
127
891
4.330709
0.440945
0.054545
0.087273
0.047273
0
0
0
0
0
0
0
0.020057
0.216611
891
28
89
31.821429
0.767908
0.085297
0
0
0
0
0
0
0
0
0
0
0
1
0.105263
false
0
0.368421
0
0.578947
0.052632
0
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
0
0
0
1
0
1
0
0
2
31edb94cf299e0c290d5c9015d53490cd39cfae7
4,481
py
Python
autoencoders_based_recommender_system.py
rathoresubham99/Recommendation-System-Based-on-AutoEncoders-
66a123b61f38c2cc19987e12263b3a1eed1d7e49
[ "Apache-2.0" ]
null
null
null
autoencoders_based_recommender_system.py
rathoresubham99/Recommendation-System-Based-on-AutoEncoders-
66a123b61f38c2cc19987e12263b3a1eed1d7e49
[ "Apache-2.0" ]
null
null
null
autoencoders_based_recommender_system.py
rathoresubham99/Recommendation-System-Based-on-AutoEncoders-
66a123b61f38c2cc19987e12263b3a1eed1d7e49
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """AutoEncoders Based Recommender System.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1KDhXIkO6rEGxaxOMqTMExOub9EXLTKj3 """ from google.colab import drive drive.mount('/content/drive') import numpy as np import torch i...
32.708029
179
0.735327
697
4,481
4.592539
0.272597
0.039988
0.030615
0.04155
0.490159
0.455483
0.445173
0.445173
0.445173
0.405811
0
0.02261
0.131444
4,481
136
180
32.948529
0.799846
0.133452
0
0.297872
1
0.053191
0.195581
0.072286
0
0
0
0
0
0
null
null
0
0.095745
null
null
0.021277
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
0
0
1
0
0
0
0
0
0
0
0
2
9ec61c5fd1e8a5dc3d43e27f501d14c8ddd9b457
237
py
Python
digeiz_api/api/resources/__init__.py
frank2411/digeiz_test
b5454eea1912463a3c295e11dd0ca0e28f4a8e75
[ "CC0-1.0" ]
null
null
null
digeiz_api/api/resources/__init__.py
frank2411/digeiz_test
b5454eea1912463a3c295e11dd0ca0e28f4a8e75
[ "CC0-1.0" ]
null
null
null
digeiz_api/api/resources/__init__.py
frank2411/digeiz_test
b5454eea1912463a3c295e11dd0ca0e28f4a8e75
[ "CC0-1.0" ]
null
null
null
from .account import Accounts, AccountsDetail from .mall import Malls, MallsDetail from .unit import Units, UnitsDetail __all__ = [ "Accounts", "AccountsDetail", "Malls", "MallsDetail", "Units", "UnitsDetail" ]
16.928571
45
0.675105
22
237
7.090909
0.545455
0.282051
0
0
0
0
0
0
0
0
0
0
0.21519
237
13
46
18.230769
0.83871
0
0
0
0
0
0.227848
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0
1
0
0
null
1
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
0
0
0
0
0
0
0
0
2
9ec8326e9ea44a54c27abb7b67ebdf7e7516749b
2,148
py
Python
tests/test_gset.py
anshulahuja98/python3-crdt
b2e5d67580c562ae08d56127f41f7562e3ebe8e9
[ "MIT" ]
48
2019-02-16T08:01:52.000Z
2022-03-19T00:45:13.000Z
tests/test_gset.py
geetesh-gupta/python3-crdt
02dfc28895da031169fbc8bd9ae1434dbfacd8b9
[ "MIT" ]
5
2020-10-01T09:52:38.000Z
2021-05-18T09:32:35.000Z
tests/test_gset.py
anshulahuja98/python3-crdt
b2e5d67580c562ae08d56127f41f7562e3ebe8e9
[ "MIT" ]
3
2019-02-16T08:01:54.000Z
2022-01-29T15:58:14.000Z
import unittest import uuid import py3crdt from py3crdt.gset import GSet class TestLWW(unittest.TestCase): def setUp(self): # Create a GSet self.gset1 = GSet(uuid.uuid4()) # Create another GSet self.gset2 = GSet(uuid.uuid4()) # Add elements to gset1 self.gset1.add...
30.253521
66
0.613128
274
2,148
4.726277
0.160584
0.132046
0.180695
0.124324
0.636293
0.447876
0.433977
0.3861
0.3861
0.253282
0
0.029896
0.236965
2,148
70
67
30.685714
0.76022
0.106145
0
0.318182
0
0
0.022013
0
0
0
0
0
0.477273
1
0.113636
false
0
0.090909
0
0.227273
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
9ecf1f7fab5828e0dbc5f145fa3a0e55fe7e8056
10,069
py
Python
tests/examples/minlplib/ethanolh.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
2
2021-07-03T13:19:10.000Z
2022-02-06T10:48:13.000Z
tests/examples/minlplib/ethanolh.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
1
2021-07-04T14:52:14.000Z
2021-07-15T10:17:11.000Z
tests/examples/minlplib/ethanolh.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
null
null
null
# MINLP written by GAMS Convert at 04/21/18 13:51:42 # # Equation counts # Total E G L N X C B # 81 22 29 30 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
38.876448
120
0.599166
1,920
10,069
3.142188
0.1375
0.055694
0.186474
0.122659
0.552959
0.483507
0.482181
0.475054
0.451185
0.1031
0
0.208663
0.183732
10,069
258
121
39.027132
0.525368
0.067534
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.006452
0
0.006452
0
0
0
0
null
0
1
0
0
0
0
0
0
0
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
2
9ecf2802912c9ed5455e1871920443b33ac9eff4
557
py
Python
src/dstoolbox/sklearn/results.py
RoyalTS/dstoolbox
2b79dd3f70882c90b03c5c898d82f795a0ae7a78
[ "MIT" ]
null
null
null
src/dstoolbox/sklearn/results.py
RoyalTS/dstoolbox
2b79dd3f70882c90b03c5c898d82f795a0ae7a78
[ "MIT" ]
null
null
null
src/dstoolbox/sklearn/results.py
RoyalTS/dstoolbox
2b79dd3f70882c90b03c5c898d82f795a0ae7a78
[ "MIT" ]
null
null
null
"""Process the results of cross-validation commands.""" import pandas as pd def cv_results_to_pd(cv_results, scoring: str) -> pd.DataFrame: """Convert the results of GridSearchCV or BayesSearchCV to pandas.DataFrame.""" results = pd.DataFrame(cv_results) results.columns = results.columns.str.replace("_s...
32.764706
83
0.732496
71
557
5.577465
0.450704
0.212121
0.159091
0.212121
0.270202
0.191919
0
0
0
0
0
0
0.140036
557
16
84
34.8125
0.826722
0.220826
0
0
0
0
0.089835
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9ef0e6dd50748ba4db15a3db6fc7e4905bf5a624
418
py
Python
pyfmtdf/palettes/default.py
elijahsd/pyformatter
a25f54aeb2f4e10552899cd0a3c5aad17cd52230
[ "MIT" ]
null
null
null
pyfmtdf/palettes/default.py
elijahsd/pyformatter
a25f54aeb2f4e10552899cd0a3c5aad17cd52230
[ "MIT" ]
null
null
null
pyfmtdf/palettes/default.py
elijahsd/pyformatter
a25f54aeb2f4e10552899cd0a3c5aad17cd52230
[ "MIT" ]
1
2021-02-14T03:51:00.000Z
2021-02-14T03:51:00.000Z
palette = { "none": "", "text": "rgb(40, 40, 40)", "comment": "rgb(130, 130, 130)", "string": "rgb(30, 100, 0)", "function": "rgb(50, 50, 200)", "value": "rgb(200, 0, 0)", "type": "rgb(0, 110, 120)", "reserved": "rgb(80, 0, 0)", "operator": "rgb(100, 100, 0)", "call": "rgb(0, 50,...
26.125
36
0.452153
58
418
3.258621
0.431034
0.042328
0.095238
0
0
0
0
0
0
0
0
0.232484
0.248804
418
15
37
27.866667
0.369427
0
0
0
0
0
0.593301
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9ef3408cd709a3a651b5e9ee28922556090f5f9f
978
py
Python
tests/unit_tests/tools/test_utils.py
polyvertex/workoutizer
01f9691583548b83c51f72ff0d224ffa964ea6da
[ "MIT" ]
45
2020-10-23T13:01:34.000Z
2022-03-07T08:48:16.000Z
tests/unit_tests/tools/test_utils.py
polyvertex/workoutizer
01f9691583548b83c51f72ff0d224ffa964ea6da
[ "MIT" ]
62
2020-10-06T19:18:12.000Z
2022-01-13T19:25:34.000Z
tests/unit_tests/tools/test_utils.py
polyvertex/workoutizer
01f9691583548b83c51f72ff0d224ffa964ea6da
[ "MIT" ]
12
2020-10-07T12:44:00.000Z
2021-09-13T06:36:24.000Z
from wkz.tools.utils import get_local_ip_address, limit_string, sanitize def test_sanitize(): assert sanitize("Lore Ipsum") == "lore-ipsum" assert sanitize("some-words") == "some-words" assert sanitize("activity1/3") == "activity1-3" assert sanitize(1) == "1" assert sanitize(0.123) == "0.123" ...
36.222222
98
0.682004
140
978
4.542857
0.307143
0.138365
0.160377
0.216981
0.349057
0.29717
0.29717
0.122642
0.122642
0
0
0.08039
0.160532
978
26
99
37.615385
0.694275
0
0
0
0
0
0.171779
0
0
0
0
0
0.75
1
0.15
false
0
0.05
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
7307d9dcce5b0e2723cd765cb1dea3b8d9727779
3,307
py
Python
frontend/portunus/auth/routes.py
mrdmnd/portunus
5b4f7df2159908b15d31b421488db6de9f23f48d
[ "MIT" ]
2
2018-07-03T04:19:11.000Z
2018-09-30T18:35:37.000Z
frontend/portunus/auth/routes.py
mrdmnd/policygen
5b4f7df2159908b15d31b421488db6de9f23f48d
[ "MIT" ]
1
2020-06-06T08:30:52.000Z
2020-06-06T08:30:52.000Z
frontend/portunus/auth/routes.py
mrdmnd/portunus
5b4f7df2159908b15d31b421488db6de9f23f48d
[ "MIT" ]
null
null
null
from flask import render_template, redirect, url_for, flash, request from flask_login import login_user, logout_user, current_user, login_required from portunus import db from portunus.auth import bp from portunus.auth.forms import LoginForm, RegistrationForm, UpdateAccountForm from portunus.models import User @bp.ro...
42.397436
147
0.692168
441
3,307
5.052154
0.294785
0.054309
0.037702
0.044883
0.286804
0.245063
0.145422
0.145422
0.111311
0.111311
0
0
0.19625
3,307
77
148
42.948052
0.838224
0.140913
0
0.166667
0
0
0.154905
0
0
0
0
0.012987
0
1
0.066667
false
0.116667
0.1
0
0.333333
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
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
730bbb50251cc296883e26a95a813eb4d768c27d
684
py
Python
lambda-functions/telemetry-loader/telemetry_loader/streams/test_pipes.py
kiteco/kiteco-public
74aaf5b9b0592153b92f7ed982d65e15eea885e3
[ "BSD-3-Clause" ]
17
2022-01-10T11:01:50.000Z
2022-03-25T03:21:08.000Z
lambda-functions/telemetry-loader/telemetry_loader/streams/test_pipes.py
kiteco/kiteco-public
74aaf5b9b0592153b92f7ed982d65e15eea885e3
[ "BSD-3-Clause" ]
1
2022-01-13T14:28:47.000Z
2022-01-13T14:28:47.000Z
lambda-functions/telemetry-loader/telemetry_loader/streams/test_pipes.py
kiteco/kiteco-public
74aaf5b9b0592153b92f7ed982d65e15eea885e3
[ "BSD-3-Clause" ]
7
2022-01-07T03:58:10.000Z
2022-03-24T07:38:20.000Z
import csv import pytest from telemetry_loader.streams.core import consume from telemetry_loader.streams.core import stream from telemetry_loader.streams.pipes import csv_pipe from telemetry_loader.streams.pipes import json_pipe pytestmark = pytest.mark.asyncio async def test_dict_reader(): run, _ = stream([b'...
32.571429
111
0.657895
115
684
3.791304
0.321739
0.119266
0.174312
0.238532
0.431193
0.431193
0
0
0
0
0
0.044597
0.147661
684
20
112
34.2
0.703259
0
0
0
0
0
0.109649
0
0
0
0
0
0.153846
1
0
false
0
0.461538
0
0.461538
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
7315704ef6b49a31855fee3435ab77b4241ae115
193
py
Python
pclpy/tests/test_eigen.py
toinsson/pclpy
e44d261c4996bc5fd4080bf813542ccdffbca601
[ "MIT" ]
293
2018-05-21T21:50:11.000Z
2022-03-30T02:43:08.000Z
pclpy/tests/test_eigen.py
toinsson/pclpy
e44d261c4996bc5fd4080bf813542ccdffbca601
[ "MIT" ]
97
2018-04-23T20:45:20.000Z
2022-03-28T09:00:25.000Z
pclpy/tests/test_eigen.py
toinsson/pclpy
e44d261c4996bc5fd4080bf813542ccdffbca601
[ "MIT" ]
56
2018-05-16T08:59:09.000Z
2022-02-24T02:21:11.000Z
import pytest import numpy as np import pclpy def test_eigen_vectorxf(): a = np.array([1, 1, 1, 1], "f") vec = pclpy.pcl.vectors.VectorXf(a) assert np.allclose(np.array(vec), a)
17.545455
40
0.658031
33
193
3.787879
0.575758
0.048
0.048
0
0
0
0
0
0
0
0
0.025806
0.196891
193
10
41
19.3
0.780645
0
0
0
0
0
0.005181
0
0
0
0
0
0.142857
1
0.142857
false
0
0.428571
0
0.571429
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
733081f9edf1ebc288e2be17eecf4691aa6aef18
861
py
Python
models/registrationForm.py
TianleJin/Habit-Tracker
a65291ed877c37a51c15588d6bf198a07a4ff17f
[ "MIT" ]
null
null
null
models/registrationForm.py
TianleJin/Habit-Tracker
a65291ed877c37a51c15588d6bf198a07a4ff17f
[ "MIT" ]
null
null
null
models/registrationForm.py
TianleJin/Habit-Tracker
a65291ed877c37a51c15588d6bf198a07a4ff17f
[ "MIT" ]
null
null
null
import sqlite3 from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, BooleanField from wtforms.validators import DataRequired, Length, EqualTo, ValidationError from database.userDb import get_user_by_username class RegistrationForm(FlaskForm): username = StringField('Usernam...
37.434783
77
0.728223
88
861
7.034091
0.556818
0.106624
0.029079
0.054927
0
0
0
0
0
0
0
0.007062
0.1777
861
22
78
39.136364
0.867232
0
0
0.210526
0
0
0.157956
0
0
0
0
0
0
1
0.052632
false
0.210526
0.263158
0
0.578947
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
73372949108e287c4365a4e34016d852c0155d5c
2,185
py
Python
string_algorithms/tree.py
mhozza/string_algorithms
88a77f9633ab899afd8738f083ce9690fe8897ea
[ "MIT" ]
6
2016-10-10T08:44:16.000Z
2021-08-24T17:34:41.000Z
string_algorithms/tree.py
mhozza/string_algorithms
88a77f9633ab899afd8738f083ce9690fe8897ea
[ "MIT" ]
null
null
null
string_algorithms/tree.py
mhozza/string_algorithms
88a77f9633ab899afd8738f083ce9690fe8897ea
[ "MIT" ]
3
2016-05-12T02:50:12.000Z
2018-07-01T04:34:31.000Z
class TreeNode: def __init__(self, **kwargs): self.children = dict() def get(self, key): return self.children.get(key, None) def get_children(self, sort=False): if sort: return sorted(self.children.values()) return self.children.values() def add(self, key, ...
29.527027
78
0.58032
278
2,185
4.413669
0.158273
0.166259
0.117359
0.04401
0.309698
0.265689
0.218419
0.218419
0.218419
0.162999
0
0.002011
0.317162
2,185
73
79
29.931507
0.820375
0
0
0.280702
0
0
0
0
0
0
0
0
0.017544
1
0.245614
false
0
0
0.052632
0.526316
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
7338829e3d4ede641259dfa8f141ebf4c635f830
367
py
Python
config.py
ethanholz/MemeAPI
01edd4dd3e044ac6d14abd9184269f8ff8601a86
[ "MIT" ]
9
2021-01-20T15:00:07.000Z
2021-06-04T08:27:21.000Z
config.py
ethanholz/MemeAPI
01edd4dd3e044ac6d14abd9184269f8ff8601a86
[ "MIT" ]
1
2021-11-02T07:20:50.000Z
2021-11-02T07:20:50.000Z
config.py
ethanholz/MemeAPI
01edd4dd3e044ac6d14abd9184269f8ff8601a86
[ "MIT" ]
5
2021-01-21T07:35:22.000Z
2021-06-06T07:41:37.000Z
#add your reddit credentials here username = "" #username password = "" #password client_id = "" #client id client_secret = "" #client password subreddits = "memes+dankmemes+me_irl" #subreddits you want to get memes from, it is important not to include spaces b/w '+' min_upvotes = 150 #minimum number of upvotes debug =...
40.777778
123
0.752044
54
367
5.037037
0.777778
0.058824
0.102941
0
0
0
0
0
0
0
0
0.00974
0.160763
367
8
124
45.875
0.873377
0.599455
0
0
0
0
0.158273
0.158273
0
0
0
0
0
1
0
false
0.142857
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
733d63fe5ed8817c9ce4890e90a8085e17bab86a
1,788
py
Python
mmdet/models/roi_heads/__init__.py
yypurpose/mmdetection
ec6bfd96eae0af047c623f3d1ec31b0b3f1f4a6c
[ "Apache-2.0" ]
null
null
null
mmdet/models/roi_heads/__init__.py
yypurpose/mmdetection
ec6bfd96eae0af047c623f3d1ec31b0b3f1f4a6c
[ "Apache-2.0" ]
null
null
null
mmdet/models/roi_heads/__init__.py
yypurpose/mmdetection
ec6bfd96eae0af047c623f3d1ec31b0b3f1f4a6c
[ "Apache-2.0" ]
null
null
null
from .base_roi_head import BaseRoIHead from .bbox_heads import (BBoxHead, ConvFCBBoxHead, DoubleConvFCBBoxHead, SCNetBBoxHead, Shared2FCBBoxHead, Shared4Conv1FCBBoxHead) from .cascade_roi_head import CascadeRoIHead from .double_roi_head import DoubleHeadRoIHead fr...
51.085714
80
0.748881
148
1,788
8.804054
0.378378
0.069839
0.129701
0
0
0
0
0
0
0
0
0.004073
0.176175
1,788
34
81
52.588235
0.880516
0
0
0
0
0
0.261117
0.026226
0
0
0
0
0
1
0
false
0
0.515152
0
0.515152
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
73410d8e759eae1f6937e1d499e0dee162a55c5f
66
py
Python
config.prod.py
R-fred/awesome-streamlit
10f2b132bc8e61a82edfacb4b3bb36d0da6c63d3
[ "CC0-1.0" ]
1,194
2019-10-09T06:15:27.000Z
2022-03-31T14:53:00.000Z
config.prod.py
R-fred/awesome-streamlit
10f2b132bc8e61a82edfacb4b3bb36d0da6c63d3
[ "CC0-1.0" ]
55
2019-10-09T12:08:39.000Z
2022-02-10T00:48:53.000Z
config.prod.py
R-fred/awesome-streamlit
10f2b132bc8e61a82edfacb4b3bb36d0da6c63d3
[ "CC0-1.0" ]
272
2019-10-09T12:04:31.000Z
2022-03-29T02:43:30.000Z
"""Configuration file for production Development""" DEBUG = False
22
51
0.772727
7
66
7.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.121212
66
2
52
33
0.87931
0.681818
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
2
734ab6e24183b084c20824f333731def2d79d40c
24,837
py
Python
tests/logs/test_step.py
mikiec84/mrjob
801fffffdc6af860edd7813c948f9da341305b21
[ "Apache-2.0" ]
null
null
null
tests/logs/test_step.py
mikiec84/mrjob
801fffffdc6af860edd7813c948f9da341305b21
[ "Apache-2.0" ]
null
null
null
tests/logs/test_step.py
mikiec84/mrjob
801fffffdc6af860edd7813c948f9da341305b21
[ "Apache-2.0" ]
null
null
null
# Copyright 2015-2016 Yelp # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softwa...
34.069959
79
0.566896
2,775
24,837
4.803964
0.141261
0.046133
0.021454
0.009002
0.771285
0.74338
0.700998
0.664766
0.596504
0.576251
0
0.08189
0.335266
24,837
728
80
34.116758
0.72556
0.075573
0
0.6
0
0.009009
0.249542
0.131687
0
0
0
0
0.077477
1
0.097297
false
0
0.030631
0.014414
0.165766
0
0
0
0
null
0
0
0
0
1
1
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
0
0
0
0
0
0
0
2