This commit is contained in:
Server
2025-07-15 03:35:15 +00:00
parent f3610a70d4
commit 7c70e03d5e
6 changed files with 380 additions and 327 deletions

View File

@@ -5,8 +5,10 @@ import {
CategoryScale,
LinearScale,
BarElement,
BarController,
PointElement,
LineElement,
LineController,
Title,
Tooltip,
Legend,
@@ -18,8 +20,10 @@ ChartJS.register(
CategoryScale,
LinearScale,
BarElement,
BarController,
PointElement,
LineElement,
LineController,
Title,
Tooltip,
Legend
@@ -225,4 +229,4 @@ const ResourceDistributionChart: React.FC<ResourceDistributionChartProps> = ({
);
};
export default ResourceDistributionChart;
export default ResourceDistributionChart;

View File

@@ -898,10 +898,10 @@ const Home = () => {
migration_advices: {
migration_method: migrationMethod === 'mathematical' ? 'migration_advices_la' : 'migration_advices_llm',
migration_weights: {
power: weights.energy.toString(),
balance: weights.balance.toString(),
overload: weights.overload.toString(),
allocation: weights.allocation.toString()
power: (weights.energy / 100).toString(),
balance: (weights.balance / 100).toString(),
overload: (weights.overload / 100).toString(),
allocation: (weights.allocation / 100).toString()
}
},
block_list: blockList