AI-Planning / AI-Planning/planning-as-a-service

Inconsistent error reporting between planners

Open
#35 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
43
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Here is how enhsp reports parsing errors: in the `result.output.plan` element:

```json
{
"call": "enhsp-2020 -o domain -f problem >> plan",
"output": {
"plan": "Domain parsed\nDistributor not found\n",
},
"output_type": "generic",
"stderr": "bash: cannot set terminal process group (1): Inappropriate ioctl for device\nbash: no job control in this shell\n",
"stdout": "",
}
```

Plus you may notice the stderr polluted by some unrelated internal errors.

The _topk_ planner returns this json body:

```json
{
"Error": "Some error...."
}
```

...that is without the `status` or `result` element.

The `status` element should be mandatory in the returned payload.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.