@mark1russell7/layout-contract 0.3.7 → 0.3.9

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/README.md CHANGED
@@ -29,6 +29,8 @@ The package has one runtime dependency: `@mark1russell7/rigor-generators`, the h
29
29
  | The split files | `checkSplit`, `splitFolds`, `leaveOneSeedOut`, `splitFileName`, `SPLIT_SCHEMA`, `CorpusSplit`, `SplitFold`, `SplitCorpus` |
30
30
  | The strategy space | `StrategySpace`, `SpaceStage`, `StageOption`, `OptionSupports`, `ShapeFilter`, `SpaceParam`, `ParamWhen`, `MemberRule`, `SpaceConstraint`, `OptionRef`, `StrategyConfig`, `StageChoice`, `ParamKind`, `ParamValue`, `STRATEGY_SPACE_SCHEMA` |
31
31
  | The space functions | `checkSpace`, `checkConfig`, `canonicalConfig`, `configId`, `spaceSize`, `spaceShapeKinds`, `paramLevels`, `enumerateSpace`, `productSpace`, `joinConfigs`, `splitConfig`, `SpaceSize`, `SpaceSizeOptions`, `EnumerateOptions`, `GridOptions`, `SampleOptions` |
32
+ | The option declarations | `OptionSchema`, `OptionDeclaration`, `AnyOption`, `NumberOption`, `BooleanOption`, `EnumOption`, `ValueOption`, `ListItem`, `NoDefault`, `DeclaredStrategy`, `listOptions`, `optionDefaults`, `checkOptions`, `clampOptions`, `sweepValues`, `sweepOf`, `sweepGrid`, `checkSchema` |
33
+ | The strategy catalog | `StrategyCatalog`, `StrategyCatalogSource`, `CatalogEntry`, `StrategyMember`, `CatalogLimit`, `STRATEGY_CATALOG_SCHEMA`, `NODE_POSITIONS_DIMENSION`, `parseStrategyCatalog`, `writeStrategyCatalog`, `checkCatalog`, `catalogDefaults`, `catalogOptions`, `catalogChoices`, `catalogKey`, `decodeOptionValue`, `encodeOptionValue` |
32
34
  | The turn | `turnBox`, `turnPort`, `turnMargin`, `turnRegion`, `turnSide`, `turnPoint` |
33
35
  | The tolerances | `EPS`, `RECORD_EPS`, `RECORD_SCALE`, `Tolerance`, `DEFAULT_TOLERANCE` |
34
36
  | The hard rules | `countOverlaps`, `countObstacleHits`, `regionHitsRect`, `rectInRegion`, `countOutside`, `ContainerTest`, `countPortsOffBorder`, `packHard`, `PackHard`, `PACK_HARD_RULES`, `placedRect`, `checkInput` |
package/build/index.d.ts CHANGED
@@ -778,6 +778,348 @@ export declare function splitConfig(config: StrategyConfig, engine: string): Str
778
778
  * The constraints get the same prefixes. The named configs are the pairs `<name of a>+<name of b>`. It throws a `RangeError` when the two engines have the same name.
779
779
  */
780
780
  export declare function productSpace(a: StrategySpace, b: StrategySpace, name: string): StrategySpace;
781
+ /** The scale of a number option. A sweep on the scale `log` gives values with equal ratios, not with equal differences. */
782
+ export type OptionScale = "linear" | "log";
783
+ /** The reason why an option has no default value. The strategy reads the absence, the caller sets it, the strategy calculates it, or the default is code. */
784
+ export type NoDefaultReason = "unset" | "required" | "derived" | "function";
785
+ /** The statement of an option without a default value that JSON can hold. */
786
+ export interface NoDefault {
787
+ readonly reason: NoDefaultReason;
788
+ /** One short sentence that tells what the strategy does without a value. */
789
+ readonly describe: string;
790
+ }
791
+ /** The fields of each option declaration. */
792
+ interface OptionBase {
793
+ /** One short sentence that tells what the option sets. The site and the documents show it. */
794
+ readonly describe: string;
795
+ /** This field tells why the option has no default. The catalog of an engine has this field or a `default` on each option. */
796
+ readonly noDefault?: NoDefault;
797
+ /** The option is active only when an earlier option of the same strategy has one of these values. */
798
+ readonly when?: ParamWhen;
799
+ }
800
+ /**
801
+ * The declaration of a number option. The range from `min` to `max` is the range of a control and of a sweep.
802
+ * The strategy can take a value outside the range. `checkOptions` reports such a value, and `clampOptions` moves it into the range.
803
+ */
804
+ export interface NumberOption extends OptionBase {
805
+ /** The type `integer` takes only whole numbers. */
806
+ readonly type: "number" | "integer";
807
+ readonly min: number;
808
+ readonly max: number;
809
+ /** The grain of a control and of a sweep. A value off the step is valid. Without it, the grain is free (or 1 for an integer). */
810
+ readonly step?: number;
811
+ /** The scale of a control and of a sweep. The default is `linear`. The scale `log` needs a `min` above 0. */
812
+ readonly scale?: OptionScale;
813
+ /** These values are valid outside the range. For example, `Infinity` sets no limit. */
814
+ readonly special?: readonly number[];
815
+ /** These values are the notable values of the option: the default and the values of the sweeps of the benchmark. */
816
+ readonly marks?: readonly number[];
817
+ /**
818
+ * These values are the only valid values of the option, in the order of a control. A control shows them as a list, and a sweep gives them.
819
+ * Without them, each value on the range is valid.
820
+ */
821
+ readonly values?: readonly number[];
822
+ /** The strategy uses this value when the caller and `defaults` give no value. */
823
+ readonly default?: number;
824
+ }
825
+ /** The declaration of a boolean option. */
826
+ export interface BooleanOption extends OptionBase {
827
+ readonly type: "boolean";
828
+ /** The strategy uses this value when the caller and `defaults` give no value. */
829
+ readonly default?: boolean;
830
+ }
831
+ /** The declaration of an option with a fixed list of string values. */
832
+ export interface EnumOption<V extends string = string> extends OptionBase {
833
+ readonly type: "enum";
834
+ /** The values of the option, in the order of a control. */
835
+ readonly values: readonly V[];
836
+ /**
837
+ * With `function`, the option also takes a rule of the caller in place of a name. A control sets only the names.
838
+ * Each name is a known rule of the strategy.
839
+ */
840
+ readonly custom?: "function";
841
+ /** The strategy uses this value when the caller and `defaults` give no value. */
842
+ readonly default?: V;
843
+ }
844
+ /**
845
+ * The declaration of an option that a control or a sweep cannot set from a range.
846
+ * The type `function` is a rule, `strategy` is a strategy of the step `step`, `list` is an array and `object` is any other object.
847
+ */
848
+ export interface ValueOption<V = unknown, S extends string = string> extends OptionBase {
849
+ readonly type: "function" | "strategy" | "list" | "object";
850
+ /** The step of the strategy, for the type `strategy`. A control lists the strategies of this step of a registry. */
851
+ readonly step?: S;
852
+ /** The kinds of strategy that the option takes, for the type `strategy`. Without them, the option takes each kind. */
853
+ readonly kinds?: readonly string[];
854
+ /** The key of the option that holds the options of the chosen strategy, for the type `strategy`. */
855
+ readonly optionsKey?: string;
856
+ /** The value `true` lets a value hold its options: a key, or an object with the fields `strategy`, `options` and `id`. This field is for the type `strategy`, and also for an item of a list. */
857
+ readonly inlineOptions?: boolean;
858
+ /** The value `false` leaves out the opt-in strategies, because the option finds only the default set of the engine. This field is for the type `strategy`. */
859
+ readonly optIn?: boolean;
860
+ /** The declaration of each item, for the type `list`. */
861
+ readonly of?: ListItem<S>;
862
+ /** The smallest number of items, for the type `list`. */
863
+ readonly min?: number;
864
+ /** The largest number of items, for the type `list`. */
865
+ readonly max?: number;
866
+ /** The strategy uses this value when the caller and `defaults` give no value. */
867
+ readonly default?: V;
868
+ }
869
+ /** The declaration of one option of any type. */
870
+ export type AnyOption<S extends string = string> = NumberOption | BooleanOption | EnumOption | ValueOption<unknown, S>;
871
+ /** This type removes the fields of a whole option from a declaration. */
872
+ type ItemOf<T> = T extends unknown ? Omit<T, "describe" | "default" | "noDefault" | "when"> : never;
873
+ /** The declaration of one item of a list option: an option without its text, its default and its condition. */
874
+ export type ListItem<S extends string = string> = ItemOf<AnyOption<S>>;
875
+ /**
876
+ * The declaration that fits the type of an option value: numbers, booleans, string unions or other values.
877
+ * A union of strings and other values takes an enum of the strings or a value declaration. An example is a rule or the name of a rule.
878
+ */
879
+ export type OptionDeclaration<V, S extends string = string> = [V] extends [number] ? NumberOption : [V] extends [boolean] ? BooleanOption : [V] extends [string] ? EnumOption<V> : [Extract<V, string>] extends [never] ? ValueOption<V, S> : EnumOption<Extract<V, string>> | ValueOption<V, S>;
880
+ /** The declarations of the options of a strategy. The schema has one declaration for each key of the options type, and no other key. */
881
+ export type OptionSchema<O, S extends string = string> = { readonly [K in keyof O]-?: OptionDeclaration<NonNullable<O[K]>, S>; };
882
+ /** The fields of a strategy that the functions of this module read. An engine can add other fields. */
883
+ export interface DeclaredStrategy<O extends object = object, S extends string = string> {
884
+ /** The name of the strategy in a message. */
885
+ readonly name: string;
886
+ readonly defaults: O;
887
+ readonly schema?: OptionSchema<O, S>;
888
+ }
889
+ /** One problem of an option value against its declaration. */
890
+ export interface OptionIssue {
891
+ /** The key of the option. */
892
+ readonly key: string;
893
+ readonly value: unknown;
894
+ /** The kind of the problem: no declaration, the wrong type, out of the range, not a whole number or not one of the values. */
895
+ readonly problem: "unknown" | "type" | "range" | "integer" | "value";
896
+ /** One sentence that tells the problem. */
897
+ readonly message: string;
898
+ }
899
+ /** One setting of a sweep: a name for the rows of a table, and the options of the strategy. */
900
+ export interface OptionSetting<O extends object> {
901
+ /** The key and the value of each option of the setting, for example `stretch 1.5`. */
902
+ readonly name: string;
903
+ readonly options: Partial<O>;
904
+ }
905
+ /** The options of `sweepValues`, `sweepOf` and `sweepGrid`. */
906
+ export interface SweepOptions {
907
+ /**
908
+ * The number of values on the range of a number option. Without it, the sweep gives the `marks` of the declaration.
909
+ * A declaration without `marks` gets 5 values.
910
+ */
911
+ readonly count?: number;
912
+ /** With `true`, a sweep of a number option on the range also gives the `special` values. The default is `false`. */
913
+ readonly special?: boolean;
914
+ }
915
+ /** This function gives the declared options of a strategy, in the order of its schema, with the effective default of each one. */
916
+ export declare function listOptions<O extends object, S extends string = string>(strategy: DeclaredStrategy<O, S>): {
917
+ readonly key: keyof O & string;
918
+ readonly declaration: AnyOption<S>;
919
+ readonly value: unknown;
920
+ }[];
921
+ /**
922
+ * This function gives the effective default of each declared option: the value of `defaults`, else the `default` of the declaration.
923
+ * An option without either value stays out. The strategy gives the same output with this object as with no options.
924
+ */
925
+ export declare function optionDefaults<O extends object, S extends string = string>(strategy: DeclaredStrategy<O, S>): Partial<O>;
926
+ /** This function gives the problem of one value against its declaration, or `undefined` when the value fits. */
927
+ export declare function optionIssue(key: string, value: unknown, d: AnyOption): OptionIssue | undefined;
928
+ /**
929
+ * This function examines option values against the schema of a strategy. It gives one issue for each key without a declaration.
930
+ * It also gives one issue for each value of the wrong type, out of the range, not whole or not one of the values.
931
+ * It changes no value.
932
+ * A strategy without a schema gives no issue.
933
+ */
934
+ export declare function checkOptions<O extends object>(strategy: DeclaredStrategy<O>, options: Partial<O>): OptionIssue[];
935
+ /**
936
+ * This function moves each number option into the range of its declaration, for a control. An integer option gets the nearest whole number.
937
+ * An option with a list of `values` gets the nearest value of the list. A special value stays. The function keeps each other value as it is. `checkOptions` reports the values that this function cannot correct.
938
+ */
939
+ export declare function clampOptions<O extends object>(strategy: DeclaredStrategy<O>, options: Partial<O>): Partial<O>;
940
+ /**
941
+ * This function gives the values of a sweep of one option declaration.
942
+ * A number option gives its `marks`, or its list of `values`, or `count` values on its range and its scale. A boolean gives `false` and `true`. An enum gives its values.
943
+ * An option of another type has no sweep, so the function throws an error.
944
+ */
945
+ export declare function sweepValues(declaration: AnyOption, options?: SweepOptions): unknown[];
946
+ /**
947
+ * This function gives the settings of a sweep of one option of a strategy, from its declaration only.
948
+ * The name of each setting is the key and the value, for example `stretch 1.5`.
949
+ */
950
+ export declare function sweepOf<O extends object>(strategy: DeclaredStrategy<O>, key: keyof O & string, options?: SweepOptions): OptionSetting<O>[];
951
+ /**
952
+ * This function gives the settings of a grid of options: each combination of the values of the sweeps of the keys.
953
+ * The name of a setting joins the names of its values with commas, in the order of the keys.
954
+ */
955
+ export declare function sweepGrid<O extends object>(strategy: DeclaredStrategy<O>, keys: readonly (keyof O & string)[], options?: SweepOptions): OptionSetting<O>[];
956
+ /** This function gives the problems of one declaration: a bad range, a bad step, or marks and a default that do not fit. */
957
+ export declare function declarationIssues(key: string, d: AnyOption): string[];
958
+ /**
959
+ * This function examines the schema of a strategy. It gives one message for each option of `defaults` without a declaration.
960
+ * It also gives one message for each bad declaration, and for each value of `defaults` that does not fit its declaration.
961
+ * A good schema gives an empty list.
962
+ */
963
+ export declare function checkSchema(strategy: DeclaredStrategy): string[];
964
+ /** The schema of a strategy catalog. A new field is a new version of the schema. */
965
+ export declare const STRATEGY_CATALOG_SCHEMA = "strategy-catalog/1";
966
+ /**
967
+ * The dimension of `supports` that tells who owns the positions of the nodes. The value `host` means that the strategy keeps the positions that the host gives.
968
+ * The value `engine` means that the strategy can set them. A strategy that moves nodes has only `engine`. A `SupportProbe` tests the claim with a run.
969
+ */
970
+ export declare const NODE_POSITIONS_DIMENSION = "nodePositions";
971
+ /** A limit on one measure of the input. The key of the record of limits names the measure, for example `nodes`. */
972
+ export interface CatalogLimit {
973
+ /** The smallest value that the strategy takes. */
974
+ readonly min?: number;
975
+ /** The largest value that the strategy takes. */
976
+ readonly max?: number;
977
+ /** One short sentence that tells what the strategy does outside the limit. */
978
+ readonly describe: string;
979
+ }
980
+ /** The kind of a strategy: it places on its own, it wraps other strategies, or it is for one shape of item. */
981
+ export type StrategyKind = "single" | "composite" | "shape";
982
+ /** One strategy of a catalog. */
983
+ export interface CatalogEntry {
984
+ /** The key is unique in the catalog: `<step>/<id>` with a step, else `id`. */
985
+ readonly key: string;
986
+ /** The name that the engine reads. */
987
+ readonly id: string;
988
+ /** The step of the pipeline of the engine. An engine without steps leaves it out. */
989
+ readonly step?: string;
990
+ /** The group of the strategy in a chooser. */
991
+ readonly family: string;
992
+ readonly kind: StrategyKind;
993
+ /** One line that tells what the strategy does. */
994
+ readonly describe: string;
995
+ /** For each dimension, the values that the strategy takes. A dimension that is not here has no declared limit. */
996
+ readonly supports: Supports;
997
+ /** The limits of the strategy on the measures of the input. An empty record means that the engine declares no limit. */
998
+ readonly limits: Readonly<Record<string, CatalogLimit>>;
999
+ /** The value is `true` when, with the default options, the result depends only on the input, the options and the seed. */
1000
+ readonly deterministic: boolean;
1001
+ /** One sentence that tells what can change this claim, for example a clock. */
1002
+ readonly determinismNote?: string;
1003
+ /** The value is `true` when the strategy is outside the default set of the engine, and a caller asks for it by name. */
1004
+ readonly optIn: boolean;
1005
+ /** The value `true` tells that the strategy is a baseline of a bench. It has `optIn` true, and a chooser does not offer it. */
1006
+ readonly baseline?: true;
1007
+ /** The declarations of the options, in the order of a form. */
1008
+ readonly options: Readonly<Record<string, AnyOption>>;
1009
+ }
1010
+ /** The form of a catalog that an engine exports as data. It holds no version: the build gives the version from `package.json`. */
1011
+ export interface StrategyCatalogSource {
1012
+ /** The npm name of the engine, without its scope. */
1013
+ readonly engine: string;
1014
+ readonly strategies: readonly CatalogEntry[];
1015
+ }
1016
+ /** A catalog document: the form that `writeStrategyCatalog` writes and `parseStrategyCatalog` reads. */
1017
+ export interface StrategyCatalog extends StrategyCatalogSource {
1018
+ readonly schema: typeof STRATEGY_CATALOG_SCHEMA;
1019
+ /** The npm version of the engine. */
1020
+ readonly version: string;
1021
+ }
1022
+ /** The result of `parseStrategyCatalog`. */
1023
+ export type StrategyCatalogParse = {
1024
+ readonly ok: true;
1025
+ readonly catalog: StrategyCatalog;
1026
+ } | {
1027
+ readonly ok: false;
1028
+ readonly faults: readonly string[];
1029
+ };
1030
+ /** The live facts of one strategy, for `checkCatalog`. */
1031
+ export interface RegistryEntry {
1032
+ readonly key: string;
1033
+ /** The live defaults of the strategy. */
1034
+ readonly defaults: Readonly<Record<string, unknown>>;
1035
+ readonly optIn: boolean;
1036
+ /** The value `true` tells that the strategy is a baseline of a bench. */
1037
+ readonly baseline?: boolean;
1038
+ /** The limits in the code of the engine. Without them, the engine has no limits. */
1039
+ readonly limits?: Readonly<Record<string, {
1040
+ readonly min?: number;
1041
+ readonly max?: number;
1042
+ }>>;
1043
+ /** This function runs the strategy on a small fixture and gives its output as text. The text does not hold times. */
1044
+ readonly run?: () => string;
1045
+ }
1046
+ /** A test of one value of `supports`: each strategy runs on an input with this value. */
1047
+ export interface SupportProbe {
1048
+ /** The dimension of `supports`. */
1049
+ readonly field: string;
1050
+ readonly value: string;
1051
+ /** This function gives `true` if the strategy refuses the input, and `undefined` if the input cannot go to this strategy. */
1052
+ readonly refuses: (key: string) => boolean | undefined;
1053
+ }
1054
+ /** The options of `checkCatalog`. */
1055
+ export interface CatalogCheckOptions {
1056
+ /** Each param of these spaces is examined against the declaration of its option. */
1057
+ readonly spaces?: readonly StrategySpace[];
1058
+ readonly probes?: readonly SupportProbe[];
1059
+ /** This function runs `owner` with `choice` in its option `option`. It gives `true` for a refusal, or `undefined` if the input cannot go to `owner`. */
1060
+ readonly refusesChoice?: (owner: string, option: string, choice: string) => boolean | undefined;
1061
+ }
1062
+ /** The result of `checkCatalog`. */
1063
+ export interface CatalogCheck {
1064
+ /** Each break of a rule, as one sentence. A good catalog has none. */
1065
+ readonly faults: readonly string[];
1066
+ /** The claims that no run examined, by key and with the reason. */
1067
+ readonly notRun: readonly string[];
1068
+ /** The stage options and the params of a space that have no entry or no declaration in the catalog. */
1069
+ readonly notMatched: readonly string[];
1070
+ }
1071
+ /** The value of a strategy option that holds the options of the chosen strategy. A declaration with `inlineOptions` takes it. */
1072
+ export interface StrategyMember {
1073
+ /** The key of the chosen strategy. */
1074
+ readonly strategy: string;
1075
+ /** The options of the chosen strategy, in the JSON form of its declarations. */
1076
+ readonly options?: Readonly<Record<string, unknown>>;
1077
+ /** The name of the member in the output. */
1078
+ readonly id?: string;
1079
+ }
1080
+ /** The options of `catalogOptions`. */
1081
+ export interface CatalogOptionsOptions {
1082
+ /** This function gives the key of a strategy from a default value of the type `strategy`. */
1083
+ readonly strategyKey?: (value: unknown) => string | undefined;
1084
+ }
1085
+ /** This function gives the key of a strategy from its step and its id. */
1086
+ export declare function catalogKey(id: string, step?: string): string;
1087
+ /**
1088
+ * This function gives the strategies that a chooser offers, by the `step`, `kinds` and `optIn` of an option. Thus no chooser keeps a copy of this rule.
1089
+ * A baseline is not in the result. A list gives the strategies of its items. An option of each other type gives nothing.
1090
+ * Without a declaration, the function gives each strategy that is not a baseline.
1091
+ */
1092
+ export declare function catalogChoices(strategies: readonly CatalogEntry[], declaration?: AnyOption | ListItem): readonly CatalogEntry[];
1093
+ /**
1094
+ * This function reads a catalog from parsed JSON. It refuses each unknown field and each other schema.
1095
+ * It gives the catalog with its `Infinity` values restored, or the list of all faults.
1096
+ */
1097
+ export declare function parseStrategyCatalog(value: unknown): StrategyCatalogParse;
1098
+ /**
1099
+ * This function gives the value of an option for a call of the engine, from its JSON form.
1100
+ * The strings `"Infinity"` and `"-Infinity"` become numbers in a number option, and in a list of numbers. Each other value stays as it is.
1101
+ */
1102
+ export declare function decodeOptionValue(value: unknown, declaration: AnyOption | ListItem): unknown;
1103
+ /** This function gives the JSON form of the value of an option. It is the inverse of `decodeOptionValue`. */
1104
+ export declare function encodeOptionValue(value: unknown, declaration: AnyOption | ListItem): unknown;
1105
+ /**
1106
+ * This function gives the text of the catalog file, sorted by key. The same source and version give the same bytes.
1107
+ * The caller gives the version from `package.json`. The function throws an error if the file breaks a rule of the format.
1108
+ */
1109
+ export declare function writeStrategyCatalog(source: StrategyCatalogSource, version: string): string;
1110
+ /** This function gives the default of each option of an entry that has a default. */
1111
+ export declare function catalogDefaults(entry: CatalogEntry): Record<string, unknown>;
1112
+ /**
1113
+ * This function gives the catalog declarations of a strategy from its live `defaults` and its schema. Thus each engine has no copy of this rule.
1114
+ * A live default goes on its declaration. A function stays out, so the declaration needs its own `noDefault`.
1115
+ */
1116
+ export declare function catalogOptions(defaults: Readonly<Record<string, unknown>>, schema: Readonly<Record<string, AnyOption>>, options?: CatalogOptionsOptions): Record<string, AnyOption>;
1117
+ /**
1118
+ * This function examines a catalog against its engine: the live defaults, the set of strategies and a round trip through JSON.
1119
+ * It also examines the claims of determinism, `supports`, `limits`, the choices of each strategy option and the spaces.
1120
+ * A claim that no run can examine goes to `notRun`, by key, so a test can state their count.
1121
+ */
1122
+ export declare function checkCatalog(source: StrategyCatalogSource, registry: readonly RegistryEntry[], options?: CatalogCheckOptions): CatalogCheck;
781
1123
  /**
782
1124
  * The largest count of inputs for the exact permutation test. Up to this count, the test enumerates all `2^n` sign sets.
783
1125
  * At 16 inputs, that is 65 536 sign sets, approximately 3 times the default draws. Above it, the cost doubles with each input, so the test uses seeded draws.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/tolerance.ts","../src/output.ts","../src/record.ts","../src/rules.ts","../src/turn.ts","../src/balance.ts","../src/strategy.ts","../src/random.ts","../src/edges.ts","../src/hash.ts","../src/portfolio.ts","../src/strategy-space.ts","../src/verdict.ts","../src/families.ts"],"mappings":";;qBACa;;;;;qBAMA;;;;;qBAMA;;;;;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mBAAmB;;;;;EAKtF,SAAS,cAAc,cAAc,OAAO,SAAS,eAAe,cAAc,UAAU,kBAAkB;;EAE9G,OAAO,cAAc,OAAO,SAAS,eAAe,cAAc,mBAAmB;;EAErF,MAAM,cAAc,UAAU,eAAe,UAAU;;EAEvD,UAAU,cAAc,UAAU;;EAElC,cAAc,cAAc,mBAAmB;;EAE/C,MAAM,cAAc,oBAAoB,cAAc,OAAO,SAAS,eAAe;;EAErF,YAAY;;;qBAID,mBAAmB;;;;;qBAwCnB,mBAAmB,SAAS,eAAe;;;;;wBA2BxC,gBAAgB,cAAc,QAAO,QAAQ,mBAAwB;;YAUzE,qBAAqB,KAAK;;;;;;wBAOtB,eAAe,cAAc,MAAM,qBAAqB;;;;;wBA+BxD,kBAAkB,KAAK,iBAAiB;;;;;wBA+FxC,YAAY,KAAK,YAAY;;wBAa7B,cAAc,KAAK,YAAY;;;;;;wBAsB/B,SAAS,KAAK,iBAAiB,iBAAiB;;;;;;;;wBAsChD,kBACd,qBAAqB,mBACrB,OAAM,SAAS,eAAe,cAC9B,gBACA,cACC;;wBA8Ha,qBAAqB,IAAI,aAAa,WAAU,SAAS,aAAa,MAAW,eAAe;;iBA2G/F;WACN;WACA;;WAEA;WACA;;WAEA,qBAAqB;;WAErB;WACA,aAAa;;WAEb,cAAc,MAAM;;EAE7B,MAAM,OAAO,aAAa,cAAc,MAAM,kBAAkB;;;iBAIjD;;WAEN;;WAEA;WACA;;WAEA,QAAQ,OAAO;;;;;;;wBAWV,cAAc,MAAM,aAAa,cAAc,gBAAgB,cAAc,UAAS,iBAAsB,aAAa;;;;;qBA+D5H,YAAY;;;;;;qBAoBZ,gBAAgB,aAAa"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/tolerance.ts","../src/output.ts","../src/record.ts","../src/rules.ts","../src/turn.ts","../src/balance.ts","../src/strategy.ts","../src/random.ts","../src/edges.ts","../src/hash.ts","../src/portfolio.ts","../src/strategy-space.ts","../src/strategy-options.ts","../src/str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