21 lines
582 B
Python
21 lines
582 B
Python
|
|
"""
|
||
|
|
Database setup for Insurance Contradiction Analysis
|
||
|
|
"""
|
||
|
|
|
||
|
|
import sys
|
||
|
|
from pathlib import Path
|
||
|
|
sys.path.append(str(Path(__file__).parent.parent.parent / "core"))
|
||
|
|
|
||
|
|
from database import VIMSDatabase
|
||
|
|
|
||
|
|
|
||
|
|
def setup():
|
||
|
|
"""Initialize database for insurance-contradiction."""
|
||
|
|
db = VIMSDatabase("insurance-contradiction")
|
||
|
|
db.create_schema(anomaly_classes=['condition_mismatch', 'undisclosed_damage', 'maintenance_neglect', 'safety_violation', 'value_discrepancy'])
|
||
|
|
print(f"Database initialized for Insurance Contradiction Analysis")
|
||
|
|
|
||
|
|
|
||
|
|
if __name__ == "__main__":
|
||
|
|
setup()
|