Commit graph

5 commits

Author SHA1 Message Date
Aaron Fenyes
83c1823a4f Expand abbreviations in test assembly names
All checks were successful
/ test (pull_request) Successful in 3m33s
This makes the naming more consistent, and having removed the `_assemb`
suffix gives us room to expand.
2025-08-06 14:14:49 -07:00
Aaron Fenyes
e0230a6fde Drop _assemb suffixes from test assembly loaders
In the process, make the loader names more consistent.
2025-08-05 13:51:30 -07:00
ef1a579ac0 refactor: Code formatting (#108)
All checks were successful
/ test (push) Successful in 3m34s
Primarily, switch to using trailing commas. Also uniformizes commas with respect to switch branches, makes function call layout more consistent, line breaking more consistent, alphabetizes imports, uses the field init shorthand when possible, etc.

Resolves #99.

Co-authored-by: Aaron Fenyes <aaron.fenyes@fareycircles.ooo>
Reviewed-on: #108
Co-authored-by: Vectornaut <vectornaut@nobody@nowhere.net>
Co-committed-by: Vectornaut <vectornaut@nobody@nowhere.net>
2025-08-04 23:34:33 +00:00
2eba80fb69 Simplify the realization triggering system (#105)
All checks were successful
/ test (push) Successful in 3m44s
Simplifies the system that reactively triggers realizations, at the cost of removing the preconditioning step described in issue #101 and doing unnecessary realizations after certain kinds of updates.

Co-authored-by: Aaron Fenyes <aaron.fenyes@fareycircles.ooo>
Reviewed-on: #105
Co-authored-by: Vectornaut <vectornaut@nobody@nowhere.net>
Co-committed-by: Vectornaut <vectornaut@nobody@nowhere.net>
2025-07-31 22:21:32 +00:00
0801200210 Add more test assemblies (#103)
All checks were successful
/ test (push) Successful in 3m32s
This PR helps probe the capabilities of the engine.

Also adjusts the realization triggering system to reduce redundant realizations as we set an assembly's regulators during loading. Specificially, consolidates all calls to `realize()` into a single effect, which is triggered by the `needs_realization` signal.
Also introduces a `keep_realized` signal and use it to pause realization while loading assemblies, but this signal is planned for removal as ultimately we do not want a separate "mode" of interpreting commands during loading, for maximal reproducibility of results (and simplicity of system).

Co-authored-by: Aaron Fenyes <aaron.fenyes@fareycircles.ooo>
Reviewed-on: #103
Co-authored-by: Vectornaut <vectornaut@nobody@nowhere.net>
Co-committed-by: Vectornaut <vectornaut@nobody@nowhere.net>
2025-07-22 22:01:37 +00:00