aclai-lab / aclai-lab/SoleLogics.jl
Equality relation for TruthDicts
- Lenguaje dominante
- Julia
- Estrellas
- 20
- Forks
- 7
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
The following code is wrong.
```julia
my_model = randmodel(42, 5, 10, [Atom("p"), Atom("q")], BooleanAlgebra())
my_model.assignment == deepcopy(my_model.assignment)
```
The assignment within `my_model::KripkeModel` is a `TruthDict`, but it happens that a truth dict is never equal to itself.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Look at the TruthDict type definition and its equality method (likely == or isequal). The issue shows a failing equality test between a TruthDict and its deep copy. Start by finding where TruthDict is defined (search in src/), examine the current equality implementation, and write a test to reproduce the problem. Check if the issue is in how the dict's internal structure or keys are compared.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- julia
- Área
- backend
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Activo
- Claridad
- Bien especificado
- Aptitud para principiantes
- 70/100