Files
hyungi_document_server/Sources/DSKit/Resources/ask.json
T
Hyungi 0becf7829e feat(s3): SwiftPM scaffold + DSKit data layer + 14-fixture acceptance
- Package.swift: AI (S2-owned) + DSKit (models/client/fixtures) + DSKitTests, tools 6.2, .swiftLanguageMode(.v6), .macOS(.v26)
- JSONValue (Sendable AnyCodable), DSDate (value-type ISO8601FormatStyle cascade, date-only UTC), explicit-CodingKeys decoder
- Models: Auth/Document(+Detail flat-compose, MD-first)/Catalog/Search+Ask/Memo/Digest; non-optional limited to id/file_type/created+updated_at/total
- DSClient protocol + FixtureDSClient (Bundle.module, zero backend) + DSError + DSConfig + DownloadURL (?token= query)
- Tests: 14-fixture contract acceptance (value asserts) + JSONValue number trap + Ask round-trip + AI router fallback/explicit-unavailable

swift build + swift test green (19 tests). Sources/AI untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 17:16:55 +09:00

48 lines
2.0 KiB
JSON

{
"results": [
{
"id": 4912,
"title": "ASME Section VIII Div 1 — Impact Test 요건",
"ai_domain": "Engineering",
"ai_summary": "압력용기 재료의 충격시험 면제/요구 조건(UCS-66 등)을 정리.",
"file_format": "pdf",
"score": 0.8714,
"snippet": "...UCS-66 면제 곡선과 MDMT 적용...",
"match_reason": "vector+rerank",
"chunk_id": 88213,
"chunk_index": 3,
"section_title": "2. UCS-66 면제 곡선",
"rerank_score": 0.913,
"freshness_debug": null
}
],
"ai_answer": "충격시험 면제는 UCS-66 면제 곡선으로 판정합니다 [1]. 재료군(Curve A~D)과 거버닝 두께에 따라 최소설계금속온도(MDMT)에서 면제 여부가 정해지며, 설계 응력비가 낮으면 UCS-66.1에 따라 MDMT를 추가로 낮출 수 있습니다 [1].",
"citations": [
{
"n": 1,
"chunk_id": 88213,
"doc_id": 4912,
"title": "ASME Section VIII Div 1 — Impact Test 요건",
"section_title": "2. UCS-66 면제 곡선",
"span_text": "재료군(Curve A~D)과 거버닝 두께에 따라 최소설계금속온도(MDMT)에서의 충격시험 면제 여부를 결정한다.",
"full_snippet": "재료군(Curve A~D)과 거버닝 두께에 따라 최소설계금속온도(MDMT)에서의 충격시험 면제 여부를 결정한다. 설계 응력비가 낮으면 UCS-66.1에 따라 MDMT를 추가로 낮출 수 있다. 면제되지 않는 경우 UG-84에 따라 Charpy V-notch 시험을 수행한다.",
"relevance": 0.91,
"rerank_score": 0.913
}
],
"synthesis_status": "completed",
"synthesis_ms": 2841.5,
"confidence": "high",
"refused": false,
"no_results_reason": null,
"query": "충격시험은 언제 면제되나",
"total": 1,
"completeness": "full",
"covered_aspects": ["면제 곡선", "MDMT 적용"],
"missing_aspects": null,
"confirmed_items": null,
"backend_requested": "mac-mini-default",
"backend_used": "gemma-macmini",
"debug": null
}