[PR #1] Add offline regression coverage for precision #1

Open
opened 2026-10-29 14:17:53 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kvcache-ai/AFD-Ledger/pull/1
Author: @1nfernet
Created: 10/10/2026
Status: 🔄 Open

Base: main ← Head: 1nfer-fix-2aa3c91c355238a12dbeab25


📝 Commits (1)

  • d8cbbdb Add offline regression coverage for precision

📊 Changes

1 file changed (+31 additions, -0 deletions)

View changed files

➕ tests/test_precision.py (+31 -0)

📄 Description

Adds a verified contribution in tests/test_precision.py.

Adds focused offline regression coverage for normalize_precision aliases, case normalization, supported low-precision values, unknown/empty strings, and invalid non-string inputs. The tests match the shown implementation behavior, do not alter production code or out-of-scope areas, and the complete test suite was reported as passing (18 passed, 7 subtests passed). No additional policies were provided.

Verification

python -m pytest -q — 18 passed. Tests ran in an isolated environment with network disabled. A separate automated review approved the patch; maintainer review remains pending. No auto-merge.

Affiliation

Automated contribution from the 1NFER project account. No promotional links or referral payloads are added to the code.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kvcache-ai/AFD-Ledger/pull/1 **Author:** [@1nfernet](https://github.com/1nfernet) **Created:** 10/10/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `1nfer-fix-2aa3c91c355238a12dbeab25` --- ### 📝 Commits (1) - [`d8cbbdb`](https://github.com/kvcache-ai/AFD-Ledger/commit/d8cbbdbade309ba8718dfe8790a5341070ace1d8) Add offline regression coverage for precision ### 📊 Changes **1 file changed** (+31 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `tests/test_precision.py` (+31 -0) </details> ### 📄 Description Adds a verified contribution in `tests/test_precision.py`. Adds focused offline regression coverage for normalize_precision aliases, case normalization, supported low-precision values, unknown/empty strings, and invalid non-string inputs. The tests match the shown implementation behavior, do not alter production code or out-of-scope areas, and the complete test suite was reported as passing (18 passed, 7 subtests passed). No additional policies were provided. ## Verification python -m pytest -q — 18 passed. Tests ran in an isolated environment with network disabled. A separate automated review approved the patch; maintainer review remains pending. No auto-merge. ## Affiliation Automated contribution from the 1NFER project account. No promotional links or referral payloads are added to the code. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/AFD-Ledger#1
No description provided.