ASSERT-KTH / cigar

Efficient APR with LLMs http://arxiv.org/pdf/2402.06598
http://arxiv.org/pdf/2402.06598
13 stars 2 forks source link

Multiple loops for different modes #2

Open Coppelian opened 4 months ago

Coppelian commented 4 months ago

Hi Cigar Developers,

My issue: Regarding the debugging in different modes, I have such questions. In the Cigar project, it seems that in both analysis.py and cigar.py, there are both loops for modes. In analysis.py, line 46, and cigar.py, line 32, there are two loops that exist for fixing. Is it possible that you could help me clarify the purpose of setting up multiple loops here? Thank you.

Links to the file: analysis.py cigar.py

Many thanks.

khaes-kth commented 1 month ago

Hi @Coppelian

Sorry for missing this issue. I hope you have found the answer already.

The loop in analysis.py goes through the modes to call Capr with various modes. But analysis.py does not call CigaR with a specific mode. Therefore, there is another loop in cigar.py to run the tool for each specific modes. This should be fixed as one loop in analysis.py is enough. So, I'm reopenning this issue to be addressed later.