aclai-lab / aclai-lab/SoleLogics.jl

Equality relation for TruthDicts

オープン 初心者向け
#108 コメント 6 件 リアクション 0 件 担当者 5 名 @Perro2110 が担当を希望しています GitHub で見る
bug
主要言語
Julia
スター
20
フォーク
7
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia
領域
backend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
活発
明瞭さ
明確に書かれている
初心者へのやさしさ
70/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。