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

335 #1560

Open
wants to merge 21 commits into
base: develop
Choose a base branch
from
Open

335 #1560

wants to merge 21 commits into from

Conversation

Jeffrey-Simpson
Copy link
Contributor

Description

This includes fixes for issues discovered while testing the PYVVO application.
The TestManager now supports querying the timeseries data base in small time windows so the queries are not as time consuming.

Input commands that do not have a matching expected value are published as in the expected results output with the expected value being 'NA' the revers is true for actual values.
So we have these cases.
Time matches and the object MRID matches and the values match.
Time matches and the object MRID matches but the values do NOT match.
Time matches and the object MRID do not match but the values do NOT match since they do not exist.

Fixes #1287, #335

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

This has been tested with unit test and test in gridappsd-test repo.

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

jsimpson added 21 commits December 7, 2020 13:50
Added testQuery
Renamed compareSimulation to compareTimeseriesSimulation
Renamed inputKeys2 to inputTimeIndex

Compare Results
Added expectedReverseMap check for compareExpectedWithSimulationOutput
For compareExpectedAndSim added better process in for input with missing property, i.e. "hasMeasurementDifference"
…ut the same as the input. A new TestConfig flag was added to disable comparing of missing simulation or timeseries output data since it creates so many mismatched comparisons.
…ut the same as the input. A new TestConfig flag was added to disable comparing of missing simulation or timeseries output data since it creates so many mismatched comparisons.
@poorva1209 poorva1209 requested review from singha42 and removed request for poorva1209 December 13, 2021 20:22
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.

2 participants