rich7420 opened a new pull request, #694:
URL: https://github.com/apache/mahout/pull/694

   ### Purpose of PR
   <!-- Describe what this PR does. -->
   This tests include: full-stack verification, async pipeline, fidelity 
metrics,
   zero-copy validation, and edge cases (boundaries, stability, memory, 
threads).
   
   the results:
   ```
   ============================= test session starts 
==============================
   platform linux -- Python 3.12.3, pytest-9.0.1, pluggy-1.6.0 -- 
/home/rich-wsl/mahout/qdp/qdp-python/.venv/bin/python3
   cachedir: .pytest_cache
   rootdir: /home/rich-wsl/mahout/qdp/qdp-python
   configfile: pyproject.toml
   collecting ... collected 12 items
   
   
tests/test_high_fidelity.py::test_amplitude_encoding_fidelity_comprehensive[4-16-Small
 - Sync Path] 
   [Test Case] Small - Sync Path (Size: 16)
   Fidelity: 1.0000000000000000
   PASSED
   
tests/test_high_fidelity.py::test_amplitude_encoding_fidelity_comprehensive[10-1000-Medium
 - Padding Logic] 
   [Test Case] Medium - Padding Logic (Size: 1000)
   Fidelity: 0.9999999999999996
   PASSED
   
tests/test_high_fidelity.py::test_amplitude_encoding_fidelity_comprehensive[18-131072-Boundary
 - Exact Chunk Size] 
   [Test Case] Boundary - Exact Chunk Size (Size: 131072)
   Fidelity: 1.0000000000000004
   PASSED
   
tests/test_high_fidelity.py::test_amplitude_encoding_fidelity_comprehensive[18-131073-Boundary
 - Chunk + 1] 
   [Test Case] Boundary - Chunk + 1 (Size: 131073)
   Fidelity: 1.0000000000000004
   PASSED
   
tests/test_high_fidelity.py::test_amplitude_encoding_fidelity_comprehensive[18-262144-Boundary
 - Two Exact Chunks] 
   [Test Case] Boundary - Two Exact Chunks (Size: 262144)
   Fidelity: 0.9999999999999993
   PASSED
   
tests/test_high_fidelity.py::test_amplitude_encoding_fidelity_comprehensive[20-1000000-Large
 - Async Pipeline] 
   [Test Case] Large - Async Pipeline (Size: 1000000)
   Fidelity: 1.0000000000000009
   PASSED
   tests/test_high_fidelity.py::test_complex_integrity 
   Sum of imaginary parts (should be 0): 0.0
   PASSED
   tests/test_high_fidelity.py::test_numerical_stability_underflow PASSED
   tests/test_high_fidelity.py::test_memory_leak_quantitative 
   Start GPU Memory: 0 bytes
   End GPU Memory:   0 bytes
   PASSED
   tests/test_high_fidelity.py::test_memory_safety_stress 
   Starting memory stress test (1000 iterations)...
   Memory stress test passed (no crash).
   PASSED
   tests/test_high_fidelity.py::test_multithreaded_access 
   Starting concurrent stress test with 8 threads...
   Multithreaded access check passed.
   PASSED
   tests/test_high_fidelity.py::test_error_propagation PASSED
   
   ============================== 12 passed in 3.33s 
==============================
   ```
   
   ### Related Issues or PRs
   <!-- Add links to related issues or PRs. -->
   <!-- - Closes #123  -->
   <!-- - Related to #123   -->
   Closes #686 
   
   ### Changes Made
   <!-- Please mark one with an "x"   -->
   - [ ] Bug fix
   - [ ] New feature
   - [ ] Refactoring
   - [ ] Documentation
   - [x] Test
   - [ ] CI/CD pipeline
   - [ ] Other
   
   ### Breaking Changes
   <!-- Does this PR introduce a breaking change? -->
   - [ ] Yes
   - [x] No
   
   ### Checklist
   <!-- Please mark each item with an "x" when complete -->
   <!-- If not all items are complete, please open this as a **Draft PR**.
   Once all requirements are met, mark as ready for review. -->
   
   - [ ] Added or updated unit tests for all changes
   - [ ] Added or updated documentation for all changes
   - [x] Successfully built and ran all unit tests or manual tests locally
   - [ ] PR title follows "MAHOUT-XXX: Brief Description" format (if related to 
an issue)
   - [ ] Code follows ASF guidelines
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to