diff options
| author | Jonas Knobloch <jonas.knobloch@t-online.de> | 2026-06-28 01:28:55 +0200 |
|---|---|---|
| committer | Jonas Knobloch <jonas.knobloch@t-online.de> | 2026-07-13 16:31:59 +0200 |
| commit | 0030b589a9752a841ea9fa4dda7b8208b7072bcf (patch) | |
| tree | acf675de38582a36a7b9b398b2f0add6a20356c1 /research/lesci/cmd | |
| parent | 48cac2575c9ba5377ddeba2f17ddb68277e410d9 (diff) | |
Add flags to import context
Diffstat (limited to 'research/lesci/cmd')
| -rw-r--r-- | research/lesci/cmd/lesci/main.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/research/lesci/cmd/lesci/main.go b/research/lesci/cmd/lesci/main.go index bfabfe8..e9c9a99 100644 --- a/research/lesci/cmd/lesci/main.go +++ b/research/lesci/cmd/lesci/main.go @@ -20,6 +20,9 @@ func main() { outPath := flag.String("o", "", "") + goldData := flag.String("gold-data", "", "gold data") + goldStep := flag.Int("gold-step", 0, "gold step") + dry := flag.Bool("dry", false, "") flag.Parse() @@ -54,16 +57,18 @@ func main() { o := path.Join(shelf.Abs(shelf.Item(*outPath)), path.Base(shelf.Abs(shelf.Item(modelPath))), *chkpt) - exptOpts := lesci.Options{ + expOpts := lesci.Options{ ForceContext: false, ForceExtract: true, + GoldDataName: *goldData, + GoldDataStep: *goldStep, } expCfg := lesci.ConfigDefault() expCfg.ClampRulesBeforeFilter = true - e := must(lesci.NewExperiment(m, t, c, d, o, 50256, 5000, expCfg, exptOpts)) + e := must(lesci.NewExperiment(m, t, c, d, o, 50256, 5000, expCfg, expOpts)) if err := m.Init(); err != nil { log.Fatal(err) |
