diff --git a/backend/requirements.txt b/backend/requirements.txt index 626a46d44..aed590a0d 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -9,4 +9,4 @@ ujson == 4.0.2 sklearn == 0.0 kafka-python == 2.0.2 openapi_spec_validator == 0.2.8 -PyYAML == 5.4.1 \ No newline at end of file +PyYAML == 6.0 \ No newline at end of file diff --git a/backend/swagger.yaml b/backend/swagger.yaml index b62f3a0dd..91c360801 100644 --- a/backend/swagger.yaml +++ b/backend/swagger.yaml @@ -1,6 +1,6 @@ swagger: "2.0" info: - version: 0.24.4 + version: 0.24.5 title: DebiAI_BACKEND_API description: DebiAI backend api contact: diff --git a/frontend/cspell.json b/frontend/cspell.json new file mode 100644 index 000000000..f12d241a5 --- /dev/null +++ b/frontend/cspell.json @@ -0,0 +1,29 @@ +{ + "version": "0.2", + "language": "en", + "words": [ + "cmax", + "cmin", + "colorscale", + "confianceai", + "Debi", + "DebiAI", + "groundtruth", + "irtsysx", + "rgba", + "showscale", + "systemx", + "websrv", + "xaxis", + "yaxis" + ], + "flagWords": [], + "ignorePaths": [ + "*.svg", + "*.xml", + "*.bat", + "node_modules/", + "build/", + ".vscode/" + ] +} diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 0d32fb334..d0d74cede 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "debiai_frontend", - "version": "0.24.4", + "version": "0.24.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "debiai_frontend", - "version": "0.24.4", + "version": "0.24.5", "license": "Apache-2.0", "dependencies": { "axios": "^0.21.4", diff --git a/frontend/package.json b/frontend/package.json index 62708c5ff..2f1b63841 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "debiai_frontend", - "version": "0.24.4", + "version": "0.24.5", "description": "Frontend for Debiai, made with Vuejs", "license": "Apache-2.0", "scripts": { diff --git a/frontend/public/documentation/images/Night stars plot/main.png b/frontend/public/documentation/images/Night stars plot/main.png new file mode 100644 index 000000000..5c5904914 Binary files /dev/null and b/frontend/public/documentation/images/Night stars plot/main.png differ diff --git a/frontend/src/components/debiai/statistics/dataAnalysis/widget/Widget.vue b/frontend/src/components/debiai/statistics/dataAnalysis/widget/Widget.vue index 8bb265960..b300ad863 100644 --- a/frontend/src/components/debiai/statistics/dataAnalysis/widget/Widget.vue +++ b/frontend/src/components/debiai/statistics/dataAnalysis/widget/Widget.vue @@ -348,7 +348,7 @@ export default { this.$on("loading", (loading) => (this.loading = loading)); this.$on("errorMessage", this.errorMessage); this.$on("setExport", this.setExport); - this.$on("drawed", this.drawed); + this.$on("drawn", this.drawn); this.timeout = null; this.name = this.title; }, @@ -485,7 +485,7 @@ export default { }); this.$emit("filterCleared"); }, - drawed() { + drawn() { this.selectedDataWarning = false; // The plot has been drawn, we can save a copy of the local filters diff --git a/frontend/src/components/debiai/statistics/dataAnalysis/widgets/ConfusionMatrix/ConfusionMatrix.vue b/frontend/src/components/debiai/statistics/dataAnalysis/widgets/ConfusionMatrix/ConfusionMatrix.vue index 698fa6e7a..acf11fa75 100644 --- a/frontend/src/components/debiai/statistics/dataAnalysis/widgets/ConfusionMatrix/ConfusionMatrix.vue +++ b/frontend/src/components/debiai/statistics/dataAnalysis/widgets/ConfusionMatrix/ConfusionMatrix.vue @@ -99,7 +99,7 @@ @@ -137,10 +137,10 @@ export default { // Settings settings: true, - plotDrawed: false, + plotDrawn: false, trueAxisSelection: false, predAxisSelection: false, - currentDrawedColorIndex: null, + currentDrawnColorIndex: null, }; }, props: { @@ -260,7 +260,7 @@ export default { matrixList.push(this.fillMatrix(allUniques, colorTruth, colorPred)); }); - this.currentDrawedColorIndex = this.coloredColumnIndex; + this.currentDrawnColorIndex = this.coloredColumnIndex; } this.drawMatrix(matrixList, allUniques); console.timeEnd("ConfusionMatrix"); @@ -417,8 +417,8 @@ export default { responsive: true, }); - this.matrixDrawed = true; - this.$parent.$emit("drawed"); + this.matrixDrawn = true; + this.$parent.$emit("drawn"); // Set the filter events this.divConfusionMatrix.removeListener("plotly_click", this.selectDataOnPlot); @@ -434,12 +434,12 @@ export default { xAxiesSelect(index) { this.columnTindex = index; this.trueAxisSelection = false; - this.plotDrawed = false; + this.plotDrawn = false; }, yAxiesSelect(index) { this.columnPindex = index; this.predAxisSelection = false; - this.plotDrawed = false; + this.plotDrawn = false; }, swap() { let temp = this.columnPindex; @@ -561,7 +561,7 @@ export default { return this.$store.state.StatisticalAnalysis.coloredColumnIndex; }, redrawRequiered() { - return !(this.dividePerColor && this.currentDrawedColorIndex !== this.coloredColumnIndex); + return !(this.dividePerColor && this.currentDrawnColorIndex !== this.coloredColumnIndex); }, }, watch: { diff --git a/frontend/src/components/debiai/statistics/dataAnalysis/widgets/CorrelationMatrix/CorrelationMatrix.vue b/frontend/src/components/debiai/statistics/dataAnalysis/widgets/CorrelationMatrix/CorrelationMatrix.vue index 092b1fccd..79b8c6ab8 100644 --- a/frontend/src/components/debiai/statistics/dataAnalysis/widgets/CorrelationMatrix/CorrelationMatrix.vue +++ b/frontend/src/components/debiai/statistics/dataAnalysis/widgets/CorrelationMatrix/CorrelationMatrix.vue @@ -116,7 +116,7 @@ export default { // Settings settings: true, significativOnly: false, - matrixDrawed: false, + matrixDrawn: false, axisSelection: false, selectedMatrixType: "pearson", error: false, @@ -152,7 +152,7 @@ export default { .filter((c) => c.nbOccu > 1); this.axisSelection = false; - this.matrixDrawed = false; + this.matrixDrawn = false; this.calculate(); }, @@ -270,8 +270,8 @@ export default { responsive: true, }); - this.$parent.$emit("drawed"); - this.matrixDrawed = true; + this.$parent.$emit("drawn"); + this.matrixDrawn = true; }, // Export @@ -285,7 +285,7 @@ export default { this.$parent.$emit("loading", this.loading); }, selectedData() { - this.matrixDrawed = false; + this.matrixDrawn = false; this.$parent.selectedDataWarning = true; }, significativOnly() { diff --git a/frontend/src/components/debiai/statistics/dataAnalysis/widgets/DistributionPlot/DistributionPlot.vue b/frontend/src/components/debiai/statistics/dataAnalysis/widgets/DistributionPlot/DistributionPlot.vue index 8d720e0fc..db340b9d2 100644 --- a/frontend/src/components/debiai/statistics/dataAnalysis/widgets/DistributionPlot/DistributionPlot.vue +++ b/frontend/src/components/debiai/statistics/dataAnalysis/widgets/DistributionPlot/DistributionPlot.vue @@ -185,7 +185,7 @@ type="number" v-model="bins" :min="1" - @change="plotDrawed = false" + @change="plotDrawn = false" /> @@ -197,7 +197,7 @@ id="drawBtn" type="submit" @click="checkPlot" - :disabled="plotDrawed" + :disabled="plotDrawn" > Draw @@ -241,10 +241,10 @@ export default { bins: 0, // Other - plotDrawed: false, + plotDrawn: false, xAxisSelection: false, secondAxisSelection: false, - currentDrawedColorIndex: null, + currentDrawnColorIndex: null, }; }, props: { @@ -538,9 +538,9 @@ export default { displayModeBar: false, responsive: true, }); - this.currentDrawedColorIndex = this.coloredColumnIndex; - this.plotDrawed = true; - this.$parent.$emit("drawed"); + this.currentDrawnColorIndex = this.coloredColumnIndex; + this.plotDrawn = true; + this.$parent.$emit("drawn"); // Set selection events this.divRepPlot.removeListener("plotly_click", this.selectDataOnPlot); @@ -549,7 +549,7 @@ export default { clearPlot() { Plotly.purge(this.divRepPlot); - this.plotDrawed = false; + this.plotDrawn = false; }, // Filters @@ -587,9 +587,9 @@ export default { if (this.coloredColumnIndex != null && this.dividePerColor) { filters.push({ type: "values", - columnIndex: this.currentDrawedColorIndex, + columnIndex: this.currentDrawnColorIndex, values: [ - "" + this.data.columns[this.currentDrawedColorIndex].uniques[selec.curveNumber], + "" + this.data.columns[this.currentDrawnColorIndex].uniques[selec.curveNumber], ], }); } @@ -641,7 +641,7 @@ export default { return this.$store.state.StatisticalAnalysis.coloredColumnIndex; }, redrawRequiered() { - return !(this.currentDrawedColorIndex !== this.coloredColumnIndex); + return !(this.currentDrawnColorIndex !== this.coloredColumnIndex); }, }, watch: { @@ -655,10 +655,10 @@ export default { this.checkPlot(); }, selectedData: function () { - if (!this.$parent.startFiltering && this.plotDrawed) this.$parent.selectedDataWarning = true; + if (!this.$parent.startFiltering && this.plotDrawn) this.$parent.selectedDataWarning = true; }, coloredColumnIndex: function () { - this.plotDrawed = false; + this.plotDrawn = false; }, redrawRequiered(o, n) { this.$parent.colorWarning = n; diff --git a/frontend/src/components/debiai/statistics/dataAnalysis/widgets/IntervalPlot/IntervalPlot.vue b/frontend/src/components/debiai/statistics/dataAnalysis/widgets/IntervalPlot/IntervalPlot.vue index 655b30865..266aab7ee 100644 --- a/frontend/src/components/debiai/statistics/dataAnalysis/widgets/IntervalPlot/IntervalPlot.vue +++ b/frontend/src/components/debiai/statistics/dataAnalysis/widgets/IntervalPlot/IntervalPlot.vue @@ -127,7 +127,7 @@ class="customCbx" v-model="smooth" style="display: none" - @click="intervalPlotDrawed = false" + @click="intervalPlotDrawn = false" />