math-exercises 3.0.183 → 3.0.185
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/exercises/math/functions/composition/functionComposition.d.ts.map +1 -1
- package/lib/exercises/math/functions/composition/functionComposition.js +11 -22
- package/lib/exercises/math/functions/exponential/algebraic/approxExpAPlusB.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponential/algebraic/approxExpAPlusB.js +91 -38
- package/lib/exercises/math/functions/exponential/algebraic/rewriteExpUsingExpA.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponential/algebraic/rewriteExpUsingExpA.js +18 -3
- package/lib/exercises/math/functions/exponential/expKT/derivativeOfAExpKT.d.ts +8 -0
- package/lib/exercises/math/functions/exponential/expKT/derivativeOfAExpKT.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/expKT/derivativeOfAExpKT.js +108 -0
- package/lib/exercises/math/functions/exponential/expKT/drugConcentrationMaximum.d.ts +8 -0
- package/lib/exercises/math/functions/exponential/expKT/drugConcentrationMaximum.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/expKT/drugConcentrationMaximum.js +144 -0
- package/lib/exercises/math/functions/exponential/expKT/index.d.ts +3 -0
- package/lib/exercises/math/functions/exponential/expKT/index.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/expKT/index.js +2 -0
- package/lib/exercises/math/functions/exponential/expSimplifiying.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponential/expSimplifiying.js +94 -4
- package/lib/exercises/math/functions/exponential/index.d.ts +3 -0
- package/lib/exercises/math/functions/exponential/index.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponential/index.js +3 -0
- package/lib/exercises/math/functions/exponential/sign/expFunctionBasicSign.d.ts +9 -0
- package/lib/exercises/math/functions/exponential/sign/expFunctionBasicSign.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/sign/expFunctionBasicSign.js +101 -0
- package/lib/exercises/math/functions/exponential/sign/index.d.ts +2 -0
- package/lib/exercises/math/functions/exponential/sign/index.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/sign/index.js +1 -0
- package/lib/exercises/math/functions/exponential/variations/index.d.ts +3 -0
- package/lib/exercises/math/functions/exponential/variations/index.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/variations/index.js +2 -0
- package/lib/exercises/math/functions/exponential/variations/varSignTableOfAffineTimesExp.d.ts +7 -0
- package/lib/exercises/math/functions/exponential/variations/varSignTableOfAffineTimesExp.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/variations/varSignTableOfAffineTimesExp.js +144 -0
- package/lib/exercises/math/functions/exponential/variations/varSignTableOfExpMinusX.d.ts +7 -0
- package/lib/exercises/math/functions/exponential/variations/varSignTableOfExpMinusX.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/variations/varSignTableOfExpMinusX.js +139 -0
- package/lib/exercises/math/probaStat/independancy/independantSuccessiveEventsComputeTwoSuccess.d.ts +7 -0
- package/lib/exercises/math/probaStat/independancy/independantSuccessiveEventsComputeTwoSuccess.d.ts.map +1 -0
- package/lib/exercises/math/probaStat/independancy/independantSuccessiveEventsComputeTwoSuccess.js +100 -0
- package/lib/exercises/math/probaStat/independancy/index.d.ts +1 -0
- package/lib/exercises/math/probaStat/independancy/index.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/independancy/index.js +1 -0
- package/lib/exercises/math/probaStat/trees/index.d.ts +4 -1
- package/lib/exercises/math/probaStat/trees/index.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/trees/index.js +4 -11
- package/lib/exercises/math/probaStat/trees/probabilityTree.d.ts +9 -3
- package/lib/exercises/math/probaStat/trees/probabilityTree.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/trees/probabilityTree.js +419 -45
- package/lib/exercises/math/sequences/arithmetic/situations/arithmeticFindRankFromSituation.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/situations/arithmeticFindRankFromSituation.js +3 -3
- package/lib/exercises/math/sequences/arithmetic/situations/arithmeticFindThresholdFromSituation.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/situations/arithmeticFindThresholdFromSituation.js +2 -2
- package/lib/exercises/math/sequences/arithmetic/situations/index.d.ts +2 -0
- package/lib/exercises/math/sequences/arithmetic/situations/index.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/situations/index.js +2 -2
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFromTwoConsecutiveTerms.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFromTwoConsecutiveTerms.js +37 -39
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFromTwoTerms.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFromTwoTerms.js +14 -4
- package/lib/exercises/math/sequences/geometric/situations/geometricFindExplicitFormulaFromSituation.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/situations/geometricFindExplicitFormulaFromSituation.js +12 -3
- package/lib/exercises/vea/treeTableVEA.d.ts.map +1 -1
- package/lib/exercises/vea/treeTableVEA.js +3 -0
- package/lib/index.d.ts +46 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/latexTester.js +1 -1
- package/lib/math/utils/sequences/situations/seqArithmeticSituations.d.ts +2 -0
- package/lib/math/utils/sequences/situations/seqArithmeticSituations.d.ts.map +1 -1
- package/lib/math/utils/sequences/situations/seqArithmeticSituations.js +150 -128
- package/lib/math/utils/sequences/situations/seqArithmeticUtils.d.ts +1 -1
- package/lib/math/utils/sequences/situations/seqArithmeticUtils.d.ts.map +1 -1
- package/lib/math/utils/sequences/situations/seqArithmeticUtils.js +4 -1
- package/lib/tests/questionTest.d.ts.map +1 -1
- package/lib/tests/questionTest.js +1 -0
- package/lib/tests/singleExo.test.js +2 -2
- package/lib/tree/nodes/functions/expNode.d.ts +1 -1
- package/lib/tree/nodes/functions/expNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/expNode.js +3 -6
- package/lib/tree/nodes/operators/addNode.d.ts +1 -1
- package/lib/tree/nodes/operators/addNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/addNode.js +2 -2
- package/lib/tree/nodes/operators/substractNode.d.ts +1 -1
- package/lib/tree/nodes/operators/substractNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/substractNode.js +2 -2
- package/lib/tree/utilities/nodeComparator.d.ts +7 -0
- package/lib/tree/utilities/nodeComparator.d.ts.map +1 -0
- package/lib/tree/utilities/nodeComparator.js +88 -0
- package/lib/tree/utilities/nodeInspector.d.ts +5 -0
- package/lib/tree/utilities/nodeInspector.d.ts.map +1 -0
- package/lib/tree/utilities/nodeInspector.js +15 -0
- package/lib/tree/utilities/nodeRewriter.d.ts +9 -0
- package/lib/tree/utilities/nodeRewriter.d.ts.map +1 -0
- package/lib/tree/utilities/nodeRewriter.js +172 -0
- package/lib/tree/utilities/nodeShuffler.d.ts +2 -4
- package/lib/tree/utilities/nodeShuffler.d.ts.map +1 -1
- package/lib/tree/utilities/nodeShuffler.js +13 -104
- package/lib/tree/utilities/nodeSimplifier.d.ts +1 -2
- package/lib/tree/utilities/nodeSimplifier.d.ts.map +1 -1
- package/lib/tree/utilities/nodeSimplifier.js +14 -88
- package/package.json +1 -1
|
@@ -4,12 +4,14 @@ import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQue
|
|
|
4
4
|
import { randfloat } from "../../../../math/utils/random/randfloat.js";
|
|
5
5
|
import { randint } from "../../../../math/utils/random/randint.js";
|
|
6
6
|
import { round } from "../../../../math/utils/round.js";
|
|
7
|
-
import { EqualNode } from "../../../../tree/nodes/equations/equalNode.js";
|
|
7
|
+
import { EqualNode, isEqualNode, } from "../../../../tree/nodes/equations/equalNode.js";
|
|
8
8
|
import { frac } from "../../../../tree/nodes/operators/fractionNode.js";
|
|
9
9
|
import { multiply } from "../../../../tree/nodes/operators/multiplyNode.js";
|
|
10
10
|
import { power } from "../../../../tree/nodes/operators/powerNode.js";
|
|
11
11
|
import { substract } from "../../../../tree/nodes/operators/substractNode.js";
|
|
12
12
|
import { parseAlgebraic } from "../../../../tree/parsers/latexParser.js";
|
|
13
|
+
import { NodeComparator } from "../../../../tree/utilities/nodeComparator.js";
|
|
14
|
+
import { NodeRewriter } from "../../../../tree/utilities/nodeRewriter.js";
|
|
13
15
|
import { coinFlip } from "../../../../utils/alea/coinFlip.js";
|
|
14
16
|
import { random } from "../../../../utils/alea/random.js";
|
|
15
17
|
import { shuffle } from "../../../../utils/alea/shuffle.js";
|
|
@@ -122,46 +124,41 @@ const getPropositions = (n, { answer, ..._identifiers }, optsIn) => {
|
|
|
122
124
|
});
|
|
123
125
|
return shuffle(propositions);
|
|
124
126
|
};
|
|
125
|
-
const isAnswerValid = (ans, { answer }) => {
|
|
127
|
+
const isAnswerValid = (ans, { answer, ...identifiers }, optsIn) => {
|
|
128
|
+
const opts = optsIn ?? optsDefault;
|
|
126
129
|
try {
|
|
127
130
|
//TODO faire fonctionner parseAlgebraic("u_n=3+2n") (token _ not implemented)
|
|
128
|
-
const
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
const nodeAnswer = getAnswerStuff(identifiers, opts).answerNode;
|
|
132
|
+
if (!ans.includes("=")) {
|
|
133
|
+
// return false;
|
|
134
|
+
ans = nodeAnswer.leftChild.toTex() + "=" + ans;
|
|
135
|
+
}
|
|
136
|
+
// const nodeAns = parseAlgebraic(ans);
|
|
137
|
+
const nodeAns = (() => {
|
|
138
|
+
const [lhs, rhs] = ans.split("=");
|
|
139
|
+
const nodeLhs = lhs.toTree();
|
|
140
|
+
const nodeRhs = parseAlgebraic(rhs);
|
|
141
|
+
return new EqualNode(nodeLhs, nodeRhs);
|
|
142
|
+
})();
|
|
143
|
+
if (!isEqualNode(nodeAns)) {
|
|
132
144
|
return false;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
// const isValidLhs = () =>
|
|
151
|
-
// nodeAns.leftChild.toTex() === nodeAnswer.leftChild.toTex();
|
|
152
|
-
// const isValidRhs = () => {
|
|
153
|
-
// const nodeAnsRhs = nodeAns.rightChild;
|
|
154
|
-
// const nodeAnswerRhs = nodeAnswer.rightChild;
|
|
155
|
-
// return [0, 1, 2].every((n) => {
|
|
156
|
-
// return (
|
|
157
|
-
// substract(
|
|
158
|
-
// nodeAnsRhs.evaluate({ n }),
|
|
159
|
-
// nodeAnswerRhs.evaluate({ n }),
|
|
160
|
-
// ).evaluate() === 0
|
|
161
|
-
// );
|
|
162
|
-
// });
|
|
163
|
-
// };
|
|
164
|
-
// return isValidLhs() && isValidRhs();
|
|
145
|
+
}
|
|
146
|
+
const isValidLhs = () => nodeAns.leftChild.toTex() === nodeAnswer.leftChild.toTex();
|
|
147
|
+
const isValidRhs = () => {
|
|
148
|
+
const nodeAnsRhs = nodeAns.rightChild;
|
|
149
|
+
const nodeAnswerRhs = nodeAnswer.rightChild;
|
|
150
|
+
const isEquivalentFound = () => {
|
|
151
|
+
const nodeAns = nodeAnsRhs;
|
|
152
|
+
const nodeAnswer = nodeAnswerRhs;
|
|
153
|
+
const arrNodeAnswerEquivalent = NodeRewriter.getArrNodeEquivalent(nodeAnswer);
|
|
154
|
+
return arrNodeAnswerEquivalent.some((nodeAnswerRefined) => {
|
|
155
|
+
const isEqual = NodeComparator.isEqualViaFrac(nodeAns, nodeAnswerRefined);
|
|
156
|
+
return isEqual;
|
|
157
|
+
});
|
|
158
|
+
};
|
|
159
|
+
return isEquivalentFound();
|
|
160
|
+
};
|
|
161
|
+
return isValidLhs() && isValidRhs();
|
|
165
162
|
}
|
|
166
163
|
catch (e) {
|
|
167
164
|
handleVEAError(e);
|
|
@@ -246,7 +243,8 @@ const createRandomIdentifiersCurated = (opts) => {
|
|
|
246
243
|
counter++;
|
|
247
244
|
const identifiersCandidate = createRandomIdentifiersRaw(opts);
|
|
248
245
|
const answer = getAnswer(identifiersCandidate, opts);
|
|
249
|
-
|
|
246
|
+
const isVEAOk = () => isAnswerValid(answer, { answer, ...identifiersCandidate }, opts);
|
|
247
|
+
isValid = !answer.includes("NaN") && isVEAOk();
|
|
250
248
|
if (isValid) {
|
|
251
249
|
identifiers = identifiersCandidate;
|
|
252
250
|
}
|
package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFromTwoTerms.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geometricFindExplicitFormulaFromTwoTerms.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sequences/geometric/geometricFindExplicitFormulaFromTwoTerms.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,sBAAsB,EACvB,MAAM,mDAAmD,CAAC;
|
|
1
|
+
{"version":3,"file":"geometricFindExplicitFormulaFromTwoTerms.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sequences/geometric/geometricFindExplicitFormulaFromTwoTerms.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,sBAAsB,EACvB,MAAM,mDAAmD,CAAC;AAsB3D,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAiXF,KAAK,OAAO,GAAG,sBAAsB,CAAC;AAMtC,eAAO,MAAM,wCAAwC,EAAE,QAAQ,CAC7D,WAAW,EACX,OAAO,CAoBR,CAAC"}
|
|
@@ -10,6 +10,8 @@ import { multiply } from "../../../../tree/nodes/operators/multiplyNode.js";
|
|
|
10
10
|
import { power } from "../../../../tree/nodes/operators/powerNode.js";
|
|
11
11
|
import { substract } from "../../../../tree/nodes/operators/substractNode.js";
|
|
12
12
|
import { parseAlgebraic } from "../../../../tree/parsers/latexParser.js";
|
|
13
|
+
import { NodeComparator } from "../../../../tree/utilities/nodeComparator.js";
|
|
14
|
+
import { NodeRewriter } from "../../../../tree/utilities/nodeRewriter.js";
|
|
13
15
|
import { coinFlip } from "../../../../utils/alea/coinFlip.js";
|
|
14
16
|
import { random } from "../../../../utils/alea/random.js";
|
|
15
17
|
import { shuffle } from "../../../../utils/alea/shuffle.js";
|
|
@@ -156,9 +158,16 @@ const isAnswerValid = (ans, { answer, ...identifiers }, optsIn) => {
|
|
|
156
158
|
const isValidRhs = () => {
|
|
157
159
|
const nodeAnsRhs = nodeAns.rightChild;
|
|
158
160
|
const nodeAnswerRhs = nodeAnswer.rightChild;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
161
|
+
const isEquivalentFound = () => {
|
|
162
|
+
const nodeAns = nodeAnsRhs;
|
|
163
|
+
const nodeAnswer = nodeAnswerRhs;
|
|
164
|
+
const arrNodeAnswerEquivalent = NodeRewriter.getArrNodeEquivalent(nodeAnswer);
|
|
165
|
+
return arrNodeAnswerEquivalent.some((nodeAnswerRefined) => {
|
|
166
|
+
const isEqual = NodeComparator.isEqualViaFrac(nodeAns, nodeAnswerRefined);
|
|
167
|
+
return isEqual;
|
|
168
|
+
});
|
|
169
|
+
};
|
|
170
|
+
return isEquivalentFound();
|
|
162
171
|
};
|
|
163
172
|
return isValidLhs() && isValidRhs();
|
|
164
173
|
}
|
|
@@ -245,7 +254,8 @@ const createRandomIdentifiersCurated = (opts) => {
|
|
|
245
254
|
counter++;
|
|
246
255
|
const identifiersCandidate = createRandomIdentifiersRaw(opts);
|
|
247
256
|
const answer = getAnswer(identifiersCandidate, opts);
|
|
248
|
-
|
|
257
|
+
const isVEAOk = () => isAnswerValid(answer, { answer, ...identifiersCandidate }, opts);
|
|
258
|
+
isValid = !answer.includes("NaN") && isVEAOk();
|
|
249
259
|
if (isValid) {
|
|
250
260
|
identifiers = identifiersCandidate;
|
|
251
261
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geometricFindExplicitFormulaFromSituation.d.ts","sourceRoot":"","sources":["../../../../../../src/exercises/math/sequences/geometric/situations/geometricFindExplicitFormulaFromSituation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,sBAAsB,EACvB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAEL,2BAA2B,EAC5B,MAAM,wDAAwD,CAAC;AAIhE,OAAO,EAEL,iCAAiC,EAElC,MAAM,iEAAiE,CAAC;
|
|
1
|
+
{"version":3,"file":"geometricFindExplicitFormulaFromSituation.d.ts","sourceRoot":"","sources":["../../../../../../src/exercises/math/sequences/geometric/situations/geometricFindExplicitFormulaFromSituation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,sBAAsB,EACvB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAEL,2BAA2B,EAC5B,MAAM,wDAAwD,CAAC;AAIhE,OAAO,EAEL,iCAAiC,EAElC,MAAM,iEAAiE,CAAC;AAmBzE,KAAK,WAAW,GAAG;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,iCAAiC,CAAC;CACrD,CAAC;AA0PF,KAAK,OAAO,GAAG,sBAAsB,GAAG,2BAA2B,CAAC;AAcpE,eAAO,MAAM,yCAAyC,EAAE,QAAQ,CAC9D,WAAW,EACX,OAAO,CAoBR,CAAC"}
|
|
@@ -11,6 +11,8 @@ import { multiply } from "../../../../../tree/nodes/operators/multiplyNode.js";
|
|
|
11
11
|
import { power } from "../../../../../tree/nodes/operators/powerNode.js";
|
|
12
12
|
import { substract } from "../../../../../tree/nodes/operators/substractNode.js";
|
|
13
13
|
import { parseAlgebraic } from "../../../../../tree/parsers/latexParser.js";
|
|
14
|
+
import { NodeComparator } from "../../../../../tree/utilities/nodeComparator.js";
|
|
15
|
+
import { NodeRewriter } from "../../../../../tree/utilities/nodeRewriter.js";
|
|
14
16
|
import { handleVEAError } from "../../../../../utils/errors/handleVEAError.js";
|
|
15
17
|
const getNodeFactor = (firstRank, varName = "n") => {
|
|
16
18
|
const nodeN = varName.toTree();
|
|
@@ -121,9 +123,16 @@ const isAnswerValid = (ans, { answer, ...identifiers }, optsIn) => {
|
|
|
121
123
|
const isValidRhs = () => {
|
|
122
124
|
const nodeAnsRhs = nodeAns.rightChild;
|
|
123
125
|
const nodeAnswerRhs = nodeAnswer.rightChild;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
126
|
+
const isEquivalentFound = () => {
|
|
127
|
+
const nodeAns = nodeAnsRhs;
|
|
128
|
+
const nodeAnswer = nodeAnswerRhs;
|
|
129
|
+
const arrNodeAnswerEquivalent = NodeRewriter.getArrNodeEquivalent(nodeAnswer);
|
|
130
|
+
return arrNodeAnswerEquivalent.some((nodeAnswerRefined) => {
|
|
131
|
+
const isEqual = NodeComparator.isEqualViaFrac(nodeAns, nodeAnswerRefined);
|
|
132
|
+
return isEqual;
|
|
133
|
+
});
|
|
134
|
+
};
|
|
135
|
+
return isEquivalentFound();
|
|
127
136
|
};
|
|
128
137
|
return isValidLhs() && isValidRhs();
|
|
129
138
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"treeTableVEA.d.ts","sourceRoot":"","sources":["../../../src/exercises/vea/treeTableVEA.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY,GACvB,KAAK,MAAM,EAAE,EAAE,EAAE,EAAE,EACnB,aAAa,MAAM,EAAE,EAAE,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"treeTableVEA.d.ts","sourceRoot":"","sources":["../../../src/exercises/vea/treeTableVEA.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY,GACvB,KAAK,MAAM,EAAE,EAAE,EAAE,EAAE,EACnB,aAAa,MAAM,EAAE,EAAE,EAAE,EAAE,YAgB5B,CAAC"}
|
|
@@ -2,6 +2,9 @@ import { rationalVEA } from "./rationalVEA.js";
|
|
|
2
2
|
// type Options = {
|
|
3
3
|
// }
|
|
4
4
|
export const treeTableVEA = (ans, answerTable) => {
|
|
5
|
+
//TODO
|
|
6
|
+
//les branches peuvent commuter au sein d'un block
|
|
7
|
+
//les blocks peuvent commuter au sein d'un step
|
|
5
8
|
return ans.every((step, i) => step.every((block, j) => block.every((branch, k) => branch.every((value, l) => value === answerTable[i][j][k][l] ||
|
|
6
9
|
rationalVEA(value, answerTable[i][j][k][l])))));
|
|
7
10
|
};
|
package/lib/index.d.ts
CHANGED
|
@@ -1636,6 +1636,20 @@ declare const mathExercises: (Exercise<{
|
|
|
1636
1636
|
}, Record<string, string | boolean | string[]>> | Exercise<{
|
|
1637
1637
|
a: number;
|
|
1638
1638
|
k: number;
|
|
1639
|
+
}, Record<string, string | boolean | string[]>> | Exercise<{
|
|
1640
|
+
a: number;
|
|
1641
|
+
k: number;
|
|
1642
|
+
}, Record<string, string | boolean | string[]>> | Exercise<{
|
|
1643
|
+
coeffs: number[];
|
|
1644
|
+
}, Record<string, string | boolean | string[]>> | Exercise<{
|
|
1645
|
+
a: number;
|
|
1646
|
+
}, Record<string, string | boolean | string[]>> | Exercise<{
|
|
1647
|
+
a: number;
|
|
1648
|
+
k: number;
|
|
1649
|
+
type: number;
|
|
1650
|
+
}, Record<string, string | boolean | string[]>> | Exercise<{
|
|
1651
|
+
a: number;
|
|
1652
|
+
k: number;
|
|
1639
1653
|
}, Record<string, string | boolean | string[]>> | Exercise<{
|
|
1640
1654
|
pm: number;
|
|
1641
1655
|
a: number;
|
|
@@ -2996,6 +3010,8 @@ declare const mathExercises: (Exercise<{
|
|
|
2996
3010
|
pAIds: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers;
|
|
2997
3011
|
p_ABIds: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers;
|
|
2998
3012
|
p_ABarreBIds: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers;
|
|
3013
|
+
}, Record<string, string | boolean | string[]>> | Exercise<{
|
|
3014
|
+
percent: number;
|
|
2999
3015
|
}, Record<string, string | boolean | string[]>> | Exercise<{
|
|
3000
3016
|
questionType: string;
|
|
3001
3017
|
value?: string;
|
|
@@ -3255,11 +3271,25 @@ declare const mathExercises: (Exercise<{
|
|
|
3255
3271
|
BC: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers;
|
|
3256
3272
|
BD: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers;
|
|
3257
3273
|
probaName: string;
|
|
3274
|
+
useContraryNames?: boolean;
|
|
3275
|
+
}, {
|
|
3276
|
+
allowApproximate?: string;
|
|
3277
|
+
eventTypes?: string[];
|
|
3278
|
+
probaType?: string;
|
|
3279
|
+
eventsNames?: string;
|
|
3280
|
+
}> | Exercise<{
|
|
3281
|
+
initTree: string[][][][];
|
|
3282
|
+
valueDatas: {
|
|
3283
|
+
isComp: boolean;
|
|
3284
|
+
value: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers;
|
|
3285
|
+
}[];
|
|
3258
3286
|
}, {
|
|
3259
|
-
|
|
3260
|
-
eventTypes: string[];
|
|
3261
|
-
probaType: string;
|
|
3287
|
+
probaType?: string;
|
|
3262
3288
|
}> | Exercise<{
|
|
3289
|
+
params: import("./exercises/math/probaStat/trees/probaTreeSituations.js").ProbaTreeSituationParams;
|
|
3290
|
+
}, Record<string, string | boolean | string[]>> | Exercise<{
|
|
3291
|
+
params: import("./exercises/math/probaStat/trees/probaTreeSituations.js").ProbaTreeSituationParams;
|
|
3292
|
+
}, Record<string, string | boolean | string[]>> | Exercise<{
|
|
3263
3293
|
firstValue: number;
|
|
3264
3294
|
askedRank: number;
|
|
3265
3295
|
reason: number;
|
|
@@ -3350,6 +3380,19 @@ declare const mathExercises: (Exercise<{
|
|
|
3350
3380
|
reason: number;
|
|
3351
3381
|
superfluousData?: import("./math/utils/sequences/situations/seqArithmeticSituations.js").SituationArithmeticSuperfluousData;
|
|
3352
3382
|
rankAsked: number;
|
|
3383
|
+
}, import("./exercises/options/optionFirstTermRankOne.js").OptionFirstTermRankOne & import("./exercises/options/optionIsWithSuperfluousData.js").OptionIsWithSuperfluousData> | Exercise<{
|
|
3384
|
+
situationIndex: number;
|
|
3385
|
+
initial: number;
|
|
3386
|
+
reason: number;
|
|
3387
|
+
superfluousData?: import("./math/utils/sequences/situations/seqArithmeticSituations.js").SituationArithmeticSuperfluousData;
|
|
3388
|
+
valueAsked: number;
|
|
3389
|
+
}, import("./exercises/options/optionFirstTermRankOne.js").OptionFirstTermRankOne & import("./exercises/options/optionIsWithSuperfluousData.js").OptionIsWithSuperfluousData> | Exercise<{
|
|
3390
|
+
situationIndex: number;
|
|
3391
|
+
initial: number;
|
|
3392
|
+
reason: number;
|
|
3393
|
+
superfluousData?: import("./math/utils/sequences/situations/seqArithmeticSituations.js").SituationArithmeticSuperfluousData;
|
|
3394
|
+
valueThreshold: number;
|
|
3395
|
+
inegSymbol: import("./math/inequations/inequation.js").InegalitySymbols;
|
|
3353
3396
|
}, import("./exercises/options/optionFirstTermRankOne.js").OptionFirstTermRankOne & import("./exercises/options/optionIsWithSuperfluousData.js").OptionIsWithSuperfluousData> | Exercise<{
|
|
3354
3397
|
final: number;
|
|
3355
3398
|
}, Record<string, string | boolean | string[]>> | Exercise<{
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,yB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAA6B,CAAC;AAE/C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,cAAc,EAAE,CAAC"}
|
package/lib/latexTester.js
CHANGED
|
@@ -153,7 +153,7 @@ export const latexTester = (latex, isDefaultInMathMode = false) => {
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
if (!isDefaultInMathMode && (inDollarMode || inDoubleDollarMode))
|
|
156
|
-
throw new Error(`Math mode not finished`);
|
|
156
|
+
throw new Error(`Math mode not finished ${formated}`);
|
|
157
157
|
if (leftRightCount !== 0)
|
|
158
158
|
throw new Error("Left right not balanced");
|
|
159
159
|
if (commandModeCount !== 0)
|
|
@@ -28,6 +28,8 @@ export type SituationArithmetic = {
|
|
|
28
28
|
randSuperfluousData: () => SituationArithmeticSuperfluousData;
|
|
29
29
|
randThreshold: (initial: number, reason: number, firstRank: number) => number;
|
|
30
30
|
rankDecoder: RankDecoder;
|
|
31
|
+
digitsValue: number;
|
|
32
|
+
digitsTarget: number;
|
|
31
33
|
getStrSituation: (initial: number, reason: number, firstRank: number, superfluousData?: SituationArithmeticSuperfluousData) => string;
|
|
32
34
|
variationFindExplicitFormula: SituationArithmeticVariation;
|
|
33
35
|
variationFindRecurrenceFormula: SituationArithmeticVariation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seqArithmeticSituations.d.ts","sourceRoot":"","sources":["../../../../../src/math/utils/sequences/situations/seqArithmeticSituations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAiBlE,MAAM,MAAM,4BAA4B,GAAG;IACzC,cAAc,CAAC,EAAE,CACf,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,GAAG,SAAS,EAAE,OAAO,EAAE,KACpB,MAAM,CAAC;IAEZ,aAAa,EAAE,CACb,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,GAAG,SAAS,EAAE,OAAO,EAAE,KACpB,aAAa,CAAC;IAEnB,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,OAAO,EAAE,KAAK,MAAM,CAAC;IAChE,kBAAkB,EAAE,CAClB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,GAAG,SAAS,EAAE,OAAO,EAAE,KACpB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,cAAc,EAAE,CAAC,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;IACzE,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,aAAa,CAAC;CACpE,CAAC;AAEF,MAAM,MAAM,4CAA4C,GAAG;IACzD,cAAc,CAAC,EAAE,CACf,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,GAAG,SAAS,EAAE,OAAO,EAAE,KACpB,MAAM,CAAC;IAEZ,cAAc,EAAE,CACd,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,GAAG,SAAS,EAAE,OAAO,EAAE,KACpB;QAAE,UAAU,EAAE,aAAa,CAAC;QAAC,QAAQ,EAAE,aAAa,CAAA;KAAE,CAAC;IAE5D,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,OAAO,EAAE,KAAK,MAAM,CAAC;IAChE,kBAAkB,EAAE,CAClB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,GAAG,SAAS,EAAE,OAAO,EAAE,KACpB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,EAAE,MAAM,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;IAC9D,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;IAC9E,WAAW,EAAE,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"seqArithmeticSituations.d.ts","sourceRoot":"","sources":["../../../../../src/math/utils/sequences/situations/seqArithmeticSituations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAiBlE,MAAM,MAAM,4BAA4B,GAAG;IACzC,cAAc,CAAC,EAAE,CACf,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,GAAG,SAAS,EAAE,OAAO,EAAE,KACpB,MAAM,CAAC;IAEZ,aAA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