diff --git a/.DS_Store b/.DS_Store index 54a5f49..71d20b1 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/The-Muxified-Turing-Machine.md b/The-Muxified-Turing-Machine.md index dcaeed8..cbbccc6 100644 --- a/The-Muxified-Turing-Machine.md +++ b/The-Muxified-Turing-Machine.md @@ -1,4 +1,4 @@ -# The Muxifie Turing Machine +# The Muxified Turing Machine *This was sole informing document for the creation of Stratimux.* The original Muxified Turing Machine was made possible by this author's ActionStrategy package whereby one can effectively map the entire run time of an application as it proceeds step by step. But its main unmentioned purpose was to create an equivalent structure to that of Neural Networks that would be explainable logically. As Neural Networks are effectively graphs and a ActionStrategy by default is a binary tree. These trees can be interpolated with one another to create an emergent graph structure. It is interesting to not that this form of application falls outside of the N/NP(deterministic/non-deterministic) scope of classification of applications. As in the NP paradigm, there is some probabilistic means in which the direction of the head changes. But within a Muxified Turing Machine, the head changes mechanically by way of the strategy pattern dictating what node would be ran based on some test of the state presented to that deciding method. And can be described as logically deterministic. As even within a Neural Network where there is some decision being made, that decision is still just a function that chooses the next decisions based on some input. diff --git a/package-lock.json b/package-lock.json index d2ea3ea..68377de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "stratimux", - "version": "0.2.0", + "version": "0.2.43", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "stratimux", - "version": "0.2.0", + "version": "0.2.43", "license": "GPL-3.0", "dependencies": { "rxjs": "^7.8.1" @@ -22,7 +22,6 @@ "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.1", "jest": "^28.1.3", - "jest-cucumber": "^4.4.0", "nodemon": "^3.0.1", "onchange": "^7.1.0", "prettier": "^2.7.1", @@ -651,40 +650,6 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, - "node_modules/@cucumber/gherkin": { - "version": "28.0.0", - "resolved": "https://registry.npmjs.org/@cucumber/gherkin/-/gherkin-28.0.0.tgz", - "integrity": "sha512-Ee6zJQq0OmIUPdW0mSnsCsrWA2PZAELNDPICD2pLfs0Oz7RAPgj80UsD2UCtqyAhw2qAR62aqlktKUlai5zl/A==", - "dev": true, - "dependencies": { - "@cucumber/messages": ">=19.1.4 <=24" - } - }, - "node_modules/@cucumber/messages": { - "version": "24.1.0", - "resolved": "https://registry.npmjs.org/@cucumber/messages/-/messages-24.1.0.tgz", - "integrity": "sha512-hxVHiBurORcobhVk80I9+JkaKaNXkW6YwGOEFIh/2aO+apAN+5XJgUUWjng9NwqaQrW1sCFuawLB1AuzmBaNdQ==", - "dev": true, - "dependencies": { - "@types/uuid": "9.0.8", - "class-transformer": "0.5.1", - "reflect-metadata": "0.2.1", - "uuid": "9.0.1" - } - }, - "node_modules/@cucumber/messages/node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "dev": true, - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@esbuild/android-arm": { "version": "0.18.20", "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz", @@ -1867,12 +1832,6 @@ "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", "dev": true }, - "node_modules/@types/uuid": { - "version": "9.0.8", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.8.tgz", - "integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==", - "dev": true - }, "node_modules/@types/yargs": { "version": "17.0.32", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", @@ -2559,12 +2518,6 @@ "integrity": "sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==", "dev": true }, - "node_modules/class-transformer": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/class-transformer/-/class-transformer-0.5.1.tgz", - "integrity": "sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw==", - "dev": true - }, "node_modules/cliui": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", @@ -3947,106 +3900,6 @@ } } }, - "node_modules/jest-cucumber": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/jest-cucumber/-/jest-cucumber-4.4.0.tgz", - "integrity": "sha512-RU8e4lxGyznAJ3i2uHffKTTRXPzYhQg7w4326kxqb+soqpwqcmKF0oM9XF9l1JnLJtD+U51c76//CTu7v1UcJQ==", - "dev": true, - "dependencies": { - "@cucumber/gherkin": "^28.0.0", - "callsites": "^3.0.0", - "glob": "^10.3.10", - "uuid": "^9.0.1" - }, - "peerDependencies": { - "@types/jest": ">=29.5.12", - "jest": ">=29.7.0", - "vitest": ">=1.4.0" - }, - "peerDependenciesMeta": { - "@types/jest": { - "optional": true - }, - "jest": { - "optional": true - }, - "vitest": { - "optional": true - } - } - }, - "node_modules/jest-cucumber/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/jest-cucumber/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", - "dev": true, - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^3.1.2", - "minimatch": "^9.0.4", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^1.11.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/jest-cucumber/node_modules/jackspeak": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", - "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", - "dev": true, - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" - } - }, - "node_modules/jest-cucumber/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/jest-cucumber/node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "dev": true, - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/jest-diff": { "version": "28.1.3", "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-28.1.3.tgz", @@ -4985,12 +4838,6 @@ "node": ">=6" } }, - "node_modules/package-json-from-dist": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", - "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==", - "dev": true - }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -5343,13 +5190,6 @@ "node": ">=8.10.0" } }, - "node_modules/reflect-metadata": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.1.tgz", - "integrity": "sha512-i5lLI6iw9AU3Uu4szRNPPEkomnkjRTaVt9hy/bn5g/oSzekBSMeLZblcjP74AW0vBabqERLLIrz+gR8QYR54Tw==", - "deprecated": "This version has a critical bug in fallback handling. Please upgrade to reflect-metadata@0.2.2 or newer.", - "dev": true - }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", diff --git a/package.json b/package.json index 66d3601..a33959f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "stratimux", "license": "GPL-3.0", - "version": "0.2.42", + "version": "0.2.43", "description": "Muxified Turing Machine", "main": "dist/index.js", "module": "dist/index.mjs", @@ -52,7 +52,6 @@ "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.1", "jest": "^28.1.3", - "jest-cucumber": "^4.4.0", "nodemon": "^3.0.1", "onchange": "^7.1.0", "prettier": "^2.7.1", diff --git a/src/.DS_Store b/src/.DS_Store index 976901b..ee52536 100644 Binary files a/src/.DS_Store and b/src/.DS_Store differ diff --git a/src/model/quality.ts b/src/model/quality.ts index 664a01b..79315da 100644 --- a/src/model/quality.ts +++ b/src/model/quality.ts @@ -46,7 +46,7 @@ export function createQuality, T = void, C = v keyedSelectors?: KeyedSelector[], meta?: Record, analytics?: Record, -): Quality { +): Quality { return { actionType, actionCreator, @@ -95,7 +95,7 @@ export function createQualityCard, C = void>(q keyedSelectors?: KeyedSelector[], meta?: Record, analytics?: Record -}): Quality { +}): Quality { const bucket: [number, number, number, number][] = [[-1, -1, -1, -1]]; const actionCreator = prepareActionCreator(q.type, bucket); if (q.methodCreator) { @@ -115,7 +115,7 @@ export function createQualityCardWithPayload< keyedSelectors?: KeyedSelector[], meta?: Record, analytics?: Record -}): Quality { +}): Quality { const bucket: [number, number, number, number][] = [[-1, -1, -1, -1]]; const actionCreatorWithPayload = prepareActionWithPayloadCreator(q.type, bucket); if (q.methodCreator) {