Skip to content

add missing mutations - #13

Merged
HyperCodec merged 11 commits into
devfrom
8-more-mutations
Feb 20, 2024
Merged

HyperCodec merged 11 commits into
devfrom
8-more-mutations

Conversation

@HyperCodec

Copy link
Copy Markdown
Owner

No description provided.

@HyperCodec HyperCodec added the enhancement New feature or request label Feb 14, 2024
@HyperCodec HyperCodec self-assigned this Feb 14, 2024
@HyperCodec HyperCodec changed the title 8 more mutations add missing mutations Feb 14, 2024
@HyperCodec

Copy link
Copy Markdown
Owner Author

Now there's an index error with mutations. Probably caused by the removeneuron mutation.

@HyperCodec

HyperCodec commented Feb 14, 2024

Copy link
Copy Markdown
Owner Author

also appears to have a deadlock.

@HyperCodec

Copy link
Copy Markdown
Owner Author

deadlock and index are rng-based so its probably mutations causing that.

@HyperCodec

Copy link
Copy Markdown
Owner Author

runnable.rs:124 and topology.rs:115 both have index errors

@HyperCodec

Copy link
Copy Markdown
Owner Author

not entirely sure why runnable has index errors still if the shifting is working. deadlock still probably exists (although haven't reproduced since these changes), not sure where that happens either.

@HyperCodec

Copy link
Copy Markdown
Owner Author

ok i think the runnable issue is when the last neuron of hidden layers is deleted.

previous commit did not fix the topology index issue fully btw

@HyperCodec

Copy link
Copy Markdown
Owner Author

just looked at backtrace, topology index error is caused by is_connection_cyclic somehow. I still think the root cause is mutation not properly fixing the input locations, but not sure why this is happening.

@HyperCodec

Copy link
Copy Markdown
Owner Author

I apparently just used the same variable name twice (oopsies). Runnable index still errors but not seeing any topology index errors.

@HyperCodec

Copy link
Copy Markdown
Owner Author

Deadlock is still an issue

@HyperCodec

Copy link
Copy Markdown
Owner Author

Might not actually be a deadlock, could be just infinite loop.

@HyperCodec

Copy link
Copy Markdown
Owner Author

process_neuron is still running into the same cyclic connection issue, I believe this might just be caused by a conceptual flaw with it. I must be doing something wrong if it has gone through so many revisions and it still has this bug.

@HyperCodec

Copy link
Copy Markdown
Owner Author

no sure how the fuck this happened but input layer is using output layer
image

@HyperCodec

Copy link
Copy Markdown
Owner Author

ok so I'll restate the issues:

  1. neurons inputs keep pointing to output layer somehow, causing borrow errors
  2. neurons keep pointing to missing hidden layer locations, causing index errors.
  3. i have no clue where in mutation any of these issues occur

@HyperCodec

Copy link
Copy Markdown
Owner Author

welp looks like I spent a week trying to debug a simple swapped-variable issue. glad to see that I'm using my time wisely

@HyperCodec
HyperCodec merged commit cf1dd51 into dev Feb 20, 2024
@HyperCodec
HyperCodec deleted the 8-more-mutations branch February 20, 2024 17:51

This branch was previously deployed

1 inactive deployment
testing 7a8396a8 Deployed Feb 20, 2024 by HyperCodec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant