code stringlengths 1 1.49M | vector listlengths 0 7.38k | snippet listlengths 0 7.38k |
|---|---|---|
def options(opt):
opt.load('compiler_c')
def configure(conf):
conf.load('compiler_c')
conf.env.append_unique('CFLAGS', ['-Wall','-g'])
conf.find_program('docbook-to-man', mandatory=False, var='D2M')
conf.find_program('gzip', mandatory=True, var='GZIP')
def build(bld):
if bld.env.D2M:
bld(rule='${D2M} ${SRC}',... | [
[
2,
0,
0.075,
0.1,
0,
0.66,
0,
707,
0,
1,
0,
0,
0,
0,
1
],
[
8,
1,
0.1,
0.05,
1,
0.11,
0,
37,
3,
1,
0,
0,
0,
0,
1
],
[
2,
0,
0.3,
0.25,
0,
0.66,
0.5,
765,
... | [
"def options(opt):\n\topt.load('compiler_c')",
"\topt.load('compiler_c')",
"def configure(conf):\n\tconf.load('compiler_c')\n\tconf.env.append_unique('CFLAGS', ['-Wall','-g'])\n\tconf.find_program('docbook-to-man', mandatory=False, var='D2M')\n\tconf.find_program('gzip', mandatory=True, var='GZIP')",
"\tconf.... |
top = '.'
out = 'build'
def options(opt):
opt.load('compiler_c')
opt.load('gnu_dirs')
def configure(conf):
conf.load('compiler_c')
conf.load('gnu_dirs')
conf.env.CFLAGS = ['-Wall', '-g', '-D_LARGEFILE64_SOURCE']
conf.check(lib='curl')
conf.check(lib='crypto')
conf.check(lib='expat')
conf.recurse('ccan')
con... | [
[
14,
0,
0.0357,
0.0357,
0,
0.66,
0,
208,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.0714,
0.0357,
0,
0.66,
0.25,
434,
1,
0,
0,
0,
0,
3,
0
],
[
2,
0,
0.1786,
0.1071,
0,
0.66... | [
"top = '.'",
"out = 'build'",
"def options(opt):\n\topt.load('compiler_c')\n\topt.load('gnu_dirs')",
"\topt.load('compiler_c')",
"\topt.load('gnu_dirs')",
"def configure(conf):\n\tconf.load('compiler_c')\n\tconf.load('gnu_dirs')\n\tconf.env.CFLAGS = ['-Wall', '-g', '-D_LARGEFILE64_SOURCE']\n\tconf.check(l... |
def options(opt):
opt.load('compiler_c')
def configure(conf):
conf.load('compiler_c')
conf.env.append_unique('CFLAGS', ['-Wall','-g'])
def call_ldconfig(bld):
bld.exec_command('/sbin/ldconfig')
def build(bld):
bld.shlib(source='''handle.c io.c open.c xmit.c dir.c lease.c stat.c''',
target='elasto_file',
... | [
[
2,
0,
0.075,
0.1,
0,
0.66,
0,
707,
0,
1,
0,
0,
0,
0,
1
],
[
8,
1,
0.1,
0.05,
1,
0.88,
0,
37,
3,
1,
0,
0,
0,
0,
1
],
[
2,
0,
0.25,
0.15,
0,
0.66,
0.3333,
7... | [
"def options(opt):\n\topt.load('compiler_c')",
"\topt.load('compiler_c')",
"def configure(conf):\n\tconf.load('compiler_c')\n\tconf.env.append_unique('CFLAGS', ['-Wall','-g'])",
"\tconf.load('compiler_c')",
"\tconf.env.append_unique('CFLAGS', ['-Wall','-g'])",
"def call_ldconfig(bld):\n\tbld.exec_command(... |
def options(opt):
opt.load('compiler_c')
def configure(conf):
conf.load('compiler_c')
conf.env.append_unique('CFLAGS', ['-Wall', '-g', '-fPIC'])
def build(bld):
bld.stlib(source='''azure_req.c s3_req.c op.c sign.c
base64.c conn.c azure_ssl.c dbg.c data.c
s3_creds.c exml.c util.c''',
target='elas... | [
[
2,
0,
0.0938,
0.125,
0,
0.66,
0,
707,
0,
1,
0,
0,
0,
0,
1
],
[
8,
1,
0.125,
0.0625,
1,
0.22,
0,
37,
3,
1,
0,
0,
0,
0,
1
],
[
2,
0,
0.3125,
0.1875,
0,
0.66,
0.... | [
"def options(opt):\n\topt.load('compiler_c')",
"\topt.load('compiler_c')",
"def configure(conf):\n\tconf.load('compiler_c')\n\tconf.env.append_unique('CFLAGS', ['-Wall', '-g', '-fPIC'])",
"\tconf.load('compiler_c')",
"\tconf.env.append_unique('CFLAGS', ['-Wall', '-g', '-fPIC'])",
"def build(bld):\n\tbld.s... |
#!/usr/bin/python
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | [
[
8,
0,
0.0441,
0.0025,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0502,
0.0049,
0,
0.66,
0.0312,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0588,
0.0025,
0,
0.66,... | [
"\"\"\"Build BITE.\"\"\"",
"__author__ = ('ralphj@google.com (Julie Ralph)'\n 'jasonstredwick@google.com (Jason Stredwick)')",
"import logging",
"import os",
"import shutil",
"import sys",
"from builddefs.tools import access as tools",
"from builddefs.tools import base",
"COMMAND_BUILD ... |
#!/usr/bin/python
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | [
[
8,
0,
0.0479,
0.0027,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0545,
0.0053,
0,
0.66,
0.0227,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0612,
0.0027,
0,
0.66,... | [
"\"\"\"Build the BITE Extension.\"\"\"",
"__author__ = ('ralphj@google.com (Julie Ralph)'\n 'jason.stredwick@gmail.com (Jason Stredwick)')",
"import logging",
"import optparse",
"import os",
"import shutil",
"import subprocess",
"import sys",
"import urllib",
"import zipfile",
"GENF... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.4474,
0.0263,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.5,
0.0263,
0,
0.66,
0.2,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.5526,
0.0263,
0,
0.66,
0... | [
"\"\"\"Common settings for the AppEngine front-end.\"\"\"",
"__author__ = 'michaelwill@google.com (Michael Williamson)'",
"import os",
"try:\n PORT = os.environ['SERVER_PORT']\n SERVER_NAME = os.environ['SERVER_NAME']\nexcept KeyError:\n # Both of these environment variables are not defined in unit\n # te... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1371,
0.0081,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1532,
0.0081,
0,
0.66,
0.0625,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1694,
0.0081,
0,
0.66,... | [
"\"\"\"Bite fetch job handler.\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"import logging",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass",
" import auto_import_fixer",
"from google.appengine.ext import webapp",
"from google.appengine.ext.webapp.util import run_wsgi_app",
"from... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.3167,
0.0833,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.3833,
0.0167,
0,
0.66,
0.0909,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.475,
0.0667,
0,
0.66,
... | [
"\"\"\"Testing handlers for the HUD project.\n\nUsed to expose some of the server internal contructs to facilitate manual\ntesting and debugging.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass # This will fail on unittest, ok to p... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.2267,
0.0133,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2533,
0.0133,
0,
0.66,
0.0769,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.3267,
0.0533,
0,
0.66,... | [
"\"\"\"Access requests handlers.\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass # This will fail on unittest, ok to pass.",
" import auto_import_fixer",
"import sys",
"from google.appengine.api import mail",
"from google.ap... |
#!/usr/bin/python2.4
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.0647,
0.0252,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.082,
0.0032,
0,
0.66,
0.0385,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.0994,
0.0126,
0,
0.66,
... | [
"\"\"\"Handles storing and retrieving test cases.\n\nNote, an oddity in this implementation is that we don't store\npure test code. Instead, we store json blobs which are defined\nby the client. This is left over from the old WTF API, but it\nwould require a complete client rewrite to make it more\nexplicit.\n\"\... |
#!/usr/bin/python2.4
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1141,
0.0067,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1275,
0.0067,
0,
0.66,
0.0476,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.1644,
0.0268,
0,
0.66,... | [
"\"\"\"Handles login for users.\"\"\"",
"__author__ = 'michaelwill@google.com (Michael Williamson)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass # This will fail on unittest, ok to pass.",
" import auto_import_fixer",
"import atom",
"import atom.url",
"import gdata",
"import gdat... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1696,
0.0446,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2054,
0.0089,
0,
0.66,
0.0556,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.2545,
0.0357,
0,
0.66,... | [
"\"\"\"Displays the home page for the HUD project.\n\nPrimarily used to provide content to users navigating directly to the HUD's\nhomepage (eg. via the browser).\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass # This will fail on ... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.0253,
0.0015,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0283,
0.0015,
0,
0.66,
0.0222,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.0365,
0.006,
0,
0.66,
... | [
"\"\"\"Site Compatibility handlers.\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass # This will fail on unittest, ok to pass.",
" import auto_import_fixer",
"import re",
"import sys",
"import simplejson",
"from google.appe... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1259,
0.0272,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1497,
0.0068,
0,
0.66,
0.0667,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.1871,
0.0272,
0,
0.66,... | [
"\"\"\"Gets the bugs associated with a given URL.\n\nCalled by the clients to retrieve the list of bugs known for a given URL.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass # This will fail on unittest, ok to pass.",
" import ... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.0494,
0.0029,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0552,
0.0029,
0,
0.66,
0.0417,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.0887,
0.0116,
0,
0.66,... | [
"\"\"\"Bite suite handler.\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass",
" import auto_import_fixer",
"import datetime",
"import logging",
"from google.appengine.api import users",
"from google.appengine.ext import webapp",
"from g... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.125,
0.0074,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1397,
0.0074,
0,
0.66,
0.05,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1471,
0.0074,
0,
0.66,
... | [
"\"\"\"Bite project handler.\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"__author__ = 'jasonstredwick@google.com (Jason Stredwick)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass",
" import auto_import_fixer",
"import simplejson",
"import urllib",
"from google.appengine.ext im... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.0292,
0.0017,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0326,
0.0017,
0,
0.66,
0.0303,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0498,
0.0017,
0,
0.66,... | [
"\"\"\"Bite run handler.\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"import datetime",
"import logging",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass",
" import auto_import_fixer",
"from google.appengine.api import users",
"from google.appengine.ext import webapp",
"from goo... |
#!/usr/bin/python2.4
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.2537,
0.0149,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2836,
0.0149,
0,
0.66,
0.25,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.3881,
0.0149,
0,
0.66,
... | [
"\"\"\"The common lib utils.\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"from models import bite_event",
"from utils import bite_constants",
"def GetEventData(event):\n \"\"\"Gets the events data.\"\"\"\n event_id = str(bite_event.BiteEvent.host.get_value_for_datastore(event))\n event_type = event.... |
#!/usr/bin/python2.4
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1441,
0.0085,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.161,
0.0085,
0,
0.66,
0.0714,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.2246,
0.0339,
0,
0.66,
... | [
"\"\"\"Handles storing and serving screenshots.\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass # This will fail on unittest, ok to pass.",
" import auto_import_fixer",
"import simplejson",
"from google.appengine.ext import we... |
#!/usr/bin/python2.4
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | [
[
8,
0,
0.3019,
0.0189,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
7,
0,
0.4623,
0.0755,
0,
0.66,
0.1111,
0,
0,
1,
0,
0,
0,
0,
0
],
[
1,
1,
0.4528,
0.0189,
1,
0.61,
... | [
"\"\"\"Dump UrlToBugMap data in JSON format.\"\"\"",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass # This will fail on unittest, ok to pass.",
" import auto_import_fixer",
"import simplejson",
"from google.appengine.ext import webapp",
"from google.appengine.ext.webapp.util import run_w... |
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | [
[
8,
0,
0.1339,
0.0394,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1654,
0.0079,
0,
0.66,
0.0714,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.2244,
0.0315,
0,
0.66,... | [
"\"\"\"Gets and stores templates from the BITE server.\n\nCalled by clients to retrieve a list of bug templates that have been stored on\nthe BITE server, or to add a template to the BITE server.\n\"\"\"",
"__author__ = 'ralphj@google.com (Julie Ralph)'",
"try:\n import auto_import_fixer #pylint: disable-msg=... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1061,
0.0279,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1285,
0.0056,
0,
0.66,
0.0667,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.1592,
0.0223,
0,
0.66,... | [
"\"\"\"Base class for all request handlers.\n\nProvides functionality useful to all request handlers, including extraction and\nvalidation of request parameters.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass # This will fail on u... |
#!/usr/bin/python2.4
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.2394,
0.0141,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2676,
0.0141,
0,
0.66,
0.0769,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.4296,
0.0563,
0,
0.66,... | [
"\"\"\"Bite event handler.\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass",
" import auto_import_fixer",
"from google.appengine.ext import webapp",
"from google.appengine.ext.webapp.util import run_wsgi_app",
"from handlers import base",
... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.2,
0.0118,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2235,
0.0118,
0,
0.66,
0.0909,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.3353,
0.0471,
0,
0.66,
... | [
"\"\"\"Bite home handler.\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass",
" import auto_import_fixer",
"import os",
"import sys",
"try:\n from google.appengine.api import users\n from google.appengine.ext import webapp\n from google.a... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.2099,
0.0123,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2346,
0.0123,
0,
0.66,
0.0667,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.3519,
0.0494,
0,
0.66,... | [
"\"\"\"Bite home handler.\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"try:\n import auto_import_fixer\nexcept ImportError:\n pass",
" import auto_import_fixer",
"import logging",
"import os",
"import sys",
"from google.appengine.api import users",
"from google.appengine.ext import webapp",
... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.0787,
0.0492,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1082,
0.0033,
0,
0.66,
0.0667,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.1262,
0.0131,
0,
0.66,... | [
"\"\"\"Provides an interface to Google docs.\n\nThe DocsGateway provides an interface to the Google Docs gdata service\nusing version 3 of the API. It uses either AuthSub or ClientLogin for\nauthentication.\n\nFor detailed documentation, see\nhttp://code.google.com/apis/documents/docs/3.0/developers_guide_python.h... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.0805,
0.0503,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1107,
0.0034,
0,
0.66,
0.0667,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.1292,
0.0134,
0,
0.66,... | [
"\"\"\"Provides an interface to Google docs.\n\nThe DocsGateway provides an interface to the Google Docs gdata service\nusing version 3 of the API. It uses either AuthSub or ClientLogin for\nauthentication.\n\nFor detailed documentation, see\nhttp://code.google.com/apis/documents/docs/3.0/developers_guide_python.h... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.5143,
0.0286,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.5714,
0.0286,
0,
0.66,
0.3333,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.6714,
0.1143,
0,
0.66,... | [
"\"\"\"Appengine configuration options.\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"try:\n from google.appengine.ext.appstats import recording\nexcept:\n pass",
" from google.appengine.ext.appstats import recording",
"def webapp_add_wsgi_middleware(app):\n \"\"\"Adds support for Apps... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.425,
0.025,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.475,
0.025,
0,
0.66,
0.1667,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.55,
0.025,
0,
0.66,
0.... | [
"\"\"\"Screenstho utilities.\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"import base64",
"from utils import url_util",
"GET_PATH = '/screenshots/fetch'",
"def RetrievalUrl(request_url, screenshot_id):\n \"\"\"Returns URL to fetch a screenshot by id.\"\"\"\n base_url = url_util.GetBas... |
#!/usr/bin/python2.4
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1574,
0.0093,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1759,
0.0093,
0,
0.66,
0.1429,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.2917,
0.1296,
0,
0.66... | [
"\"\"\"Bite constants.\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"EVERYTHING_DEFAULT_UI_DATA = {\n 'name': 'all',\n 'href': '/event/show_all',\n 'title': 'Everything',\n 'artifacttitle': 'Recent Activities',\n 'icon': '/images/artifacts/testing.png',\n 'description': 'This page shows yo... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.4255,
0.1489,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
7,
0,
0.6489,
0.1277,
0,
0.66,
0.3333,
0,
0,
1,
0,
0,
0,
0,
0
],
[
1,
1,
0.6383,
0.0213,
1,
0.26,
... | [
"\"\"\"Class to define how to export datasore entities to a file.\n\nBugExporter tells appcfg.py how to export UrlBugMap entries to a file.\nUse:\n appcfg.py download_data --config_file=bug_map_exporter.py\n --filename=urlbugmap.csv --kind=UrlBugMap <app-directory>\n\"\"\"",
"try:\n # COV_NF_START\n from goog... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.2222,
0.0123,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2469,
0.0123,
0,
0.66,
0.1429,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2716,
0.0123,
0,
0.66,... | [
"\"\"\"Utilities to manipulate target element information.\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"import logging",
"TARGET_ELEMENT_START = 'target_element:'",
"TARGET_ELEMENT_END = ':target_element'",
"TARGET_ELEMENT_CLEAR = '[[BITE_CLEAR_BUG_BINDINGS]]'",
"def GetTargetElementS... |
#!/usr/bin/python2.4
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.165,
0.0097,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1845,
0.0097,
0,
0.66,
0.1429,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2039,
0.0097,
0,
0.66,
... | [
"\"\"\"Handles conversion of data into a string representing a zip file.\"\"\"",
"__author__ = 'jasonstredwick@google.com (Jason Stredwick)'",
"import StringIO",
"import zipfile",
"import simplejson",
"class BadInput(Exception):\n \"\"\"Thrown for bad function input.\"\"\"",
" \"\"\"Thrown for bad fun... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1529,
0.0331,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1818,
0.0083,
0,
0.66,
0.0714,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1983,
0.0083,
0,
0.66,... | [
"\"\"\"Bite basic util lib.\n\nBite basic util lib contains a bunch of common useful functions.\n\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"import datetime",
"import logging",
"import urllib2",
"import simplejson as json",
"from bite_exceptions import basic_exception",
"def ParseJsonStr(json_s... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1581,
0.0342,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.188,
0.0085,
0,
0.66,
0.0909,
777,
1,
0,
0,
0,
0,
3,
0
],
[
7,
0,
0.2521,
0.0684,
0,
0.66,
... | [
"\"\"\"Bite suite and test map model.\n\nThis model is used to store the association between a suite and tests.\n\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"try:\n from google.appengine.ext import db\n from models import bite_suite\n from utils import basic_util\nexcept ImportError:\n from google.app... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.053,
0.0115,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.063,
0.0029,
0,
0.66,
0.0625,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0688,
0.0029,
0,
0.66,
... | [
"\"\"\"Model for bug data.\n\nBug is a model for crawled bug information stored in AppEngine's Datastore.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"import simplejson",
"from google.appengine.ext import db",
"from models import bugs_util",
"class InvalidProvider(Exception):\n \"\"\... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.2024,
0.0119,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2262,
0.0119,
0,
0.66,
0.0909,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.25,
0.0119,
0,
0.66,
... | [
"\"\"\"Bugs utilities.\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"import logging",
"ACTIVE = 'active'",
"RESOLVED = 'resolved'",
"CLOSED = 'closed'",
"UNKNOWN = 'unknown'",
"ISSUETRACKER = 'issuetracker'",
"class InvalidProvider(Exception):\n \"\"\"Thrown when the caller uses a... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1667,
0.0583,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2083,
0.0083,
0,
0.66,
0.1667,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.225,
0.0083,
0,
0.66,
... | [
"\"\"\"Preserves the state of a crawl in the datastore.\n\nCrawlState: Models the state of a crawl in AppEngine's datastore.\nGetLastCrawlResults(): Retrieves the last crawl state saved for a given\n project.\nStoreCrawlState(): Stores the specified state into the datastore.\n\"\"\"",
"__author__ = 'alexto@goo... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1478,
0.0087,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1652,
0.0087,
0,
0.66,
0.0909,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1826,
0.0087,
0,
0.66,... | [
"\"\"\"Counter sharding class.\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"import random",
"from google.appengine.ext import db",
"class Error(Exception):\n pass",
"class MissingShardNameError(Error):\n pass",
"class CounterShard(db.Model):\n \"\"\"Shards for the counter.\"\"\"\n ... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1627,
0.0635,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2063,
0.0079,
0,
0.66,
0.0667,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2222,
0.0079,
0,
0.66,... | [
"\"\"\"RunSiteMap model and associated logic.\n\nRunSiteMap stores the relationship between a CompatRun, Site,\nand VerificationSteps. It keeps tracks of the sites that need\nto be tested for a particular run. This information can be used\nto also answer which sites remain to be tested for a\nparticular run and/or ... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.0776,
0.0046,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0868,
0.0046,
0,
0.66,
0.0435,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0959,
0.0046,
0,
0.66,... | [
"\"\"\"Tests model and associated logic.\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"import sha",
"from google.appengine.api import users",
"from google.appengine.ext import db",
"from google.appengine.ext import deferred",
"from models.compat import browser as compat_browser",
"fr... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1429,
0.0376,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1729,
0.0075,
0,
0.66,
0.1,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.188,
0.0075,
0,
0.66,
... | [
"\"\"\"Admin model and associated logic.\n\nAdmin stores information necessary to manage\naccess to administrative tasks for site compatibility.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"from google.appengine.ext import db",
"class Admin(db.Model):\n \"\"\"Tracks admins by email.\"\"\... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1667,
0.0439,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2018,
0.0088,
0,
0.66,
0.0833,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2193,
0.0088,
0,
0.66,... | [
"\"\"\"Result model and associated logic.\n\nResult stores information about a pass/fail result for\na given browser/run combination.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"from google.appengine.ext import db",
"from models.compat import browser",
"from models.compat import run_si... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1919,
0.0505,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2323,
0.0101,
0,
0.66,
0.1111,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2525,
0.0101,
0,
0.66,... | [
"\"\"\"VerificationSteps model and associated logic.\n\nVerificationSteps stores information about the verification steps that need\nto be performed on a given site during a compatibility run.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"from google.appengine.ext import db",
"class Verifi... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1726,
0.0531,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2124,
0.0088,
0,
0.66,
0.1,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2301,
0.0088,
0,
0.66,
... | [
"\"\"\"CompatRun model and associated logic.\n\nCompatRun stores information about a compatibility run. A run\nis the top most grouping for compatibility tests.It might contains\none or more Sites to be verified.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"from google.appengine.ext import ... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.0989,
0.0214,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1176,
0.0053,
0,
0.66,
0.0769,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1283,
0.0053,
0,
0.66,... | [
"\"\"\"BrowserVersion model and associated logic.\n\nBrowserVersion model stores information about a given browser version.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"from google.appengine.api import memcache",
"from google.appengine.ext import db",
"class BrowserVersion(db.Model):\n ... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.2313,
0.05,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.275,
0.0125,
0,
0.66,
0.1,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.3,
0.0125,
0,
0.66,
0.2,... | [
"\"\"\"Site model and associated logic.\n\nSite stores information about a site used during a compatibility run.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"from google.appengine.ext import db",
"from utils import url_util",
"class Site(db.Model):\n \"\"\"Tracks sites available.\"\"\"... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.19,
0.05,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.23,
0.01,
0,
0.66,
0.0833,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.25,
0.01,
0,
0.66,
0.1667,... | [
"\"\"\"RunTesterMap model and related logic.\n\nRunTesterMap stores the relationship between a CompatRun\nand a User. It tracks the runs a user is subscribed to.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"from google.appengine.api import memcache",
"from google.appengine.ext import db",... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.0872,
0.0229,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1055,
0.0046,
0,
0.66,
0.0385,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1193,
0.0046,
0,
0.66,... | [
"\"\"\"Assignment model and associated logic.\n\nAssignment stores information about run-site-maps assignment\nto individual users (a.k.a. testers).\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"from datetime import datetime",
"from google.appengine.api import memcache",
"from google.app... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1319,
0.0347,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1597,
0.0069,
0,
0.66,
0.0833,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1736,
0.0069,
0,
0.66,... | [
"\"\"\"Tester model and associated logic.\n\nTester stores information necessary to manage\naccess to the test features of the site compatibility.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"import re",
"from google.appengine.ext import db",
"class Tester(db.Model):\n \"\"\"Tracks tes... |
#!/usr/bin/python2.4
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1504,
0.0088,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1681,
0.0088,
0,
0.66,
0.1,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2035,
0.0088,
0,
0.66,
... | [
"\"\"\"Bite Event model is used to log activities performed.\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"from google.appengine.ext import db",
"DEFAULT_MAX_EVENTS = 10000",
"class Error(Exception):\n pass",
"class EventActions(object):\n \"\"\"The actions that performed for an entity object.\"\"\"... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.25,
0.0658,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.3026,
0.0132,
0,
0.66,
0.1429,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.3289,
0.0132,
0,
0.66,
... | [
"\"\"\"BITE model help.\n\nThe model helper is a series of functions that work on model objects and\nperform convenience functions.\n\"\"\"",
"__author__ = 'jasonstredwick@google.com (Jason Stredwick)'",
"import simplejson",
"def Compare(obj, data):\n \"\"\"Compare the given dictionary to see if it is the sa... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.0949,
0.0205,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1128,
0.0051,
0,
0.66,
0.0526,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1231,
0.0051,
0,
0.66,... | [
"\"\"\"Bite Result model.\n\nBite Result model is used to store a test's result during a run.\n\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"import datetime",
"import logging",
"import random",
"try:\n from google.appengine.ext import db\n from models import bite_event\n from models import bite_ru... |
#!/usr/bin/python2.4
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.2043,
0.0538,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2473,
0.0108,
0,
0.66,
0.1429,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2796,
0.0108,
0,
0.66,... | [
"\"\"\"Screenshots captures model.\n\nUsed to store screnshots captured while logging a bug or during\nan automation run.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"from google.appengine.ext import db",
"DEFAULT_LIMIT = 10",
"class Screenshot(db.Model):\n \"\"\"Stores a screenshot.\"... |
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | [
[
8,
0,
0.1209,
0.0523,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1569,
0.0065,
0,
0.66,
0.1429,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1699,
0.0065,
0,
0.66,... | [
"\"\"\"Model for bug templates.\n\nBug Templates provides a model for a template for a type of bug. A project\nowner can define templates for their project, which pre-populate the\nbackend project that the bug should be filed to and provide a starting place for\nthe bug report writer to write their notes. Bug Templ... |
#!/usr/bin/python2.4
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.0969,
0.0255,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1173,
0.0051,
0,
0.66,
0.0714,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1276,
0.0051,
0,
0.66,... | [
"\"\"\"Describes metadata for the rpf project storage back-end.\n\nWe currently use Google Docs as a storage back-end, but\nthis should be easy to change in the future.\n\"\"\"",
"__author__ = 'jasonstredwick@google.com (Jason Stredwick)'",
"import logging",
"import simplejson",
"from google.appengine.ext i... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.0619,
0.019,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0762,
0.0032,
0,
0.66,
0.0385,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1016,
0.0032,
0,
0.66,
... | [
"\"\"\"Bite suite model.\n\nBite Suite model is one of the main meat of BITE models. Users could add\na list of tests to a suite, and then configure the suite from various of\naspects like watchdog job, reports, dimensions, retry logic, etc.\n\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"import datetime",
... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1348,
0.0355,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1631,
0.0071,
0,
0.66,
0.0556,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1702,
0.0071,
0,
0.66... | [
"\"\"\"BITE Project model.\n\nBite Project model is used to differ projects, which is created by\na lead.\n\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"__author__ = 'jasonstredwick@google.com (Jason Stredwick)'",
"import simplejson",
"from google.appengine.ext import db",
"from models import model_h... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.4302,
0.093,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.5116,
0.0233,
0,
0.66,
0.1429,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.5581,
0.0233,
0,
0.66,
... | [
"\"\"\"Tests testing.chronos.bite.server.crawlers.issuetracker_crawler\n\nTODO(alexto): Aadd more unit tests to exercise issuetracker_crawler handler.\n\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"from .pyglib import app",
"from .testing.pybase import googletest",
"from crawlers import i... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.1232,
0.0072,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1377,
0.0072,
0,
0.66,
0.0625,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1594,
0.0072,
0,
0.66,... | [
"\"\"\"Utilities used by crawlers.\"\"\"",
"__author__ = 'alexto@google.com (Alexis O. Torres)'",
"import logging",
"from google.appengine.api import memcache",
"from google.appengine.ext import deferred",
"from google.appengine.runtime import DeadlineExceededError",
"from crawlers import _client",
"f... |
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | [
[
8,
0,
0.5441,
0.1176,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.6471,
0.0294,
0,
0.66,
0.25,
777,
1,
0,
0,
0,
0,
3,
0
],
[
3,
0,
0.75,
0.0588,
0,
0.66,
... | [
"\"\"\"Bite basic exception.\n\nBite basic exception contains a bunch of common exceptions.\n\"\"\"",
"__author__ = 'phu@google.com (Po Hu)'",
"class Error(Exception):\n pass",
"class ParsingJsonError(Error):\n \"\"\"Exception encountered while parsing a Json string.\"\"\"",
" \"\"\"Exception encountered... |
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | [
[
8,
0,
0.303,
0.0152,
0,
0.66,
0,
160,
3,
1,
0,
0,
0,
0,
1
],
[
8,
0,
0.3182,
0.0152,
0,
0.66,
0.2,
160,
3,
1,
0,
0,
0,
0,
1
],
[
14,
0,
0.3636,
0.0455,
0,
0.66,
... | [
"subinclude('//javascript/externs/builddefs:BUILD');",
"subinclude('//javascript/closure/builddefs:BUILD');",
"DEBUG_COMPILER_DEFS = CLOSURE_COMPILER_FLAGS_UNOBFUSCATED + [\n '--generate_exports',\n]",
"OPTIMIZED_COMPILER_DEFS = CLOSURE_COMPILER_FLAGS_STRICT + [\n '--generate_exports',\n]",
"COMPILER_... |
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | [
[
14,
0,
0.8704,
0.2222,
0,
0.66,
0,
222,
0,
0,
0,
0,
0,
5,
0
]
] | [
"TESTING_DEPS = [\n '//apphosting/ext/webapp',\n '//pyglib',\n '//testing/pybase',\n '//third_party/py/mox',\n]"
] |
# -*- mode: python; -*-
# Copyright 2011 Google Inc. 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... | [
[
8,
0,
0.3258,
0.4015,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
2,
0,
0.6818,
0.2803,
0,
0.66,
0.5,
718,
0,
2,
0,
0,
0,
0,
2
],
[
8,
1,
0.6212,
0.1439,
1,
0.96,
... | [
"\"\"\"Utility rules for building extension bundles.\n\nBefore you use any functions from this file, include the following\nline in your BUILD file.\n\nsubinclude('//testing/chronos/bite/builddefs:BUILD.bundle')\n\nUsage example:",
"def GenBundle(base_name, fileset_entries):\n \"\"\"Generate directories containi... |
# -*- mode: python; -*-
# Copyright 2011 Google Inc. 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... | [
[
8,
0,
0.2941,
0.1029,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
2,
0,
0.6838,
0.6176,
0,
0.66,
1,
906,
0,
5,
0,
0,
0,
0,
5
],
[
8,
1,
0.4779,
0.1765,
1,
0.92,
0... | [
"\"\"\"Utility rules for soy templates.\n\nBefore you use any functions from this file, include the following\nline in your BUILD file.\n\nsubinclude('//testing/chronos/bite/builddefs:BUILD.soy_rule')\n\"\"\"",
"def GenSoyJs(rule_name, files, flags=None, locales=None, compiler=None):\n \"\"\"Generate the javascr... |
import random
import math
import pickle
from libs.munkres import Munkres
def createQtable():
FILE = open('agent4_qtable.txt','w')
pickle.dump({},FILE)
FILE.close()
#tactics
class GlobalLevel():
m = Munkres()
matrix=[]
#default tasks of agents
task = [0,1,2,0,1,2]
teamdata = None
st... | [
[
1,
0,
0.001,
0.001,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0021,
0.001,
0,
0.66,
0.1111,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0031,
0.001,
0,
0.66... | [
"import random",
"import math",
"import pickle",
"from libs.munkres import Munkres",
"def createQtable():\n FILE = open('agent4_qtable.txt','w')\n pickle.dump({},FILE)\n FILE.close()",
" FILE = open('agent4_qtable.txt','w')",
" pickle.dump({},FILE)",
" FILE.close()",
"class GlobalL... |
import random
import math
import pickle
from libs.munkres import Munkres
def createQtable():
FILE = open('agent4_qtable.txt','w')
pickle.dump({},FILE)
FILE.close()
#tactics
class GlobalLevel():
m = Munkres()
matrix=[]
#default tasks of agents
task = [0,1,2,0,1,2]
teamdata = None
st... | [
[
1,
0,
0.001,
0.001,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.002,
0.001,
0,
0.66,
0.1111,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.003,
0.001,
0,
0.66,
... | [
"import random",
"import math",
"import pickle",
"from libs.munkres import Munkres",
"def createQtable():\n FILE = open('agent4_qtable.txt','w')\n pickle.dump({},FILE)\n FILE.close()",
" FILE = open('agent4_qtable.txt','w')",
" pickle.dump({},FILE)",
" FILE.close()",
"class GlobalL... |
import random
import math
import pickle
from libs.munkres import Munkres
def createQtable():
FILE = open('agent4_qtable.txt','w')
pickle.dump({},FILE)
FILE.close()
#tactics
class GlobalLevel():
m = Munkres()
matrix=[]
#default tasks of agents
task = [0,0,1,1,2,2]
teamdata = None
st... | [
[
1,
0,
0.001,
0.001,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0021,
0.001,
0,
0.66,
0.1111,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0031,
0.001,
0,
0.66... | [
"import random",
"import math",
"import pickle",
"from libs.munkres import Munkres",
"def createQtable():\n FILE = open('agent4_qtable.txt','w')\n pickle.dump({},FILE)\n FILE.close()",
" FILE = open('agent4_qtable.txt','w')",
" pickle.dump({},FILE)",
" FILE.close()",
"class GlobalL... |
import random
import math
import pickle
from libs.munkres import Munkres
def createQtable():
FILE = open('agent4_qtable.txt','w')
pickle.dump({},FILE)
FILE.close()
#tactics
class GlobalLevel():
m = Munkres()
matrix=[]
#default tasks of agents
task = [0,0,1,1,2,2]
teamdata = None
st... | [
[
1,
0,
0.001,
0.001,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0019,
0.001,
0,
0.66,
0.1111,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0029,
0.001,
0,
0.66... | [
"import random",
"import math",
"import pickle",
"from libs.munkres import Munkres",
"def createQtable():\n FILE = open('agent4_qtable.txt','w')\n pickle.dump({},FILE)\n FILE.close()",
" FILE = open('agent4_qtable.txt','w')",
" pickle.dump({},FILE)",
" FILE.close()",
"class GlobalL... |
import random
import math
import pickle
from libs.munkres import Munkres
def createQtable():
FILE = open('agent4_qtable.txt','w')
pickle.dump({},FILE)
FILE.close()
#tactics
class GlobalLevel():
m = Munkres()
matrix=[]
#default tasks of agents
task = [0,0,1,1,2,2]
teamdata = None
st... | [
[
1,
0,
0.001,
0.001,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0021,
0.001,
0,
0.66,
0.1111,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0031,
0.001,
0,
0.66... | [
"import random",
"import math",
"import pickle",
"from libs.munkres import Munkres",
"def createQtable():\n FILE = open('agent4_qtable.txt','w')\n pickle.dump({},FILE)\n FILE.close()",
" FILE = open('agent4_qtable.txt','w')",
" pickle.dump({},FILE)",
" FILE.close()",
"class GlobalL... |
import random
import math
import pickle
from libs.munkres import Munkres
def createQtable():
FILE = open('agent4_qtable.txt','w')
pickle.dump({},FILE)
FILE.close()
#tactics
class GlobalLevel():
m = Munkres()
matrix=[]
#default tasks of agents
task = [0,0,1,1,2,2]
teamda... | [
[
1,
0,
0.0011,
0.0011,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0021,
0.0011,
0,
0.66,
0.1111,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0032,
0.0011,
0,
... | [
"import random",
"import math",
"import pickle",
"from libs.munkres import Munkres",
"def createQtable():\n FILE = open('agent4_qtable.txt','w')\n pickle.dump({},FILE)\n FILE.close()",
" FILE = open('agent4_qtable.txt','w')",
" pickle.dump({},FILE)",
" FILE.close()",
"class GlobalL... |
#####################
# run.py - 22 feb 2012 - Hessel van der Molen
# Runs & tests 2 defined agent in the domination game.
#####
# USAGE:
#
# shell> python run.py [elements]
# [elements] is:
# -r <redagent.py> ( default: defaultAgent)
# -b <blueagent.py> ( default:... | [
[
1,
0,
0.1525,
0.0085,
0,
0.66,
0,
688,
0,
3,
0,
0,
688,
0,
0
],
[
14,
0,
0.161,
0.0085,
0,
0.66,
0.0769,
846,
3,
1,
0,
0,
908,
10,
1
],
[
8,
0,
0.1695,
0.0085,
0,
... | [
"import os, sys, time",
"path, filename = os.path.split(\"../Domination-Game/domination\")",
"sys.path.append(path)",
"defaultAgent = '../Domination-Game/domination/agent.py'",
"from domination import core, run",
"redAgent = defaultAgent",
"blueAgent = defaultAgent",
"render = 'true'",
"iterations =... |
#####################
# run2.py - 27 feb 2012 - Hessel van der Molen
# Runs & tests 2 identical self-learning agents in the domination-game
# each 5 runs of a game, the cumaltive scores are compared.
# The Q-table with the agent of the higest score is inserted in both agents
#####
# USAGE:
#
# shell> p... | [
[
1,
0,
0.17,
0.01,
0,
0.66,
0,
688,
0,
3,
0,
0,
688,
0,
0
],
[
14,
0,
0.18,
0.01,
0,
0.66,
0.0769,
846,
3,
1,
0,
0,
908,
10,
1
],
[
8,
0,
0.19,
0.01,
0,
0.66,
... | [
"import os, sys, time",
"path, filename = os.path.split(\"../Domination-Game/domination\")",
"sys.path.append(path)",
"defaultAgent = '../Domination-Game/domination/agent.py'",
"from domination import core, run",
"import cPickle",
"redAgent = 'agent3.py'",
"blueAgent = 'agent3.py'",
"iterations = 1"... |
import random
import math
import pickle
def createQtable():
module = LocalLevel(None, None, 0, None, None)
qtable = module.initQtable()
FILE = open('Qtable_agent3_dict.txt','w')
pickle.dump(qtable,FILE)
FILE.close()
#tactics
class GlobalLevel():
#default tasks of agents
task = [0,0,1... | [
[
1,
0,
0.0016,
0.0016,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0031,
0.0016,
0,
0.66,
0.1429,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0047,
0.0016,
0,
... | [
"import random",
"import math",
"import pickle",
"def createQtable():\n module = LocalLevel(None, None, 0, None, None)\n qtable = module.initQtable()\n \n FILE = open('Qtable_agent3_dict.txt','w')\n pickle.dump(qtable,FILE)\n\n FILE.close()",
" module = LocalLevel(None, None, 0, None, N... |
import random
import math
import pickle
from libs.munkres import Munkres
def createQtable():
FILE = open('agent4_qtable.txt','w')
pickle.dump({},FILE)
FILE.close()
#tactics
class GlobalLevel():
m = Munkres()
matrix=[]
#default tasks of agents
task = [0,1,2,0,1,2]
teamdata = None
st... | [
[
1,
0,
0.001,
0.001,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.002,
0.001,
0,
0.66,
0.1111,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.003,
0.001,
0,
0.66,
... | [
"import random",
"import math",
"import pickle",
"from libs.munkres import Munkres",
"def createQtable():\n FILE = open('agent4_qtable.txt','w')\n pickle.dump({},FILE)\n FILE.close()",
" FILE = open('agent4_qtable.txt','w')",
" pickle.dump({},FILE)",
" FILE.close()",
"class GlobalL... |
import random
import math
import pickle
from libs.munkres import Munkres
def createQtable():
FILE = open('agent4_qtable.txt','w')
pickle.dump({},FILE)
FILE.close()
#tactics
class GlobalLevel():
m = Munkres()
matrix=[]
#default tasks of agents
task = [0,1,2,0,1,2]
teamdata = None
st... | [
[
1,
0,
0.001,
0.001,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.002,
0.001,
0,
0.66,
0.1111,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.003,
0.001,
0,
0.66,
... | [
"import random",
"import math",
"import pickle",
"from libs.munkres import Munkres",
"def createQtable():\n FILE = open('agent4_qtable.txt','w')\n pickle.dump({},FILE)\n FILE.close()",
" FILE = open('agent4_qtable.txt','w')",
" pickle.dump({},FILE)",
" FILE.close()",
"class GlobalL... |
# usage:
# - SVN DIR
# shell> python replay.py <replay-file.gz> [f/false]
# - REPLAY DIR
# shell> python ../replay.py <replay-file.gz> [f/false]
# - SUB-REPLAY DIR
# shell> python ../../replay.py <replay-file.gz> [f/false]
#
# [f / false] = optional, if added, rendered=False
#
# import Domination directo... | [
[
1,
0,
0.1605,
0.0123,
0,
0.66,
0,
688,
0,
2,
0,
0,
688,
0,
0
],
[
14,
0,
0.1728,
0.0123,
0,
0.66,
0.0909,
846,
3,
1,
0,
0,
908,
10,
1
],
[
8,
0,
0.1852,
0.0123,
0,
... | [
"import os, sys",
"path, filename = os.path.split(\"../Domination-Game/domination\")",
"sys.path.append(path)",
"path, filename = os.path.split(\"../../Domination-Game/domination\") #enabling to run from replay-dir",
"sys.path.append(path)",
"path, filename = os.path.split(\"../../../Domination-Game/... |
import random
import math
import pickle
def createQtable():
module = LocalLevel(None, None, 0, None, None)
qtable = module.initQtable()
FILE = open('Qtable_agent3_dict.txt','w')
pickle.dump(qtable,FILE)
FILE.close()
#tactics
class GlobalLevel():
#default tasks of agents
task = [0,0,1... | [
[
1,
0,
0.0016,
0.0016,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0032,
0.0016,
0,
0.66,
0.1429,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0048,
0.0016,
0,
... | [
"import random",
"import math",
"import pickle",
"def createQtable():\n module = LocalLevel(None, None, 0, None, None)\n qtable = module.initQtable()\n \n FILE = open('Qtable_agent3_dict.txt','w')\n pickle.dump(qtable,FILE)\n\n FILE.close()",
" module = LocalLevel(None, None, 0, None, N... |
import random
import math
import pickle
def createQtable():
module = LocalLevel(None, None, 0, None, None)
qtable = module.initQtable()
FILE = open('Qtable_agent3_dict.txt','w')
pickle.dump(qtable,FILE)
FILE.close()
#tactics
class GlobalLevel():
#default tasks of agents
task = [0,0,1... | [
[
1,
0,
0.0016,
0.0016,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0032,
0.0016,
0,
0.66,
0.1429,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0048,
0.0016,
0,
... | [
"import random",
"import math",
"import pickle",
"def createQtable():\n module = LocalLevel(None, None, 0, None, None)\n qtable = module.initQtable()\n \n FILE = open('Qtable_agent3_dict.txt','w')\n pickle.dump(qtable,FILE)\n\n FILE.close()",
" module = LocalLevel(None, None, 0, None, N... |
import pickle
FILE = open('Qtable_agent3_vs_default_10000_14000.txt','rb')
Qtable = pickle.loads(FILE.read())
FILE.close()
b = []
for i,j in Qtable.iteritems():
b.append(i)
b.sort()
for i in b:
print str(i) | [
[
1,
0,
0.0714,
0.0714,
0,
0.66,
0,
848,
0,
1,
0,
0,
848,
0,
0
],
[
14,
0,
0.2143,
0.0714,
0,
0.66,
0.1429,
834,
3,
2,
0,
0,
693,
10,
1
],
[
14,
0,
0.2857,
0.0714,
0,
... | [
"import pickle",
"FILE = open('Qtable_agent3_vs_default_10000_14000.txt','rb')",
"Qtable = pickle.loads(FILE.read())",
"FILE.close()",
"b = []",
"for i,j in Qtable.iteritems():\n b.append(i)",
" b.append(i)",
"b.sort()",
"for i in b:\n print(str(i))",
" print(str(i))"
] |
#####################
# run.py - 5 march 2012 - Hessel van der Molen
# Runs & tests 2 defined agents in the domination game.
#####
# USAGE:
#
# shell> python run.py [elements]
# [elements] is:
# -r <redagent.py> (pythonfile default: defaultAgent)
# -b <blueagent.py> (pythonfile ... | [
[
1,
0,
0.1237,
0.0054,
0,
0.66,
0,
688,
0,
4,
0,
0,
688,
0,
0
],
[
14,
0,
0.129,
0.0054,
0,
0.66,
0.0667,
846,
3,
1,
0,
0,
908,
10,
1
],
[
8,
0,
0.1344,
0.0054,
0,
... | [
"import os, sys, time, pickle",
"path, filename = os.path.split(\"../Domination-Game/domination\")",
"sys.path.append(path)",
"defaultAgent = '../Domination-Game/domination/agent.py'",
"from domination import core, run",
"redAgent = defaultAgent",
"blueAgent = defaultAgent",
"render = 'true'",
"iter... |
class Agent(object):
NAME = "default_agent"
def __init__(self, id, team, settings=None, field_rects=None, field_grid=None, nav_mesh=None):
""" Each agent is initialized at the beginning of each game.
The first agent (id==0) can use this to set up global variables.
Note... | [
[
3,
0,
0.3415,
0.6646,
0,
0.66,
0,
714,
0,
5,
0,
0,
186,
0,
11
],
[
14,
1,
0.0244,
0.0061,
1,
0.37,
0,
181,
1,
0,
0,
0,
0,
3,
0
],
[
2,
1,
0.0854,
0.1037,
1,
0.37,... | [
"class Agent(object):\n \n NAME = \"default_agent\"\n \n def __init__(self, id, team, settings=None, field_rects=None, field_grid=None, nav_mesh=None):\n \"\"\" Each agent is initialized at the beginning of each game.\n The first agent (id==0) can use this to set up global variables.\n... |
import random
import math
import cPickle
class Agent(object):
NAME = "Agent_007"
Gamma = 0.9
Alpha = 0.1
num_of_actions = 4
# states features:
# [a] AmmoAmount = 3 values [0:0, 1:1-2, 2:3+]
# [b] TaskDistance = 4 values [0:0, 1:1, 2:2, 3:3+]
# Qtable[a][b][action... | [
[
1,
0,
0.0042,
0.0042,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0085,
0.0042,
0,
0.66,
0.3333,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0127,
0.0042,
0,
... | [
"import random",
"import math",
"import cPickle",
"class Agent(object):\n \n NAME = \"Agent_007\"\n Gamma = 0.9\n Alpha = 0.1\n num_of_actions = 4\n\n # states features:",
" NAME = \"Agent_007\"",
" Gamma = 0.9",
" Alpha = 0.1",
" num_of_actions = 4",
" AmmoAmount = ... |
class Agent(object):
NAME = "KR1702_agent"
ammo_pos = []
agent_goal=[0,0,0,0,0,0]
def __init__(self, id, team, settings=None, field_rects=None, field_grid=None, nav_mesh=None):
""" Each agent is initialized at the beginning of each game.
The first agent (id==0) can use this t... | [
[
3,
0,
0.5026,
0.9894,
0,
0.66,
0,
714,
0,
5,
0,
0,
186,
0,
31
],
[
14,
1,
0.0212,
0.0053,
1,
0.83,
0,
181,
1,
0,
0,
0,
0,
3,
0
],
[
14,
1,
0.0265,
0.0053,
1,
0.83... | [
"class Agent(object):\n \n NAME = \"KR1702_agent\"\n ammo_pos = []\n agent_goal=[0,0,0,0,0,0]\n\n\n def __init__(self, id, team, settings=None, field_rects=None, field_grid=None, nav_mesh=None):",
" NAME = \"KR1702_agent\"",
" ammo_pos = []",
" agent_goal=[0,0,0,0,0,0]",
" def __i... |
class Agent(object):
NAME = "default_agent"
def __init__(self, id, team, settings=None, field_rects=None, field_grid=None, nav_mesh=None):
""" Each agent is initialized at the beginning of each game.
The first agent (id==0) can use this to set up global variables.
Note... | [
[
3,
0,
0.3556,
0.6944,
0,
0.66,
0,
714,
0,
5,
0,
0,
186,
0,
17
],
[
14,
1,
0.0222,
0.0056,
1,
0.52,
0,
181,
1,
0,
0,
0,
0,
3,
0
],
[
2,
1,
0.1028,
0.1444,
1,
0.52,... | [
"class Agent(object):\n \n NAME = \"default_agent\"\n \n def __init__(self, id, team, settings=None, field_rects=None, field_grid=None, nav_mesh=None):\n \"\"\" Each agent is initialized at the beginning of each game.\n The first agent (id==0) can use this to set up global variables.\n... |
import random
import math
import cPickle
class Agent(object):
NAME = "Agent_007"
Gamma = 0.9
Alpha = 0.1
num_of_actions = 4
# states features:
# [a] AmmoAmount = 3 values [0:0, 1:1-2, 2:3+]
# [b] TaskDistance = 4 values [0:0, 1:1, 2:2, 3:3+]
# Qtable[a][b][action... | [
[
1,
0,
0.0041,
0.0041,
0,
0.66,
0,
715,
0,
1,
0,
0,
715,
0,
0
],
[
1,
0,
0.0081,
0.0041,
0,
0.66,
0.3333,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0122,
0.0041,
0,
... | [
"import random",
"import math",
"import cPickle",
"class Agent(object):\n \n NAME = \"Agent_007\"\n Gamma = 0.9\n Alpha = 0.1\n num_of_actions = 4\n\n # states features:",
" NAME = \"Agent_007\"",
" Gamma = 0.9",
" Alpha = 0.1",
" num_of_actions = 4",
" AmmoAmount = ... |
class Agent(object):
NAME = "KR1702_agent"
ammo_pos = []
agent_goal=[0,0,0,0,0,0]
my_CP = [0,0]
agent_ammo=[0,0,0,0,0,0]
def __init__(self, id, team, settings=None, field_rects=None, field_grid=None, nav_mesh=None):
""" Each agent is initialized at the beginning of each game.
... | [
[
3,
0,
0.5029,
0.9886,
0,
0.66,
0,
714,
0,
5,
0,
0,
186,
0,
23
],
[
14,
1,
0.0229,
0.0057,
1,
0.1,
0,
181,
1,
0,
0,
0,
0,
3,
0
],
[
14,
1,
0.0286,
0.0057,
1,
0.1,
... | [
"class Agent(object):\n \n NAME = \"KR1702_agent\"\n ammo_pos = []\n agent_goal=[0,0,0,0,0,0]\n my_CP = [0,0]\n agent_ammo=[0,0,0,0,0,0]",
" NAME = \"KR1702_agent\"",
" ammo_pos = []",
" agent_goal=[0,0,0,0,0,0]",
" my_CP = [0,0]",
" agent_ammo=[0,0,0,0,0,0]",
" def _... |
class Agent(object):
NAME = "KR1802_agent"
ammo_pos = []
agent_goal1=[0,0,0]
agent_goal2=[0,0,0]
my_CP = [0,0]
agent_ammo1=[0,0,0]
agent_ammo2=[0,0,0]
def __init__(self, id, team, settings=None, field_rects=None, field_grid=None, nav_mesh=None):
""" Each agent is initiali... | [
[
3,
0,
0.5022,
0.9911,
0,
0.66,
0,
714,
0,
5,
0,
0,
186,
0,
41
],
[
14,
1,
0.0179,
0.0045,
1,
0.67,
0,
181,
1,
0,
0,
0,
0,
3,
0
],
[
14,
1,
0.0223,
0.0045,
1,
0.67... | [
"class Agent(object):\n \n NAME = \"KR1802_agent\"\n ammo_pos = []\n agent_goal1=[0,0,0]\n agent_goal2=[0,0,0]\n my_CP = [0,0]\n agent_ammo1=[0,0,0]",
" NAME = \"KR1802_agent\"",
" ammo_pos = []",
" agent_goal1=[0,0,0]",
" agent_goal2=[0,0,0]",
" my_CP = [0,0]",
" ... |
#====================================================================
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you ... | [
[
1,
0,
0.3514,
0.0135,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.3649,
0.0135,
0,
0.66,
0.1111,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.3784,
0.0135,
0,
... | [
"import os",
"import re",
"import tempfile",
"import shutil",
"ignore_pattern = re.compile('^(.svn|target|bin|classes)')",
"java_pattern = re.compile('^.*\\.java')",
"annot_pattern = re.compile('import org\\.apache\\.http\\.annotation\\.')",
"def process_dir(dir):\n files = os.listdir(dir)\n for... |
#!/usr/bin/env python
import codecs
import re
import jinja2
import markdown
def process_slides():
with codecs.open('../../presentation-output.html', 'w', encoding='utf8') as outfile:
md = codecs.open('slides.md', encoding='utf8').read()
md_slides = md.split('\n---\n')
print 'Compiled %s slides.' % len(m... | [
[
1,
0,
0.0526,
0.0175,
0,
0.66,
0,
220,
0,
1,
0,
0,
220,
0,
0
],
[
1,
0,
0.0702,
0.0175,
0,
0.66,
0.1429,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.0877,
0.0175,
0,
... | [
"import codecs",
"import re",
"import jinja2",
"import markdown",
"def process_slides():\n with codecs.open('../../presentation-output.html', 'w', encoding='utf8') as outfile:\n md = codecs.open('slides.md', encoding='utf8').read()\n md_slides = md.split('\\n---\\n')\n print('Compiled %s slides.' ... |
#!/usr/bin/env python
import urllib2
import shutil
import os
from os.path import join, exists, dirname, abspath
from glob import glob
from subprocess import call
from zipfile import ZipFile
JASMINE_REPORTER_URL='https://github.com/larrymyers/jasmine-reporters/zipball/0.2.1'
BASE = abspath(dirname(__file__))
REPORT_DI... | [
[
1,
0,
0.0385,
0.0192,
0,
0.66,
0,
345,
0,
1,
0,
0,
345,
0,
0
],
[
1,
0,
0.0577,
0.0192,
0,
0.66,
0.0625,
614,
0,
1,
0,
0,
614,
0,
0
],
[
1,
0,
0.0769,
0.0192,
0,
... | [
"import urllib2",
"import shutil",
"import os",
"from os.path import join, exists, dirname, abspath",
"from glob import glob",
"from subprocess import call",
"from zipfile import ZipFile",
"JASMINE_REPORTER_URL='https://github.com/larrymyers/jasmine-reporters/zipball/0.2.1'",
"BASE = abspath(dirname... |
import os
THIS_PATH = os.path.dirname(__file__)
GOLDEN_OUTPUT = os.path.join(THIS_PATH, 'golden_suite', 'output.xml')
GOLDEN_OUTPUT2 = os.path.join(THIS_PATH, 'golden_suite', 'output2.xml')
GOLDEN_JS = os.path.join(THIS_PATH, 'golden_suite', 'expected.js')
| [
[
1,
0,
0.1429,
0.1429,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
14,
0,
0.4286,
0.1429,
0,
0.66,
0.25,
832,
3,
1,
0,
0,
959,
10,
1
],
[
14,
0,
0.5714,
0.1429,
0,
... | [
"import os",
"THIS_PATH = os.path.dirname(__file__)",
"GOLDEN_OUTPUT = os.path.join(THIS_PATH, 'golden_suite', 'output.xml')",
"GOLDEN_OUTPUT2 = os.path.join(THIS_PATH, 'golden_suite', 'output2.xml')",
"GOLDEN_JS = os.path.join(THIS_PATH, 'golden_suite', 'expected.js')"
] |
__author__ = 'janne'
| [
[
14,
0,
1,
1,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
]
] | [
"__author__ = 'janne'"
] |
#!/usr/bin/env python
import fileinput
from os.path import join, dirname, abspath
import sys
import os
BASEDIR = dirname(abspath(__file__))
OUTPUT = join(BASEDIR, 'output.xml')
sys.path.insert(0, join(BASEDIR, '..', '..', '..', '..', 'src'))
import robot
from robot.conf.settings import RebotSettings
from robot.repo... | [
[
1,
0,
0.0526,
0.0175,
0,
0.66,
0,
286,
0,
1,
0,
0,
286,
0,
0
],
[
1,
0,
0.0702,
0.0175,
0,
0.66,
0.0667,
79,
0,
3,
0,
0,
79,
0,
0
],
[
1,
0,
0.0877,
0.0175,
0,
0.... | [
"import fileinput",
"from os.path import join, dirname, abspath",
"import sys",
"import os",
"BASEDIR = dirname(abspath(__file__))",
"OUTPUT = join(BASEDIR, 'output.xml')",
"sys.path.insert(0, join(BASEDIR, '..', '..', '..', '..', 'src'))",
"import robot",
"from robot.conf.settings import RebotSetti... |
#!/usr/bin/env python
import sys
import os
from os.path import join, dirname
from distutils.core import setup
execfile(join(dirname(__file__), 'src', 'robot', 'version.py'))
# Maximum width in Windows installer seems to be 70 characters -------|
DESCRIPTION = """
Robot Framework is a generic test automation framewor... | [
[
1,
0,
0.2,
0.2,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.4,
0.2,
0,
0.66,
0.3333,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.6,
0.2,
0,
0.66,
0.6667,
... | [
"import sys",
"import os",
"from os.path import join, dirname",
"from distutils.core import setup"
] |
#!/usr/bin/env python
"""A script for running Robot Framework's acceptance tests.
Usage: run_atests.py interpreter [options] datasource(s)
Data sources are paths to directories or files under `robot` folder.
Available options are the same that can be used with Robot Framework.
See its help (e.g. `pybot --help`) fo... | [
[
8,
0,
0.1053,
0.1667,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.2018,
0.0088,
0,
0.66,
0.0714,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.2105,
0.0088,
0,
0.66... | [
"\"\"\"A script for running Robot Framework's acceptance tests.\n\nUsage: run_atests.py interpreter [options] datasource(s)\n\nData sources are paths to directories or files under `robot` folder.\n\nAvailable options are the same that can be used with Robot Framework.\nSee its help (e.g. `pybot --help`) for more i... |
import subprocess
import os
import signal
import ctypes
class ProcessManager(object):
def __init__(self):
self._process = None
self._stdout = None
self._stderr = None
def start_process(self, *args):
self._process = subprocess.Popen(args, stderr=subprocess.PIPE,
... | [
[
1,
0,
0.0137,
0.0137,
0,
0.66,
0,
394,
0,
1,
0,
0,
394,
0,
0
],
[
1,
0,
0.0274,
0.0137,
0,
0.66,
0.25,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.0411,
0.0137,
0,
0.... | [
"import subprocess",
"import os",
"import signal",
"import ctypes",
"class ProcessManager(object):\n\n def __init__(self):\n self._process = None\n self._stdout = None\n self._stderr = None\n\n def start_process(self, *args):",
" def __init__(self):\n self._process = N... |
from __future__ import with_statement
import os
import re
from os.path import abspath, dirname, join
from subprocess import call, STDOUT
import tempfile
from robot.utils.asserts import assert_equals, assert_true
from robot.utils import decode_output
ROBOT_SRC = join(dirname(abspath(__file__)), '..', '..', '..', 'sr... | [
[
1,
0,
0.0108,
0.0108,
0,
0.66,
0,
777,
0,
1,
0,
0,
777,
0,
0
],
[
1,
0,
0.0323,
0.0108,
0,
0.66,
0.0909,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.043,
0.0108,
0,
0... | [
"from __future__ import with_statement",
"import os",
"import re",
"from os.path import abspath, dirname, join",
"from subprocess import call, STDOUT",
"import tempfile",
"from robot.utils.asserts import assert_equals, assert_true",
"from robot.utils import decode_output",
"ROBOT_SRC = join(dirname(... |
import json
import os
import pprint
import tempfile
from os.path import join, dirname, abspath
from subprocess import call, STDOUT
from robot.api import logger
from robot.utils import decode_output
ROBOT_SRC = join(dirname(abspath(__file__)), '..', '..', '..', 'src')
class LibDocLib(object):
def __init__(self, ... | [
[
1,
0,
0.0244,
0.0244,
0,
0.66,
0,
463,
0,
1,
0,
0,
463,
0,
0
],
[
1,
0,
0.0488,
0.0244,
0,
0.66,
0.1111,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.0732,
0.0244,
0,
... | [
"import json",
"import os",
"import pprint",
"import tempfile",
"from os.path import join, dirname, abspath",
"from subprocess import call, STDOUT",
"from robot.api import logger",
"from robot.utils import decode_output",
"ROBOT_SRC = join(dirname(abspath(__file__)), '..', '..', '..', 'src')",
"cl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.