AOSSIE-Org / AOSSIE-Org/OpenVerifiableLLM

[BUG]: verify_preprocessing() stores resolved path instead of original in VerificationReport

オープン
#74 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
18
フォーク
31
平均マージ
1分
マージ済み PR(30日)
2

説明

### Bug Description

## Description
`verify_preprocessing()` calls `Path.resolve()` on the user-supplied
`input_dump` before storing it in `VerificationReport.input_dump`.
On Windows, `resolve()` can alter path casing via junction point
expansion, causing `report.input_dump != str(original_path)`.

## Failing Test
`tests/test_verify.py::TestHappyPath::test_report_stores_input_dump_path`

## Expected Behaviour
`report.input_dump` should equal the original path string passed by the caller.

## Actual Behaviour
On Windows, the stored path may differ in casing from the original.

### Steps to Reproduce

1. Clone the repository on Windows
2. Run `pytest tests/test_verify.py::TestHappyPath::test_report_stores_input_dump_path -v`
3. Observe the test fails

### Logs and Screenshots

image

### Environment Details

-OS : Windows 11

### Impact

Medium - Feature works but has issues

### Code of Conduct

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates

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

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

評価

この issue はまだ評価されていません。

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

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