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

Model refactor api expr to circ #1238

Merged
merged 30 commits into from Feb 6, 2024

Conversation

TGCrystal
Copy link
Contributor

@TGCrystal TGCrystal commented Mar 30, 2023

closes #1264
closes #1273
closes #1277

@TGCrystal TGCrystal changed the base branch from model_refactor_api_views1 to model_refactor_api April 26, 2023 01:49
@TGCrystal TGCrystal marked this pull request as ready for review April 26, 2023 02:12
Copy link
Member

@LeonMontealegre LeonMontealegre left a comment

Choose a reason for hiding this comment

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

Only like a half-review for now:
can you please tell me what files I don't really have to pay attention to? i.e. which files are exact copy-and-pastes? Specifically the huge files like GenerateInputTree

src/app/core/utils/math/Graph.ts Outdated Show resolved Hide resolved
src/app/core/utils/math/Graph.ts Outdated Show resolved Hide resolved
src/app/core/utils/math/Graph.ts Outdated Show resolved Hide resolved
src/app/core/utils/math/Graph.ts Outdated Show resolved Hide resolved
src/app/core/utils/math/Graph.ts Outdated Show resolved Hide resolved
src/app/tests/Extensions.ts Outdated Show resolved Hide resolved
src/site/pages/digital/src/utils/ComponentOrganizers.ts Outdated Show resolved Hide resolved
@TGCrystal
Copy link
Contributor Author

Only like a half-review for now: can you please tell me what files I don't really have to pay attention to? i.e. which files are exact copy-and-pastes? Specifically the huge files like GenerateInputTree

StringUtils, Formats, and DataStructures are the only things unchanged. Core algorithm files were changed to accommodate Result.

@@ -0,0 +1,24 @@
import {Graph} from "math/Graph";
Copy link
Member

Choose a reason for hiding this comment

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

let's move this file into app/core/utils I think

// }

// const pass = bfs([source], depth);
toBeOk(received: unknown) {
Copy link
Member

Choose a reason for hiding this comment

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

You can just say received: Result and then you don't have to type-check it, I should probably do that for the others but I was probably referencing some js

// pass,
// };
// },
toIncludeError(received: unknown, message: string) {
Copy link
Member

Choose a reason for hiding this comment

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

same here

@@ -0,0 +1,43 @@
// TODO[model_refactor_api](trevor): Get this working for expression to circuit frontend
Copy link
Member

Choose a reason for hiding this comment

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

Why not get this working now ?

src/site/pages/digital/tsconfig.json Show resolved Hide resolved
@LeonMontealegre LeonMontealegre merged commit 986984c into model_refactor_api Feb 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants