Skip to content

Conversation

@amakarev
Copy link
Contributor

Existing Sample Changes

Description

After adding some samples, the sample aggregator started reporting errors in the validation of sample.json files. In two samples, due to a categories field that doesn't fit the format, json files turned out to be invalid:

iotdk-ninja
iotdk-ninja
10.64.105.26 10.64.69.172 172.17.0.1 
Sample branch/tag: development

The following error was seen in function isValid()

In the sample named:
convolutionSeparable

The error message is:
[{"instancePath":"/categories/0","schemaPath":"#/properties/categories/items/pattern","keyword":"pattern","params":{"pattern":"^(Toolkit/.*[^/])$"},"message":"must match pattern \"^(Toolkit/.*[^/])$\""}]

iotdk-ninja
iotdk-ninja
10.64.105.26 10.64.69.172 172.17.0.1 
Sample branch/tag: development

The following error was seen in function isValid()

In the sample named:
quasirandomGenerator

The error message is:
[{"instancePath":"/categories/0","schemaPath":"#/properties/categories/items/pattern","keyword":"pattern","params":{"pattern":"^(Toolkit/.*[^/])$"},"message":"must match pattern \"^(Toolkit/.*[^/])$\""}]

Samples:
quasirandomGenerator
convolutionSeparable
Fixes Issue#
https://jira.devtools.intel.com/browse/ONSAM-1601
https://jira.devtools.intel.com/browse/ONSAM-1599

External Dependencies

List any external dependencies created as a result of this change.

Type of change

  • Implement fixes for ONSAM Jiras

How Has This Been Tested?

Manual testing. Debugging with sample-aggregator

  • oneapi-cli

@amakarev amakarev changed the title fixed categories field Fix of errors reported by the sample aggregator. Invalid sample.json May 12, 2023
@IgorOchocki IgorOchocki merged commit ee455ab into oneapi-src:development May 12, 2023
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