Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Komodo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dragoon
Komodo
Commits
822b03fd
Unverified
Commit
822b03fd
authored
10 months ago
by
STEVAN Antoine
Browse files
Options
Downloads
Patches
Plain Diff
add `inbreeding inspect`
parent
64e446f7
No related branches found
No related tags found
1 merge request
!125
add `inbreeding inspect` to look at the cache
Pipeline
#5299
passed
10 months ago
Stage: fmt
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bins/inbreeding/inspect.nu
+32
-0
32 additions, 0 deletions
bins/inbreeding/inspect.nu
bins/inbreeding/mod.nu
+1
-0
1 addition, 0 deletions
bins/inbreeding/mod.nu
with
33 additions
and
0 deletions
bins/inbreeding/inspect.nu
0 → 100644
+
32
−
0
View file @
822b03fd
use consts.nu
use path.nu [ "remove-cache-prefix" ]
def get-seeds [] [ nothing -> list<string> ] {
$consts.CACHE | path join '*' | into glob | ls $in | get name | each { path split | last }
}
export def main [seed: int@get-seeds]: [
nothing -> table<
seed: string,
timestamp: string,
env: string,
strategy: string,
k: string,
n: string,
nb_bytes: string,
m: int,
>
] {
$consts.CACHE
| path join ($seed | into string) '*'
| into glob
| ls $in
| insert m { ls $in.name | length }
| select name m
| update name {
remove-cache-prefix
| parse $consts.FULL_EXPERIMENT_FORMAT
}
| flatten --all name
}
This diff is collapsed.
Click to expand it.
bins/inbreeding/mod.nu
+
1
−
0
View file @
822b03fd
export use build.nu
export use run.nu
export use inspect.nu
export use load.nu
export use plot.nu
This diff is collapsed.
Click to expand it.
STEVAN Antoine
@a.stevan
mentioned in commit
0b51ce48
·
10 months ago
mentioned in commit
0b51ce48
mentioned in commit 0b51ce48d993e44c50d0e4d89a16e520cc4cd427
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment