messages listlengths 2 2 |
|---|
[
{
"role": "user",
"content": "Write Python code that implements cluster.py from pegasus-isi/pegasus (path: test/core/010-runtime-clustering/cluster.py)."
},
{
"role": "assistant",
"content": "# test/core/010-runtime-clustering/cluster.py (from pegasus-isi/pegasus, license: apache-2.0)\n\n#!/usr/... |
[
{
"role": "user",
"content": "Write Python code that implements setup.py from bramd/django-phonenumber-field (path: setup.py)."
},
{
"role": "assistant",
"content": "# setup.py (from bramd/django-phonenumber-field, license: mit)\n\nfrom setuptools import setup, find_packages\nfrom phonenumber_fi... |
[
{
"role": "user",
"content": "Write Python code that implements remove_duplicate_atoms.py from quang-ha/lammps (path: tools/moltemplate/moltemplate/remove_duplicate_atoms.py)."
},
{
"role": "assistant",
"content": "# tools/moltemplate/moltemplate/remove_duplicate_atoms.py (from quang-ha/lammps, ... |
[
{
"role": "user",
"content": "Write Python code that implements group_association.py from hydroshare/hydroshare_temp (path: hs_party/models/group_association.py)."
},
{
"role": "assistant",
"content": "# hs_party/models/group_association.py (from hydroshare/hydroshare_temp, license: bsd-3-clause... |
[
{
"role": "user",
"content": "Write Python code that implements test_turbo_equalization1.py from scalable-networks/ext (path: gnuradio-3.7.0.1/gr-trellis/examples/python/test_turbo_equalization1.py)."
},
{
"role": "assistant",
"content": "# gnuradio-3.7.0.1/gr-trellis/examples/python/test_turbo_... |
[
{
"role": "user",
"content": "Write Python code that implements 0001_initial.py from astagi/django-cms (path: cms/test_utils/project/placeholderapp/migrations_django/0001_initial.py)."
},
{
"role": "assistant",
"content": "# cms/test_utils/project/placeholderapp/migrations_django/0001_initial.py... |
[
{
"role": "user",
"content": "Write Python code that implements invalid_values_test.py from lhupfeldt/multiconf (path: test/invalid_values_test.py)."
},
{
"role": "assistant",
"content": "# test/invalid_values_test.py (from lhupfeldt/multiconf, license: bsd-3-clause)\n\n# Copyright (c) 2012 Lars... |
[
{
"role": "user",
"content": "Write Python code that implements test_mutable_list.py from mshafiq9/django (path: tests/gis_tests/geos_tests/test_mutable_list.py)."
},
{
"role": "assistant",
"content": "# tests/gis_tests/geos_tests/test_mutable_list.py (from mshafiq9/django, license: bsd-3-clause... |
[
{
"role": "user",
"content": "Write Python code that implements test_raise.py from theheros/kbengine (path: kbe/src/lib/python/Lib/test/test_raise.py)."
},
{
"role": "assistant",
"content": "# kbe/src/lib/python/Lib/test/test_raise.py (from theheros/kbengine, license: lgpl-3.0)\n\n# Copyright 20... |
[
{
"role": "user",
"content": "Write Python code that implements tombstones.py from embeddedarm/android_external_chromium_org (path: build/android/tombstones.py)."
},
{
"role": "assistant",
"content": "# build/android/tombstones.py (from embeddedarm/android_external_chromium_org, license: bsd-3-c... |
[
{
"role": "user",
"content": "Write Python code that implements tar.py from datalogics-robb/scons (path: src/engine/SCons/Tool/tar.py)."
},
{
"role": "assistant",
"content": "# src/engine/SCons/Tool/tar.py (from datalogics-robb/scons, license: mit)\n\n\"\"\"SCons.Tool.tar\n\nTool-specific initia... |
[
{
"role": "user",
"content": "Write Python code that implements transform.py from GoogleCloudPlatform/DataflowTemplates (path: v2/common/src/test/resources/PythonTextTransformerTest/transform.py)."
},
{
"role": "assistant",
"content": "# v2/common/src/test/resources/PythonTextTransformerTest/tra... |
[
{
"role": "user",
"content": "Write Python code that implements ext_has_spouse_features.py from zifeishan/deepdive (path: examples/tutorial_example/step3-more-data/experiment-reports/v00001/code/udf/ext_has_spouse_features.py)."
},
{
"role": "assistant",
"content": "# examples/tutorial_example/s... |
[
{
"role": "user",
"content": "Write Python code that implements fix_intern.py from JT5D/Alfred-Popclip-Sublime (path: Sublime Text 2/Python PEP8 Autoformat/libs/lib2to3/fixes/fix_intern.py)."
},
{
"role": "assistant",
"content": "# Sublime Text 2/Python PEP8 Autoformat/libs/lib2to3/fixes/fix_int... |
[
{
"role": "user",
"content": "Write Python code that implements conf.py from mrjefftang/psutil (path: docs/conf.py)."
},
{
"role": "assistant",
"content": "# docs/conf.py (from mrjefftang/psutil, license: bsd-3-clause)\n\n# -*- coding: utf-8 -*-\n#\n# psutil documentation build configuration fil... |
[
{
"role": "user",
"content": "Write Python code that implements __init__.py from ychen820/microblog (path: y/google-cloud-sdk/platform/google_appengine/lib/django-1.3/django/contrib/auth/management/__init__.py)."
},
{
"role": "assistant",
"content": "# y/google-cloud-sdk/platform/google_appengin... |
[
{
"role": "user",
"content": "Write Python code that implements compdoc.py from gimite/personfinder (path: app/vendors/xlrd/compdoc.py)."
},
{
"role": "assistant",
"content": "# app/vendors/xlrd/compdoc.py (from gimite/personfinder, license: apache-2.0)\n\n# -*- coding: cp1252 -*-\n\n##\n# Imple... |
[
{
"role": "user",
"content": "Write Python code that implements test_misc_util.py from CallaJun/hackprince (path: indico/numpy/distutils/tests/test_misc_util.py)."
},
{
"role": "assistant",
"content": "# indico/numpy/distutils/tests/test_misc_util.py (from CallaJun/hackprince, license: lgpl-3.0)... |
[
{
"role": "user",
"content": "Write Python code that implements __init__.py from loco-odoo/localizacion_co (path: openerp/addons/email_template/wizard/__init__.py)."
},
{
"role": "assistant",
"content": "# openerp/addons/email_template/wizard/__init__.py (from loco-odoo/localizacion_co, license:... |
[
{
"role": "user",
"content": "Write Python code that implements snippets_pdf.py from Distrotech/pycairo (path: examples/cairo_snippets/snippets_pdf.py)."
},
{
"role": "assistant",
"content": "# examples/cairo_snippets/snippets_pdf.py (from Distrotech/pycairo, license: gpl-3.0)\n\n#!/usr/bin/env ... |
[
{
"role": "user",
"content": "Write Python code that implements gated_autoencoder.py from cosmoharrigan/pylearn2 (path: pylearn2/costs/gated_autoencoder.py)."
},
{
"role": "assistant",
"content": "# pylearn2/costs/gated_autoencoder.py (from cosmoharrigan/pylearn2, license: bsd-3-clause)\n\n\"\"\... |
[
{
"role": "user",
"content": "Write Python code that implements test_server.py from jaysonsantos/servo (path: tests/wpt/web-platform-tests/tools/wptserve/tests/functional/test_server.py)."
},
{
"role": "assistant",
"content": "# tests/wpt/web-platform-tests/tools/wptserve/tests/functional/test_s... |
[
{
"role": "user",
"content": "Write Python code that implements expotv.py from Rudloff/youtube-dl (path: youtube_dl/extractor/expotv.py)."
},
{
"role": "assistant",
"content": "# youtube_dl/extractor/expotv.py (from Rudloff/youtube-dl, license: unlicense)\n\nfrom __future__ import unicode_litera... |
[
{
"role": "user",
"content": "Write Python code that implements IdentityAccessManagement.py from thinksabin/lazy-devops (path: S3 bucket Maker/IdentityAccessManagement.py)."
},
{
"role": "assistant",
"content": "# S3 bucket Maker/IdentityAccessManagement.py (from thinksabin/lazy-devops, license:... |
[
{
"role": "user",
"content": "Write Python code that implements test_kioxia.py from mahak/cinder (path: cinder/tests/unit/volume/drivers/test_kioxia.py)."
},
{
"role": "assistant",
"content": "# cinder/tests/unit/volume/drivers/test_kioxia.py (from mahak/cinder, license: apache-2.0)\n\n# Lice... |
[
{
"role": "user",
"content": "Write Python code that implements result.py from c-o-m-m-a-n-d-e-r/CouchPotatoServer (path: libs/caper/result.py)."
},
{
"role": "assistant",
"content": "# libs/caper/result.py (from c-o-m-m-a-n-d-e-r/CouchPotatoServer, license: gpl-3.0)\n\n# Copyright 2013 Dean Gar... |
[
{
"role": "user",
"content": "Write Python code that implements hall.py from ToBeReplaced/ansible-modules-extras (path: notification/hall.py)."
},
{
"role": "assistant",
"content": "# notification/hall.py (from ToBeReplaced/ansible-modules-extras, license: gpl-3.0)\n\n#!/usr/bin/python\n# -*- co... |
[
{
"role": "user",
"content": "Write Python code that implements bader.py from misdoro/python-ase (path: ase/calculators/jacapo/utils/bader.py)."
},
{
"role": "assistant",
"content": "# ase/calculators/jacapo/utils/bader.py (from misdoro/python-ase, license: gpl-2.0)\n\nfrom __future__ import pri... |
[
{
"role": "user",
"content": "Write Python code that implements staff_grading_service.py from playm2mboy/edx-platform (path: lms/djangoapps/open_ended_grading/staff_grading_service.py)."
},
{
"role": "assistant",
"content": "# lms/djangoapps/open_ended_grading/staff_grading_service.py (from play... |
[
{
"role": "user",
"content": "Write Python code that implements Six_zebra_models29901.py from batxes/4c2vhic (path: Six_zebra_models/Six_zebra_models_final_output_0.1_-0.1_13000/Six_zebra_models29901.py)."
},
{
"role": "assistant",
"content": "# Six_zebra_models/Six_zebra_models_final_output_0.1... |
[
{
"role": "user",
"content": "Write Python code that implements chance.py from aostapenko/manila (path: manila/scheduler/chance.py)."
},
{
"role": "assistant",
"content": "# manila/scheduler/chance.py (from aostapenko/manila, license: apache-2.0)\n\n# vim: tabstop=4 shiftwidth=4 softtabstop=4\n\... |
[
{
"role": "user",
"content": "Write Python code that implements 0098_auto__add_user__chg_field_team_owner__chg_field_activity_user__chg_fie.py from wujuguang/sentry (path: src/sentry/migrations/0098_auto__add_user__chg_field_team_owner__chg_field_activity_user__chg_fie.py)."
},
{
"role": "assistant"... |
[
{
"role": "user",
"content": "Write Python code that implements description.py from vanhonit/xmario_center (path: softwarecenter/ui/gtk3/widgets/description.py)."
},
{
"role": "assistant",
"content": "# softwarecenter/ui/gtk3/widgets/description.py (from vanhonit/xmario_center, license: gpl-3.0)... |
[
{
"role": "user",
"content": "Write Python code that implements machine_pool.py from teddym6/qualitybots (path: src/appengine/handlers/machine_pool.py)."
},
{
"role": "assistant",
"content": "# src/appengine/handlers/machine_pool.py (from teddym6/qualitybots, license: apache-2.0)\n\n#!/usr/bin/p... |
[
{
"role": "user",
"content": "Write Python code that implements CM_ais.py from aspiers/pacemaker (path: cts/CM_ais.py)."
},
{
"role": "assistant",
"content": "# cts/CM_ais.py (from aspiers/pacemaker, license: gpl-2.0)\n\n'''CTS: Cluster Testing System: AIS dependent modules...\n'''\n\n__copyrigh... |
[
{
"role": "user",
"content": "Write Python code that implements builder_message_media_downloadable.py from jlguardi/yowsup (path: yowsup/layers/protocol_media/protocolentities/builder_message_media_downloadable.py)."
},
{
"role": "assistant",
"content": "# yowsup/layers/protocol_media/protocolen... |
[
{
"role": "user",
"content": "Write Python code that implements ATNDeserializer.py from damorim/compilers-cin (path: 2020_3/projeto2/antlr4-python3-runtime-4.7.2/src/antlr4/atn/ATNDeserializer.py)."
},
{
"role": "assistant",
"content": "# 2020_3/projeto2/antlr4-python3-runtime-4.7.2/src/antlr4/a... |
[
{
"role": "user",
"content": "Write Python code that implements invenio_2012_11_27_new_selfcite_tables.py from ppiotr/Invenio (path: modules/miscutil/lib/upgrades/invenio_2012_11_27_new_selfcite_tables.py)."
},
{
"role": "assistant",
"content": "# modules/miscutil/lib/upgrades/invenio_2012_11_27... |
[
{
"role": "user",
"content": "Write Python code that implements widgets.py from dvliman/jaikuengine (path: .google_appengine/lib/django-0.96/django/newforms/extras/widgets.py)."
},
{
"role": "assistant",
"content": "# .google_appengine/lib/django-0.96/django/newforms/extras/widgets.py (from dvli... |
[
{
"role": "user",
"content": "Write Python code that implements introspection.py from alextruberg/custom_django (path: django/contrib/gis/db/backends/mysql/introspection.py)."
},
{
"role": "assistant",
"content": "# django/contrib/gis/db/backends/mysql/introspection.py (from alextruberg/custom_d... |
[
{
"role": "user",
"content": "Write Python code that implements models.py from desarrollosimagos/svidb (path: administrativo/perfil/models.py)."
},
{
"role": "assistant",
"content": "# administrativo/perfil/models.py (from desarrollosimagos/svidb, license: gpl-3.0)\n\n#!/usr/bin/python -u\n# -*-... |
[
{
"role": "user",
"content": "Write Python code that implements __init__.py from zjuchenyuan/BioWeb (path: Lib/requests/packages/__init__.py)."
},
{
"role": "assistant",
"content": "# Lib/requests/packages/__init__.py (from zjuchenyuan/BioWeb, license: mit)\n\n'''\nDebian and other distributions... |
[
{
"role": "user",
"content": "Write Python code that implements test_camera.py from pschmitt/home-assistant (path: tests/components/local_file/test_camera.py)."
},
{
"role": "assistant",
"content": "# tests/components/local_file/test_camera.py (from pschmitt/home-assistant, license: apache-2.0)\... |
[
{
"role": "user",
"content": "Write Python code that implements bulk_import_validation.py from emrah-b/oclapi (path: django-nonrel/ocl/integration_tests/tests/bulk_import_validation.py)."
},
{
"role": "assistant",
"content": "# django-nonrel/ocl/integration_tests/tests/bulk_import_validation.py ... |
[
{
"role": "user",
"content": "Write Python code that implements misc_unittest.py from IllusionRom-deprecated/android_platform_external_chromium_org_tools_grit (path: grit/node/misc_unittest.py)."
},
{
"role": "assistant",
"content": "# grit/node/misc_unittest.py (from IllusionRom-deprecated/andr... |
[
{
"role": "user",
"content": "Write Python code that implements tests.py from illicitonion/givabit (path: lib/sdks/google_appengine_1.7.1/google_appengine/lib/django_1_2/tests/regressiontests/m2m_regress/tests.py)."
},
{
"role": "assistant",
"content": "# lib/sdks/google_appengine_1.7.1/google_a... |
[
{
"role": "user",
"content": "Write Python code that implements test_middleware.py from Stanford-Online/edx-platform (path: lms/djangoapps/courseware/tests/test_middleware.py)."
},
{
"role": "assistant",
"content": "# lms/djangoapps/courseware/tests/test_middleware.py (from Stanford-Online/edx-p... |
[
{
"role": "user",
"content": "Write Python code that implements email.py from ecino/compassion-modules (path: partner_communication/models/email.py)."
},
{
"role": "assistant",
"content": "# partner_communication/models/email.py (from ecino/compassion-modules, license: agpl-3.0)\n\n# -*- coding:... |
[
{
"role": "user",
"content": "Write Python code that implements dict_utils.py from lscheinkman/nupic (path: src/nupic/data/dict_utils.py)."
},
{
"role": "assistant",
"content": "# src/nupic/data/dict_utils.py (from lscheinkman/nupic, license: agpl-3.0)\n\n# --------------------------------------... |
[
{
"role": "user",
"content": "Write Python code that implements test_junos.py from GIC-de/ncclient (path: test/unit/devices/test_junos.py)."
},
{
"role": "assistant",
"content": "# test/unit/devices/test_junos.py (from GIC-de/ncclient, license: apache-2.0)\n\nimport unittest\nfrom ncclient.devic... |
[
{
"role": "user",
"content": "Write Python code that implements package.py from mfherbst/spack (path: var/spack/repos/builtin/packages/sw4lite/package.py)."
},
{
"role": "assistant",
"content": "# var/spack/repos/builtin/packages/sw4lite/package.py (from mfherbst/spack, license: lgpl-2.1)\n\n###... |
[
{
"role": "user",
"content": "Write Python code that implements api_provider_tests.py from servo-automation/highfive (path: tests/api_provider_tests.py)."
},
{
"role": "assistant",
"content": "# tests/api_provider_tests.py (from servo-automation/highfive, license: mpl-2.0)\n\nfrom highfive.runne... |
[
{
"role": "user",
"content": "Write Python code that implements file_random.py from djeraseit/PredictionIO (path: examples/experimental/scala-local-friend-recommendation/file_random.py)."
},
{
"role": "assistant",
"content": "# examples/experimental/scala-local-friend-recommendation/file_random.... |
[
{
"role": "user",
"content": "Write Python code that implements discussion.py from Softmotions/edx-platform (path: common/test/acceptance/pages/lms/discussion.py)."
},
{
"role": "assistant",
"content": "# common/test/acceptance/pages/lms/discussion.py (from Softmotions/edx-platform, license: agp... |
[
{
"role": "user",
"content": "Write Python code that implements TitleCutter.py from 0sc0d3r/enigma2 (path: lib/python/Plugins/Extensions/DVDBurn/TitleCutter.py)."
},
{
"role": "assistant",
"content": "# lib/python/Plugins/Extensions/DVDBurn/TitleCutter.py (from 0sc0d3r/enigma2, license: gpl-2.0)... |
[
{
"role": "user",
"content": "Write Python code that implements b2CliqueTreeRules.py from nddsg/TreeDecomps (path: xplodnTree/tdec/b2CliqueTreeRules.py)."
},
{
"role": "assistant",
"content": "# xplodnTree/tdec/b2CliqueTreeRules.py (from nddsg/TreeDecomps, license: mit)\n\n#!/usr/bin/env python\... |
[
{
"role": "user",
"content": "Write Python code that implements expressions.py from ar4s/django (path: django/db/models/sql/expressions.py)."
},
{
"role": "assistant",
"content": "# django/db/models/sql/expressions.py (from ar4s/django, license: bsd-3-clause)\n\nimport copy\n\nfrom django.core.e... |
[
{
"role": "user",
"content": "Write Python code that implements test_struct_fields.py from hynnet/openwrt-mt7620 (path: staging_dir/host/lib/python2.7/ctypes/test/test_struct_fields.py)."
},
{
"role": "assistant",
"content": "# staging_dir/host/lib/python2.7/ctypes/test/test_struct_fields.py (fr... |
[
{
"role": "user",
"content": "Write Python code that implements runner_lib.py from iodoom-gitorious/enhanced-iodoom3 (path: neo/sys/linux/runner/runner_lib.py)."
},
{
"role": "assistant",
"content": "# neo/sys/linux/runner/runner_lib.py (from iodoom-gitorious/enhanced-iodoom3, license: gpl-3.0)\... |
[
{
"role": "user",
"content": "Write Python code that implements CloudFlareDdos.py from igel-kun/pyload (path: module/plugins/hooks/CloudFlareDdos.py)."
},
{
"role": "assistant",
"content": "# module/plugins/hooks/CloudFlareDdos.py (from igel-kun/pyload, license: gpl-3.0)\n\n# -*- coding: utf-8 -... |
[
{
"role": "user",
"content": "Write Python code that implements test_views.py from chrisndodge/edx-platform (path: lms/djangoapps/student_profile/test/test_views.py)."
},
{
"role": "assistant",
"content": "# lms/djangoapps/student_profile/test/test_views.py (from chrisndodge/edx-platform, licens... |
[
{
"role": "user",
"content": "Write Python code that implements KShortcutWidget.py from ProfessorX/Config (path: .PyCharm30/system/python_stubs/-1247971765/PyKDE4/kdeui/KShortcutWidget.py)."
},
{
"role": "assistant",
"content": "# .PyCharm30/system/python_stubs/-1247971765/PyKDE4/kdeui/KShortcut... |
[
{
"role": "user",
"content": "Write Python code that implements test_scheduler_utils.py from Stavitsky/nova (path: nova/tests/unit/scheduler/test_scheduler_utils.py)."
},
{
"role": "assistant",
"content": "# nova/tests/unit/scheduler/test_scheduler_utils.py (from Stavitsky/nova, license: apache-... |
[
{
"role": "user",
"content": "Write Python code that implements AddAttributeWizard.py from einaru/luma (path: luma/plugins/browser/AddAttributeWizard.py)."
},
{
"role": "assistant",
"content": "# luma/plugins/browser/AddAttributeWizard.py (from einaru/luma, license: gpl-2.0)\n\n# -*- coding: utf... |
[
{
"role": "user",
"content": "Write Python code that implements wallet_zapwallettxes.py from SyndicateLtd/SyndicateQT (path: test/functional/wallet_zapwallettxes.py)."
},
{
"role": "assistant",
"content": "# test/functional/wallet_zapwallettxes.py (from SyndicateLtd/SyndicateQT, license: mit)\n\... |
[
{
"role": "user",
"content": "Write Python code that implements get_run_time.py from ema/conpaas (path: conpaas-services/src/conpaas/services/htc/manager/get_run_time.py)."
},
{
"role": "assistant",
"content": "# conpaas-services/src/conpaas/services/htc/manager/get_run_time.py (from ema/conpaas... |
[
{
"role": "user",
"content": "Write Python code that implements interactive.py from leiferikb/bitpop (path: depot_tools/third_party/boto/mashups/interactive.py)."
},
{
"role": "assistant",
"content": "# depot_tools/third_party/boto/mashups/interactive.py (from leiferikb/bitpop, license: gpl-3.0)... |
[
{
"role": "user",
"content": "Write Python code that implements add_new_realm.py from eeshangarg/zulip (path: zilencer/management/commands/add_new_realm.py)."
},
{
"role": "assistant",
"content": "# zilencer/management/commands/add_new_realm.py (from eeshangarg/zulip, license: apache-2.0)\n\nfro... |
[
{
"role": "user",
"content": "Write Python code that implements test_CyberSource2.py from jbzdak/edx-platform (path: lms/djangoapps/shoppingcart/processors/tests/test_CyberSource2.py)."
},
{
"role": "assistant",
"content": "# lms/djangoapps/shoppingcart/processors/tests/test_CyberSource2.py (fro... |
[
{
"role": "user",
"content": "Write Python code that implements SchedGui.py from SOKP/kernel_motorola_msm8226 (path: tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py)."
},
{
"role": "assistant",
"content": "# tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.p... |
[
{
"role": "user",
"content": "Write Python code that implements existing_users.py from vponomaryov/rally (path: rally/plugins/openstack/context/existing_users.py)."
},
{
"role": "assistant",
"content": "# rally/plugins/openstack/context/existing_users.py (from vponomaryov/rally, license: apache-... |
[
{
"role": "user",
"content": "Write Python code that implements settings.py from robwebset/screensaver.weather (path: resources/lib/settings.py)."
},
{
"role": "assistant",
"content": "# resources/lib/settings.py (from robwebset/screensaver.weather, license: gpl-2.0)\n\n# -*- coding: utf-8 -*-\n... |
[
{
"role": "user",
"content": "Write Python code that implements 0001_initial.py from niekas/dakis (path: dakis/website/migrations/openid/0001_initial.py)."
},
{
"role": "assistant",
"content": "# dakis/website/migrations/openid/0001_initial.py (from niekas/dakis, license: agpl-3.0)\n\n# -*- codi... |
[
{
"role": "user",
"content": "Write Python code that implements utils.py from Jonbean/DSSM (path: classification/utils.py)."
},
{
"role": "assistant",
"content": "# classification/utils.py (from Jonbean/DSSM, license: gpl-3.0)\n\n'''\nAuthor: Jon Tsai \nCreated: May 29 2016\n'''\n\nimport num... |
[
{
"role": "user",
"content": "Write Python code that implements objects.py from Treeki/NewerSMBW (path: Koopatlas/src/editorui/objects.py)."
},
{
"role": "assistant",
"content": "# Koopatlas/src/editorui/objects.py (from Treeki/NewerSMBW, license: mit)\n\nfrom common import *\nfrom editorcommon ... |
[
{
"role": "user",
"content": "Write Python code that implements render_templates.py from eestay/edx-ora2 (path: scripts/render_templates.py)."
},
{
"role": "assistant",
"content": "# scripts/render_templates.py (from eestay/edx-ora2, license: agpl-3.0)\n\n#!/usr/bin/env python\n\"\"\"\nRender Dj... |
[
{
"role": "user",
"content": "Write Python code that implements cmd_manual.py from scalient/ebsmount (path: cmd_manual.py)."
},
{
"role": "assistant",
"content": "# cmd_manual.py (from scalient/ebsmount, license: gpl-2.0)\n\n#!/usr/bin/python\n# Copyright (c) 2010 Alon Swartz <alon@turnkeylinux.... |
[
{
"role": "user",
"content": "Write Python code that implements __init__.py from vicky2135/lucious (path: lucious/lib/python2.7/site-packages/pip/_vendor/progress/__init__.py)."
},
{
"role": "assistant",
"content": "# lucious/lib/python2.7/site-packages/pip/_vendor/progress/__init__.py (from vic... |
[
{
"role": "user",
"content": "Write Python code that implements application.py from johndpope/tensorflow (path: tensorflow/tensorboard/backend/application.py)."
},
{
"role": "assistant",
"content": "# tensorflow/tensorboard/backend/application.py (from johndpope/tensorflow, license: apache-2.0)\... |
[
{
"role": "user",
"content": "Write Python code that implements device.py from slandis/InkCutter (path: inkcutter/app/bin/device.py)."
},
{
"role": "assistant",
"content": "# inkcutter/app/bin/device.py (from slandis/InkCutter, license: gpl-3.0)\n\n#!/usr/bin/env python\n\n# InkCutter, Plot HPGL... |
[
{
"role": "user",
"content": "Write Python code that implements tests.py from ecederstrand/django (path: tests/generic_relations_regress/tests.py)."
},
{
"role": "assistant",
"content": "# tests/generic_relations_regress/tests.py (from ecederstrand/django, license: bsd-3-clause)\n\nfrom django.d... |
[
{
"role": "user",
"content": "Write Python code that implements pcap.py from HackerTool/vivisect (path: vstruct/defs/pcap.py)."
},
{
"role": "assistant",
"content": "# vstruct/defs/pcap.py (from HackerTool/vivisect, license: apache-2.0)\n\nimport vstruct\nimport vstruct.defs.inet as vs_inet\n\nf... |
[
{
"role": "user",
"content": "Write Python code that implements test_element.py from HopeFOAM/HopeFOAM (path: ThirdParty-0.1/ParaView-5.0.1/VTK/ThirdParty/ZopeInterface/zope/interface/tests/test_element.py)."
},
{
"role": "assistant",
"content": "# ThirdParty-0.1/ParaView-5.0.1/VTK/ThirdParty/Zo... |
[
{
"role": "user",
"content": "Write Python code that implements METS_fileSec_validator.py from nemobis/BEIC (path: METS_fileSec_validator.py)."
},
{
"role": "assistant",
"content": "# METS_fileSec_validator.py (from nemobis/BEIC, license: mit)\n\n#!/usr/bin/python\n# -*- coding: utf-8 -*-\n\"\"... |
[
{
"role": "user",
"content": "Write Python code that implements test.py from PlotWatt/sql_query_dict (path: test.py)."
},
{
"role": "assistant",
"content": "# test.py (from PlotWatt/sql_query_dict, license: apache-2.0)\n\nimport pytest\n\nimport sql_query_dict\n\ndef test_escape_string_with_sing... |
[
{
"role": "user",
"content": "Write Python code that implements flairbot.py from wizzomafizzo/flairbot (path: flairbot.py)."
},
{
"role": "assistant",
"content": "# flairbot.py (from wizzomafizzo/flairbot, license: mit)\n\n#!/usr/bin/env python3\n\n\"\"\"Reddit bot for updating user flairs via P... |
[
{
"role": "user",
"content": "Write Python code that implements sparse_feature_column_test.py from apark263/tensorflow (path: tensorflow/contrib/linear_optimizer/python/ops/sparse_feature_column_test.py)."
},
{
"role": "assistant",
"content": "# tensorflow/contrib/linear_optimizer/python/ops/spa... |
[
{
"role": "user",
"content": "Write Python code that implements test_rol.py from chubbymaggie/angr (path: tests/test_rol.py)."
},
{
"role": "assistant",
"content": "# tests/test_rol.py (from chubbymaggie/angr, license: bsd-2-clause)\n\nimport nose\nimport angr\nfrom angr.calling_conventions impo... |
[
{
"role": "user",
"content": "Write Python code that implements main.py from dllsf/odootest (path: addons/auth_signup/controllers/main.py)."
},
{
"role": "assistant",
"content": "# addons/auth_signup/controllers/main.py (from dllsf/odootest, license: agpl-3.0)\n\n# -*- coding: utf-8 -*-\n#######... |
[
{
"role": "user",
"content": "Write Python code that implements elasticsearch_index.py from pkexcellent/luigi (path: examples/elasticsearch_index.py)."
},
{
"role": "assistant",
"content": "# examples/elasticsearch_index.py (from pkexcellent/luigi, license: apache-2.0)\n\n# -*- coding: utf-8 -*-... |
[
{
"role": "user",
"content": "Write Python code that implements k8s_generate_yaml.py from Bismarrck/tensorflow (path: tensorflow/tools/dist_test/scripts_allreduce/k8s_generate_yaml.py)."
},
{
"role": "assistant",
"content": "# tensorflow/tools/dist_test/scripts_allreduce/k8s_generate_yaml.py (fr... |
[
{
"role": "user",
"content": "Write Python code that implements dicts.py from therealfakemoot/collections2 (path: collections2/dicts.py)."
},
{
"role": "assistant",
"content": "# collections2/dicts.py (from therealfakemoot/collections2, license: mit)\n\nfrom collections import MutableMapping\n\n... |
[
{
"role": "user",
"content": "Write Python code that implements test_validators.py from tysonclugg/django (path: tests/auth_tests/test_validators.py)."
},
{
"role": "assistant",
"content": "# tests/auth_tests/test_validators.py (from tysonclugg/django, license: bsd-3-clause)\n\nimport os\n\nfrom... |
[
{
"role": "user",
"content": "Write Python code that implements agent.py from shootstar/ctest (path: ceilometer/agent.py)."
},
{
"role": "assistant",
"content": "# ceilometer/agent.py (from shootstar/ctest, license: apache-2.0)\n\n# -*- encoding: utf-8 -*-\n#\n# Copyright © 2013 Julien Danjou\n#... |
[
{
"role": "user",
"content": "Write Python code that implements _newclient.py from hy-2013/scrapy (path: scrapy/xlib/tx/_newclient.py)."
},
{
"role": "assistant",
"content": "# scrapy/xlib/tx/_newclient.py (from hy-2013/scrapy, license: bsd-3-clause)\n\n# -*- test-case-name: twisted.web.test.tes... |
[
{
"role": "user",
"content": "Write Python code that implements forms.py from Changaco/oh-mainline (path: vendor/packages/Django/django/contrib/formtools/tests/wizard/forms.py)."
},
{
"role": "assistant",
"content": "# vendor/packages/Django/django/contrib/formtools/tests/wizard/forms.py (from C... |
[
{
"role": "user",
"content": "Write Python code that implements BasicRouter.py from prodromou87/gem5 (path: src/mem/ruby/network/BasicRouter.py)."
},
{
"role": "assistant",
"content": "# src/mem/ruby/network/BasicRouter.py (from prodromou87/gem5, license: bsd-3-clause)\n\n# Copyright (c) 2011 Ad... |
[
{
"role": "user",
"content": "Write Python code that implements find_protein_templates.py from cmunk/protwis (path: build/management/commands/find_protein_templates.py)."
},
{
"role": "assistant",
"content": "# build/management/commands/find_protein_templates.py (from cmunk/protwis, license: apa... |
[
{
"role": "user",
"content": "Write Python code that implements filereader.py from njvack/ge-mri-rtafni (path: scanner-console/vendor/dicom/filereader.py)."
},
{
"role": "assistant",
"content": "# scanner-console/vendor/dicom/filereader.py (from njvack/ge-mri-rtafni, license: mit)\n\n# filereade... |
[
{
"role": "user",
"content": "Write Python code that implements mongodb_parameter.py from jctanner/ansible (path: test/support/integration/plugins/modules/mongodb_parameter.py)."
},
{
"role": "assistant",
"content": "# test/support/integration/plugins/modules/mongodb_parameter.py (from jctanner/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.