수집·분류·표시 파이프라인과 데이터 출처
AI 안전·거버넌스 관련 법·정책·표준·기구 문서를 모아, 종류·주제·날짜·한글 표기를 정리해 한 화면에서 훑을 수 있게 한 라이브러리입니다. 문서별 LLM 큐레이션(분석)을 먼저 한 뒤, 같은 법령·정책 후보를 확인하고 합의된 그룹만 통합 약칭·핵심내용을 합성합니다. 고·중신뢰만 사이트에 반영합니다.
키워드 태그는 초안용입니다. LLM이 토픽을 확정하면
(topics_source=llm) 키워드 매칭으로 덮어쓰지 않습니다.
예: 제목의 「정당성」만으로 politics를 붙이지 않습니다.
doc_kind는 규범 형태,
issuer_level은 발급 층위(국제·국가·부처·랩·시민사회 등),
topics는 주제. 구「개발사 정책」은 층위 lab + 형태
(대개 가이드라인·원칙)로 나눕니다.doc_kind enum에 두지 않고
in_scope=false + reject_reason=news_press로 뺍니다.resolve_oecd_dates.py · mofa_dates.py).confidence=low는 캐시에만 두고 UI 필드를 바꾸지 않습니다.original_name에 남깁니다.merge_instruments.py --analyze → --synthesize).
다른 법이 섞이면 분할 플래그만 남깁니다.doc_kind (형태) 법 · 법안 · 행정규칙 · 조약·협약 · 선언·성명 · 가이드라인·원칙 · 전략·정책 · 정책보고서 · 표준 · 기구·제도 · 기타
issuer_level (층위) 국제기구·다자(international) · 국가(national) · 지방·주(subnational) · 부처·규제기관(ministry) · 프론티어 랩(lab) · 산업계·협회(industry) · 시민사회·학계(civil_society) · 민관·혼합(multi)
topics (주제) national_security · cybersecurity · politics · sovereign_ai · healthcare · youth · agentic_ai · physical_ai · safety_research · deepfake_disinfo · open_weight · frontier · incidents
python3 scripts/curate_llm.py --limit 200
python3 scripts/curate_llm.py --validate-only
캐시 cache/llm_curate.json. 고·중신뢰만 build 시 반영.
python3 scripts/merge_instruments.py --analyze --limit 30
python3 scripts/merge_instruments.py --propose
python3 scripts/merge_instruments.py --synthesize --limit 30
캐시 cache/instrument_analyze.json · cache/instrument_merge.json.
python3 scripts/enrich_ko.py --limit 100
큐레이션이 short_name/summary를 채우면 점차 대체됩니다.
python3 scripts/resolve_oecd_dates.py --apply-only
python3 scripts/resolve_oecd_dates.py --limit 300 --llm --no-search --apply
원문에서 월·일이 확인된 고·중신뢰만 발표일. 아니면 Added-on. 캐시 cache/oecd_dates.json.
python3 scripts/mofa_dates.py
원문 HTML·PDF·URL 경로. 캐시 cache/mofa_dates.json.
python3 scripts/ingest_dpa_ai_thread.py --limit 250
python3 scripts/curate_llm.py --collection dpa-ai --limit 400 --workers 8
issue 42 event-list. 키 DPA_API. 랜딩은 DPA intervention 페이지.
python3 scripts/build_site.py
후보 그룹 → 큐레이션 → 분석/합성 캐시 → docs/