Feature/tag system expansion 375 379 - #396
Open
Trosper3 wants to merge 4 commits into
Open
Conversation
…t-efficient-reduction ranking (#376) Declares the Garey & Johnson reduction technique (Restriction/LocalReplacement/ ComponentDesign) and a runtime complexity bucket on all 20 reductions by reading each reduce() method, mirroring the existing ReductionCost "declared, not derived" convention. ReductionEfficiency ranks by complexityBucket first (what "most efficient" means per the issue) with ReductionCost as a tiebreak, and that ranking now drives which parallel reduction edge sorts first in /Navigation/Reductions. Ranking a default reduction by wall-clock time needed a metric the codebase didn't have (ReductionCost only measures output-instance blow-up) -- filed as #395 and implemented separately since it's an independent, unblocking axis.
Redux Build System — CI Report
Overall: ❌ 3 passed · 2 failed · 3 skipped ❌ format-check — 214 files need formatting
|
wrigjl
requested changes
Aug 12, 2026
wrigjl
left a comment
Collaborator
There was a problem hiding this comment.
I like where this is headed and I'm sorry I'm creating some grief for you by deleting the newtonsoft stuff.
| /// <c>ReductionEfficiency.IsFasterThan</c>. | ||
| /// </para> | ||
| /// </summary> | ||
| [Newtonsoft.Json.JsonConverter(typeof(StringEnumConverter))] |
Collaborator
There was a problem hiding this comment.
This will be a problem. I removed the Newtonsoft.Json stuff because it is no longer the favored way of handling json conversion. The new hotness in the .NET world is System.Text.Json
It was removed today: #351
Contributor
Author
There was a problem hiding this comment.
Oh ok, I didn't realize that. Thanks for the info
Picks up #351 (Newtonsoft.Json -> System.Text.Json migration) plus everything else merged to CSharpAPI since this branch's base, ahead of fixing the stale [Newtonsoft.Json.JsonConverter] attribute wrigjl flagged in review.
…plexityBucket Both enums carried a leftover [Newtonsoft.Json.JsonConverter(StringEnumConverter)] alongside the System.Text.Json one. Newtonsoft.Json was removed repo-wide in #351 (merged in the CSharpAPI sync above), so the attribute no longer compiles once the package reference is gone. The System.Text.Json [JsonConverter(JsonStringEnumConverter<T>)] attribute already present on both enums is sufficient on its own, matching ReductionCost/SolverType/ VisualizationType's post-#351 pattern. Per wrigjl's review comment on PR #396.
Contributor
Author
|
This should be better now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backend — Redux repo, branch feature/tag-system-expansion-375-379
Two commits, both on top of ad5bdb1:
71ca932 — Add ReductionType/ReductionComplexityBucket vocabularies and wire most-efficient-reduction ranking (#376)
7c1a70f — Added complexity and big-O details to Problems and added unit tests
Full suite: 757/757 passing.
Closes #375
Closes #376
Closes #377
Closes #378
Closes #379
Closes #395
Linked to ReduxISU/Redux_GUI#161