seed
stringlengths
1
14k
source
stringclasses
2 values
class Migration(migrations.Migration): replaces = [ ("oauth2", "0004_application_allow_access_by_email_suffix"), ("oauth2", "0005_auto_20180205_2004"), ] dependencies = [ ("oauth2", "0003_application_provide_immutable_email"), ] operations = [
ise-uiuc/Magicoder-OSS-Instruct-75K
@brief Close serial line to bridge """ self.serial.close()
ise-uiuc/Magicoder-OSS-Instruct-75K
} OsmAnd::SqliteHeightmapTileProvider::~SqliteHeightmapTileProvider() {
ise-uiuc/Magicoder-OSS-Instruct-75K
#include "../Container/Container.hpp" #include "../Logging/Logger.hpp" #include "./Handlers/HttpServerRequestHandlerBase.hpp" #include "./HttpServerConfiguration.hpp"
ise-uiuc/Magicoder-OSS-Instruct-75K
namespace bt { namespace l2cap { namespace internal { common::ByteBufferPtr BasicModeRxEngine::ProcessPdu(PDU pdu) { ZX_ASSERT(pdu.is_valid()); auto sdu = std::make_unique<common::DynamicByteBuffer>(pdu.length()); pdu.Copy(sdu.get()); return sdu; } } // namespace internal } // namespace l2cap } // namespace bt
ise-uiuc/Magicoder-OSS-Instruct-75K
<gh_stars>0 import pathlib from typing import Callable, Dict, Sequence, Optional import conductor.context as c # pylint: disable=unused-import import conductor.filename as f from conductor.task_identifier import TaskIdentifier from conductor.utils.output_handler import OutputHandler
ise-uiuc/Magicoder-OSS-Instruct-75K
class Migration(migrations.Migration): dependencies = [ ('orders', '0008_auto_20200324_1337'), ] operations = [
ise-uiuc/Magicoder-OSS-Instruct-75K
""":type: NSURLRequestInternal.NSURLRequestInternalSyntheticProvider"""
ise-uiuc/Magicoder-OSS-Instruct-75K
$dealer_user->setDealer($dealer); $dealer_user->setApproved(false); $dealer_user->save(); Doctrine_Manager::connection()->flush(); return true; } }
ise-uiuc/Magicoder-OSS-Instruct-75K
const { title, lang } = await getTeXMeta(fname); targetString += `\n ${fname}: "${title} [${lang}]",`; } const script = (await fs.readFile("dist-web/script.js")).toString(); await fs.writeFile( "dist-web/script.js", script.replace("/// <Questions />", targetString) ); return 0; }
ise-uiuc/Magicoder-OSS-Instruct-75K
<td> @component('admin.partials._action_buttons', [ 'id'=>$contact->id, 'routeName'=>'contacts', 'permission'=>'Contact' ]) @endcomponent </td>
ise-uiuc/Magicoder-OSS-Instruct-75K
# # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ise-uiuc/Magicoder-OSS-Instruct-75K
f f c c c c c c c f f f f f f f f f c c c c c c c f f f f f f f f f c c c c c c c f f f f f f f f f f c c c c c f f f c c f f f f f f f c c c f f f c c c c f f f f f f f f f f f c c c c c c f ` let movable = [player, diamond, boulder, enemy] let movableNames = ["Player", "Diamond", "Boulder", "Enemy"] let fixed = [wall, dirt, space] let fixedNames = ["Wall", "Dirt", "Space"]
ise-uiuc/Magicoder-OSS-Instruct-75K
but the use of the function allows us to use here a self-explanatory name
ise-uiuc/Magicoder-OSS-Instruct-75K
model_name='review', name='Date', field=models.DateTimeField(default=datetime.datetime(2020, 2, 2, 19, 42, 47, 841789, tzinfo=utc)), ), migrations.CreateModel(
ise-uiuc/Magicoder-OSS-Instruct-75K
DEF_DT = 0.2 # Parameters for cropping around bouts: PRE_INT_BT_S = 2 # before POST_INT_BT_S = 6 # after
ise-uiuc/Magicoder-OSS-Instruct-75K
namespace App\Providers\Configuracoes; use App\Components\Biblioteca; use App\Models\Configuracoes\Menu; use App\Models\Configuracoes\Log; use App\Models\Configuracoes\PerfilAcesso; use App\Models\Configuracoes\Permissoes; use App\User;
ise-uiuc/Magicoder-OSS-Instruct-75K
return ident # Avoid modifying the ID if the study happens to match the destination # study, otherwise duplicate records may be made if 'Study' in id_map and ident.study in id_map['Study'].values(): return ident
ise-uiuc/Magicoder-OSS-Instruct-75K
{ return 'rds.social_account'; } }
ise-uiuc/Magicoder-OSS-Instruct-75K
print(part_one(r"2015\2015_09_distances.txt")) print(part_two(r"2015\2015_09_distances.txt"))
ise-uiuc/Magicoder-OSS-Instruct-75K
</div> </div> <div> <h4>Contact Us</h4> <p>Email: <EMAIL></p> <p>Call Us</p> <p>Facebook</p>
ise-uiuc/Magicoder-OSS-Instruct-75K
<filename>acq4/devices/PVCam/__init__.py
ise-uiuc/Magicoder-OSS-Instruct-75K
#!/bin/bash set -ex apt-get update apt-get install -y --no-install-recommends \ libczmq-dev \ python3 \ python3-pip \
ise-uiuc/Magicoder-OSS-Instruct-75K
using Unity.VisualScripting; namespace Unity.VisualScripting.Community
ise-uiuc/Magicoder-OSS-Instruct-75K
os.mkdir(dir_name3) os.mkdir(dir_name4) except FileExistsError: print("FileExistsError:すでに同じ名前のフォルダが存在しています") dir_name1_path = dir_name1 + "/" dir_name2_path = dir_name2 + "/" dir_name3_path = dir_name3 + "/" dir_name4_path = dir_name4 + "/" for files in data_files: if(files.endswith(".png") or files.endswith(".jpg") or files.endswith(".bmp")): shutil.move(files, dir_name1_path + files)
ise-uiuc/Magicoder-OSS-Instruct-75K
# coding:utf-8 from sqlalchemy import text from db.basic_db import db_session from db.models import SeedIds from decorators.decorator import db_commit_decorator def get_seed(): """ Get all user id to be crawled :return: user ids """ return db_session.query(SeedIds).filter(text('status=0')).all() def get_seed_ids():
ise-uiuc/Magicoder-OSS-Instruct-75K
export { UserModule } from './user.module'; export * from './user.dto';
ise-uiuc/Magicoder-OSS-Instruct-75K
# Test error message handling with retry policy # Create fresh consumer consumer = create_consumer() mock_connection = SelectConnection() mock_channel = Channel(mock_connection, 10, None) mock_channel.basic_nack = MagicMock() mock_channel.basic_reject = MagicMock() consumer.channel = mock_channel consumer.channel.basic_ack = MagicMock() pre_handle_mock = MagicMock() handle_mock = MagicMock() post_handle_mock = MagicMock()
ise-uiuc/Magicoder-OSS-Instruct-75K
<reponame>Elonsoft/elonkit-angular export { ALERT_STORY_ACTIONS_SOURCE } from './alert-story-actions.source';
ise-uiuc/Magicoder-OSS-Instruct-75K
.build(); info_dialog.run_future().await; info_dialog.close(); }
ise-uiuc/Magicoder-OSS-Instruct-75K
} } return value !== undefined ? text : ''; } } export default new Converter();
ise-uiuc/Magicoder-OSS-Instruct-75K
__author__ = '<NAME>' __author_email__ = '<EMAIL>' __github_url__ = 'http://github.com/keriszafir/rpi2casterd'
ise-uiuc/Magicoder-OSS-Instruct-75K
pt_dev_io_port_passthrough(board_etree, scenario_etree, allocation_etree)
ise-uiuc/Magicoder-OSS-Instruct-75K
# """ # if key in styval_dict:
ise-uiuc/Magicoder-OSS-Instruct-75K
try { const doc = await StoredMountpoint.findOne(searchObj) if (!doc) throw new Error('Mountpoint Not Found') this.setup(doc) resolve(this) } catch (error) { reject(error)
ise-uiuc/Magicoder-OSS-Instruct-75K
from typing import Dict HERE = Path(__file__).parent version: Dict[str, str] = {} version_file = HERE / "src" / "thermostate" / "_version.py" exec(version_file.read_text(), version)
ise-uiuc/Magicoder-OSS-Instruct-75K
def aNSeq (Mbh, Mns, Pb): aR = ( (G*(Mbh+Mns)*(Pb**2)) / (4*(pi**2)) )**(1/3) aNS = ( Mbh/(Mbh+Mns) )*aR return(aR, aNS) #--Main Program--# def main (): print('\n Give the parameter values - ')
ise-uiuc/Magicoder-OSS-Instruct-75K
if self.vocabulary: self.guarantee_ids.append( self.vocabulary.tokens_to_ids([PAD_TOKEN] * self.pad)) self.guarantee_padded_tpe.append([[0] * self.tpe_pad] * self.pad) return True class LTLSpecPropertyEncoder(LTLTreeEncoder): def __init__(self, property_pad, num_properties, **kwargs): self.num_properties = num_properties
ise-uiuc/Magicoder-OSS-Instruct-75K
import numpy as np #-------------- # auxiliary function def KLD(p,q): p = p.ravel() q = q.ravel() n = len(p) s = 0 for i in range(n): s = s + p[i]*np.log(p[i]/q[i]) return s #--------------
ise-uiuc/Magicoder-OSS-Instruct-75K
return TransitionAnimators.makeMoveOutAnimator(0.3, to: .left) } }
ise-uiuc/Magicoder-OSS-Instruct-75K
/// Ungracefully kill the router
ise-uiuc/Magicoder-OSS-Instruct-75K
jMenu1.setText("File"); quit.setText("Quit"); quit.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { quitActionPerformed(evt);
ise-uiuc/Magicoder-OSS-Instruct-75K
virtual void OnFileIOComplete(int bytes_copied) OVERRIDE; private: int id_; MessageLoopHelper* helper_; int* max_id_; }; void FileCallbackTest::OnFileIOComplete(int bytes_copied) {
ise-uiuc/Magicoder-OSS-Instruct-75K
df[f] = df[f] / range
ise-uiuc/Magicoder-OSS-Instruct-75K
from photonai_graph.GraphConstruction.graph_constructor_random_walks import GraphConstructorRandomWalks from photonai_graph.GraphConstruction.graph_constructor_percentage import GraphConstructorPercentage from photonai_graph.GraphConstruction.graph_constructor import GraphConstructor from photonai_graph.GraphConstruction.graph_constructor_knn import GraphConstructorKNN from photonai_graph.GraphConstruction.graph_constructor_spatial import GraphConstructorSpatial from photonai_graph.GraphConstruction.graph_constructor_threshold import GraphConstructorThreshold
ise-uiuc/Magicoder-OSS-Instruct-75K
# Description: This job file checks that all BGP neighbors are in Established state import os # All run() must be inside a main function def main(runtime): # Find the location of the script in relation to the job file bgp_tests = os.path.join(os.path.dirname(__file__), 'BGP_Neighbors_Established.py') # Execute the testscript runtime.tasks.run(testscript=bgp_tests)
ise-uiuc/Magicoder-OSS-Instruct-75K
import {Logger} from '@wuja/logger'; @Component({
ise-uiuc/Magicoder-OSS-Instruct-75K
class MseLoss(nn.Module):
ise-uiuc/Magicoder-OSS-Instruct-75K
CreatorComment: <text>This is an example of an SPDX spreadsheet format</text> ''' self.l.input(data) self.token_assert_helper(self.l.token(), 'CREATOR', 'Creator', 3) self.token_assert_helper(self.l.token(), 'PERSON_VALUE', "Person: <NAME>", 3) self.token_assert_helper(self.l.token(), 'CREATOR', 'Creator', 4)
ise-uiuc/Magicoder-OSS-Instruct-75K
if (map != null) { String countStr = map.get(COUNT); int count = countStr == null ? 0 : Integer.parseInt(countStr); for (int i = 0; i < count; i++) {
ise-uiuc/Magicoder-OSS-Instruct-75K
parameters: - name: --account-name -a -n type: string short-summary: The name of the ANF account - name: --tags type: string short-summary: A list of space separated tags to apply to the account - name: --active-directories type: string
ise-uiuc/Magicoder-OSS-Instruct-75K
def circularity(perimeter, area): """Calculate the circularity of the region Parameters ---------- perimeter : float the perimeter of the region area : float the area of the region Returns -------
ise-uiuc/Magicoder-OSS-Instruct-75K
} pub struct Config { pub mode: Mode,
ise-uiuc/Magicoder-OSS-Instruct-75K
$('input[value=M]').on('change',function(){ $('select[name=military_services_id]').attr('disabled',false) }) </script> <script> $('#codes').change(()=>{
ise-uiuc/Magicoder-OSS-Instruct-75K
__all__ = [ SingleBACnetdService, BACnetdService, ]
ise-uiuc/Magicoder-OSS-Instruct-75K
ResizeImage._resize_image(image, image_handler, Mock(), 'medium', after_upload) resizes = session.query(ImageResize).all() eq_(len(resizes), 1) eq_(resizes[0].height, 500) eq_(resizes[0].width, 333) after_upload.assert_called_once_with('medium') @patch('catsnap.resize_image.ImageHandler')
ise-uiuc/Magicoder-OSS-Instruct-75K
__all__ = ['ip']
ise-uiuc/Magicoder-OSS-Instruct-75K
for doc_seg in self.docs[seg]:
ise-uiuc/Magicoder-OSS-Instruct-75K
nullptr)); content::RenderFrameHostTester::For(tab->GetMainFrame()) ->InitializeRenderFrameIfNeeded(); return tab; } content::MockRenderProcessHost* DeclarativeContentConditionTrackerTest::GetMockRenderProcessHost( content::WebContents* contents) { return static_cast<content::MockRenderProcessHost*>( contents->GetRenderViewHost()->GetProcess()); }
ise-uiuc/Magicoder-OSS-Instruct-75K
'readme_url': 'https://read.me', 'changelog_url': 'https://change.log', 'runner_version': '1.1',
ise-uiuc/Magicoder-OSS-Instruct-75K
override init(frame: CGRect) { super.init(frame: frame)
ise-uiuc/Magicoder-OSS-Instruct-75K
) return upscore8 class FCN_ResNet(nn.Module): def __init__(self, backbone, inter_channels=256): super(FCN_ResNet, self).__init__() self.backbone = backbone
ise-uiuc/Magicoder-OSS-Instruct-75K
#Logging function function logging { #Get the passed message and type message="$1" errortype="$2" #Only write the log if it's enabled if [ "$enablelogging" = true ] then #Write the message to the log file along with the date/time stamp then a line break echo "`date '+%Y%m%d %T.%N'` - $errortype: $message" | tr '\n' ' ' >> "${loglocation}" 2>&1 echo >> "${loglocation}" 2>&1 fi #end if [ "$enablelogging" == true ]
ise-uiuc/Magicoder-OSS-Instruct-75K
print("UV_index:%.2f" % (si1132.readUV() / 100.0)) print("Visible:%d" % int(si1132.readVisible())) print("IR:%d" % int(si1132.readIR())) print("======== bme280 ========") print("temperature:%.2f" % bme280.read_temperature()) print("humidity:%.2f" % bme280.read_humidity())
ise-uiuc/Magicoder-OSS-Instruct-75K
@JsonIgnore private long open_issues_count; @JsonIgnore private boolean public_builds; @JsonIgnore private List<Map<String,String>> shared_with_groups; @JsonIgnore private boolean only_allow_merge_if_build_succeeds;
ise-uiuc/Magicoder-OSS-Instruct-75K
fprintf(CPSW::fDbg(), "MMIO write; iterating from %d -> %d\n", (*node)->idxf_, to); #endif for ( int i = (*node)->idxf_; i <= to; i++ ) { SlicedPathIterator it( *node, range_p ); rval += dispatchWrite(&it, &nargs); nargs.off_ += getStride(); nargs.src_ += srcStride; }
ise-uiuc/Magicoder-OSS-Instruct-75K
{ $purchase = new Purchase(); $result = $purchase->closePurchase([["purchase_id", "=", $data["relate_id"]]]);
ise-uiuc/Magicoder-OSS-Instruct-75K
:rtype: int """ i =1 j =len(nums)
ise-uiuc/Magicoder-OSS-Instruct-75K
public double ErrorPercentage { get; set; }
ise-uiuc/Magicoder-OSS-Instruct-75K
) @Argument(parsing: .remaining, help: "Text to uppercase.") var content: [String] func run() throws { let toUppercaseText = content.joined(separator: " ") print(toUppercaseText.uppercased()) }
ise-uiuc/Magicoder-OSS-Instruct-75K
# relations
ise-uiuc/Magicoder-OSS-Instruct-75K
elif player.name == 'Charlie' and not agent.in_safehouse() and agent.player.name == 'Alpha': return json.jsonify( id=agent.id, x=agent.x, y=agent.y, packages=len(agent.packages), ) else: raise Unauthenticated('Access Denied', status_code=401) else: raise ResourceMissing("No Agent found with id %r" % agent_id,404) else:
ise-uiuc/Magicoder-OSS-Instruct-75K
// valid email assertTrue(Email.isValidEmail(null)); assertTrue(Email.isValidEmail("<EMAIL>")); assertTrue(Email.isValidEmail("a@b")); // minimal assertTrue(Email.isValidEmail("test@localhost")); // alphabets only assertTrue(Email.isValidEmail("123@145")); // numeric local part and domain name assertTrue(Email.isValidEmail("<EMAIL>")); // mixture of alphanumeric and dot characters
ise-uiuc/Magicoder-OSS-Instruct-75K
/// Adds a new section. /// </summary> /// <param name="section"></param> /// <returns></returns> public Sections Add(IReadmeSection section) { _sections.Add(section.Name, section); return this; } }
ise-uiuc/Magicoder-OSS-Instruct-75K
'../_base_/models/retinanet_r50_fpn.py', '../_base_/datasets/coco_detection.py', '../_base_/default_runtime.py' ] cudnn_benchmark = True norm_cfg = dict(type='BN', requires_grad=True) checkpoint = 'https://download.openmmlab.com/mmclassification/v0/efficientnet/efficientnet-b3_3rdparty_8xb32-aa_in1k_20220119-5b4887a0.pth' # noqa
ise-uiuc/Magicoder-OSS-Instruct-75K
parameters["radius"] = radius! as AnyObject? } print("parameters: \(parameters)") return self.get("search", parameters: parameters, success: { (operation: AFHTTPRequestOperation, response: Any) -> Void in if let response = response as? [String: Any]{ let dictionaries = response["businesses"] as? [NSDictionary] if dictionaries != nil { completion(Business.businesses(array: dictionaries!), nil) } }
ise-uiuc/Magicoder-OSS-Instruct-75K
return useMediaQuery(theme.breakpoints.down('md')); }; export const useIsLGDown = () => { const theme = useTheme(); return useMediaQuery(theme.breakpoints.down('lg')); };
ise-uiuc/Magicoder-OSS-Instruct-75K
if #[cfg(feature="async-io")] { let mut file = File::open(&fpath).await?;
ise-uiuc/Magicoder-OSS-Instruct-75K
// legal // layer:3 1:legal 0:illegal (fill own eyes is illegal) // qi after move // layer:4 state[x][y] = k move to (x, y) would have k liberties int legalMove[BOARD_SIZE * BOARD_SIZE]; int qiAfterMove[BOARD_SIZE * BOARD_SIZE]; size_t len = 0; game->legalMove(legalMove, qiAfterMove, len); for(size_t i = 0; i < len; i++) { state[3][legalMove[i]] = 1; state[4][legalMove[i]] = qiAfterMove[i] > 8 ? 8 : qiAfterMove[i]; }
ise-uiuc/Magicoder-OSS-Instruct-75K
<reponame>anubhab-code/Competitive-Programming<gh_stars>0 def mango(quantity, price): return (quantity - quantity // 3) * price
ise-uiuc/Magicoder-OSS-Instruct-75K
A, B, C = [int(x) for x in input().split()] if (A*B) > C: print("S") else: print("N")
ise-uiuc/Magicoder-OSS-Instruct-75K
">=": tt.GREATER_EQUAL, "/": tt.SLASH, " ": tt.EMPTY, "\r": tt.EMPTY, "\t": tt.EMPTY, "//": tt.EMPTY, "": tt.EMPTY, "\n": tt.EMPTY, "/*": tt.EMPTY, "\\*": tt.EMPTY, }
ise-uiuc/Magicoder-OSS-Instruct-75K
"sitemap.xml", sitemap, { "sitemaps": { "base": sitemaps.BaseSitemap,
ise-uiuc/Magicoder-OSS-Instruct-75K
{"tdata": strToInt("{AMToken,0x0}"), "callTB": 1}, {"tdata": 0xDEADBEEF}, {"tdata": 0x1234, "tlast": 1, "callTB": 2} ]) smA_t2 = short_message_A.add_thread()
ise-uiuc/Magicoder-OSS-Instruct-75K
Example 2: Input: -121 Output: false
ise-uiuc/Magicoder-OSS-Instruct-75K
export function isFetchError( queryResult: any ): queryResult is { error: FetchError } { return 'error' in queryResult }
ise-uiuc/Magicoder-OSS-Instruct-75K
router.include_router(admins_router, prefix="/admins", tags=["admins"]) router.include_router(users_router, prefix="/users", tags=["users"]) __all__ = [ "router", ]
ise-uiuc/Magicoder-OSS-Instruct-75K
from aequilibrae import logger def spatialite_connection(conn: Connection) -> Connection: conn.enable_load_extension(True) par = Parameters() spatialite_path = par.parameters["system"]["spatialite_path"] if spatialite_path not in os.environ['PATH']: os.environ['PATH'] = spatialite_path + ';' + os.environ['PATH'] try: conn.load_extension("mod_spatialite")
ise-uiuc/Magicoder-OSS-Instruct-75K
exit 1 ;; esac done if [ -z "$service" ] || [ -z "$ui" ] || [ -z "$port" ]; then echo "Usage ./start.sh -s <service_host:port> -u <ui_host> -p <ui_port>" exit 1 fi javascript="const services_host='http://"$service"';const ui_host='http://"$ui":"$port"';" sed -i '1d' ./public/app/global.js (echo $javascript && cat ./public/app/global.js) > filename1 && mv filename1 ./public/app/global.js echo $javascript
ise-uiuc/Magicoder-OSS-Instruct-75K
print(i)
ise-uiuc/Magicoder-OSS-Instruct-75K
// In a storyboard-based application, you will often want to do a little preparation before navigation override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { // Get the new view controller using segue.destinationViewController.
ise-uiuc/Magicoder-OSS-Instruct-75K
print('ERROR: checksum is different. download is failed') return False with tarfile.open('/tmp/' + filename + '.tar.gz', 'r:gz') as tf: directory = tf.getmembers()[0].name tf.extractall(path='/tmp/') mmdb = directory + '/' + filename + '.mmdb' s3obj = s3key_prefix + filename + '.mmdb' bucket.upload_file('/tmp/' + mmdb, s3obj) print('INFO: uploaded {0} to s3://{1}/{2}'.format( mmdb, s3bucket_name, s3obj)) def send(event, context, responseStatus, responseData, physicalResourceId=None,
ise-uiuc/Magicoder-OSS-Instruct-75K
help='The folder path; folder absolute or relative path.' ) parse.add_argument( "-sp", "--startproject", default='', help='Generate test case templates.' ) parse.add_argument( "-conf",
ise-uiuc/Magicoder-OSS-Instruct-75K
if P(Z) > 1 - alt_hypothesis. Parameters ---------- roc1 The "to be assumed" smaller ROC curve than roc2.
ise-uiuc/Magicoder-OSS-Instruct-75K
elif(row[3]==''):
ise-uiuc/Magicoder-OSS-Instruct-75K
PayeesMockProvider.$inject = [];
ise-uiuc/Magicoder-OSS-Instruct-75K
else: model = load_model('lstm_my.h5') # ------------------------------------------------------------------------------ def sample(p_list, t=1.0): if not t: return np.argmax(p_list)
ise-uiuc/Magicoder-OSS-Instruct-75K
* should use when operating in this mode. The name returned will be * in the format required by Mac.getInstance(). * * @return * The name of the HMAC algorithm which the TOTP implementation * should use. */ public String getAlgorithmName() { return algorithmName;
ise-uiuc/Magicoder-OSS-Instruct-75K
x = 1
ise-uiuc/Magicoder-OSS-Instruct-75K
def main(): parser = argparse.ArgumentParser(description="Inject code into pickle files") parser.add_argument("pickle_file", help="The pickle file to inject code into") parser.add_argument("code_file", help="The shell script to inject") #parser.add_argument("-u", "--unittest", help="Only run the unit test; Ignores pickle_file and code_file", type=bool) args = parser.parse_args() # if args.unittest: # return test_insert_code()
ise-uiuc/Magicoder-OSS-Instruct-75K