python-llm-structured-confidence

LOW
maintainer medaminezghal 1 votes scanned 2026-10-22 13:35:05.775257
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Mohamed Amine Zghal (medaminezghal) <medaminezghal at outlook dot com>
2
3_name=llm-structured-confidence
4pkgname=python-$_name
5pkgver=0.4.5
6pkgrel=1
7pkgdesc='Extract per-field confidence scores from LLM structured JSON outputs using token-level log-probabilities.'
8arch=('any')
9url='https://github.com/rodolfonobrega/llm-structured-confidence'
10license=('MIT')
11depends=('python'
12 'python-lark')
13makedepends=('python-hatchling'
14 'python-build'
15 'python-installer')
16checkdepends=('python-pandas'
17 'python-pydantic'
18 'python-pytest'
19 'python-litellm')
20optdepends=('python-litellm: litellm'
21
22 'python-google-genai: genai'
23
24 'python-pandas: pandas')
25source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
26sha256sums=('51be458f2cfc53b15b0b9ae6806c9d7bdba87a8930faa2a0f41ef799dfe1e91f')
27
28build() {
29 cd "$_name-$pkgver"
30 python -m build --wheel --no-isolation
31}
32
33check() {
34 local pytest_options=(
35 -vv
36 --disable-warnings
37 --deselect ${_name//-/_}/tests/test_e2e.py
38 )
39 cd "$_name-$pkgver"
40 PYTHONPATH=$PWD pytest "${pytest_options[@]}" ${_name//-/_}/tests
41}
42
43package() {
44 cd "$_name-$pkgver"
45 python -m installer --destdir="$pkgdir" dist/*.whl
46 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
47}
48

Scan history

Scanned at (UTC)SeverityRules
2026-10-22 13:35:05 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion