[PRISM] PC LLM worker: 7 docs -> 9 models in staging; экран Разбор; inbox API
lint / hygiene (push) Failing after 26s

This commit is contained in:
root committed 2026-11-18 19:13:13 +03:00
1 parent 81b8cb2cab
commit b305e9bf04
4 files changed
+346

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
# Ingest report
Извлечено документов: **7**
Моделей: **9**, новых: **8**, уже в каталоге: **1**
Статус: **staging, прод не изменён**.
## Документы
- `15f9170e1e98.json` — HP, моделей 2
- `40f1e8547e28.json` — Poly, моделей 1
- `4de9eab3f3a3.json` — HP, моделей 1
- `b116c4ed7683.json` — HP, моделей 2
- `ba39cff89698.json` — Poly, моделей 1
- `cfd951466730.json` — HP, моделей 1
- `d38a164e25b1.json` — Poly, моделей 1
## Модели
- poly Poly Base Room Kit1 — новая · требует review
- poly Poly Studio Base Room Kit for Zoom Rooms — новая · требует review
- poly Poly Studio G62 Video Conferencing System — существует · требует review
- poly Poly Studio R30 Plus USB Video Bar and BT Remote with HP USB-C Dock G5 — новая · требует review
- poly Mini IP Conferencing PC with 13th Gen Intel Core i7 — новая · требует review
- poly Poly TC10 touch controller — новая · требует review
- poly Poly Studio E60 Smart Camera 4K MPTZ with 12x Optical Zoom — новая · требует review
- poly V12 — новая · требует review
- poly Poly Studio V52 USB Video Bar — новая · требует review
+284
View File
@@ -0,0 +1,284 @@
generated_at: '2026-11-18T19:12:28'
status: staging
models:
- vendor: poly
model: Poly Base Room Kit1
family: Base Room Kit
role: Meeting room solution
form_factor: Mini
market: ru|global|null
variant_of: null
protocols: []
specs:
4k: null
zoom_optical: null
fov_h: null
pickup_m: null
mic_count: null
protocols: []
accessories: []
kits: []
restrictions: []
lifecycle: null
source:
doc_id: '...'
url: '...'
quote: Product Brief
level: L1
review: needs_review
existing: false
existing_file: null
- vendor: poly
model: Poly Studio Base Room Kit for Zoom Rooms
family: Base Room Kit
role: Meeting room solution
form_factor: Mini
market: ru|global|null
variant_of: null
protocols: []
specs:
4k: null
zoom_optical: null
fov_h: null
pickup_m: null
mic_count: null
protocols: []
accessories: []
kits: []
restrictions: []
lifecycle: null
source:
doc_id: '...'
url: '...'
quote: Product Brief
level: L1
review: needs_review
existing: false
existing_file: null
- vendor: poly
model: Poly Studio G62 Video Conferencing System
family: Poly Studio G62
role: Video conferencing system
form_factor: Desktop
market: ru|global|null
variant_of: null
protocols: []
specs:
4k: null
zoom_optical: null
fov_h: null
pickup_m: null
mic_count: null
protocols: []
accessories: []
kits: []
restrictions: []
lifecycle: null
source:
doc_id: '...'
url: '...'
quote: 'Документ: 40f1e8547e28'
level: L1
review: needs_review
existing: true
existing_file: catalog-poly.yaml
- vendor: poly
model: Poly Studio R30 Plus USB Video Bar and BT Remote with HP USB-C Dock G5
family: Poly Studio R30 Plus
role: Video conferencing solution
form_factor: USB Video Bar and BT Remote with HP USB-C Dock G5
market: ru|global|null
variant_of: null
protocols: []
specs:
4k: null
zoom_optical: null
fov_h: null
pickup_m: null
mic_count: null
protocols: []
accessories: []
kits: []
restrictions: []
lifecycle: null
source:
doc_id: '...'
url: '...'
quote: '...'
level: L1
review: needs_review
existing: false
existing_file: null
- vendor: poly
model: Mini IP Conferencing PC with 13th Gen Intel Core i7
family: HP Mini IP Conferencing PC
role: Conferencing PC
form_factor: Desktop
market: ru|global|null
variant_of: HP Poly Studio Base Kit G9 Plus for Microsoft Teams Rooms
protocols: []
specs:
4k: null
zoom_optical: null
fov_h: null
pickup_m: null
mic_count: null
protocols: []
accessories:
- 10m Ethernet cable
- HP Displayport to HDMI True 4K Adapter
- HP Desktop Mini Port Cover v3
- HP Desktop Mini v4+ VESA Sleeve with Power Supply Holder
- AC power adapter
- Power cord
kits:
- HP Poly Studio Base Kit G9 Plus for Microsoft Teams Rooms
restrictions: []
lifecycle: null
source:
doc_id: '...'
url: '...'
quote: Product Brief
level: L1
review: needs_review
existing: false
existing_file: null
- vendor: poly
model: Poly TC10 touch controller
family: HP Poly TC10 touch controller
role: Touch Controller
form_factor: Desktop
market: ru|global|null
variant_of: null
protocols: []
specs:
4k: null
zoom_optical: null
fov_h: null
pickup_m: null
mic_count: null
protocols: []
accessories:
- Touch screen 10.1 inch (diagonal) touch screen
- Power over Ethernet (PoE), 802.3 at class 0 LAN cable (Cat5 E)
- Stand
- 3.66m/12ft Ethernet cable
- Wall mount kit
kits: []
restrictions: []
lifecycle: null
source:
doc_id: '...'
url: '...'
quote: Product Brief
level: L1
review: needs_review
existing: false
existing_file: null
- vendor: poly
model: Poly Studio E60 Smart Camera 4K MPTZ with 12x Optical Zoom
family: Poly Studio E60
role: Smart Camera
form_factor: Dual-lens
market: ru|global|null
variant_of: null
protocols: []
specs:
4k: null
zoom_optical: 12x
fov_h: 71° (PTZ camera); 107° (panoramic camera)
pickup_m: null
mic_count: '2'
protocols: []
accessories: []
kits: []
restrictions: []
lifecycle: null
source:
doc_id: '...'
url: '...'
quote: '*Product image may differ from actual product'
level: L1
review: needs_review
existing: false
existing_file: null
- vendor: poly
model: V12
family: Poly Studio
role: USB video bar
form_factor: bar
market: ru|global|null
variant_of: null
protocols: []
specs:
4k: null
zoom_optical: 5
fov_h: 120
pickup_m: 15
mic_count: 4
protocols: []
accessories:
- HP Poly Studio R30/USB/V12 Bluetooth Remote Control
- HP Poly USB-C 65W Power Adapter and Power Cord Kit
- HP Poly PoE++ 65W 2.5G Adapter with 3.66m CAT6aA and Power Cord
- HP Poly Studio X30/X32/V12 Table Stand
- HP Poly Studio X30/X32/V12 VESA and Wall Mount
kits: []
restrictions: []
lifecycle: null
source:
doc_id: '...'
url: '...'
quote: HP Poly Studio V12 USB video bar. A smarter way to collaborate. Equip your
small meeting spaces with a USB video bar that boasts a 20MP 120° FOV camera
built with impressive image quality. Smart camera and audio technology power
meeting equity, ensuring a smoother hybrid meeting.
level: L1
review: needs_review
existing: false
existing_file: null
- vendor: poly
model: Poly Studio V52 USB Video Bar
family: Poly Studio V52
role: USB Video Bar
form_factor: External USB Camera
market: ru|global|null
variant_of: null
protocols: &id001
- UVC 1.1
- 4K NV12
- 4K MJPEG
specs:
4k: null
zoom_optical: 5
fov_h: 95
pickup_m: 6.09
mic_count: 4
protocols: *id001
accessories:
- Monitor clamp
- Privacy cover
- Quick start guide
- Warranty card
- AC power adapter
- HDMI cable
- Power cable
- Poly Studio V52 USB Type-C® to USB Type-C® cable
- Poly Studio X52/V52 Wall Mount
- Poly Studio X52/V52 VESA Mount
- Poly Studio X50/X52/V52 Table Stand
- Poly Studio X50/X52/X70/USB Expansion Microphone Cable
- Poly Studio X52/V52 Display Clamp
- Poly Studio X50/X52/X70/USB Table Microphone
- Poly Studio X52 Adapter Bracket for Studio X50
kits: []
restrictions: []
lifecycle: null
source:
doc_id: '...'
url: '...'
quote: Poly Studio V52 USB Video Bar specifications and features
level: L1
review: needs_review
existing: false
existing_file: null
+21
View File
@@ -1372,6 +1372,25 @@ def product_info(key):
"analogs": analog_search(_dev_name(d), d.get("domain") or "vcs")}
def staging_items():
out = []
for p in sorted(glob.glob("/root/buryan-infra/ops/combine/staging/*/models.yaml")):
try:
d = yaml.safe_load(open(p, encoding="utf-8")) or {}
except Exception:
continue
for x in d.get("models") or []:
src = x.get("source") or {}
out.append({"batch": os.path.basename(os.path.dirname(p)),
"vendor": x.get("vendor"), "model": x.get("model"),
"role": x.get("role"), "class": x.get("solution_class"),
"market": x.get("market"), "existing": x.get("existing"),
"review": x.get("review") or "needs_review",
"source_url": src.get("url"), "source_file": src.get("file"),
"quote": (src.get("quote") or "")[:300]})
return sorted(out, key=lambda z: ((z.get("vendor") or ""), (z.get("model") or "")))
def coverage_report():
mats = load_yaml("materials.yaml").get("materials") or []
mat_by_vendor = {}
@@ -1634,6 +1653,8 @@ class H(BaseHTTPRequestHandler):
return self._out(compare_devices(keys))
if p == "/api/archive":
return self._out({"items": archived_items()})
if p == "/api/staging":
return self._out({"items": staging_items()})
if p == "/api/room-roles":
return self._out(room_roles())
if p == "/api/room-needs":
+16
View File
@@ -52,6 +52,7 @@ main{max-width:1560px;margin:0 auto;padding:22px 26px 70px}.view{display:none}.v
<button class="nav" data-v="vendors">Вендоры</button>
<button class="nav" data-v="materials">Материалы</button>
<button class="nav" data-v="quality">Качество</button>
<button class="nav" data-v="inbox">Разбор</button>
<button class="nav" data-v="archive">Архив</button>
</nav>
<div class="spacer"></div>
@@ -123,6 +124,14 @@ main{max-width:1560px;margin:0 auto;padding:22px 26px 70px}.view{display:none}.v
</div>
</section>
<section id="v-inbox" class="view">
<div class="card">
<h3>Разбор LLM-извлечения</h3>
<div class="muted" style="margin-bottom:10px">Staging после extraction: принять/отклонить вручную. В прод ничего не попадает автоматически.</div>
<div id="inboxbox"><span class="muted">загрузка…</span></div>
</div>
</section>
<section id="v-archive" class="view">
<div class="card"><h3>Архив оборудования</h3>
<div class="muted">Снято с актуальности, но не удалено: история, источник, восстановление. В поиске и аналогах архивные модели по умолчанию не участвуют.</div>
@@ -164,6 +173,7 @@ function setView(v){
if(v==='telephony') loadTelephony();
if(v==='materials') loadMaterials();
if(v==='quality') loadCoverage();
if(v==='inbox') loadInbox();
if(v==='archive') loadArchive();
if(v==='room') loadRoomOptions();
}
@@ -185,6 +195,12 @@ async function loadMaterials(){
const rows=ms.map(x=>`<tr><td><b>${esc(x.title||x.model||'')}</b></td><td>${esc(x.vendor||'')}</td><td>${esc(x.model||'')}</td><td>${esc(x.type||'')}</td><td>${esc(x.source_level||'')}</td><td>${x.url?`<a href="${esc(x.url)}" target="_blank" rel="noopener">открыть</a>`:'—'}</td></tr>`).join('');
$('#materialsbox').innerHTML=`<table class="bom"><thead><tr><th>Материал</th><th>Вендор</th><th>Модель</th><th>Тип</th><th>L</th><th></th></tr></thead><tbody>${rows}</tbody></table>`;
}
async function loadInbox(){
$('#inboxbox').innerHTML='<span class="muted">загрузка…</span>';
const r=await api('/api/staging'); const xs=r.items||[];
if(!xs.length){$('#inboxbox').innerHTML='<div class="muted">Staging пуст. Запустите extraction на ПК и скопируйте results.</div>';return;}
$('#inboxbox').innerHTML=`<table class="bom"><thead><tr><th>Партия</th><th>Вендор</th><th>Модель</th><th>Роль</th><th>Статус</th><th>Источник</th></tr></thead><tbody>${xs.map(x=>`<tr><td class="muted">${esc(x.batch||'')}</td><td>${esc(x.vendor||'')}</td><td><b>${esc(x.model||'')}</b></td><td>${esc(x.role||'')}</td><td>${x.existing?'существует':'новая'} · ${esc(x.review||'')}</td><td class="muted">${x.source_url?`<a href="${esc(x.source_url)}" target="_blank" rel="noopener">URL</a>`:esc(x.source_file||'local')}</td></tr>`).join('')}</tbody></table><div class="hint">Прод не изменяется. Принятие — отдельным шагом после сверки цитаты.</div>`;
}
async function loadCoverage(){
$('#coveragebox').innerHTML='<span class="muted">загрузка…</span>';
const r=await api('/api/coverage'); const vs=r.vendors||[];