Support multiple attributes/associations of the same name in Interactive Configuration API
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
In the Interactive Configuration API, there are several reasons why multiple attributes or associations of the same name but in different classes are not supported.
A (not necessarily exhaustive) list of these reasons:
- The cv
no_instance_for_attributeinooasp_check.lpmay be wrongly produced if attributes of the same name appear in two different classes. - There is a similar issue with the cv
wrongtypeinassoc. - The calculation of association arities (predicate
ooasp_arityinooasp_arity.lpincludes only the association name, but not the names of the involved class names, in the heads of rules.
Attention: Many of these ASP snippets also occur in asp_interactive_configuration/DOC.md!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the affected rules in ooasp_check.lp and ooasp_arity.lp, then compare their counterparts in asp_interactive_configuration/DOC.md. Trace how same-named attributes and associations from different classes produce no_instance_for_attribute, wrongtypeinassoc, and ooasp_arity results. Done means the Interactive Configuration API supports these cases consistently across the implementation and documented snippets.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100