@kortexya/reasoninglayer 0.15.1 → 0.16.0
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/dist/index.cjs +22 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +93 -16
- package/dist/index.d.ts +93 -16
- package/dist/index.js +22 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
// src/config.ts
|
|
4
|
-
var SDK_VERSION = "0.
|
|
4
|
+
var SDK_VERSION = "0.16.0";
|
|
5
5
|
function resolveConfig(config) {
|
|
6
6
|
if (!config.baseUrl) {
|
|
7
7
|
throw new Error("ClientConfig.baseUrl is required");
|
|
@@ -4022,6 +4022,24 @@ var Causal = class {
|
|
|
4022
4022
|
format: "json",
|
|
4023
4023
|
...params
|
|
4024
4024
|
});
|
|
4025
|
+
/**
|
|
4026
|
+
* @description This endpoint validates whether a DiD design is theoretically sound given the known causal structure and unobserved confounding. It uses the Transformed SWIG (Delta-SWIG) framework from Knaus & Pfleiderer (2026).
|
|
4027
|
+
*
|
|
4028
|
+
* @tags causal
|
|
4029
|
+
* @name ValidateDid
|
|
4030
|
+
* @summary Validate a Difference-in-Differences (DiD) design
|
|
4031
|
+
* @request POST:/api/v1/causal/validate-did
|
|
4032
|
+
* @secure
|
|
4033
|
+
*/
|
|
4034
|
+
validateDid = (data, params = {}) => this.http.request({
|
|
4035
|
+
path: `/api/v1/causal/validate-did`,
|
|
4036
|
+
method: "POST",
|
|
4037
|
+
body: data,
|
|
4038
|
+
secure: true,
|
|
4039
|
+
type: "application/json" /* Json */,
|
|
4040
|
+
format: "json",
|
|
4041
|
+
...params
|
|
4042
|
+
});
|
|
4025
4043
|
};
|
|
4026
4044
|
|
|
4027
4045
|
// src/api-spec/generated/Reviews.ts
|
|
@@ -15492,7 +15510,8 @@ function SpaceSearchRequestFromFrontToApi(model) {
|
|
|
15492
15510
|
function VariableFeasibilityDtoFromApiToFront(dto) {
|
|
15493
15511
|
return {
|
|
15494
15512
|
canBeTrue: dto.can_be_true,
|
|
15495
|
-
canBeFalse: dto.can_be_false
|
|
15513
|
+
canBeFalse: dto.can_be_false,
|
|
15514
|
+
verified: dto.verified ?? true
|
|
15496
15515
|
};
|
|
15497
15516
|
}
|
|
15498
15517
|
function SpaceSearchResponseFromApiToFront(dto) {
|
|
@@ -17037,7 +17056,7 @@ function FormalJudgeRequestFromFrontToApi(model) {
|
|
|
17037
17056
|
final_output: model.finalOutput,
|
|
17038
17057
|
execution_log: model.executionLog,
|
|
17039
17058
|
config: model.config ? JudgeConfigDtoFromFrontToApi(model.config) : void 0,
|
|
17040
|
-
|
|
17059
|
+
risk_categories: model.riskCategories
|
|
17041
17060
|
};
|
|
17042
17061
|
}
|
|
17043
17062
|
function LayerResultDtoFromApiToFront(dto) {
|