Skip to content

Param strategies#68

Draft
ReedActon wants to merge 47 commits into
mainfrom
param-strategies
Draft

Param strategies#68
ReedActon wants to merge 47 commits into
mainfrom
param-strategies

Conversation

@ReedActon
Copy link
Copy Markdown
Collaborator

Reimplemented Parameter Placement.

Added parameter placement strategies and factories.

Added parameter insertion strategies.

Added "Exorcism" strategies and factories.

New playground with the cursed tree.

ReedActon and others added 30 commits October 16, 2025 11:48
Added algorithms for IL factoring.
Added logging to cleaner
Probably want to keep the IL factoring code on the IL factoring branch
Additionally, the index attribute added to functions no longer has a custom name
Made the cleaner log a separate class. Now, each cleaner has its own log which can be customized.
trying to find tox errors
Made tox work, dealt with unregistered functions.
I'm confused as to why this is necessary, but here we are.
Add types-tabulate to mypy dependencies
christianbean and others added 17 commits December 4, 2025 13:53
Made the display prettier and added mappling specific strategies.
Final display changes and tox
Added param placement and param insertion
Added stretegies to get the cursed tree
Made tox happy
Made adjustments to avoider/container exorcism.

Added ParameterInsertionFactory.
Added checks to param insertion strategy.

Fixed a bug in IL factoring.

Fixed a bug in try to kill.

New pack to get 123 tree.
Copy link
Copy Markdown
Collaborator

@christianbean christianbean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the param placement and insertion strategies are looking good. Most of my comments are about tidying up all the miscellaneous files you also committed.

Comment on lines +168 to +171
if cell2 not in self.cells_dict:
print(cell, cell2)
print(self.tiling)
print(gcp)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you forgot to remove this

return all_factors


class ILFactorNormal(Factor):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be a could chance to change the names to something more descriptive.

To start brainstorming, I propose InterleavingFactor and CayleyInterleavingFactor. Open to other suggestions.

Comment on lines +23 to +25
# ParamPlacementFactory,
# AvoiderExorcismFactory,
# ParameterInsertionFactory,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was left by mistake?

iterative=False,
)

@classmethod
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a point to this pack, or should it just be deleted?

iterative=False,
)

@classmethod
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to remove these changes to ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants