<commit_before>import React from 'react'
<<<<<<< 8fa1805a8cf4efc5f8db4d384e5452f6cfccd6c9

import Sunburst from './Sunburst';
=======
import Sunburst from './Sunburst';
import TextualAggregated from './TextualAggregated';

>>>>>>> Affichage d'un sunburst pour la vue agrégée
import hierarchicalAggregated from '../finance/hierarchicalAggregated.js';

/*

interface AggregatedViZProps{
    M52Instruction: M52Instruction
    aggregatedInstruction : AggregatedInstruction
}

*/
<<<<<<< 8fa1805a8cf4efc5f8db4d384e5452f6cfccd6c9
export default function({aggregatedHierarchical, aggregatedSelectedNodes, onSliceSelected}){
    return React.createElement('div', {},
        React.createElement('h1', {}, aggregatedHierarchical.name),
        React.createElement(Sunburst, {
            hierarchicalData: aggregatedHierarchical, 
            selectedNodes: aggregatedSelectedNodes,
            onSliceSelected
        })
=======
export default function(props){
    const {aggregatedInstruction, M52Instruction} = props;
    //const hierarchicalData = hierarchicalAggregated(aggregatedInstruction);

    //console.log('hierarchicalData', hierarchicalData);

    return React.createElement('div', {},
        // TODO : this shouldn't be just a sunburst but rather the choice of "par prestation" or "par public" should be offered
        //React.createElement(Sunburst, { hierarchicalData }),
        React.createElement(TextualAggregated, props)
>>>>>>> Affichage d'un sunburst pour la vue agrégée
    );
}<commit_msg>Réparation de la hierarchie pour l'instruction aggrégée<commit_after>import React from 'react'
<<<<<<< 8fa1805a8cf4efc5f8db4d384e5452f6cfccd6c9

import Sunburst from './Sunburst';
=======
import Sunburst from './Sunburst';
import TextualAggregated from './TextualAggregated';

>>>>>>> Affichage d'un sunburst pour la vue agrégée
import hierarchicalAggregated from '../finance/hierarchicalAggregated.js';

/*

interface AggregatedViZProps{
    M52Instruction: M52Instruction
    aggregatedInstruction : AggregatedInstruction
}

*/
<<<<<<< 8fa1805a8cf4efc5f8db4d384e5452f6cfccd6c9
export default function({aggregatedHierarchical, aggregatedSelectedNodes, onSliceSelected}){
    return React.createElement('div', {},
        React.createElement('h1', {}, aggregatedHierarchical.name),
        React.createElement(Sunburst, {
            hierarchicalData: aggregatedHierarchical, 
            selectedNodes: aggregatedSelectedNodes,
            onSliceSelected
        })
=======
export default function(props){
    const {aggregatedInstruction, M52Instruction} = props;
    const hierarchicalData = hierarchicalAggregated(aggregatedInstruction);

    console.log('hierarchicalData', hierarchicalData);

    return React.createElement('div', {},
        // TODO : this shouldn't be just a sunburst but rather the choice of "par prestation" or "par public" should be offered
        React.createElement(Sunburst, { hierarchicalData }),
        React.createElement(TextualAggregated, props)
>>>>>>> Affichage d'un sunburst pour la vue agrégée
    );
}
{'fraction_non_alphanumeric': 0.11034708578912901, 'fraction_numerical': 0.03077930582842174, 'mean_word_length': 4.6469500924214415, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '958582', 'n_tokens_mistral': 965, 'n_tokens_neox': 900, 'n_words': 196}