Operation Evaluation
Description of issue:
Implement the evaluation function of an operation.
Linked Requirements:( 11 )
Potential Issues:None
Blockers:( #1 (closed), #2 (closed), #3 (closed) )
Issue Requirements:- The function should return the result of the operation given data in.
- The evaluate function should be able to parse Python code as long as the code returns a numerical value.
None
Designs
- Show closed items
Relates to
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Jacob Wahlman added 1 deleted label
added 1 deleted label
- Jacob Wahlman changed the description
changed the description
- Jacob Wahlman changed the description
changed the description
- Jacob Wahlman marked this issue as related to #1 (closed)
marked this issue as related to #1 (closed)
- Jacob Wahlman marked this issue as related to #2 (closed)
marked this issue as related to #2 (closed)
- Jacob Wahlman marked this issue as related to #3 (closed)
marked this issue as related to #3 (closed)
- Jacob Wahlman changed title from Operationsevaluering to Operation Evaluation
changed title from Operationsevaluering to Operation Evaluation
- Jacob Wahlman changed the description
changed the description
- Jacob Wahlman mentioned in issue #9 (closed)
mentioned in issue #9 (closed)
- Jacob Wahlman mentioned in issue #12 (closed)
mentioned in issue #12 (closed)
- Jacob Wahlman mentioned in issue #18 (closed)
mentioned in issue #18 (closed)
- Jacob Wahlman mentioned in issue #24 (closed)
mentioned in issue #24 (closed)
- Jacob Wahlman added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Jacob Wahlman added 1 deleted label
added 1 deleted label
- Jacob Wahlman changed time estimate to 2d 5h
changed time estimate to 2d 5h
- Jacob Wahlman changed milestone to %Sprint 1
changed milestone to %Sprint 1
- Jacob Wahlman assigned to @anglo547
assigned to @anglo547
- Jacob Wahlman assigned to @jacwa448 and unassigned @anglo547
- Jacob Wahlman created branch
5-operation-evaluation
to address this issuecreated branch
5-operation-evaluation
to address this issue - Author Contributor
Have looked into the psuedo code and tried to understand it, have some issues understanding how the SimulationState and OperationState are supposed to be used.
- Jacob Wahlman added 2h of time spent at 2020-03-02
added 2h of time spent at 2020-03-02
- Jacob Wahlman assigned to @raska119 and unassigned @jacwa448
Have looked at and understood pre-existing code, and have made some modifications to work with the current code for signal-interface. Testing is available with current modifications, but Will have to change code when signal allows for code like "signal-/port.value" and connecting with signal/port between operations.
- Rasmus Karlsson added 7h of time spent at 2020-03-05
added 7h of time spent at 2020-03-05
- Jacob Wahlman added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Jacob Wahlman changed time estimate to 5h
changed time estimate to 5h
- Jacob Wahlman changed time estimate to 1d
changed time estimate to 1d
- Jacob Wahlman changed time estimate to 5h
changed time estimate to 5h
- Jacob Wahlman changed milestone to %Sprint 2
changed milestone to %Sprint 2
- Author Contributor
What is the status on this one? @raska119
- Jacob Wahlman added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
The function that is implementet should be called evaluate_output. Just like it is in the class diagram.
- Angus Lothian added 1 deleted label
added 1 deleted label
- Rasmus Karlsson assigned to @anglo547 and unassigned @raska119
- Jacob Wahlman changed milestone to %Period 1 Kanban
changed milestone to %Period 1 Kanban
- Contributor
Have been thinking a bit about use-cases for this issue, however realized I need more insight into what is expected of the functionality to this issue.
- Angus Lothian added 30m of time spent at 2020-04-06
added 30m of time spent at 2020-04-06
- Contributor
Use-cases:
- As a developer I want to be able to evaluate a specific output port of an operation based on the index of the output port and numerical values for the operations input ports. The evaluation should use an already implemented "evaluate" function.
- As a developer I want to be able to evaluate a specific output port of an operation with real valued input values.
- As a developer I want to be able to evaluate a specific output port of an operation with imaginary valued input values.
Edited by Angus Lothian - Angus Lothian added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Angus Lothian added 30m of time spent at 2020-04-06
added 30m of time spent at 2020-04-06
- Contributor
Requesting use-case review from @jacwa448
- Author Contributor
Use cases LGTM.
1 - Angus Lothian added Needs testing label and removed 1 deleted label
added Needs testing label and removed 1 deleted label
- Contributor
Added tests for evaluate_output of real and complex numbers for single output. I will now implement code that solves these tests.
Decided that it would be great if we had an operation with multiple outputs for testing, so I decided that I will implement the Butterfly operation and add it to core_operations afterwards.
Edited by Angus Lothian - Angus Lothian added 1h of time spent at 2020-04-06
added 1h of time spent at 2020-04-06
- Angus Lothian added 30m of time spent at 2020-04-06
added 30m of time spent at 2020-04-06
- Contributor
Added code that implements evaluate_output and works with the tests.
Will now implement Butterfly in core_operations.
- Angus Lothian added 1h of time spent at 2020-04-06
added 1h of time spent at 2020-04-06
- Adam Jakobsson created branch
5-operation-evaluation-2
to address this issuecreated branch
5-operation-evaluation-2
to address this issue - Contributor
Added test and code for Butterfly operation. Will now add test case for evaluate_output for multiple outputs.
- Angus Lothian added 30m of time spent at 2020-04-06
added 30m of time spent at 2020-04-06
- Contributor
Added tests for evaluate_output for multiple outputs. Should be ready to merge now.
- Angus Lothian added 30m of time spent at 2020-04-06
added 30m of time spent at 2020-04-06
- Angus Lothian added Feature development label and removed Needs testing label
added Feature development label and removed Needs testing label
- Angus Lothian mentioned in merge request !17 (merged)
mentioned in merge request !17 (merged)
- Contributor
Added merge request for this issue in !17 (merged)
- Angus Lothian added Needs review label and removed Feature development label
added Needs review label and removed Feature development label
- Contributor
Fixed some merge request comments.
- Angus Lothian added 30m of time spent at 2020-04-06
added 30m of time spent at 2020-04-06
- Angus Lothian added 1 deleted label and removed Needs review label
added 1 deleted label and removed Needs review label
- Contributor
Closed when merging !17 (merged)
- Angus Lothian closed
closed