Distiller Bridge -- Phase 14 Addendum¶
This addendum extends the Distiller Bridge Demo with Phase 14 evaluation and compliance features that enrich the Distiller integration layer.
New Bridge Capabilities¶
Benchmark Result Forwarding¶
The Distiller bridge can now forward CLEAR+ benchmark results to the Distiller project for cross-project evaluation comparison:
from fcc.demos.registry import DemoRegistry
# The distiller bridge demo now includes benchmark forwarding
demo = DemoRegistry().get("distiller-bridge")
demo.run()
When a benchmark suite completes, the bridge serialises
BenchmarkResult objects and publishes them to the Distiller namespace
via the federation layer. This enables Distiller to compare its own
evaluation metrics against FCC baselines.
Model Card Synchronisation¶
Model cards generated by ModelCardGenerator can be synchronised to
the Distiller project's documentation tree:
from fcc.evaluation.card_generator import ModelCardGenerator
generator = ModelCardGenerator()
cards = generator.from_registry(registry)
# The bridge maps FCC model types to Distiller documentation categories
# persona → distiller:agent_docs
# workflow → distiller:pipeline_docs
# category → distiller:taxonomy_docs
Compliance Data Exchange¶
Risk Category Sharing¶
The Distiller bridge now exposes a compliance_summary endpoint that
returns the current risk classification for all FCC personas. Distiller
can query this to determine whether its consumption of FCC personas
requires HIGH or LIMITED risk treatment.
Cross-Project Audit Support¶
When running a dual-regulation audit, the bridge can include Distiller entities in the audit scope:
from fcc.compliance.pipeline import CompliancePipeline
# Pipeline with cross-project scope
result = pipeline.run_full_pipeline("EU_AI_ACT")
# Findings for FCC personas are tagged with namespace "fcc"
# Distiller entities would be tagged with namespace "distiller"
Evidence Graph Federation¶
The compliance evidence graph can be federated with Distiller's own compliance artifacts:
from fcc.knowledge.federation import FederatedKnowledgeGraph
federated = FederatedKnowledgeGraph(local_namespace="fcc")
federated.register_local(evidence_graph)
# Register distiller compliance graph
# federated.register_remote("distiller", distiller_compliance_graph)
Cross-namespace GOVERNS edges link FCC requirements to Distiller entities that consume FCC personas.
Event Bus Integration¶
Phase 14 compliance events are forwarded through the Distiller bridge:
| FCC Event | Distiller Event | Purpose |
|---|---|---|
benchmark.completed |
distiller.fcc_benchmark.received |
Cross-project benchmark tracking |
compliance.audit.completed |
distiller.fcc_compliance.received |
Compliance status synchronisation |
compliance.finding.raised |
distiller.fcc_finding.received |
Real-time finding notifications |
Demo Walkthrough Updates¶
The Distiller bridge demo now includes two additional steps:
Step 5: Benchmark Forwarding - Runs a CLEAR+ baseline suite - Serialises results for Distiller consumption - Shows the cross-namespace mapping
Step 6: Compliance Summary - Runs an EU AI Act audit - Generates a compliance summary for Distiller - Demonstrates evidence graph federation
Tips¶
- Use benchmark forwarding to maintain consistent evaluation standards across FCC and Distiller
- Model card synchronisation keeps Distiller's documentation current with FCC persona changes
- Evidence graph federation provides a unified compliance view across the ecosystem