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

Inconsistent error reporting between planners

Ouverte
#35 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
43
Forks
13
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.