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
1237cd245f6b8ab6e5c7b528805435a944e1e442
18,438
py
Python
agents.py
fiorenza2/OffCon3
b5e139e40cee74c4f8d507ed4786fd33ed025157
[ "MIT" ]
17
2021-01-28T17:54:23.000Z
2021-12-21T15:22:22.000Z
agents.py
jparkerholder/OffCon3
b5e139e40cee74c4f8d507ed4786fd33ed025157
[ "MIT" ]
1
2021-02-15T19:28:05.000Z
2021-03-14T23:25:04.000Z
agents.py
fiorenza2/OffCon3
b5e139e40cee74c4f8d507ed4786fd33ed025157
[ "MIT" ]
2
2021-06-21T12:14:44.000Z
2021-08-08T10:04:30.000Z
import copy import numpy as np import torch import torch.nn.functional as F from utils import ReplayPool from networks import Policy, StochasticPolicy, DoubleQFunc device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") class OffPolicyAgent: def __init__(self, seed, state_dim, action_dim, ...
42.87907
176
0.642911
2,462
18,438
4.504468
0.089764
0.016772
0.016231
0.030298
0.732191
0.703427
0.690352
0.665464
0.649594
0.649594
0
0.015998
0.260929
18,438
429
177
42.979021
0.797828
0.052988
0
0.660436
0
0
0.023944
0.002871
0
0
0
0
0.009346
1
0.124611
false
0
0.018692
0.031153
0.242991
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
1240429f9a41acc91fc6ae8891a5c5c03f0644c3
1,360
py
Python
cowsay/lib/cows/awesome_face.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
cowsay/lib/cows/awesome_face.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
cowsay/lib/cows/awesome_face.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
def Awesome_face(thoughts, eyes, eye, tongue): return f""" {thoughts} {thoughts} \#[/[#:xxxxxx:#[/[\\x [/\\ &3N W3& \\/[x [[x\@W W\@x[[\\ /#&N N_# /#\@ \@#/x ...
45.333333
83
0.263235
105
1,360
3.285714
0.428571
0.023188
0.026087
0.023188
0.028986
0
0
0
0
0
0
0.061693
0.4875
1,360
30
84
45.333333
0.433286
0
0
0.066667
0
0
0.952976
0.107274
0
0
0
0
0
1
0.033333
false
0
0
0.033333
0.066667
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1256c1154db4f6069ce7c07c379eb4a4a4e45448
1,893
py
Python
src/opencmiss/utils/iron/doc/doxygen/exampleprocessor/BaseHTMLProcessor.py
tsalemink/opencmiss.utils
c727d9b922330e3ca38967fa7dbe6480f698f9a2
[ "Apache-2.0" ]
null
null
null
src/opencmiss/utils/iron/doc/doxygen/exampleprocessor/BaseHTMLProcessor.py
tsalemink/opencmiss.utils
c727d9b922330e3ca38967fa7dbe6480f698f9a2
[ "Apache-2.0" ]
null
null
null
src/opencmiss/utils/iron/doc/doxygen/exampleprocessor/BaseHTMLProcessor.py
tsalemink/opencmiss.utils
c727d9b922330e3ca38967fa7dbe6480f698f9a2
[ "Apache-2.0" ]
null
null
null
from sgmllib import SGMLParser import htmlentitydefs class BaseHTMLProcessor(SGMLParser): def reset(self): # extend (called by SGMLParser.__init__) self.pieces = [] self.buffer = "" self.parents = [] SGMLParser.reset(self) def unknown_starttag(self, tag, attrs): strattrs = "".join([' %s="%s"' % (key,...
27.434783
73
0.624934
264
1,893
4.401515
0.280303
0.137694
0.192771
0.055077
0.237522
0.208262
0.208262
0.165232
0.108434
0.075732
0
0.002553
0.172213
1,893
68
74
27.838235
0.738992
0.020074
0
0.037037
0
0
0.087438
0.023243
0
0
0
0
0
0
null
null
0
0.037037
null
null
0.018519
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
0
1
0
0
0
0
0
0
0
0
2
125c09cc6e61d12b4e11b62f59ed5ddecd04ee2c
231
py
Python
class2/class2_ex1.py
daveg999/Automation_class
d23652ecae56b790684971dda6e85a1d2367e22b
[ "Apache-2.0" ]
null
null
null
class2/class2_ex1.py
daveg999/Automation_class
d23652ecae56b790684971dda6e85a1d2367e22b
[ "Apache-2.0" ]
null
null
null
class2/class2_ex1.py
daveg999/Automation_class
d23652ecae56b790684971dda6e85a1d2367e22b
[ "Apache-2.0" ]
null
null
null
# Python libraries # Ex1a import pysnmp import paramiko # Ex1b dir(pysnmp) ver = pysnmp.__version__ print "pysnmp version is: %s " % ver dir(paramiko) ver = paramiko.__version__ print "paramiko version is: %s " % ver # Ex1c
12.157895
38
0.714286
31
231
5.064516
0.451613
0.165605
0.127389
0.165605
0
0
0
0
0
0
0
0.016043
0.190476
231
18
39
12.833333
0.823529
0.134199
0
0
0
0
0.237113
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
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
126e4a7de56e62d9de7e709a7a92d3187bd9274a
2,678
py
Python
ww/website_domain.py
hbradleyiii/ww
5a537ab6865fcfb43a253cdb8cf2397a53d940a7
[ "MIT" ]
null
null
null
ww/website_domain.py
hbradleyiii/ww
5a537ab6865fcfb43a253cdb8cf2397a53d940a7
[ "MIT" ]
null
null
null
ww/website_domain.py
hbradleyiii/ww
5a537ab6865fcfb43a253cdb8cf2397a53d940a7
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # name: website_domain.py # author: Harold Bradley III # email: harold@bradleystudio.net # created on: 11/03/2015 # # TODO: add DNS API capabilities """ ww.website_domain ~~~~~~~~~~~~~~~~~ A class to describe and ...
36.189189
85
0.519417
293
2,678
4.65529
0.430034
0.046188
0.024194
0.020528
0.177419
0.177419
0.136364
0.09824
0.09824
0.09824
0
0.007776
0.279686
2,678
73
86
36.684932
0.699326
0.242718
0
0.195122
0
0
0.412682
0.150478
0
0
0
0.013699
0
1
0.073171
false
0
0.121951
0
0.317073
0.414634
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
0
1
0
2
1273e125cf6e955179d20d62b853392bde84917e
81
py
Python
module1_script.py
KeiandraK/Lambdata-BW3-Keiandra
df759d9ff20322ff22bbe2fa05aaf5fa08b1ba70
[ "MIT" ]
null
null
null
module1_script.py
KeiandraK/Lambdata-BW3-Keiandra
df759d9ff20322ff22bbe2fa05aaf5fa08b1ba70
[ "MIT" ]
null
null
null
module1_script.py
KeiandraK/Lambdata-BW3-Keiandra
df759d9ff20322ff22bbe2fa05aaf5fa08b1ba70
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd print(3+5/12) x= 12 y=6 z=3 print(x+z-y)
9
19
0.679012
22
81
2.5
0.636364
0
0
0
0
0
0
0
0
0
0
0.121212
0.185185
81
9
20
9
0.712121
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.285714
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
89c1c2b31fc38070addd4abcaa1f6789312a5e74
485
py
Python
Cogs/Help.py
Goldfish64/CorpBot.py
05607332ff15cbecc3a3b950efcfbcf295adad78
[ "MIT" ]
2
2021-03-16T01:27:52.000Z
2021-11-23T03:02:21.000Z
Cogs/Help.py
Goldfish64/CorpBot.py
05607332ff15cbecc3a3b950efcfbcf295adad78
[ "MIT" ]
null
null
null
Cogs/Help.py
Goldfish64/CorpBot.py
05607332ff15cbecc3a3b950efcfbcf295adad78
[ "MIT" ]
null
null
null
import asyncio import discord import inspect from discord.ext import commands from Cogs import * # This module is for random funny things I guess... class Help: def __init__(self, bot, cogs): # cogs = an array of the cogs used to start the bot self.bot = bot self.cogs = cogs def message(self, message)...
24.25
65
0.703093
76
485
4.434211
0.657895
0.059347
0
0
0
0
0
0
0
0
0
0
0.220619
485
20
66
24.25
0.891534
0.424742
0
0
0
0
0.043636
0
0
0
0
0
0
1
0.181818
false
0
0.454545
0.090909
0.818182
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
89d0540c48a7bca84cfcb3e101a9c683df469f1f
978
py
Python
chat/management/commands/chat_server.py
KraftSoft/letsgo-back
24159eee1a510e9ae218a0262bc6a51618414b33
[ "BSD-3-Clause" ]
1
2018-02-17T08:46:11.000Z
2018-02-17T08:46:11.000Z
chat/management/commands/chat_server.py
KraftSoft/letsgo-back
24159eee1a510e9ae218a0262bc6a51618414b33
[ "BSD-3-Clause" ]
null
null
null
chat/management/commands/chat_server.py
KraftSoft/letsgo-back
24159eee1a510e9ae218a0262bc6a51618414b33
[ "BSD-3-Clause" ]
null
null
null
import datetime import signal from django.core.management import BaseCommand from tornado.httpserver import HTTPServer from tornado.ioloop import IOLoop from chat.tornado import application class Command(BaseCommand): def sig_handler(self, sig, frame): """Catch signal and init callback""" IOLoop...
28.764706
74
0.697342
123
978
5.455285
0.463415
0.071535
0.062593
0
0
0
0
0
0
0
0
0.01671
0.204499
978
33
75
29.636364
0.845758
0.150307
0
0
0
0
0.010989
0
0
0
0
0
0
1
0.157895
false
0
0.315789
0
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
0
0
0
1
0
1
0
0
2
89d2abb22bb276794a319caa2cd6ebdafdc37553
1,287
py
Python
src/lockstep/clients/leads_client.py
sfwatanabe/lockstep-sdk-python
b388c818663a4b090debb68c65c18728a082fec0
[ "MIT" ]
1
2022-03-17T00:23:24.000Z
2022-03-17T00:23:24.000Z
src/lockstep/clients/leads_client.py
sfwatanabe/lockstep-sdk-python
b388c818663a4b090debb68c65c18728a082fec0
[ "MIT" ]
null
null
null
src/lockstep/clients/leads_client.py
sfwatanabe/lockstep-sdk-python
b388c818663a4b090debb68c65c18728a082fec0
[ "MIT" ]
null
null
null
# # Lockstep Software Development Kit for Python # # (c) 2021-2022 Lockstep, Inc. # # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # # @author Ted Spence <tspence@lockstep.io> # @copyright 2021-2022 Lockstep, Inc. # @version 2022.4 # ...
31.390244
75
0.672883
167
1,287
5.143713
0.60479
0.034924
0.066356
0.044237
0.072177
0
0
0
0
0
0
0.022704
0.247086
1,287
40
76
32.175
0.863777
0.607615
0
0
0
0
0.053985
0
0
0
0
0
0
1
0.25
false
0
0.25
0
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
1
0
0
0
0
1
0
0
2
89ef6e59d097c25a325548a902521efbe1e234db
193
py
Python
example/postrequest.py
ayankashyap/speakeasy
5fc69a060eeb5701ab9c061ed7525a061e1388e6
[ "MIT" ]
null
null
null
example/postrequest.py
ayankashyap/speakeasy
5fc69a060eeb5701ab9c061ed7525a061e1388e6
[ "MIT" ]
null
null
null
example/postrequest.py
ayankashyap/speakeasy
5fc69a060eeb5701ab9c061ed7525a061e1388e6
[ "MIT" ]
null
null
null
import requests dictToSend = {'input': 'Triple X'} # change the input text here res = requests.post('http://localhost:5000/convert', json=dictToSend) print('response from server:', res.text)
32.166667
69
0.73057
26
193
5.423077
0.807692
0
0
0
0
0
0
0
0
0
0
0.023529
0.119171
193
5
70
38.6
0.805882
0.134715
0
0
0
0
0.381818
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
89f0ce7428b537765109cc137d76c48be2e614a8
2,171
py
Python
usermanage/user.py
szatjp/rabbitplan
bae942e4673863027fe7f1936e58f2d9d4ebc5c7
[ "CC0-1.0" ]
null
null
null
usermanage/user.py
szatjp/rabbitplan
bae942e4673863027fe7f1936e58f2d9d4ebc5c7
[ "CC0-1.0" ]
null
null
null
usermanage/user.py
szatjp/rabbitplan
bae942e4673863027fe7f1936e58f2d9d4ebc5c7
[ "CC0-1.0" ]
null
null
null
# coding:utf-8 ''' Created on 2012-3-8 @author: tongjp ''' import datetime from django.contrib import auth from django.http import HttpResponseRedirect from django.shortcuts import render_to_response #from django.views.generic.list_detail import object_list,object_detail from django.contrib.auth.models import User f...
29.739726
97
0.631967
222
2,171
6.094595
0.427928
0.153732
0.028825
0.033259
0.12269
0.12269
0.070953
0
0
0
0
0.005682
0.270382
2,171
73
98
29.739726
0.848485
0.150622
0
0.074074
0
0
0.090452
0
0
0
0
0
0
1
0.185185
false
0.074074
0.222222
0.074074
0.666667
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
d6108b5fa4eb3387a55232b0c5fb47448ce7b83d
2,915
py
Python
tests/test_data_generators/test_generate.py
elenakulgavaya/fild
8cfaa158d5c763d826a08f8edc6bde9c4ac96b69
[ "MIT" ]
null
null
null
tests/test_data_generators/test_generate.py
elenakulgavaya/fild
8cfaa158d5c763d826a08f8edc6bde9c4ac96b69
[ "MIT" ]
null
null
null
tests/test_data_generators/test_generate.py
elenakulgavaya/fild
8cfaa158d5c763d826a08f8edc6bde9c4ac96b69
[ "MIT" ]
null
null
null
import unittest from tests.data import AllowedNone, ComposeOptional, Mix, Optional class TestGenerate(unittest.TestCase): def test_generate_field_is_generated(self): entity = Optional() entity.OptInt.generate() self.assertTrue(entity.OptInt.generated) def test_generate_field_value(se...
34.294118
73
0.716295
298
2,915
6.731544
0.147651
0.052343
0.097208
0.069791
0.655533
0.585244
0.502493
0.332004
0.239282
0.137587
0
0
0.194511
2,915
84
74
34.702381
0.854344
0
0
0.430769
1
0
0.002744
0
0
0
0
0
0.230769
1
0.230769
false
0
0.030769
0
0.276923
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
d6169cbe2973f8bdef157451116e0006c93172c8
683
py
Python
supriya/ugens/PV_BinScramble.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
supriya/ugens/PV_BinScramble.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
supriya/ugens/PV_BinScramble.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
import collections from supriya.ugens.PV_ChainUGen import PV_ChainUGen class PV_BinScramble(PV_ChainUGen): """ Scrambles bins. :: >>> pv_chain = supriya.ugens.FFT( ... source=supriya.ugens.WhiteNoise.ar(), ... ) >>> pv_bin_scramble = supriya.ugens.PV_BinScramble....
22.032258
73
0.525622
69
683
4.956522
0.449275
0.140351
0.081871
0.046784
0
0
0
0
0
0
0
0.017058
0.313324
683
30
74
22.766667
0.712154
0.524158
0
0
0
0
0.094488
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
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
d6197c8f322c6e106cd13638291841c5e76b145d
63
py
Python
FilterTesting/parameters.py
nikobotics/QuadrotorTesting
470f5dc9512b8dcce34bb1656b74fbf9c79c1dc0
[ "MIT" ]
null
null
null
FilterTesting/parameters.py
nikobotics/QuadrotorTesting
470f5dc9512b8dcce34bb1656b74fbf9c79c1dc0
[ "MIT" ]
null
null
null
FilterTesting/parameters.py
nikobotics/QuadrotorTesting
470f5dc9512b8dcce34bb1656b74fbf9c79c1dc0
[ "MIT" ]
null
null
null
SIZE = 1000 NUM_SENSORS = 2 DETERMINE_EFFECTIVENESS_TRIALS = 10
21
35
0.825397
9
63
5.444444
1
0
0
0
0
0
0
0
0
0
0
0.127273
0.126984
63
3
35
21
0.763636
0
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
d61fdf22e164038147400e000aa5557c2c904a07
195
py
Python
data_collection/gazette/spiders/sc_imbituba.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
454
2018-04-07T03:32:57.000Z
2020-08-17T19:56:22.000Z
data_collection/gazette/spiders/sc_imbituba.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
254
2020-08-18T14:09:43.000Z
2022-03-28T11:30:51.000Z
data_collection/gazette/spiders/sc_imbituba.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
183
2018-04-11T15:09:37.000Z
2020-08-15T18:55:11.000Z
from gazette.spiders.base.fecam import FecamGazetteSpider class ScImbitubaSpider(FecamGazetteSpider): name = "sc_imbituba" FECAM_QUERY = "cod_entidade:116" TERRITORY_ID = "4207304"
24.375
57
0.769231
21
195
6.952381
0.904762
0
0
0
0
0
0
0
0
0
0
0.060241
0.148718
195
7
58
27.857143
0.819277
0
0
0
0
0
0.174359
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d637a2b8924bbeab40c70b956e11139d73b51255
24,464
py
Python
scripts/pathlines_working_2_panel_10.py
alexkaiser/heart_valves
53f30ec3680503542890a84949b7fb51d1734272
[ "BSD-3-Clause" ]
null
null
null
scripts/pathlines_working_2_panel_10.py
alexkaiser/heart_valves
53f30ec3680503542890a84949b7fb51d1734272
[ "BSD-3-Clause" ]
null
null
null
scripts/pathlines_working_2_panel_10.py
alexkaiser/heart_valves
53f30ec3680503542890a84949b7fb51d1734272
[ "BSD-3-Clause" ]
null
null
null
# state file generated using paraview version 5.8.0 # ---------------------------------------------------------------- # setup views used in the visualization # ---------------------------------------------------------------- # trace generated using paraview version 5.8.0 # # To ensure correct image size when batch p...
46.333333
209
0.768762
2,419
24,464
7.690368
0.163704
0.022039
0.013707
0.010106
0.33844
0.302156
0.293394
0.263345
0.202064
0.188948
0
0.113458
0.092462
24,464
527
210
46.421252
0.724439
0.24861
0
0.012987
1
0
0.094187
0.033149
0
0
0
0
0
0
null
null
0
0.006494
null
null
0.006494
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
d63d3dd54daeaac526e70dbb33215bb44fc3d009
733
py
Python
csdnpaper/csdnpaper/pipelines.py
sy2616/DATA
8d2314b23c9757c8f54a85a01b451aaa29054912
[ "Apache-2.0" ]
2
2020-08-08T02:02:04.000Z
2020-12-22T09:12:09.000Z
csdnpaper/csdnpaper/pipelines.py
sy2616/DATA
8d2314b23c9757c8f54a85a01b451aaa29054912
[ "Apache-2.0" ]
null
null
null
csdnpaper/csdnpaper/pipelines.py
sy2616/DATA
8d2314b23c9757c8f54a85a01b451aaa29054912
[ "Apache-2.0" ]
null
null
null
# Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html # useful for handling different item types with a single interface from itemadapter import ItemAdapter from scrapy.pipelines.files import FilesPipeli...
31.869565
66
0.721692
98
733
5.346939
0.612245
0.049618
0
0
0
0
0
0
0
0
0
0
0.177353
733
22
67
33.318182
0.868988
0.306958
0
0
0
0
0.043825
0
0
0
0
0
0
1
0.230769
false
0
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
1
0
0
0
0
1
0
0
2
d64b6639d9b15bb12a5418375591fa34cf7ab5c4
1,416
py
Python
web/pipeline/migrations/0039_auto_20200722_1610.py
stevenstuber/CIT
8c485e72084c06da6db45da1cb402bac26411ec2
[ "Apache-2.0" ]
10
2020-11-12T15:13:40.000Z
2022-03-05T22:33:08.000Z
web/pipeline/migrations/0039_auto_20200722_1610.py
stevenstuber/CIT
8c485e72084c06da6db45da1cb402bac26411ec2
[ "Apache-2.0" ]
28
2020-07-17T16:33:55.000Z
2022-03-21T16:24:25.000Z
web/pipeline/migrations/0039_auto_20200722_1610.py
stevenstuber/CIT
8c485e72084c06da6db45da1cb402bac26411ec2
[ "Apache-2.0" ]
5
2020-11-02T23:39:53.000Z
2022-03-01T19:09:45.000Z
# Generated by Django 2.2.13 on 2020-07-22 16:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('pipeline', '0038_hex_isp_service'), ] operations = [ migrations.AddField( model_name='service'...
30.782609
213
0.58404
146
1,416
5.506849
0.445205
0.067164
0.155473
0.180348
0.429104
0.385572
0.334577
0.283582
0.283582
0.283582
0
0.034343
0.300847
1,416
45
214
31.466667
0.777778
0.032486
0
0.487179
1
0
0.142544
0
0
0
0
0
0
1
0
false
0
0.051282
0
0.128205
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
c38e887d0a177dd20b88ba2a70783be48abc646b
937
py
Python
python_sandbox/python_sandbox/effective_python/item25.py
jduan/cosmos
c4bdc5b800c9b51084daf874769ac73e1c4b7dd5
[ "MIT" ]
null
null
null
python_sandbox/python_sandbox/effective_python/item25.py
jduan/cosmos
c4bdc5b800c9b51084daf874769ac73e1c4b7dd5
[ "MIT" ]
null
null
null
python_sandbox/python_sandbox/effective_python/item25.py
jduan/cosmos
c4bdc5b800c9b51084daf874769ac73e1c4b7dd5
[ "MIT" ]
null
null
null
# Things to Remember # # Python’s standard method resolution order (MRO) solves the problems of superclass # initialization order and diamond inheritance. # # Always use the "super" built-in function to initialize parent classes. class MyBaseClass(object): def __init__(self, value): self.value = value c...
27.558824
90
0.681964
113
937
5.265487
0.504425
0.105882
0.07395
0.107563
0.218487
0.10084
0.10084
0
0
0
0
0.005525
0.227321
937
33
91
28.393939
0.816298
0.451441
0
0.466667
0
0
0.017893
0
0
0
0
0
0
1
0.266667
false
0
0
0
0.533333
0.066667
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
c399a1a6b7150f1ef7e588609accefc8ef3b5c69
2,197
py
Python
Tuples.py
luiz-fischer/python
03e85c3456bdee675a246a9d78dde17e351ce2f4
[ "MIT" ]
1
2021-07-20T19:01:17.000Z
2021-07-20T19:01:17.000Z
Tuples.py
luiz-fischer/Python
03e85c3456bdee675a246a9d78dde17e351ce2f4
[ "MIT" ]
null
null
null
Tuples.py
luiz-fischer/Python
03e85c3456bdee675a246a9d78dde17e351ce2f4
[ "MIT" ]
null
null
null
#A tuple is a collection which is ordered and unchangeable. In Python tuples are written with #round brackets. #tuple thistuple = ["apple", "banana", "cherry"] print(thistuple) #Access Items thistuple = ["apple", "banana", "cherry"] print(thistuple[1]) #Negative Indexing thistuple = ["apple", "banana", "cherry"] pri...
21.539216
110
0.665908
271
2,197
5.398524
0.261993
0.150376
0.232399
0.337662
0.585783
0.43404
0.355434
0.232399
0.124402
0.124402
0
0.017904
0.13564
2,197
102
111
21.539216
0.752501
0.126536
0
0.59375
0
0
0.25118
0
0
0
0
0
0
1
0
false
0
0
0
0
0.34375
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
c39f5915d95ec3b9e582fafe6c4ebb268f5f0a43
132
py
Python
test/workflow_manager/test.py
lzjzx1122/FaaSFlow
c4a32a04797770c21fe6a0dcacd85ac27a3d29ec
[ "Apache-2.0" ]
24
2021-12-02T01:00:54.000Z
2022-03-27T00:50:28.000Z
test/workflow_manager/test.py
lzjzx1122/FaaSFlow
c4a32a04797770c21fe6a0dcacd85ac27a3d29ec
[ "Apache-2.0" ]
null
null
null
test/workflow_manager/test.py
lzjzx1122/FaaSFlow
c4a32a04797770c21fe6a0dcacd85ac27a3d29ec
[ "Apache-2.0" ]
3
2021-12-02T01:00:47.000Z
2022-03-04T07:33:09.000Z
import requests url = 'http://localhost:7000/run' data = {'workflow': 'wordcount', 'request_id': '1'} requests.post(url, json=data)
26.4
51
0.69697
18
132
5.055556
0.833333
0
0
0
0
0
0
0
0
0
0
0.042017
0.098485
132
5
52
26.4
0.722689
0
0
0
0
0
0.398496
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
c3a29f62d83a316fed3011a212b3a35c83e9c12c
295
py
Python
intermediate/mutations_nainys.py
garvitsharma05/hacktoberithms
25aea28f362de22414569d67436a670bea5a3aeb
[ "MIT" ]
16
2018-10-05T07:35:06.000Z
2021-10-02T12:12:52.000Z
intermediate/mutations_nainys.py
garvitsharma05/hacktoberithms
25aea28f362de22414569d67436a670bea5a3aeb
[ "MIT" ]
50
2018-10-04T00:04:24.000Z
2019-10-25T16:29:58.000Z
intermediate/mutations_nainys.py
garvitsharma05/hacktoberithms
25aea28f362de22414569d67436a670bea5a3aeb
[ "MIT" ]
115
2018-10-04T02:42:18.000Z
2021-01-27T17:34:21.000Z
def mutations(input_list): print input_list[0],input_list[1] first = list(input_list[0].lower()) second = list(input_list[1].lower()) try: for ele in second: first.remove(ele) except: return False return True print mutations(["hello","heel"]) print mutations(["Alien","line"])
16.388889
37
0.691525
44
295
4.522727
0.522727
0.226131
0.100503
0
0
0
0
0
0
0
0
0.015873
0.145763
295
17
38
17.352941
0.77381
0
0
0
0
0
0.061017
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
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
1
0
0
0
0
0
0
0
0
2
c3a46a64223b4d7935b2ce93b83a5ab0a1585a6c
54
py
Python
lang/py/cookbook/v2/source/cb2_6_0_exm_14.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_6_0_exm_14.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_6_0_exm_14.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
Someclass = type('Someclass', (Somebase,), {'x': 23})
27
53
0.611111
6
54
5.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.041667
0.111111
54
1
54
54
0.645833
0
0
0
0
0
0.185185
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
c3a5e021cbcc85ebb4f94bf78689f3053c0f3211
243
py
Python
PycharmProjects/pythonexercicios/aula014/ex064.py
zmixtv1/cev-Python
edce04f86d943d9af070bf3c5e89575ff796ec9e
[ "MIT" ]
null
null
null
PycharmProjects/pythonexercicios/aula014/ex064.py
zmixtv1/cev-Python
edce04f86d943d9af070bf3c5e89575ff796ec9e
[ "MIT" ]
null
null
null
PycharmProjects/pythonexercicios/aula014/ex064.py
zmixtv1/cev-Python
edce04f86d943d9af070bf3c5e89575ff796ec9e
[ "MIT" ]
null
null
null
n1 = int(input("digite um valor: [999 para parar] ")) cont = 0 soma = n1 while n1 != 999: soma += n1 cont += 1 n1 = int(input("Digite um valor: ")) print("Você digitou {} numeros e a soma entre eles foi de {}!".format(cont, soma))
27
82
0.604938
40
243
3.675
0.625
0.068027
0.136054
0.217687
0.312925
0.312925
0
0
0
0
0
0.069519
0.230453
243
8
83
30.375
0.716578
0
0
0
0
0
0.432099
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
c3b124b23b6ac439915246f3ba91242c0ab87d5c
1,927
py
Python
PythonStuff/hi.py
FlightDev/YSPA
5226712ebf305e7a3c686c43c996517a617f748b
[ "MIT" ]
null
null
null
PythonStuff/hi.py
FlightDev/YSPA
5226712ebf305e7a3c686c43c996517a617f748b
[ "MIT" ]
null
null
null
PythonStuff/hi.py
FlightDev/YSPA
5226712ebf305e7a3c686c43c996517a617f748b
[ "MIT" ]
null
null
null
JDs = [] RAs = [] Decs = [] file = open("data.txt", 'r') data = [] for line in file: datum = line.split("\t") JDs.append(float(datum[0])) RAs.append(float(datum[1])) Decs.append(float(datum[2][:-1])) """ import matplotlib.pyplot as plt JDs = [2458281.856678, 2458281.857743, 2458281.85880...
52.081081
311
0.708874
291
1,927
4.642612
0.56701
0.029608
0.035529
0.03997
0.046632
0.032568
0
0
0
0
0
0.585207
0.122989
1,927
37
312
52.081081
0.214201
0
0
0
0
0
0.050459
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
c3c4b445db1b4b18e57fba0843364a7e6f3beaa4
976
py
Python
timefred/dikt/diktutils.py
giladbarnea/timefred
36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60
[ "MIT" ]
null
null
null
timefred/dikt/diktutils.py
giladbarnea/timefred
36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60
[ "MIT" ]
null
null
null
timefred/dikt/diktutils.py
giladbarnea/timefred
36cc8b0f09d38c0ed7b3e659ce337a75cd8b0c60
[ "MIT" ]
null
null
null
from typing import Union, Any, Type _builtin_scalars = frozenset({str, bytes, bytearray, int, float, complex, bool, type(None)}) def gettype(x: Union[type, Type[Any]]) -> type: if type(x) is type: # This includes gettype(type) and gettype(dict) return x # gettype...
23.804878
80
0.617828
134
976
4.335821
0.335821
0.034423
0.154905
0.041308
0.196213
0.137694
0.137694
0.137694
0.137694
0
0
0
0.256148
976
40
81
24.4
0.800275
0.290984
0
0
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0.052632
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
1
0
0
0
0
1
0
0
2
c3d8adaeda7653cb1a90e7bcead87cfd601b12da
853
py
Python
src/Time.py
oskart20/PythonServer-lifty
3e30ac4e8d2415681626646ccdc20cac863e310c
[ "MIT" ]
1
2019-04-14T14:33:00.000Z
2019-04-14T14:33:00.000Z
src/Time.py
oskart20/PythonServer-lifty
3e30ac4e8d2415681626646ccdc20cac863e310c
[ "MIT" ]
null
null
null
src/Time.py
oskart20/PythonServer-lifty
3e30ac4e8d2415681626646ccdc20cac863e310c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import datetime import logging logger_6 = logging.getLogger('PythonServer.Time') def time_for_timedelta(time): new_time = (datetime.datetime.min + time).time() return new_time def datetime_for_time(time): new_time = (datetime.datetime.combine(datetime.date(1, 1, 1),...
22.447368
69
0.720985
131
853
4.519084
0.343511
0.08277
0.070946
0.081081
0.158784
0
0
0
0
0
0
0.006812
0.139508
853
38
70
22.447368
0.799728
0.103165
0
0.136364
0
0
0.032938
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.045455
0.681818
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
c3e23393620a800bd22e9d3452a90377c68df089
216
py
Python
ex29.py
eng-lenin/Python
6038f052b8343878760ed133dd43869927e39b3d
[ "MIT" ]
1
2021-01-30T14:50:55.000Z
2021-01-30T14:50:55.000Z
ex29.py
eng-lenin/Python
6038f052b8343878760ed133dd43869927e39b3d
[ "MIT" ]
null
null
null
ex29.py
eng-lenin/Python
6038f052b8343878760ed133dd43869927e39b3d
[ "MIT" ]
null
null
null
v=float(input('A qual velocidade (km/h) está o carro? ')) if v<= 80: print('Abaixo do limite, obrigado! ') else: print('Você está acima do limite, você deve pagar uma multa de R$ {:.2f}!' .format((v-80)*7))
30.857143
97
0.634259
38
216
3.605263
0.789474
0.043796
0
0
0
0
0
0
0
0
0
0.034091
0.185185
216
6
98
36
0.744318
0
0
0
0
0
0.618605
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7f17d586efcd9507ea3b23d3a3643661b8e2a4e3
2,265
py
Python
alembic/versions/178e9c208218_.py
xtao/vilya
39afda324bcfe9eefe7d813381d5b1627ba00ae5
[ "BSD-3-Clause" ]
2
2015-01-15T09:10:57.000Z
2015-01-15T09:55:10.000Z
alembic/versions/178e9c208218_.py
xtao/vilya
39afda324bcfe9eefe7d813381d5b1627ba00ae5
[ "BSD-3-Clause" ]
null
null
null
alembic/versions/178e9c208218_.py
xtao/vilya
39afda324bcfe9eefe7d813381d5b1627ba00ae5
[ "BSD-3-Clause" ]
null
null
null
"""empty message Revision ID: 178e9c208218 Revises: 5998e9ee193 Create Date: 2014-11-16 19:09:06.666542 """ # revision identifiers, used by Alembic. revision = '178e9c208218' down_revision = '5998e9ee193' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - pl...
38.389831
77
0.686093
298
2,265
5.100671
0.251678
0.126316
0.202632
0.263158
0.679605
0.6625
0.632895
0.613816
0.526316
0.420395
0
0.037359
0.137307
2,265
58
78
39.051724
0.740532
0.128035
0
0.25
0
0
0.176622
0
0
0
0
0
0
1
0.05
false
0
0.05
0
0.1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7f1ce93eb440ce425b0855de18b6a52b32d83bda
688
py
Python
examples/euler_2d/grid_initializer.py
Ruzzyy/anysim
6bc590056754e7dc89a1078ab4c41823075088d2
[ "MIT" ]
4
2019-05-13T11:51:27.000Z
2019-09-25T15:18:03.000Z
examples/euler_2d/grid_initializer.py
Ruzzyy/anysim
6bc590056754e7dc89a1078ab4c41823075088d2
[ "MIT" ]
null
null
null
examples/euler_2d/grid_initializer.py
Ruzzyy/anysim
6bc590056754e7dc89a1078ab4c41823075088d2
[ "MIT" ]
3
2019-06-08T12:46:13.000Z
2020-01-09T10:35:22.000Z
from anysim_py import * x_0 = 1.0 y_0 = 1.5 for cell_id in range (topology.get_cells_count ()): if geometry.get_cell_center_x (cell_id) < x_0: fields["rho"][cell_id] = 1.0 fields["p"][cell_id] = 1.0 fields["u"][cell_id] = 0.0 fields["v"][cell_id] = 0.0 else: if geometry...
29.913043
54
0.510174
115
688
2.808696
0.243478
0.278638
0.195046
0.148607
0.696594
0.547988
0.547988
0.547988
0.547988
0.547988
0
0.07234
0.31686
688
22
55
31.272727
0.614894
0
0
0.6
0
0
0.026163
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
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
614252f9d56b5baa9a7b131316ccedbd8d3dbb4a
637
py
Python
module1/task3.py
teslaistra/PythonTasksForITAM
0fc5c7b0ff11ae7c364187e2fffbee935ecbaaf2
[ "MIT" ]
1
2022-01-10T07:21:39.000Z
2022-01-10T07:21:39.000Z
module1/task3.py
teslaistra/PythonTasksForITAM
0fc5c7b0ff11ae7c364187e2fffbee935ecbaaf2
[ "MIT" ]
null
null
null
module1/task3.py
teslaistra/PythonTasksForITAM
0fc5c7b0ff11ae7c364187e2fffbee935ecbaaf2
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # подсказка: тут надо погуглить методы pop, index, extend, insert # пример гугл запроса: python pop list # есть список животных в зоопарке zoo = ['lion', 'kangaroo', 'elephant', 'monkey', ] # TODO посадите медведя (bear) между львом и кенгуру # и выведите список на кон...
25.48
78
0.729984
91
637
5.10989
0.736264
0.077419
0.096774
0.109677
0.180645
0.180645
0
0
0
0
0
0.001927
0.185243
637
24
79
26.541667
0.894027
0.863422
0
0
0
0
0.351351
0
0
0
0
0.041667
0
1
0
false
0
0
0
0
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
1
0
0
0
0
0
0
0
0
0
0
2
614a784b21f0e47a46d44318d8132068954b427e
2,595
py
Python
imapfw/actions/unittests.py
paralax/imapfw
740a4fed1a1de28e4134a115a1dd9c6e90e29ec1
[ "MIT" ]
492
2015-10-12T18:18:48.000Z
2022-02-14T11:46:46.000Z
imapfw/actions/unittests.py
paralax/imapfw
740a4fed1a1de28e4134a115a1dd9c6e90e29ec1
[ "MIT" ]
21
2015-11-10T00:49:07.000Z
2021-12-30T07:51:25.000Z
imapfw/actions/unittests.py
paralax/imapfw
740a4fed1a1de28e4134a115a1dd9c6e90e29ec1
[ "MIT" ]
40
2015-10-15T13:27:31.000Z
2021-12-30T07:52:24.000Z
# The MIT License (MIT). # Copyright (c) 2015, Nicolas Sebrecht & contributors. from imapfw.interface import implements, checkInterfaces from imapfw.conf import Parser from .interface import ActionInterface # Annotations. from imapfw.annotation import ExceptionClass @checkInterfaces() @implements(ActionInterface) ...
36.041667
79
0.72447
261
2,595
7.114943
0.321839
0.077544
0.112009
0.168013
0.282714
0
0
0
0
0
0
0.002861
0.191908
2,595
71
80
36.549296
0.88269
0.055491
0
0.040816
0
0
0.015561
0
0
0
0
0
0
1
0.102041
false
0
0.326531
0.020408
0.510204
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
614f64eed672024b79c76d390fd31ab4e15367ca
118
py
Python
PythonTKinter/HelloWord.py
M3nin0/ProgrammingMyVacation
6968c39caa63cdd82df34ca1aea66521c1ff0f1b
[ "Apache-2.0" ]
null
null
null
PythonTKinter/HelloWord.py
M3nin0/ProgrammingMyVacation
6968c39caa63cdd82df34ca1aea66521c1ff0f1b
[ "Apache-2.0" ]
null
null
null
PythonTKinter/HelloWord.py
M3nin0/ProgrammingMyVacation
6968c39caa63cdd82df34ca1aea66521c1ff0f1b
[ "Apache-2.0" ]
null
null
null
from tkinter import * janela = Tk() Label(janela, text="Ola mundo com interface grafica").pack() janela.mainloop()
14.75
60
0.720339
16
118
5.3125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.144068
118
7
61
16.857143
0.841584
0
0
0
0
0
0.262712
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
61526a179dd4c5b5a65b9ebfc991253615c1c9af
843
py
Python
api_v1/tests/test_models.py
mrkiura/yolo
4f739b54ac6a44b83f86270bb0d728b920794ce5
[ "Unlicense", "MIT" ]
3
2016-12-13T10:14:51.000Z
2019-04-22T11:11:32.000Z
api_v1/tests/test_models.py
mrkiura/yolo
4f739b54ac6a44b83f86270bb0d728b920794ce5
[ "Unlicense", "MIT" ]
6
2016-06-10T12:37:48.000Z
2016-06-21T05:47:23.000Z
api_v1/tests/test_models.py
mrkiura/yolo
4f739b54ac6a44b83f86270bb0d728b920794ce5
[ "Unlicense", "MIT" ]
1
2016-09-14T18:42:13.000Z
2016-09-14T18:42:13.000Z
from django.db import models from django.test import TestCase from factories import UserFactory, BucketlistFactory, BucketlistItemFactory class UserModelTest(TestCase): def setUp(self): self.user = UserFactory.create(username='kiura') def test_user_creation(self): user = UserFactory.create(...
29.068966
75
0.734282
93
843
6.548387
0.333333
0.065681
0.078818
0.098522
0.308703
0
0
0
0
0
0
0
0.164887
843
28
76
30.107143
0.865057
0
0
0.157895
0
0
0.055819
0
0
0
0
0
0.157895
1
0.315789
false
0
0.157895
0
0.631579
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
6154e6e5f3741da1515e451470c33863b67c5a95
2,453
py
Python
ggacha/item.py
wmyfelix/genshin-gacha-kit
1828004ae2807b4f99b6b879545f344b60b01013
[ "MIT" ]
3
2021-06-21T04:21:46.000Z
2021-08-10T22:28:33.000Z
ggacha/item.py
wmyfelix/genshin-gacha-kit
1828004ae2807b4f99b6b879545f344b60b01013
[ "MIT" ]
1
2021-07-27T14:28:49.000Z
2022-02-21T16:15:19.000Z
ggacha/item.py
wmyfelix/genshin-gacha-kit
1828004ae2807b4f99b6b879545f344b60b01013
[ "MIT" ]
1
2021-07-29T12:40:14.000Z
2021-07-29T12:40:14.000Z
# class Item: # """角色和武器的工具类。""" # # # items == [{"item_id":"1022","name":"温迪","item_type":"角色","rank_type":"5"}, ...] # items = http_get_json( # url='https://webstatic.mihoyo.com/hk4e/gacha_info/cn_gf01/items/zh-cn.json' # ) # # # ###########################################################...
33.148649
87
0.398288
213
2,453
4.502347
0.356808
0.058394
0.050052
0.040667
0.419187
0.419187
0.312826
0.254432
0.254432
0.254432
0
0.010229
0.322462
2,453
73
88
33.60274
0.566787
0.807583
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
61554c110af8beac3d6fe3a418cd6ef5cf1b047a
506
py
Python
recbole/model/sequential_recommender/coserec.py
mengruwu/RecBole
251fb3478a35b061a2a411d598e8c716b94133c1
[ "MIT" ]
null
null
null
recbole/model/sequential_recommender/coserec.py
mengruwu/RecBole
251fb3478a35b061a2a411d598e8c716b94133c1
[ "MIT" ]
null
null
null
recbole/model/sequential_recommender/coserec.py
mengruwu/RecBole
251fb3478a35b061a2a411d598e8c716b94133c1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 2020/9/18 11:33 # @Author : Hui Wang # @Email : hui.wang@ruc.edu.cn """ SASRec ################################################ Reference: Wang-Cheng Kang et al. "Self-Attentive Sequential Recommendation." in ICDM 2018. Reference: https://github.com/kang205/SASRec """...
21.083333
84
0.616601
60
506
5.05
0.766667
0.046205
0
0
0
0
0
0
0
0
0
0.051887
0.162055
506
23
85
22
0.662736
0.598814
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
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
1
0
0
0
0
1
0
0
2
61634c5d28ec0e5fa95553fd25e04a02267c3a23
301
py
Python
common/src/stack/command/stack/commands/report/system/tests/test_df.py
khanfluence/stacki-cumulus-switch
df54afb20f6ea6a3a136b3c09b30df54ea79ffcc
[ "BSD-3-Clause" ]
123
2015-05-12T23:36:45.000Z
2017-07-05T23:26:57.000Z
common/src/stack/command/stack/commands/report/system/tests/test_df.py
khanfluence/stacki-cumulus-switch
df54afb20f6ea6a3a136b3c09b30df54ea79ffcc
[ "BSD-3-Clause" ]
177
2015-06-05T19:17:47.000Z
2017-07-07T17:57:24.000Z
common/src/stack/command/stack/commands/report/system/tests/test_df.py
khanfluence/stacki-cumulus-switch
df54afb20f6ea6a3a136b3c09b30df54ea79ffcc
[ "BSD-3-Clause" ]
32
2015-06-07T02:25:03.000Z
2017-06-23T07:35:35.000Z
import shutil def test_slash_not_full(host): total, used, free = shutil.disk_usage('/') assert free > 0 def test_export_not_full(host): total, used, free = shutil.disk_usage('/export') assert free > 0 def test_var_not_full(host): total, used, free = shutil.disk_usage('/var') assert free > 0
21.5
49
0.724252
49
301
4.204082
0.346939
0.101942
0.160194
0.23301
0.742718
0.567961
0.567961
0.567961
0.567961
0
0
0.011673
0.146179
301
13
50
23.153846
0.789883
0
0
0.3
0
0
0.039867
0
0
0
0
0
0.3
1
0.3
false
0
0.1
0
0.4
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
1
0
0
0
0
0
0
0
2
616a739668994a5946257c047aa9b7976b970b06
456
py
Python
src/core/settings/drf.py
SELO77/django_template
7686ffc3ea0f5eba355702426a94c98a7f71086d
[ "BSD-2-Clause" ]
null
null
null
src/core/settings/drf.py
SELO77/django_template
7686ffc3ea0f5eba355702426a94c98a7f71086d
[ "BSD-2-Clause" ]
null
null
null
src/core/settings/drf.py
SELO77/django_template
7686ffc3ea0f5eba355702426a94c98a7f71086d
[ "BSD-2-Clause" ]
null
null
null
REST_FRAMEWORK = { 'DEFAULT_PERMISSION_CLASSES': ( 'rest_framework.permissions.AllowAny', ), 'DEFAULT_THROTTLE_CLASSES': ( 'rest_framework.throttling.AnonRateThrottle', 'rest_framework.throttling.UserRateThrottle', 'core.throttling.PreSingUpThrottle', ), 'DEFAULT_THRO...
26.823529
53
0.620614
39
456
7
0.666667
0.190476
0.14652
0
0
0
0
0
0
0
0
0.014327
0.234649
456
17
54
26.823529
0.767908
0
0
0.125
0
0
0.612691
0.490153
0
0
0
0
0
1
0
false
0
0
0
0
0.0625
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
6198438a50eea685cb2143288d75dfde992efd74
273
py
Python
front_end/django-project/cyder/urls.py
Jonathan56/CyDER
58cc88f5140585b6d4d9073eca29e3d3b324eb5e
[ "BSD-3-Clause-LBNL" ]
10
2017-05-03T18:00:49.000Z
2021-07-25T03:09:32.000Z
front_end/django-project/cyder/urls.py
Jonathan56/CyDER
58cc88f5140585b6d4d9073eca29e3d3b324eb5e
[ "BSD-3-Clause-LBNL" ]
null
null
null
front_end/django-project/cyder/urls.py
Jonathan56/CyDER
58cc88f5140585b6d4d9073eca29e3d3b324eb5e
[ "BSD-3-Clause-LBNL" ]
2
2018-02-12T17:14:15.000Z
2021-02-02T02:12:27.000Z
from django.urls import path, include urlpatterns = [ path('model_viewer/', include('cyder.models.urls')), path('projects/', include('cyder.projects.urls')), path('api/', include('cyder.api.urls', namespace='api')), path('', include('cyder.main.urls')), ]
30.333333
61
0.652015
33
273
5.363636
0.454545
0.271186
0
0
0
0
0
0
0
0
0
0
0.128205
273
8
62
34.125
0.743697
0
0
0
0
0
0.344322
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
61a3ed8c8f681309c585aa2c83621f052b9174bd
127
py
Python
backend/db.py
Dr-Irina/hac_front
bf1cbc6a23ab799ccaa8cdbbb3372c4812a31ed7
[ "MIT" ]
1
2019-06-24T03:49:40.000Z
2019-06-24T03:49:40.000Z
backend/db.py
DWhistle/VisionLabsHackathon
34feddbc2d076921d22aa1c9260250e190b03aec
[ "MIT" ]
2
2021-03-09T08:28:43.000Z
2021-05-09T05:37:55.000Z
backend/db.py
DWhistle/VisionLabsHackathon
34feddbc2d076921d22aa1c9260250e190b03aec
[ "MIT" ]
null
null
null
import sqlite3 db = sqlite3.connect("database.db") cursor = db.cursor() cursor.execute("CREATE TABLE model (VARCHAR models)")
21.166667
53
0.748031
17
127
5.588235
0.705882
0.168421
0
0
0
0
0
0
0
0
0
0.017699
0.110236
127
6
53
21.166667
0.823009
0
0
0
0
0
0.359375
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
61b4b08078de62e176f62f45f211959e7d5273f3
853
py
Python
solutions/numbers/calculator.py
TheAtomicGoose/karan
60222165ad46fe1afc08e631c3171f63ef52b79d
[ "MIT" ]
null
null
null
solutions/numbers/calculator.py
TheAtomicGoose/karan
60222165ad46fe1afc08e631c3171f63ef52b79d
[ "MIT" ]
null
null
null
solutions/numbers/calculator.py
TheAtomicGoose/karan
60222165ad46fe1afc08e631c3171f63ef52b79d
[ "MIT" ]
1
2018-03-25T05:57:57.000Z
2018-03-25T05:57:57.000Z
""" Written by Jesse Evers A basic calculator. """ # Adds x and y def add(x, y): return x + y # Subtracts y from x def subtract(x, y): return x - y # Multiplies x by y def multiply(x, y): return x * y # Divides x by y def divide(x, y): return x / y # Raises x to the y def exponent(x, y): r...
17.770833
56
0.531067
115
853
3.93913
0.365217
0.04415
0.0883
0.07947
0.1766
0
0
0
0
0
0
0.024096
0.318875
853
48
57
17.770833
0.755594
0.148886
0
0
0
0
0.14965
0
0
0
0
0
0
1
0.24
false
0
0
0.2
0.48
0.08
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
61b4d450e641be9b9611606821aba4d81cf19843
20,328
py
Python
minesweeper_tools/WebMinerAnalyzer.py
stg-tud/minesweeper
86c55c4f391a00b3f846ba552bb82c5b497c580a
[ "Apache-2.0" ]
26
2018-11-09T08:48:13.000Z
2021-12-01T07:48:16.000Z
minesweeper_tools/WebMinerAnalyzer.py
stg-tud/minesweeper
86c55c4f391a00b3f846ba552bb82c5b497c580a
[ "Apache-2.0" ]
null
null
null
minesweeper_tools/WebMinerAnalyzer.py
stg-tud/minesweeper
86c55c4f391a00b3f846ba552bb82c5b497c580a
[ "Apache-2.0" ]
13
2018-11-12T12:50:07.000Z
2022-03-22T15:04:27.000Z
#!/usr/bin/env python # python WebMinerAnalyzer.py www.mejortorrent.org ./data 10 import requests import json import sys import os import subprocess import time import json import re import time as t import shutil import datetime import magic import run_web import util import pdb fil = ['chatbro','tidio.co', 'getcou...
38.427221
2,817
0.614719
2,919
20,328
4.158959
0.211374
0.018781
0.030478
0.036573
0.310956
0.260379
0.228254
0.207166
0.19168
0.184267
0
0.015786
0.143005
20,328
528
2,818
38.5
0.681075
0.047422
0
0.272959
0
0.066327
0.45145
0.180895
0
0
0
0
0
0
null
null
0.002551
0.038265
null
null
0.086735
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
f60485e76e2fa9c06d5985218438d81b933efc5e
1,372
py
Python
day01.py
gugeniubi/pythonjoker
1256e03d85706040480f8e14d0fd1b82067db689
[ "Apache-2.0" ]
null
null
null
day01.py
gugeniubi/pythonjoker
1256e03d85706040480f8e14d0fd1b82067db689
[ "Apache-2.0" ]
null
null
null
day01.py
gugeniubi/pythonjoker
1256e03d85706040480f8e14d0fd1b82067db689
[ "Apache-2.0" ]
null
null
null
#1.温度转换 # C = float (input('请输入摄氏温度:')) # F = (9 /5) * C + 32 # print('%.2f 华氏度' %F) #2.计算圆柱体的体积 #area:面积 radius:半径 volume:体积 length:高 π=3.14 #radius=float(input('请您输入圆柱体的半径:')) #length=float(input('请您输入圆柱体的高:')) #area= radius * length * 3.14 #print('圆柱体的面积为: %0.4f' %area) #volume= area * length #pri...
21.4375
56
0.567784
213
1,372
3.657277
0.450704
0.141207
0.053915
0
0
0
0
0
0
0
0
0.092186
0.169825
1,372
63
57
21.777778
0.591747
0.870262
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
f60fc9552996ef7df081aa8b9626dbf47805b27b
258
py
Python
modules/test.py
Blackfoot50115/Password_Generator
2e99708fae5a3cc91702b68497e4520a558481b3
[ "MIT" ]
null
null
null
modules/test.py
Blackfoot50115/Password_Generator
2e99708fae5a3cc91702b68497e4520a558481b3
[ "MIT" ]
7
2019-05-09T04:17:51.000Z
2019-05-16T00:38:55.000Z
modules/test.py
Blackfoot50115/Password_Generator
2e99708fae5a3cc91702b68497e4520a558481b3
[ "MIT" ]
1
2019-05-07T12:15:55.000Z
2019-05-07T12:15:55.000Z
import unittest import Export_To_File import gen_rand_password class ExportToFileTestCase(unittest.TestCase): def test_append_file(self): pass def test_gen_rand_password(self): pass if __name__ == '__main__': unittest.main()
16.125
46
0.728682
32
258
5.34375
0.59375
0.081871
0.175439
0
0
0
0
0
0
0
0
0
0.20155
258
15
47
17.2
0.830097
0
0
0.2
0
0
0.031008
0
0
0
0
0
0
1
0.2
false
0.4
0.3
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
1
0
0
1
0
0
2
f61ea36a80ff949ca3af1089782d87beac3f347c
387
py
Python
ml_algorithms/linear_model/__init__.py
f4str/neural-networks-sandbox
d771cf8f62fe33c1fcab614ad250af6d0ef30a23
[ "MIT" ]
null
null
null
ml_algorithms/linear_model/__init__.py
f4str/neural-networks-sandbox
d771cf8f62fe33c1fcab614ad250af6d0ef30a23
[ "MIT" ]
8
2021-06-30T03:36:44.000Z
2021-09-28T23:11:14.000Z
ml_algorithms/linear_model/__init__.py
f4str/neural-networks-sandbox
d771cf8f62fe33c1fcab614ad250af6d0ef30a23
[ "MIT" ]
1
2021-04-04T23:09:31.000Z
2021-04-04T23:09:31.000Z
from .elasticnet_regression import ElasticNetRegression from .lasso_regression import LassoRegression from .linear_regression import LinearRegression from .logistic_regression import LogisticRegression from .ridge_regression import RidgeRegression __all__ = [ 'ElasticNetRegression', 'LassoRegression', 'Lin...
27.642857
55
0.81137
31
387
9.83871
0.451613
0.262295
0
0
0
0
0
0
0
0
0
0
0.129199
387
13
56
29.769231
0.905045
0
0
0
0
0
0.217054
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
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
1
0
0
0
0
2
f624a3b08dbe23f4cc9dd7e3eb52a25e697add1f
13,281
py
Python
SeenAPI.py
dxmahata/pySeen
5cf9dbd33e4fce66de7d27af5c2b29d148c6359e
[ "Apache-2.0" ]
1
2016-06-07T14:22:12.000Z
2016-06-07T14:22:12.000Z
SeenAPI.py
dxmahata/pySeen
5cf9dbd33e4fce66de7d27af5c2b29d148c6359e
[ "Apache-2.0" ]
null
null
null
SeenAPI.py
dxmahata/pySeen
5cf9dbd33e4fce66de7d27af5c2b29d148c6359e
[ "Apache-2.0" ]
null
null
null
''' Created on Dec 10, 2014 @author: Dxmahata ''' __author__ = "Debanjan Mahata" import requests import sys import json API_REQUEST_COUNT = 0 #Base Url for calling Seen API BASE_URL = "http://api.seen.co/v0.1" #Setting up the endpoints ENDPOINTS = {} #setting up events endpoint ENDPOINTS["events"] = {} #setting ...
33.622785
410
0.649575
1,790
13,281
4.743575
0.196089
0.033918
0.040631
0.025439
0.494053
0.487575
0.480744
0.480744
0.460959
0.460959
0
0.018223
0.239741
13,281
394
411
33.708122
0.82272
0.036067
0
0.702564
0
0.020513
0.190686
0.003078
0
0
0
0
0
0
null
null
0
0.015385
null
null
0.148718
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
f629e22842baa9b9e544f6bc70c6cffc9be541af
57
py
Python
groups/__init__.py
ThomasJunk/ToDo
222a94c7d9e95f42333fbab303243a1b6b8d6810
[ "MIT" ]
null
null
null
groups/__init__.py
ThomasJunk/ToDo
222a94c7d9e95f42333fbab303243a1b6b8d6810
[ "MIT" ]
2
2021-07-17T14:51:10.000Z
2021-07-17T14:51:11.000Z
groups/__init__.py
ThomasJunk/ToDo
222a94c7d9e95f42333fbab303243a1b6b8d6810
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: MIT default_groups = ["user"]
19
30
0.736842
7
57
5.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
57
2
31
28.5
0.803922
0.491228
0
0
0
0
0.148148
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
f644aba561ae3d5fafa3e422d691f77a18559858
3,594
py
Python
util/Stacker.py
demetoir/ALLGANS
2f972db5e9a65f18aee0695d817f4acc221e54da
[ "MIT" ]
11
2018-01-25T15:31:54.000Z
2019-12-17T06:12:57.000Z
util/Stacker.py
demetoir/ALLGANs
2f972db5e9a65f18aee0695d817f4acc221e54da
[ "MIT" ]
19
2018-01-29T16:12:09.000Z
2018-02-15T15:56:48.000Z
util/Stacker.py
demetoir/ALLGANs
2f972db5e9a65f18aee0695d817f4acc221e54da
[ "MIT" ]
2
2018-02-06T00:31:55.000Z
2018-02-19T15:29:10.000Z
from util.tensor_ops import * class Stacker: """help easily make graph model by stacking layer and naming for tensorflow ex) stacker = Stacker(input_) stacker.add_layer(conv2d, 64, CONV_FILTER_5522) stacker.add_layer(bn) stacker.add_layer(lrelu) stacker.add_layer(conv2d, 128,...
32.378378
83
0.628548
448
3,594
4.808036
0.203125
0.092851
0.104457
0.125348
0.390436
0.312906
0.212163
0.090529
0.090529
0.090529
0
0.014925
0.272955
3,594
110
84
32.672727
0.809414
0.301057
0
0
0
0
0.005952
0
0
0
0
0
0
1
0.369565
false
0.021739
0.021739
0
0.76087
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
f65616e8ab785eb5bbe6be4380ea358255ea489d
323
py
Python
test/normalizer_issue_files/E21.py
bryanforbes/parso
93206f6eba3fe29a200c328c11535e58c56e9635
[ "PSF-2.0" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
test/normalizer_issue_files/E21.py
bryanforbes/parso
93206f6eba3fe29a200c328c11535e58c56e9635
[ "PSF-2.0" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
test/normalizer_issue_files/E21.py
bryanforbes/parso
93206f6eba3fe29a200c328c11535e58c56e9635
[ "PSF-2.0" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
#: E211:4 spam (1) #: E211:4 E211:19 dict ['key'] = list [index] #: E211:11 dict['key'] ['subkey'] = list[index] # Okay spam(1) dict['key'] = list[index] # This is not prohibited by PEP8, but avoid it. # Dave: I think this is extremely stupid. Use the same convention everywhere. #: E211:9 class Foo (Bar, Baz): pa...
19
77
0.647059
54
323
3.87037
0.685185
0.100478
0.105263
0.15311
0
0
0
0
0
0
0
0.095057
0.185759
323
16
78
20.1875
0.69962
0.520124
0
0.571429
0
0
0.101351
0
0
0
0
0
0
1
0
true
0.142857
0
0
0.142857
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
f6771eb1bdef0d5a9fe61445482e89e720f0f91d
522
py
Python
sources/deepzoom/large_image_source_deepzoom/girder_source.py
naglepuff/large_image
4e928166f228fe894c38e4b01af5370e72f7229c
[ "Apache-2.0" ]
85
2017-03-10T09:48:17.000Z
2022-03-31T18:55:58.000Z
sources/deepzoom/large_image_source_deepzoom/girder_source.py
naglepuff/large_image
4e928166f228fe894c38e4b01af5370e72f7229c
[ "Apache-2.0" ]
248
2017-01-27T16:11:13.000Z
2022-03-31T14:05:18.000Z
sources/deepzoom/large_image_source_deepzoom/girder_source.py
naglepuff/large_image
4e928166f228fe894c38e4b01af5370e72f7229c
[ "Apache-2.0" ]
33
2017-03-10T14:06:35.000Z
2022-03-19T08:32:06.000Z
# -*- coding: utf-8 -*- from girder_large_image.girder_tilesource import GirderTileSource from . import DeepzoomFileTileSource class DeepzoomGirderTileSource(DeepzoomFileTileSource, GirderTileSource): """ Deepzoom large_image tile source for Girder. Provides tile access to Girder items with a Deepzoom ...
24.857143
76
0.741379
58
522
6.586207
0.724138
0.052356
0
0
0
0
0
0
0
0
0
0.002381
0.195402
522
20
77
26.1
0.907143
0.423372
0
0
0
0
0.065934
0
0
0
0
0
0
1
0
false
0
0.333333
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
9c9c1b01207c7561b9e6a131ab0ef5cd461c221f
635
py
Python
hood/forms.py
magechaP/WayaHoodie
3138f72bee9e6326390ed808da7958a96019b2f4
[ "MIT" ]
null
null
null
hood/forms.py
magechaP/WayaHoodie
3138f72bee9e6326390ed808da7958a96019b2f4
[ "MIT" ]
4
2020-06-05T22:58:00.000Z
2021-09-08T01:17:04.000Z
hood/forms.py
magechaP/WayaHoodie
3138f72bee9e6326390ed808da7958a96019b2f4
[ "MIT" ]
null
null
null
from django import forms from .models import Profile,Post,Neighbourhood,Business from django.contrib.auth.models import User class UpdateProfileForm(forms.ModelForm): class Meta: model = Profile exclude = ['user','neighbourhood'] class NewHoodForm(forms.ModelForm): class Meta: model ...
25.4
56
0.677165
68
635
6.264706
0.411765
0.131455
0.178404
0.215962
0.262911
0
0
0
0
0
0
0
0.214173
635
25
57
25.4
0.853707
0
0
0.210526
0
0
0.122642
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.578947
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
9ca89f63a6d302d06960f1d3111151094f3756f2
218
py
Python
Bioinformatics Stronghold/Global Alignment with Scoring Matrix.py
Vinay-Vinod/Rosalind
6818a38d1378a55e84e9f75636bacce2c274d24c
[ "MIT" ]
null
null
null
Bioinformatics Stronghold/Global Alignment with Scoring Matrix.py
Vinay-Vinod/Rosalind
6818a38d1378a55e84e9f75636bacce2c274d24c
[ "MIT" ]
null
null
null
Bioinformatics Stronghold/Global Alignment with Scoring Matrix.py
Vinay-Vinod/Rosalind
6818a38d1378a55e84e9f75636bacce2c274d24c
[ "MIT" ]
null
null
null
from Bio import pairwise2 from Bio import SeqIO from Bio.SubsMat.MatrixInfo import blosum62 s = 'PLEASANTLY' t = 'MEANLY' a = pairwise2.align.globalds(s, t, blosum62, -5, -5) print(pairwise2.format_alignment(*a[0]))
21.8
52
0.747706
33
218
4.909091
0.606061
0.12963
0.160494
0
0
0
0
0
0
0
0
0.052632
0.12844
218
9
53
24.222222
0.8
0
0
0
0
0
0.073395
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.142857
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
9cbd3addb82fc2785f1af32671b0ecfb8f84bd9d
1,974
py
Python
zmon_worker_monitor/adapters/ifunctionfactory_plugin.py
heroldus/zmon-worker
458f8bacb5a00f7fd93d59db406a2c80870519d1
[ "Apache-2.0" ]
17
2016-06-03T14:59:21.000Z
2020-11-06T13:12:18.000Z
zmon_worker_monitor/adapters/ifunctionfactory_plugin.py
heroldus/zmon-worker
458f8bacb5a00f7fd93d59db406a2c80870519d1
[ "Apache-2.0" ]
394
2016-06-03T14:47:37.000Z
2020-04-21T09:31:23.000Z
zmon_worker_monitor/adapters/ifunctionfactory_plugin.py
heroldus/zmon-worker
458f8bacb5a00f7fd93d59db406a2c80870519d1
[ "Apache-2.0" ]
55
2016-08-15T12:42:28.000Z
2021-04-06T10:49:35.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from ibase_plugin import IBasePlugin from abc import ABCMeta, abstractmethod class IFunctionFactoryPlugin(IBasePlugin): """ Base class for all plugins of type Function. We call it Function adapter. """ __metaclass__ = ABCMeta def __init__(self): ...
32.9
118
0.678825
237
1,974
5.413502
0.493671
0.042868
0.032736
0.042089
0.068589
0
0
0
0
0
0
0.014258
0.218338
1,974
59
119
33.457627
0.817239
0.431104
0
0
0
0
0.021891
0
0
0
0
0
0
1
0.227273
false
0
0.090909
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
1
0
0
0
0
1
0
0
2
9cd90bd91ff172e86f44aefdf72ca6e011490a20
458
py
Python
scrapy/python3/mysite/nutrition/urls.py
litteletips/crawling_scraping-scrapy_tool
6d70b4d2a91f2d2bebcc5266ed43ad9be4723bc0
[ "MIT" ]
null
null
null
scrapy/python3/mysite/nutrition/urls.py
litteletips/crawling_scraping-scrapy_tool
6d70b4d2a91f2d2bebcc5266ed43ad9be4723bc0
[ "MIT" ]
16
2021-03-19T09:44:52.000Z
2022-03-12T00:22:14.000Z
scrapy/python3/mysite/nutrition/urls.py
litteletips/crawling_scraping
6d70b4d2a91f2d2bebcc5266ed43ad9be4723bc0
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, url from nutrition import views from django.views.generic import ListView urlpatterns = [ url(r'^nutrition/ITEM/$', views.AddCommentList.as_view()), url(r'^nutrition/ITEM/(?P<pk>[0-9]+)/$', views.AddCommentDetail.as_view()), url(r'^nutrition/item/$', views.ItemList.as_...
35.230769
79
0.707424
65
458
4.923077
0.4
0.05
0.1625
0.2125
0.3625
0.278125
0.20625
0.20625
0.20625
0.20625
0
0.009732
0.10262
458
12
80
38.166667
0.768856
0
0
0
0
0
0.214912
0.140351
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
9cd986f63f2998e03a6a691279dbbb3f5191e30f
413
py
Python
Mundo2/des55.1.py
julimoraislima/Python-CursoEmVideo
d21b0485d2f5767039d819cf743255dfd0f27b18
[ "MIT" ]
2
2021-01-05T12:31:00.000Z
2021-03-20T00:31:18.000Z
Mundo2/des55.1.py
julimoraislima/Python-CursoEmVideo
d21b0485d2f5767039d819cf743255dfd0f27b18
[ "MIT" ]
null
null
null
Mundo2/des55.1.py
julimoraislima/Python-CursoEmVideo
d21b0485d2f5767039d819cf743255dfd0f27b18
[ "MIT" ]
1
2020-12-28T22:56:10.000Z
2020-12-28T22:56:10.000Z
#desafio 55: maior e menor da sequência usando lista [] pessoas = [] #lista vazia for c in range(1, 6): peso = float(input(f'Peso da {c}ª pessoa: ')) pessoas = pessoas + [peso] #lista += [peso] #add os valores de peso na lista print('><'*15) print(f'\33[33m O Maior peso lido foi: {max(pessoas)}') #máximo va...
41.3
82
0.658596
71
413
3.830986
0.577465
0.073529
0.058824
0
0
0
0
0
0
0
0
0.041791
0.188862
413
9
83
45.888889
0.770149
0.372881
0
0
0
0
0.44664
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
0
0
0
1
0
2
9cdbe360a8f667d204259709a219c4ef5ae20b25
627
py
Python
Basics_with_Pytorch/Exam/exam2.py
SoyOscarRH/LearningNeuralNetworks
dd5be94b38b3a0efb3428f76d3416227a92c8265
[ "MIT" ]
3
2020-01-20T19:56:35.000Z
2021-09-24T14:47:33.000Z
Basics_with_Pytorch/Exam/exam2.py
SoyOscarRH/LearningNeuralNetworks
dd5be94b38b3a0efb3428f76d3416227a92c8265
[ "MIT" ]
null
null
null
Basics_with_Pytorch/Exam/exam2.py
SoyOscarRH/LearningNeuralNetworks
dd5be94b38b3a0efb3428f76d3416227a92c8265
[ "MIT" ]
null
null
null
import numpy as np x1 = 1 x2 = 1 def sigm(x): return 1 / (1 + np.exp(-x)) # input a0 = 1 a1 = x1 a2 = x2 # w input - layer 1 w01 = 1 w02 = 0.5 w11 = 1 w12 = 0 w21 = -1 w22 = 0.5 # layer 1 zh1 = (w01 * a0) + (w11 * a1) + (w21 * a2) zh2 = (w02 * a0) + (w12 * a1) + (w22 * a2) print(f"zh1 = {round(zh1, 2)}") print...
13.0625
42
0.511962
126
627
2.547619
0.325397
0.11215
0.043614
0
0
0
0
0
0
0
0
0.209052
0.259968
627
47
43
13.340426
0.482759
0.094099
0
0
0
0
0.213523
0
0
0
0
0
0
1
0.034483
false
0
0.034483
0.034483
0.068966
0.206897
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
9cfcd2e79df18ef7cc3ee64b85571df574a041c2
96
py
Python
python/testData/regexp/notEmptyGroup.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/regexp/notEmptyGroup.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/regexp/notEmptyGroup.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
import re some_re = re.compile(r""" (?P<abc>abc) (?P<name> (?(abc)yes|noo) ) """, re.VERBOSE)
12
25
0.572917
17
96
3.176471
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.135417
96
8
26
12
0.650602
0
0
0
0
0
0.453608
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
140ab4bb1cd8dff6632e6d8cab39ecd830c56b75
887
py
Python
steam_acolyte/theme.py
Zaragata/steam-acolyte
9ddef5bd91ac5161281a90595301db0da1fafe0d
[ "Unlicense" ]
16
2020-04-18T16:07:39.000Z
2022-02-09T20:38:02.000Z
steam_acolyte/theme.py
Zaragata/steam-acolyte
9ddef5bd91ac5161281a90595301db0da1fafe0d
[ "Unlicense" ]
5
2020-09-14T09:42:54.000Z
2021-04-27T09:56:51.000Z
steam_acolyte/theme.py
Zaragata/steam-acolyte
9ddef5bd91ac5161281a90595301db0da1fafe0d
[ "Unlicense" ]
1
2022-02-09T21:41:49.000Z
2022-02-09T21:41:49.000Z
from PyQt5.QtGui import QIcon try: from importlib.resources import read_text, path except ImportError: from importlib_resources import read_text, path import os from types import SimpleNamespace def load_theme(): return SimpleNamespace( window_style = read_text(__package__, 'window.css'), ...
27.71875
60
0.695603
120
887
4.85
0.375
0.109966
0.164948
0.171821
0.137457
0.137457
0.137457
0
0
0
0
0.01273
0.202931
887
31
61
28.612903
0.810467
0
0
0
0
0
0.064262
0
0
0
0
0
0
1
0.130435
false
0
0.26087
0.043478
0.521739
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
140c17ba4afc65f018668bbee8b508f1d484249a
924
py
Python
month04/Django/django6/mysite6/mysite6/views.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
4
2021-01-07T14:25:10.000Z
2021-02-01T10:36:01.000Z
month04/Django/django6/mysite6/mysite6/views.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
month04/Django/django6/mysite6/mysite6/views.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
from django.http import HttpResponse def set_cookies(request): resp = HttpResponse('设置cookies成功') resp.set_cookie('uname', 'aid2010', 60) return resp def get_cookies(request): uname = request.COOKIES.get('uname', 'default value') res = f'uname is {uname}' return HttpResponse(res) def delet...
24.315789
74
0.691558
114
924
5.535088
0.333333
0.110935
0.090333
0.095087
0.095087
0
0
0
0
0
0
0.023936
0.186147
924
37
75
24.972973
0.81516
0
0
0.16
0
0
0.234848
0
0
0
0
0
0
1
0.24
false
0
0.04
0
0.52
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
140f21754d995319df2daa1f16114bc1ac2e49b1
1,276
py
Python
exercises/concept/restaurant-rozalynn/none.py
ryanplusplus/python
6afbd74d3bce8f5f4b77f9bba166f1bed1e74968
[ "MIT" ]
1
2021-09-04T18:42:47.000Z
2021-09-04T18:42:47.000Z
exercises/concept/restaurant-rozalynn/none.py
daliboy/python
ff53de40180d871bb101fe8b084211cef7b10453
[ "MIT" ]
5
2021-11-03T10:20:40.000Z
2022-03-02T10:21:11.000Z
exercises/concept/restaurant-rozalynn/none.py
daliboy/python
ff53de40180d871bb101fe8b084211cef7b10453
[ "MIT" ]
1
2021-09-05T15:33:52.000Z
2021-09-05T15:33:52.000Z
def new_seating_chart(size=22): ''' :param size: int - number if seats in the seating chart. Default is 22. :return: dict - with number of seats specified, and placeholder values. ''' pass def arrange_reservations(guest_list): ''' :param guest_list: list - list of guest names for reserva...
22.385965
75
0.659091
159
1,276
5.194969
0.345912
0.101695
0.067797
0.076271
0.181598
0.099274
0.099274
0
0
0
0
0.00418
0.25
1,276
57
76
22.385965
0.858934
0.64185
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
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
1410a969a161ae8785f9907319a20cbaab2faf50
1,916
py
Python
data/transcoder_evaluation_gfg/python/MINIMUM_TIME_TO_FINISH_TASKS_WITHOUT_SKIPPING_TWO_CONSECUTIVE.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/python/MINIMUM_TIME_TO_FINISH_TASKS_WITHOUT_SKIPPING_TWO_CONSECUTIVE.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/python/MINIMUM_TIME_TO_FINISH_TASKS_WITHOUT_SKIPPING_TWO_CONSECUTIVE.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
# Copyright (c) 2019-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # def f_gold(arr, n): if (n <= 0): return 0 incl = arr[0] excl = 0 for i in range(1, n): incl_new ...
42.577778
118
0.454071
361
1,916
2.351801
0.351801
0.037691
0.042403
0.042403
0.040047
0.034158
0.034158
0.025913
0.025913
0.025913
0
0.343419
0.310021
1,916
44
119
43.545455
0.29879
0.096555
0
0
0
0
0.013929
0
0
0
0
0
0
1
0.029412
false
0
0
0
0.088235
0.029412
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
1416902eab8e3f204c69d39e133b4de7dfd1e516
1,189
py
Python
src/python/grpcio_tests/tests/unit/beta/_connectivity_channel_test.py
samotarnik/grpc
3278bdceda8030d5aa130f12765e5f07263c860d
[ "Apache-2.0" ]
36,552
2015-02-26T17:30:13.000Z
2022-03-31T22:41:33.000Z
src/python/grpcio_tests/tests/unit/beta/_connectivity_channel_test.py
SanjanaSingh897/grpc
2d858866eb95ce5de8ccc8c35189a12733d8ca79
[ "Apache-2.0" ]
23,536
2015-02-26T17:50:56.000Z
2022-03-31T23:39:42.000Z
src/python/grpcio_tests/tests/unit/beta/_connectivity_channel_test.py
SanjanaSingh897/grpc
2d858866eb95ce5de8ccc8c35189a12733d8ca79
[ "Apache-2.0" ]
11,050
2015-02-26T17:22:10.000Z
2022-03-31T10:12:35.000Z
# Copyright 2015 gRPC authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
36.030303
78
0.776283
144
1,189
6.326389
0.618056
0.065862
0.159166
0.263447
0
0
0
0
0
0
0
0.008893
0.148865
1,189
32
79
37.15625
0.891304
0.498738
0
0
0
0
0.013841
0
0
0
0
0
0.454545
1
0.090909
false
0
0.181818
0
0.363636
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
1419fea8415d6994c86ab88a7b541b03c4b88d54
3,323
py
Python
lwb_heartbeat/staff/migrations/0001_initial.py
jayadams011/lwb_heartbeat
6d9b594f317107cd26932485dd8d063e226970fa
[ "MIT" ]
1
2021-03-18T20:55:04.000Z
2021-03-18T20:55:04.000Z
lwb_heartbeat/staff/migrations/0001_initial.py
jayadams011/lwb_heartbeat
6d9b594f317107cd26932485dd8d063e226970fa
[ "MIT" ]
17
2018-05-23T15:14:17.000Z
2018-05-25T23:39:38.000Z
lwb_heartbeat/staff/migrations/0001_initial.py
jayadams011/lwb_heartbeat
6d9b594f317107cd26932485dd8d063e226970fa
[ "MIT" ]
2
2018-06-12T20:50:38.000Z
2021-03-18T20:55:21.000Z
# Generated by Django 2.0.5 on 2018-05-23 23:46 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import multiselectfield.db.fields class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(setting...
75.522727
1,140
0.690641
362
3,323
6.116022
0.334254
0.171635
0.054201
0.081301
0.46477
0.379855
0.249322
0.249322
0.199639
0.156278
0
0.017461
0.172735
3,323
43
1,141
77.27907
0.787923
0.013542
0
0
1
0
0.369658
0.126068
0
0
0
0
0
1
0
false
0
0.111111
0
0.222222
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
1422e6d346738741bc192a1637741c5504620cc0
172
py
Python
Out-20-2021/ex008.py
gianbianchi/Uniso
3abd036bde0b9d9e02ae4f95bae10af4f0a0bae7
[ "MIT" ]
null
null
null
Out-20-2021/ex008.py
gianbianchi/Uniso
3abd036bde0b9d9e02ae4f95bae10af4f0a0bae7
[ "MIT" ]
null
null
null
Out-20-2021/ex008.py
gianbianchi/Uniso
3abd036bde0b9d9e02ae4f95bae10af4f0a0bae7
[ "MIT" ]
null
null
null
#Desenvolva um gerador de tabuada n = int(input("Tabuada de que número? ")) i = 0 while i < 10: print("{} X {} = {}".format(n, i + 1, (n*(i + 1)))) i = i + 1
19.111111
55
0.5
29
172
2.965517
0.62069
0.069767
0.069767
0
0
0
0
0
0
0
0
0.04878
0.284884
172
9
56
19.111111
0.650407
0.186047
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
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
1422fadb9413758027aa22e397b5b6a3c5603dfb
1,430
py
Python
doto/__init__.py
raphaelahrens/doto
e1a8db42a29a9844322ecc58576a18d4782bfa1d
[ "BSD-2-Clause" ]
1
2016-05-03T12:38:30.000Z
2016-05-03T12:38:30.000Z
doto/__init__.py
raphaelahrens/doto
e1a8db42a29a9844322ecc58576a18d4782bfa1d
[ "BSD-2-Clause" ]
null
null
null
doto/__init__.py
raphaelahrens/doto
e1a8db42a29a9844322ecc58576a18d4782bfa1d
[ "BSD-2-Clause" ]
null
null
null
""" Doto main module """ import argparse import shutil import doto.cli import doto.cli.cmd import doto.cli.sub_cmds import doto.defaultconfig import doto.model def init_env(commands): """ Initialize the enviroment. This includes - the parser and subpurser, - and the enviroment variables...
26.481481
132
0.684615
193
1,430
4.974093
0.445596
0.04375
0.040625
0.029167
0.041667
0
0
0
0
0
0
0.000895
0.218881
1,430
53
133
26.981132
0.85855
0.224476
0
0
0
0
0.07781
0
0
0
0
0
0
1
0.08
false
0
0.32
0
0.52
0.04
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
14276c092a95424f58621576868430ea2d310bcd
517
py
Python
artemis/fileman/temporary_filename.py
peteroconnor-bc/artemis
ad2871fae7d986bf10580eec27aee5b7315adad5
[ "BSD-2-Clause-FreeBSD" ]
235
2016-08-26T14:18:51.000Z
2022-03-13T10:54:39.000Z
artemis/fileman/temporary_filename.py
peteroconnor-bc/artemis
ad2871fae7d986bf10580eec27aee5b7315adad5
[ "BSD-2-Clause-FreeBSD" ]
112
2016-04-30T11:48:38.000Z
2021-01-12T20:17:32.000Z
artemis/fileman/temporary_filename.py
peteroconnor-bc/artemis
ad2871fae7d986bf10580eec27aee5b7315adad5
[ "BSD-2-Clause-FreeBSD" ]
31
2016-11-05T19:09:19.000Z
2021-09-13T07:35:40.000Z
import os from contextlib import contextmanager @contextmanager def use_temporary_filename(file_path): """ Delete any existing file with this name, and delete this file after the block completes. :param file_path: A full file path :yield: A the file path again. """ directory, _ = os.path.split...
20.68
92
0.678917
71
517
4.802817
0.521127
0.211144
0.076246
0.093842
0.140762
0.140762
0
0
0
0
0
0
0.245648
517
24
93
21.541667
0.874359
0.297872
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.076923
false
0.076923
0.153846
0
0.230769
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
1
0
0
0
0
0
2
142ba29f3fd4ae894f72c4241be757baca5dc19a
19,375
py
Python
emilia/modules/antiflood.py
masterisira/ELIZA_OF-master
02a7dbf48e4a3d4ee0981e6a074529ab1497aafe
[ "Unlicense" ]
null
null
null
emilia/modules/antiflood.py
masterisira/ELIZA_OF-master
02a7dbf48e4a3d4ee0981e6a074529ab1497aafe
[ "Unlicense" ]
null
null
null
emilia/modules/antiflood.py
masterisira/ELIZA_OF-master
02a7dbf48e4a3d4ee0981e6a074529ab1497aafe
[ "Unlicense" ]
null
null
null
import html from typing import Optional, List from telegram import Message, Chat, Update, Bot, User, InlineKeyboardButton, InlineKeyboardMarkup, ParseMode, ChatPermissions from telegram.error import BadRequest from telegram.ext import Filters, MessageHandler, CommandHandler, run_async, CallbackQueryHandler from telegr...
49.935567
235
0.638813
2,285
19,375
5.24814
0.133042
0.100067
0.122915
0.082055
0.745414
0.710223
0.659189
0.647765
0.647265
0.606237
0
0.005095
0.240258
19,375
387
236
50.064599
0.808492
0.024052
0
0.554217
0
0.024096
0.208043
0.001852
0
0
0
0
0
1
0.024096
false
0.008032
0.056225
0
0.156627
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
142db2ec3da35e8ab5c751428643dacab3da2279
1,232
py
Python
tools/data_migration/data_migration/context.py
yantarou/midonet
11fea2549416588a9170f6ce872790ad907d2a4b
[ "Apache-2.0" ]
221
2015-01-04T17:49:57.000Z
2021-12-23T16:15:35.000Z
tools/data_migration/data_migration/context.py
yantarou/midonet
11fea2549416588a9170f6ce872790ad907d2a4b
[ "Apache-2.0" ]
8
2018-05-24T13:36:03.000Z
2021-02-19T16:01:43.000Z
tools/data_migration/data_migration/context.py
yantarou/midonet
11fea2549416588a9170f6ce872790ad907d2a4b
[ "Apache-2.0" ]
95
2015-01-07T02:06:23.000Z
2022-02-23T22:23:55.000Z
# Copyright (C) 2016 Midokura SARL # 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 require...
33.297297
78
0.742695
168
1,232
5.369048
0.619048
0.066519
0.028825
0.035477
0
0
0
0
0
0
0
0.009073
0.194805
1,232
36
79
34.222222
0.900202
0.544643
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.461538
0
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
1431ad35fd48b141248d3253a46746d7e3f5e28a
551
py
Python
commands/cmdLook.py
fhaynes/slithermud
f14da3d65cdc5187678e8e7cc05e56643a663c56
[ "Artistic-1.0" ]
null
null
null
commands/cmdLook.py
fhaynes/slithermud
f14da3d65cdc5187678e8e7cc05e56643a663c56
[ "Artistic-1.0" ]
null
null
null
commands/cmdLook.py
fhaynes/slithermud
f14da3d65cdc5187678e8e7cc05e56643a663c56
[ "Artistic-1.0" ]
null
null
null
import MudCommand import MudAction import MudActionHandler import MudDatabase import MudWorld class cmdLook(MudCommand.MudCommand): def __init__(self): MudCommand.MudCommand.__init__(self) self.info['cmdName'] = "look" self.info['helpText'] = '''Look at your surroundings, or something ...
34.4375
89
0.655172
55
551
6.418182
0.527273
0.067989
0
0
0
0
0
0
0
0
0
0
0.206897
551
16
90
34.4375
0.80778
0
0
0
0
0
0.172101
0
0
0
0
0
0
1
0.142857
false
0
0.357143
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
1434ce0589c0a8b52de0980ed3988de52ad85862
351
py
Python
space_mission_design/parturbations/drag.py
astronautix/space_mission_design
d40c327a3d16199607dabe0e40c3ff8003d7f85f
[ "MIT" ]
3
2020-05-26T06:32:47.000Z
2020-10-04T03:44:12.000Z
space_mission_design/parturbations/drag.py
astronautix/space_mission_design
d40c327a3d16199607dabe0e40c3ff8003d7f85f
[ "MIT" ]
1
2020-05-25T13:11:00.000Z
2020-05-25T13:11:00.000Z
space_mission_design/parturbations/drag.py
astronautix/space_mission_design
d40c327a3d16199607dabe0e40c3ff8003d7f85f
[ "MIT" ]
2
2020-05-26T06:33:09.000Z
2021-11-03T15:44:00.000Z
"""Dealing with the atmospheric drag need to be included : - [ ] Accomodation Coefficient (Cook and other) - [ ] Diffusive coefficient - [ ] Abserbtion (?? cf Célestlab) - [ ] Drag coefficient from a sphere - [ ] Drag and lift coefficient from a plane (fonction of the angle) - [ ] Drag force for a sphere - [ ] Drag a...
25.071429
68
0.68661
47
351
5.12766
0.595745
0.124481
0.13278
0.116183
0.149378
0
0
0
0
0
0
0
0.210826
351
13
69
27
0.870036
0.974359
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
143cd949492ab20063e08fcf058c7b6fcccef20e
1,425
py
Python
examples/05-gray-scott-compression/paraview/animations.py
CODARcode/cheetah
2d7148fad2e549a080e902e4fac180d9f22a9dc9
[ "Apache-2.0" ]
8
2018-07-11T19:55:37.000Z
2022-02-03T20:55:32.000Z
examples/05-gray-scott-compression/paraview/animations.py
CODARcode/cheetah
2d7148fad2e549a080e902e4fac180d9f22a9dc9
[ "Apache-2.0" ]
196
2017-06-13T14:48:05.000Z
2022-03-02T21:53:39.000Z
examples/05-gray-scott-compression/paraview/animations.py
CODARcode/cheetah
2d7148fad2e549a080e902e4fac180d9f22a9dc9
[ "Apache-2.0" ]
7
2018-07-02T16:50:43.000Z
2022-02-08T16:06:54.000Z
from paraview.simple import * vars = ['U', 'V'] Xs = [1, 16] Ts = [0, 23] def look_at_angle(view1): view1.CameraPosition = [-91.79570803687004, -4.511485753227961, 32.24697211000749] view1.CameraFocalPoint = [15.499600000000001, 15.499600000000001, 15.499600000000001] view1.CameraViewUp = [0.1508633701950...
43.181818
89
0.590175
159
1,425
5.213836
0.377358
0.091677
0.096502
0.168878
0.470446
0.390832
0.390832
0.303981
0.303981
0.303981
0
0.233627
0.282105
1,425
32
90
44.53125
0.576735
0
0
0.344828
0
0
0.05193
0
0
0
0
0
0
1
0.034483
false
0
0.034483
0
0.068966
0
0
0
0
null
0
0
1
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
145b9e864830ccf706d0d9a073e4a05486a7340f
605
py
Python
code/crowdflower/front-end/data/gen_test_cases.py
raingo/TGIF-Release
3e54d2f71418d8a2e9f5f61aa5be0edb9c0ac2b8
[ "BSD-3-Clause" ]
94
2016-04-07T15:07:13.000Z
2022-02-25T07:19:57.000Z
code/crowdflower/front-end/data/gen_test_cases.py
raingo/TGIF-Release
3e54d2f71418d8a2e9f5f61aa5be0edb9c0ac2b8
[ "BSD-3-Clause" ]
9
2016-08-22T15:35:27.000Z
2020-10-13T15:48:52.000Z
code/crowdflower/front-end/data/gen_test_cases.py
raingo/TGIF-Release
3e54d2f71418d8a2e9f5f61aa5be0edb9c0ac2b8
[ "BSD-3-Clause" ]
22
2016-04-07T15:39:57.000Z
2022-03-04T08:04:47.000Z
#!/usr/bin/env python """ Python source code - replace this with a description of the code and write the code below this text. """ from string import Template g = ''' <div class="gold"> <img src="$url" alt="" height="128" /> <p>$text</p> </div> ''' def main(): import sys output = [] gold = Temp...
17.794118
100
0.606612
85
605
4.223529
0.717647
0.038997
0
0
0
0
0
0
0
0
0
0.017167
0.229752
605
33
101
18.333333
0.753219
0.119008
0
0
0
0
0.234043
0
0
0
0
0
0
0
null
null
0.055556
0.111111
null
null
0.055556
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
145ff7cd59bf75144b6b899ecb7383e46371273c
133
py
Python
GeneticSimPython/GeneticSimPython/Genetic/constants.py
Scimson/GeneticSim
7175e0ead69185bcf3221a91b5bac40b4cc42495
[ "Apache-2.0" ]
null
null
null
GeneticSimPython/GeneticSimPython/Genetic/constants.py
Scimson/GeneticSim
7175e0ead69185bcf3221a91b5bac40b4cc42495
[ "Apache-2.0" ]
null
null
null
GeneticSimPython/GeneticSimPython/Genetic/constants.py
Scimson/GeneticSim
7175e0ead69185bcf3221a91b5bac40b4cc42495
[ "Apache-2.0" ]
null
null
null
INITIAL_GENE_VALUE_LIMIT = 1 MUTATION_PROBABILITY = 0.3 MUTATION_SIZE = 0.2 GENERATION_SIZE = 8 VERBOSE = False DECIMAL_PRECISION = 3
22.166667
28
0.81203
21
133
4.809524
0.809524
0
0
0
0
0
0
0
0
0
0
0.060345
0.12782
133
6
29
22.166667
0.810345
0
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
1460ea711d040294de88c1522d612f5a07e0f6af
1,128
py
Python
packages/syft/src/syft/core/node/common/client_manager/role_api.py
jackbandy/PySyft
0e20e90abab6a7a7ca672d6eedfa1e7f83c4981b
[ "Apache-2.0" ]
null
null
null
packages/syft/src/syft/core/node/common/client_manager/role_api.py
jackbandy/PySyft
0e20e90abab6a7a7ca672d6eedfa1e7f83c4981b
[ "Apache-2.0" ]
null
null
null
packages/syft/src/syft/core/node/common/client_manager/role_api.py
jackbandy/PySyft
0e20e90abab6a7a7ca672d6eedfa1e7f83c4981b
[ "Apache-2.0" ]
null
null
null
# stdlib from typing import Any # relative from ...abstract.node import AbstractNodeClient from ...enums import ResponseObjectEnum from ..node_service.role_manager.role_manager_messages import CreateRoleMessage from ..node_service.role_manager.role_manager_messages import DeleteRoleMessage from ..node_service.role_man...
35.25
79
0.749113
125
1,128
6.392
0.352
0.137672
0.093867
0.118899
0.319149
0.319149
0.319149
0.319149
0.319149
0
0
0
0.179965
1,128
31
80
36.387097
0.863784
0.013298
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0.041667
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
1
0
1
0
0
2
147794b11f083834b0a515872fd145a05f2c04be
221
py
Python
example/http_server.py
tor4z/ion
aa60ac23246f5fab5a5199704a65f7068d316179
[ "MIT" ]
null
null
null
example/http_server.py
tor4z/ion
aa60ac23246f5fab5a5199704a65f7068d316179
[ "MIT" ]
null
null
null
example/http_server.py
tor4z/ion
aa60ac23246f5fab5a5199704a65f7068d316179
[ "MIT" ]
null
null
null
class MyHTTPHandler(HTTPHandler): def GET(self): return "It's worked." if __name__ == "__main__": http = HTTPServer() http.bind(("localhost", 9000)) http.serv("/", MyHTTPHandler) http.start()
22.1
34
0.61991
24
221
5.375
0.833333
0
0
0
0
0
0
0
0
0
0
0.023121
0.217195
221
10
35
22.1
0.722543
0
0
0
0
0
0.135747
0
0
0
0
0
0
1
0.125
false
0
0
0.125
0.375
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
1
0
0
0
2
148edfcbbb548da291d232bce2ff074913d016aa
1,335
py
Python
django/contrib/contenttypes/tests.py
huicheese/Django-test3
ac11d2dce245b48392e52d1f4acfd5e7433b243e
[ "BSD-3-Clause" ]
91
2015-01-05T01:10:51.000Z
2021-09-26T18:01:53.000Z
django/contrib/contenttypes/tests.py
joetyson/django
c3699190186561d5c216b2a77ecbfc487d42a734
[ "BSD-3-Clause" ]
4
2015-07-05T21:09:37.000Z
2019-09-06T14:34:59.000Z
django/contrib/contenttypes/tests.py
joetyson/django
c3699190186561d5c216b2a77ecbfc487d42a734
[ "BSD-3-Clause" ]
32
2015-04-03T04:29:45.000Z
2021-09-14T21:36:02.000Z
""" Make sure that the content type cache (see ContentTypeManager) works correctly. Lookups for a particular content type -- by model or by ID -- should hit the database only on the first lookup. First, let's make sure we're dealing with a blank slate (and that DEBUG is on so that queries get logged):: >>> from d...
28.404255
80
0.689139
186
1,335
4.887097
0.408602
0.118812
0.092409
0.105611
0.342134
0.279428
0.235424
0.235424
0.184818
0.184818
0
0.003756
0.202247
1,335
47
81
28.404255
0.849765
0.994007
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
149729421e1d6019f47c6eaa2d781c6e73d96e55
612
py
Python
gammapy/stats/tests/test_data.py
joleroi/gammapy
c4e0c4bd74c79d30e0837559d18b7a1a269f70d9
[ "BSD-3-Clause" ]
null
null
null
gammapy/stats/tests/test_data.py
joleroi/gammapy
c4e0c4bd74c79d30e0837559d18b7a1a269f70d9
[ "BSD-3-Clause" ]
null
null
null
gammapy/stats/tests/test_data.py
joleroi/gammapy
c4e0c4bd74c79d30e0837559d18b7a1a269f70d9
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst from __future__ import (absolute_import, division, print_function, unicode_literals) from numpy.testing import assert_allclose from ...stats import Stats def test_Stats(): n_on, n_off, a_on, a_off = 1, 2, 3, 4 stats = Sta...
26.608696
66
0.70098
104
612
3.769231
0.365385
0.053571
0.061224
0.089286
0.234694
0.056122
0
0
0
0
0
0.010288
0.205882
612
22
67
27.818182
0.796296
0.099673
0
0.142857
0
0
0
0
0
0
0
0
0.285714
1
0.214286
false
0.142857
0.214286
0
0.428571
0.071429
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
149cb07f7130ab39a13560d859b5390acc5e9ea0
626
py
Python
scripts/PMP_setup.py
virati/autoDyn
b9abf8074381e0cd602d49f6fdf4adc72c9cb602
[ "MIT" ]
null
null
null
scripts/PMP_setup.py
virati/autoDyn
b9abf8074381e0cd602d49f6fdf4adc72c9cb602
[ "MIT" ]
null
null
null
scripts/PMP_setup.py
virati/autoDyn
b9abf8074381e0cd602d49f6fdf4adc72c9cb602
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Sep 9 06:19:09 2020 @author: virati Simple PMP buildup script """ import scipy.signal as sig import matplotlib.pyplot as plt import numpy as npo import jax.numpy as np from jax import grad, jit, vmap, jvp from numpy import ndenumerate import matplotlib...
18.411765
36
0.669329
122
626
3.42623
0.508197
0.019139
0.105263
0.114833
0.129187
0
0
0
0
0
0
0.037402
0.188498
626
34
37
18.411765
0.785433
0.06869
0
0.1
0
0
0
0
0
0
0
0
0
0
null
null
0
0.4
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
0
1
0
0
0
0
2
149eba75339970953c3ef6e83332d40a58bbc4e7
171
py
Python
pktperf/__init__.py
junka/pktperf
123ec099bb97452cdafb54ebb1ff3702770b1743
[ "BSD-2-Clause" ]
3
2022-01-15T16:01:41.000Z
2022-02-10T06:34:14.000Z
pktperf/__init__.py
junka/pktperf
123ec099bb97452cdafb54ebb1ff3702770b1743
[ "BSD-2-Clause" ]
null
null
null
pktperf/__init__.py
junka/pktperf
123ec099bb97452cdafb54ebb1ff3702770b1743
[ "BSD-2-Clause" ]
null
null
null
""" pktperf provides pktgen helper scripts functions for pps performance test. """ __version__ = "0.1.9" __author__ = "junka" __maintainer__ = "junka" __license__ = "BSD"
19
56
0.736842
20
171
5.5
0.95
0
0
0
0
0
0
0
0
0
0
0.020408
0.140351
171
8
57
21.375
0.727891
0.432749
0
0
0
0
0.202247
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
14b1918c66d0da69315851c3cb4bcd4986726de8
1,007
py
Python
lib/adxl345/i2c.py
PT1ATE/py-adxl345
a9f7bf979c7ed872d7c9d41ce1655ccce65c4dae
[ "MIT" ]
5
2015-12-09T13:04:59.000Z
2022-02-22T22:34:45.000Z
lib/adxl345/i2c.py
PT1ATE/py-adxl345
a9f7bf979c7ed872d7c9d41ce1655ccce65c4dae
[ "MIT" ]
4
2015-08-03T10:06:55.000Z
2021-12-13T08:35:46.000Z
lib/adxl345/i2c.py
alexismeneses/py-adxl345
dea5f8d2d81681172d59ce4d065aeac2a60db471
[ "MIT" ]
7
2015-07-09T11:28:27.000Z
2020-04-02T06:17:18.000Z
""" PYTHON driver for the ADXL-345 (3 axes accelerometer from Analog Device) This driver use the I2C protocol to communicate (see README) """ import smbus import adxl345.base class ADXL345(adxl345.base.ADXL345_Base): STD_ADDRESS = 0x1D ALT_ADDRESS = 0x53 def __init__(self, alternate=False, port=1): """ In...
27.972222
98
0.724926
144
1,007
4.923611
0.458333
0.098731
0.076164
0.105783
0.138223
0.138223
0.138223
0.138223
0.138223
0.138223
0
0.04878
0.1857
1,007
35
99
28.771429
0.815854
0.285998
0
0
0
0
0
0
0
0
0.011577
0
0
1
0.210526
false
0
0.105263
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
1
0
0
0
0
1
0
0
2
14b199baabee60170116a562b11552f831772f22
85
py
Python
modis/discord_modis/modules/hex/_data.py
Benny84/discord-music-bot-modis
f98b15119d6e14475fa662a98158f4adfa2f49c0
[ "Apache-2.0" ]
null
null
null
modis/discord_modis/modules/hex/_data.py
Benny84/discord-music-bot-modis
f98b15119d6e14475fa662a98158f4adfa2f49c0
[ "Apache-2.0" ]
null
null
null
modis/discord_modis/modules/hex/_data.py
Benny84/discord-music-bot-modis
f98b15119d6e14475fa662a98158f4adfa2f49c0
[ "Apache-2.0" ]
null
null
null
modulename = "Hex" creator = "YtnomSnrub" sd_structure = { "activated": True }
10.625
22
0.647059
8
85
6.75
1
0
0
0
0
0
0
0
0
0
0
0
0.211765
85
7
23
12.142857
0.80597
0
0
0
0
0
0.258824
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
14b5577ce712817e866c88b60a3629eb615b5945
295
py
Python
jobs/models.py
diegolis/search_job
65b7898d587a61eba008ea1503bf2b3410ac6a98
[ "Apache-2.0" ]
null
null
null
jobs/models.py
diegolis/search_job
65b7898d587a61eba008ea1503bf2b3410ac6a98
[ "Apache-2.0" ]
null
null
null
jobs/models.py
diegolis/search_job
65b7898d587a61eba008ea1503bf2b3410ac6a98
[ "Apache-2.0" ]
null
null
null
from django.db import models class Company(models.Model): name = models.CharField(max_length=200) class Job(models.Model): date = models.DateTime(auto_now_add=True) city = models.ForeignKey(City) company = models.ForeignKey(Company) subject = models.ForeignKey(Subject)
21.071429
45
0.732203
38
295
5.605263
0.605263
0.225352
0
0
0
0
0
0
0
0
0
0.012146
0.162712
295
13
46
22.692308
0.850202
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
1
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
14b79b64d38721de312a5c077f66b0b7cfb2de74
2,160
py
Python
meraki/models/bind_network_model.py
bossypants22/python-sdk-test
37701d62dc18c2abb910eb790ab978913adcaf7b
[ "MIT" ]
37
2019-04-24T14:01:33.000Z
2022-01-28T01:37:21.000Z
meraki/models/bind_network_model.py
ankita66666666/meraki-python-sdk
9894089eb013318243ae48869cc5130eb37f80c0
[ "MIT" ]
10
2019-07-09T16:35:11.000Z
2021-12-07T03:47:53.000Z
meraki/models/bind_network_model.py
ankita66666666/meraki-python-sdk
9894089eb013318243ae48869cc5130eb37f80c0
[ "MIT" ]
17
2019-04-30T23:53:21.000Z
2022-02-07T22:57:44.000Z
# -*- coding: utf-8 -*- """ meraki This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ). """ class BindNetworkModel(object): """Implementation of the 'bindNetwork' model. TODO: type model description here. Attributes: config_templat...
30.857143
95
0.613889
244
2,160
5.32377
0.459016
0.049269
0.08622
0.030793
0
0
0
0
0
0
0
0.00207
0.329167
2,160
69
96
31.304348
0.89441
0.575926
0
0
1
0
0.106232
0
0
0
0
0.014493
0
1
0.105263
false
0
0
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
1ae55991642c5bb4bf90b84a7c11f19e1ceb40a1
739
py
Python
source/heihei.py
HankYe/Solution-to-opioid-crisis
bdf6d6be458cd4bbebaa5a00d132c75dc166198d
[ "Apache-2.0" ]
null
null
null
source/heihei.py
HankYe/Solution-to-opioid-crisis
bdf6d6be458cd4bbebaa5a00d132c75dc166198d
[ "Apache-2.0" ]
null
null
null
source/heihei.py
HankYe/Solution-to-opioid-crisis
bdf6d6be458cd4bbebaa5a00d132c75dc166198d
[ "Apache-2.0" ]
null
null
null
from matplotlib import pyplot time_list = [2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017] time_list_append = [2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022] predict = [10453, 10655.758342548274, 10726.259909546003, 10651.26868581213, 10399.137368507683, 9965.11495705042, 9558.34124532155...
56.846154
248
0.76184
100
739
5.55
0.68
0.072072
0.075676
0.057658
0.115315
0.115315
0.115315
0.115315
0
0
0
0.478519
0.086604
739
13
249
56.846154
0.343704
0
0
0
0
0
0.045946
0
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
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
1aeb17134c4d4c2d75b4df148efa60829e65c86b
6,941
py
Python
PopUpKiller.py
debasishm89/OpenXMolar
268654d6665186a5c6725235fde28a8141d4310c
[ "BSD-3-Clause" ]
88
2017-05-12T03:53:28.000Z
2021-11-22T12:29:20.000Z
PopUpKiller.py
debasishm89/OpenXMolar
268654d6665186a5c6725235fde28a8141d4310c
[ "BSD-3-Clause" ]
1
2017-05-23T08:42:47.000Z
2017-09-26T16:02:42.000Z
PopUpKiller.py
debasishm89/OpenXMolar
268654d6665186a5c6725235fde28a8141d4310c
[ "BSD-3-Clause" ]
39
2017-05-12T03:53:30.000Z
2022-01-14T14:18:25.000Z
''' Copyright 2017 Debasish Mandal Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistr...
60.885965
755
0.724247
990
6,941
4.967677
0.247475
0.06405
0.076047
0.096787
0.658601
0.645181
0.639691
0.632168
0.632168
0.622611
0
0.037836
0.158479
6,941
113
756
61.424779
0.804143
0.02795
0
0.44186
0
0.011628
0.46554
0.004367
0
0
0
0
0
0
null
null
0.011628
0.034884
null
null
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
1afa1cafd42c2fcb955da6a363de7724c6371157
1,494
py
Python
test/test.py
Nix-code/Onsite-Health-Diagnostic-OHD-
70e6e401029981276479b4186b0ed8cb1fb703ac
[ "MIT" ]
2
2022-02-03T05:50:32.000Z
2022-03-23T03:15:40.000Z
test/test.py
Nix-code/Onsite-Health-Diagnostic-OHD-
70e6e401029981276479b4186b0ed8cb1fb703ac
[ "MIT" ]
null
null
null
test/test.py
Nix-code/Onsite-Health-Diagnostic-OHD-
70e6e401029981276479b4186b0ed8cb1fb703ac
[ "MIT" ]
1
2022-02-03T07:14:41.000Z
2022-02-03T07:14:41.000Z
from main import app import unittest import pytest class TestToPerform(unittest.TestCase): def setUp(self): pass self.app=app.test_client() def test_page(self): response0=self.app.get("/",follow_redirects=True) print(response0) self.assertEqual(response0.status_...
32.478261
69
0.670683
171
1,494
5.649123
0.239766
0.057971
0.07971
0.173913
0.149068
0.149068
0
0
0
0
0
0.036145
0.222222
1,494
46
70
32.478261
0.795181
0
0
0
0
0
0.04214
0
0
0
0
0
0.189189
1
0.216216
false
0.027027
0.081081
0
0.324324
0.189189
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
1
0
0
0
0
0
0
0
2
1afc08a384a7ee7e3eeae536e4a9148486c80e17
914
py
Python
hpimdm/tree/local_membership.py
pedrofran12/hpim_dm
fe949294b5e75ab544dcd40ff51ceafc1d3b2f0c
[ "MIT" ]
1
2020-02-04T20:59:03.000Z
2020-02-04T20:59:03.000Z
hpimdm/tree/local_membership.py
pedrofran12/hpim_dm
fe949294b5e75ab544dcd40ff51ceafc1d3b2f0c
[ "MIT" ]
3
2020-06-09T16:37:01.000Z
2021-08-30T00:31:12.000Z
hpimdm/tree/local_membership.py
pedrofran12/hpim_dm
fe949294b5e75ab544dcd40ff51ceafc1d3b2f0c
[ "MIT" ]
1
2020-11-23T06:47:46.000Z
2020-11-23T06:47:46.000Z
from abc import ABCMeta, abstractmethod class LocalMembershipStateABC(metaclass=ABCMeta): @staticmethod @abstractmethod def has_members(): """ Determine if this state considers to have hosts interested in receiving data packets """ raise NotImplementedError class NoInfo(L...
22.292683
92
0.655361
89
914
6.606742
0.393258
0.030612
0.066327
0.112245
0.573129
0.573129
0.573129
0.573129
0.573129
0.573129
0
0
0.277899
914
40
93
22.85
0.890909
0.277899
0
0.380952
0
0
0.022034
0
0
0
0
0
0
1
0.238095
false
0
0.047619
0.095238
0.761905
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
21083999666e34e81d53e1e46a462a334f367467
496
py
Python
rest_api/form.py
olaneat/project
7db7ee6a93fa4607ee81cbc4b8c508b4c0850cc0
[ "MIT" ]
null
null
null
rest_api/form.py
olaneat/project
7db7ee6a93fa4607ee81cbc4b8c508b4c0850cc0
[ "MIT" ]
null
null
null
rest_api/form.py
olaneat/project
7db7ee6a93fa4607ee81cbc4b8c508b4c0850cc0
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User def SignUpForm(UserCreationForm): first_name = forms.CharField(max_length = 50, required = True) last_name = forms.CharField(max_length = 50, required = True) email = forms.EmailField(max_len...
38.153846
90
0.752016
65
496
5.615385
0.523077
0.082192
0.093151
0.115068
0.224658
0.224658
0.224658
0.224658
0
0
0
0.021028
0.137097
496
13
91
38.153846
0.831776
0
0
0
0
0
0.162978
0
0
0
0
0
0
1
0.1
false
0.1
0.3
0
0.7
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
21094a27f6a61b92806b91b96d68de3d54b60d40
18,128
py
Python
python/openapi_client/model/tokenize_response_schema.py
Mastercard/mcapi_oauth_encryption_tutorial
0c24f778ad57a867eefd8aad44466a49f3f89826
[ "MIT" ]
26
2019-08-15T10:48:16.000Z
2022-03-03T21:57:52.000Z
python/openapi_client/model/tokenize_response_schema.py
Mastercard/mcapi_oauth_encryption_tutorial
0c24f778ad57a867eefd8aad44466a49f3f89826
[ "MIT" ]
12
2019-12-30T08:36:00.000Z
2022-03-29T22:37:50.000Z
python/openapi_client/model/tokenize_response_schema.py
Mastercard/mcapi_oauth_encryption_tutorial
0c24f778ad57a867eefd8aad44466a49f3f89826
[ "MIT" ]
36
2019-08-14T14:27:35.000Z
2022-02-13T18:02:36.000Z
""" MDES Digital Enablement API These APIs are designed as RPC style stateless web services where each API endpoint represents an operation to be performed. All request and response payloads are sent in the JSON (JavaScript Object Notation) data-interchange format. Each endpoint in the API specifies the HTTP ...
58.477419
2,146
0.63333
2,100
18,128
5.29
0.192857
0.031686
0.028805
0.017823
0.663246
0.649113
0.643982
0.63156
0.63156
0.63156
0
0.012409
0.306487
18,128
309
2,147
58.666667
0.871222
0.61656
0
0.412162
0
0
0.18502
0.059193
0
0
0
0
0
1
0.040541
false
0.013514
0.081081
0.006757
0.202703
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
210a16816dfc37d98888318c6069384ca9683011
6,377
py
Python
src/tests/test_entity_recognition.py
hutomadotAI/entity_recogniser
6390c65190b826fb98bc3505f41f3f0ce6837ef9
[ "Apache-2.0" ]
4
2019-06-01T12:28:28.000Z
2020-09-29T21:01:17.000Z
src/tests/test_entity_recognition.py
hutomadotAI/entity_recogniser
6390c65190b826fb98bc3505f41f3f0ce6837ef9
[ "Apache-2.0" ]
null
null
null
src/tests/test_entity_recognition.py
hutomadotAI/entity_recogniser
6390c65190b826fb98bc3505f41f3f0ce6837ef9
[ "Apache-2.0" ]
1
2020-08-19T19:28:55.000Z
2020-08-19T19:28:55.000Z
# flake8: noqa import pytest import hu_entity.spacy_wrapper @pytest.fixture(scope="module") def spacy_wrapper(): """EntityRecognizerServer takes ages to initialize, so define a single EntityRecognizerServer which will be reused in every test""" server = hu_entity.spacy_wrapper.SpacyWrapper(minimal_ers_mo...
31.569307
97
0.708327
856
6,377
5.009346
0.139019
0.209888
0.071362
0.08722
0.667444
0.66278
0.66278
0.66278
0.539179
0.468983
0
0.021588
0.186451
6,377
201
98
31.726368
0.804934
0.021797
0
0.465409
0
0
0.090748
0
0
0
0
0
0.578616
1
0.113208
false
0
0.012579
0
0.132075
0.069182
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
1
0
0
0
0
0
0
0
0
0
2
2125d9e7bdc260d2f5ed081aa7c0f354b75787bd
267
py
Python
trunk/Documentacion/Memoria/trozos-codigo/codigo-9-udp-test-udp-description.py
MGautier/security-sensor
7063b1f095cfa02bb56ef2544d0395dbf155310f
[ "MIT" ]
2
2016-08-15T21:25:40.000Z
2020-06-22T12:25:48.000Z
trunk/Documentacion/Memoria/trozos-codigo/codigo-9-udp-test-udp-description.py
MGautier/security-sensor
7063b1f095cfa02bb56ef2544d0395dbf155310f
[ "MIT" ]
4
2020-06-05T17:32:18.000Z
2021-06-10T19:05:56.000Z
trunk/Documentacion/Memoria/trozos-codigo/codigo-9-udp-test-udp-description.py
MGautier/security-sensor
7063b1f095cfa02bb56ef2544d0395dbf155310f
[ "MIT" ]
null
null
null
def test_udp_description(self): """ Comprobacion de que la descripcion asociada al protocolo coincide Returns: """ port = Ports.objects.get(Tag="ssh") udp = Udp.objects.get(id=port) self.assertEqual(udp.get_description(), "Conexion ssh")
26.7
69
0.681648
34
267
5.264706
0.705882
0.111732
0
0
0
0
0
0
0
0
0
0
0.194757
267
9
70
29.666667
0.832558
0.277154
0
0
0
0
0.087209
0
0
0
0
0
0.25
1
0.25
false
0
0
0
0.25
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
1
0
0
0
0
0
0
0
2
2133b362ea2ee1490e512836e24b6ee57a2742e2
370
py
Python
catapult/config.py
alexanderphoenix/catapult
e47463907aad84e2eb11ef2ea75be9beb37bb421
[ "MIT" ]
null
null
null
catapult/config.py
alexanderphoenix/catapult
e47463907aad84e2eb11ef2ea75be9beb37bb421
[ "MIT" ]
null
null
null
catapult/config.py
alexanderphoenix/catapult
e47463907aad84e2eb11ef2ea75be9beb37bb421
[ "MIT" ]
null
null
null
import os _HOME_PATH = os.path.expanduser("~") # aws config AWS_PROFILE = os.environ.get("CATAPULT_AWS_PROFILE", "default") AWS_MFA_DEVICE = os.environ.get("CATAPULT_AWS_MFA_DEVICE") # git config GIT_REPO = os.environ.get("CATAPULT_GIT_REPO", "./") # catapult config CATAPULT_SESSION = os.environ.get( "CATAPULT_...
23.125
63
0.740541
53
370
4.849057
0.339623
0.140078
0.18677
0.311284
0.178988
0
0
0
0
0
0
0
0.108108
370
15
64
24.666667
0.778788
0.1
0
0
0
0
0.288754
0.069909
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
2137a254f99d846eb48cf890aaca95c06bcfcf0a
1,451
py
Python
tests/test_memory_cache.py
drorvinkler/thornfield
3c5bb8afaa96097bc71cccb119394a0f351d828f
[ "MIT" ]
2
2020-11-24T13:27:14.000Z
2020-11-24T13:29:40.000Z
tests/test_memory_cache.py
drorvinkler/thornfield
3c5bb8afaa96097bc71cccb119394a0f351d828f
[ "MIT" ]
1
2020-11-24T13:33:45.000Z
2020-11-24T15:10:41.000Z
tests/test_memory_cache.py
drorvinkler/thornfield
3c5bb8afaa96097bc71cccb119394a0f351d828f
[ "MIT" ]
null
null
null
from time import sleep from unittest import TestCase from thornfield.cacher import Cacher from thornfield.caches.memory_cache import MemoryCache class TestMemoryCache(TestCase): def test_basic(self): cacher = Cacher(self._create_cache) @cacher.cached def foo(x): foo.call_coun...
25.45614
54
0.604411
182
1,451
4.67033
0.192308
0.247059
0.183529
0.156471
0.708235
0.655294
0.64
0.598824
0.548235
0.548235
0
0.030303
0.294969
1,451
56
55
25.910714
0.800587
0
0
0.636364
0
0
0
0
0
0
0
0
0.318182
1
0.159091
false
0
0.090909
0.022727
0.363636
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
213ade98125f2742c5b43d740f3054f2af88f7bd
741
py
Python
test_bale_bot/test_models/test_client_requests/test_messaging/test_edit_message.py
naderAbolfazli/bale-bot-python
1e694adfd0850cb9e288d180ed0231f148f4c223
[ "Apache-2.0" ]
24
2018-07-08T12:17:55.000Z
2022-03-05T22:00:28.000Z
test_bale_bot/test_models/test_client_requests/test_messaging/test_edit_message.py
naderAbolfazli/bale-bot-python
1e694adfd0850cb9e288d180ed0231f148f4c223
[ "Apache-2.0" ]
21
2018-08-30T03:18:25.000Z
2022-03-11T23:36:16.000Z
test_bale_bot/test_models/test_client_requests/test_messaging/test_edit_message.py
naderAbolfazli/bale-bot-python
1e694adfd0850cb9e288d180ed0231f148f4c223
[ "Apache-2.0" ]
12
2018-07-07T08:29:12.000Z
2022-03-05T22:00:05.000Z
import unittest from unittest.mock import MagicMock from balebot.models.base_models import Peer from balebot.models.client_requests import EditMessage from balebot.models.messages import TextMessage class TestEditMessage(unittest.TestCase): @classmethod def setUpClass(cls): peer = Peer(peer_type="Use...
33.681818
94
0.746289
91
741
5.857143
0.472527
0.052533
0.095685
0.052533
0.180113
0.180113
0.180113
0.180113
0
0
0
0.025974
0.168691
741
21
95
35.285714
0.839286
0
0
0
0
0
0.025641
0
0
0
0
0
0.125
1
0.1875
false
0
0.3125
0
0.5625
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
213d38841104f97538b8d13b91cf5eb823ddbdf6
47,272
py
Python
server/tests/controllers/miners/github/test_pull_request.py
athenianco/athenian-api
dd5556101a8c49703d6b0516e4268b9e8d8eda5b
[ "RSA-MD" ]
9
2020-10-11T22:12:03.000Z
2022-02-26T02:16:45.000Z
server/tests/controllers/miners/github/test_pull_request.py
athenianco/athenian-api
dd5556101a8c49703d6b0516e4268b9e8d8eda5b
[ "RSA-MD" ]
246
2019-12-05T06:37:30.000Z
2022-03-29T10:00:07.000Z
server/tests/controllers/miners/github/test_pull_request.py
athenianco/athenian-api
dd5556101a8c49703d6b0516e4268b9e8d8eda5b
[ "RSA-MD" ]
5
2019-12-04T22:38:05.000Z
2021-02-26T00:50:04.000Z
from collections import defaultdict import dataclasses from datetime import date, datetime, timedelta, timezone from itertools import chain import pickle from typing import Any, Dict import pandas as pd from pandas.core.dtypes.common import is_datetime64_any_dtype from pandas.testing import assert_frame_equal import p...
38
98
0.618696
5,731
47,272
4.880126
0.08393
0.022275
0.017699
0.041691
0.75379
0.722039
0.6998
0.67849
0.635297
0.617634
0
0.039772
0.256431
47,272
1,243
99
38.030571
0.755903
0.005987
0
0.673487
0
0
0.032429
0.002136
0
0
0
0
0.084399
1
0.000853
false
0
0.022165
0
0.023018
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
213de5c5ec034a55eb91624483a3fc5b71895f40
316
py
Python
code/abc030_c_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc030_c_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc030_c_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
import bisect N,M=map(int,input().split()) X,Y=map(int,input().split()) A=list(map(int,input().split())) B=list(map(int,input().split())) ans=0 time=0 while time<=A[-1]: time=A[bisect.bisect_left(A,time)]+X if time<=B[-1]: time=B[bisect.bisect_left(B,time)]+Y ans+=1 else:break print(ans)
22.571429
44
0.617089
60
316
3.216667
0.383333
0.124352
0.227979
0.331606
0.207254
0
0
0
0
0
0
0.018382
0.139241
316
14
45
22.571429
0.691176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.071429
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
2146a8fbf3a884aceec2b25ecae1e6d554c69d22
1,569
py
Python
day02/App/views.py
wenpanzhaopython/MyGit
ca49a1ecc46ee858d32be0121ace11169910b0f1
[ "Apache-2.0" ]
null
null
null
day02/App/views.py
wenpanzhaopython/MyGit
ca49a1ecc46ee858d32be0121ace11169910b0f1
[ "Apache-2.0" ]
null
null
null
day02/App/views.py
wenpanzhaopython/MyGit
ca49a1ecc46ee858d32be0121ace11169910b0f1
[ "Apache-2.0" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render from App.models import Categary, Item, Students def test(request): return render(request, "test.html") def cate_view(request): # cates = Categary.objects.filter(name="饮料") cates = Item.objects.all() return render(request, "t...
21.493151
65
0.687062
215
1,569
4.860465
0.237209
0.091866
0.145455
0.091866
0.304306
0.179904
0.179904
0.179904
0.101435
0.101435
0
0.000768
0.170172
1,569
73
66
21.493151
0.801843
0.026769
0
0.105263
0
0
0.088467
0
0
0
0
0
0
1
0.236842
false
0
0.078947
0.052632
0.578947
0.026316
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
21499887ec6c101484d715302b11c0a7a70a27c6
44,526
py
Python
sql/migrations/0001_initial.py
bopopescu/ArcherySql
bfa15d5f8e6ca510e25ae43d32ef5e97a4d3db74
[ "Apache-2.0" ]
null
null
null
sql/migrations/0001_initial.py
bopopescu/ArcherySql
bfa15d5f8e6ca510e25ae43d32ef5e97a4d3db74
[ "Apache-2.0" ]
2
2020-06-06T00:13:26.000Z
2021-06-10T22:10:19.000Z
sql/migrations/0001_initial.py
bopopescu/ArcherySql
bfa15d5f8e6ca510e25ae43d32ef5e97a4d3db74
[ "Apache-2.0" ]
2
2020-07-20T01:13:17.000Z
2020-09-28T08:15:22.000Z
# Generated by Django 2.0.13 on 2019-08-05 21:50 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True ...
66.357675
1,323
0.598572
4,722
44,526
5.359805
0.124735
0.09388
0.037813
0.085938
0.673989
0.601525
0.550437
0.508554
0.383856
0.310285
0
0.010989
0.2479
44,526
670
1,324
66.456716
0.744774
0.001033
0
0.396682
1
0
0.249944
0.041391
0
0
0
0
0
1
0
false
0.013575
0.00905
0
0.015083
0.001508
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
2153d6042cba3c4149e3f44eef228662efa9145e
4,688
py
Python
test/test_ffs.py
ebezzam/pyFFS
29eac7a3305dcefe40b4cdc03f730fc9bd868eab
[ "BSD-3-Clause" ]
9
2019-06-14T05:22:15.000Z
2021-12-13T22:11:20.000Z
test/test_ffs.py
ebezzam/pyFFS
29eac7a3305dcefe40b4cdc03f730fc9bd868eab
[ "BSD-3-Clause" ]
7
2020-10-22T11:25:25.000Z
2020-11-07T10:54:26.000Z
test/test_ffs.py
ebezzam/pyFFS
29eac7a3305dcefe40b4cdc03f730fc9bd868eab
[ "BSD-3-Clause" ]
1
2020-10-09T10:05:45.000Z
2020-10-09T10:05:45.000Z
# ############################################################################# # test_ffs.py # =========== # Author : # Sepand KASHANI [kashani.sepand@gmail.com] # Eric BEZZAM [ebezzam@gmail.com] # ############################################################################# import math from pyffs import ( ffs, ...
33.726619
96
0.544795
705
4,688
3.300709
0.121986
0.04899
0.034379
0.01719
0.75419
0.714224
0.699184
0.675118
0.651483
0.651483
0
0.014888
0.312287
4,688
138
97
33.971014
0.706886
0.148464
0
0.358025
0
0
0
0
0
0
0
0
0.098765
1
0.049383
false
0
0.049383
0
0.111111
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
dcdcb483050848f2993e3f0c9dadc3d0d1bb4473
388
py
Python
aoc2020/day01.py
austinsalonen/advent_of_code
c085a813511ace023620739f367948c58e7ca5e7
[ "MIT" ]
null
null
null
aoc2020/day01.py
austinsalonen/advent_of_code
c085a813511ace023620739f367948c58e7ca5e7
[ "MIT" ]
null
null
null
aoc2020/day01.py
austinsalonen/advent_of_code
c085a813511ace023620739f367948c58e7ca5e7
[ "MIT" ]
null
null
null
from collections import Counter inputs = [] with open('day01.input') as f: inputs = [int(x) for x in f.readlines()] def most_common(xs): return Counter(xs).most_common(1)[0][0] def part1(ns): return most_common([n * (2020-n) for n in ns]) def part2(ns): return most_common([a*b*c for a in ns for b in ns for c i...
19.4
81
0.675258
76
388
3.394737
0.434211
0.155039
0.093023
0.139535
0
0
0
0
0
0
0
0.052632
0.167526
388
19
82
20.421053
0.74613
0
0
0
0
0
0.028424
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.25
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
1
0
0
0
1
0
0
0
2