Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch v0.1.51 #192

Merged
merged 2 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ When in doubt simplify.
* It is now a requirement you use the **stageWaitForOpenThenIterate(() => action)** helper function in your plans if you are depending on the last strategyTopic property on the axium concept.
* Added an addition logging property to reveal the internal action stream that can be set when creating your axium. This is separate from the prior logging feature.
* Method now utilize an internal actionConcept$ stream of type Subject<Concepts>. Method creators that utilize the UnifiedSubject will throw a type error and will need to be updated.
* **PATCH v0.1.51** Removed debugging console.logs
### **BREAKING Update v0.1.4** 3/28/24
* Removed the "on.expected" option from dispatch to reduce inner complexity of your stages
* Renamed **axium.stage** to **axium.plan** to be in line with industry terminology
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stratimux",
"license": "GPL-3.0",
"version": "0.1.5",
"version": "0.1.51",
"description": "Unified Turing Machine",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
5 changes: 0 additions & 5 deletions src/concepts/axium/axium.mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export const permissiveMode: Mode = (
const newConcept = {...newConcepts[action.semaphore[0]]};
newConcepts[action.semaphore[0]] = newConcept;
newConcepts[action.semaphore[0]].state = newState;
// console.log('CHECK NEW STATE', newState);
axiumState.actionConcepts$.next(newConcepts);
concepts$.next(newConcepts);
}
Expand Down Expand Up @@ -89,10 +88,6 @@ export const blockingMode: Mode = (
let subject: Subject<Action>;
if (concepts[action.semaphore[0]].qualities[action.semaphore[1]].method) {
subject = concepts[action.semaphore[0]].qualities[action.semaphore[1]].subject as Subject<Action>;
// if (action.strategy?.topic === 'Counting Strategy') {
// console.log('Method Subject', action);
// }
console.log('Action HIt');
subject.next(action);
}
} else {
Expand Down
1 change: 0 additions & 1 deletion src/concepts/counter/qualities/add.quality.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const counterAddType: ActionType = 'Counter Add';

export const counterAdd = prepareActionCreator(counterAddType);
function counterAddReducer(state: CounterState, _: Action) {
console.log('ADD: Incoming', state.count, 'Outgoing', state.count + 1);
return {
...state,
count: state.count + 1
Expand Down
1 change: 0 additions & 1 deletion src/concepts/counter/qualities/subtract.quality.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export const counterSubtractType: ActionType = 'Counter Subtract';
export const counterSubtract = prepareActionCreator(counterSubtractType);

function counterSubtractReducer(state: CounterState) {
console.log('SUBTRACT: Incoming', state.count, 'Outgoing', state.count - 1);
return {
...state,
count: state.count - 1
Expand Down
3 changes: 0 additions & 3 deletions src/model/axium.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,10 @@ export const defaultMethodSubscription = (action$: Subject<Action>, action: Acti
strategyTopic: action.strategy.topic,
strategyData: action.strategy.data
});
// setTimeout(() => {
console.log('APPEND', appendToDialog);
setTimeout(() => {
action$.next(appendToDialog);
action$.next(action);
}, 0);
// }, 0);
} else if (
action.strategy &&
// Logical Determination: axiumBadType
Expand Down
Loading