orchestrator-core
Advanced tools
Comparing version 4.11.0-dev.20201001.9c201ed to 4.11.0-dev.20201006.e2b375f
@@ -5,3 +5,3 @@ { | ||
"description": "Orchestrator for Node.js", | ||
"version": "4.11.0-dev.20201001.9c201ed", | ||
"version": "4.11.0-dev.20201006.e2b375f", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
@@ -101,3 +101,47 @@ // Copyright (c) Microsoft Corporation. All rights reserved. | ||
// it('Create BLU file example.', function () { | ||
// this.timeout(600000); | ||
// // Arrange | ||
// var orc = new oc.Orchestrator(); | ||
// var onnx_dir = findOnnxDir(1); | ||
// orc.load(onnx_dir); | ||
// var labeler = orc.createLabelResolver(); | ||
// try { | ||
// const snapshotPath = path.join(__dirname, 'snapshot', 'EmailTest.tsv'); | ||
// var data = fs.readFileSync(snapshotPath, 'utf8'); | ||
// console.log('OPENING FILE ' + snapshotPath); | ||
// var lines = data.split(/\r?\n/); | ||
// var skipfirst = true; | ||
// for (let line of lines) { | ||
// if (!line.trim()) { | ||
// continue; | ||
// } | ||
// // console.log(line); | ||
// tokens = line.split('\t'); | ||
// if (skipfirst) | ||
// skipfirst = false; | ||
// else | ||
// { | ||
// var example = { | ||
// label: tokens[0], | ||
// text: tokens[2], | ||
// }; | ||
// var result = labeler.addExample(example); | ||
// } | ||
// } | ||
// var snapshot = labeler.createSnapshot(); | ||
// console.log('Created snapshot!'); | ||
// const outputSnapshotPath = path.join(__dirname, 'snapshot', 'EmailTest.snapshot'); | ||
// fs.writeFile(outputSnapshotPath, snapshot, (err) => { | ||
// if (err) throw err; | ||
// console.log('Snapshot saved!' + outputSnapshotPath); | ||
// }); | ||
// } catch(e) { | ||
// console.log('Error:', e.stack); | ||
// } | ||
// }); | ||
it('should succeed creating orchestrator.', function () { | ||
@@ -109,2 +153,3 @@ // Initialize Orchestrator | ||
it('should load NLR.', function () { | ||
@@ -111,0 +156,0 @@ // Initialize Orchestrator |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
339358
26
515
2