#!/usr/bin/env python3
import json
data = json.load(open('automation/data/sustainability_topics.json', 'r', encoding='utf-8'))
for t in data:
    if t['id'] == 'D01':
        t['priority_score'] = 11
    elif t['id'] == 'B05':
        t['priority_score'] = 10
json.dump(data, open('automation/data/sustainability_topics.json', 'w', encoding='utf-8'), ensure_ascii=False, indent=2)
print('优先级调整完成：D01=11, B05=10')
