Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Incomplete results being captured in response #132

@rgardler-msft

Description

@rgardler-msft

It looks like incomplete outputs are being captured by the REPL system. This results in incorrect similarity ratings being calculated. This has been worked around in a number of places by artificially reducing the expected results similarity value. For example:

This can be reproduced easily in simdem/demo_scripts/test/environment_test.md document by adding the expected similarity rating here:

` ` `bash
cat ../env.json
` ` `

Results:

` ` `expected_similarity = 0.9
{
  "PARENT_TEST": "Hello from the parent"
}
` ` `

This results in the following test failure output (debug = true):

FAILED

Similarity ratio:    0.4
Expected Similarity: 0.9


=============================


Expected results:

{
  "PARENT_TEST": "Hello from the parent"
}


Actual results:

 the parent"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions