scout-gear 10.13.1 → 10.13.2

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.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/.vimproject +30 -31
  3. data/README.md +6 -3
  4. data/VERSION +1 -1
  5. data/doc/Improvements.md +519 -6
  6. data/doc/StartHere.md +8 -3
  7. data/doc/developer/Architecture.md +27 -4
  8. data/doc/developer/ConcurrencyModel.md +232 -40
  9. data/doc/developer/DesignPrinciples.md +28 -0
  10. data/doc/developer/EntitySystem.md +142 -10
  11. data/doc/developer/PersistenceEngines.md +97 -6
  12. data/doc/developer/TSVInternals.md +170 -15
  13. data/doc/developer/WorkflowEngine.md +200 -17
  14. data/doc/developer/WritingDocumentation.md +60 -0
  15. data/doc/user/BuildingWorkflows.md +264 -26
  16. data/doc/user/CachingData.md +70 -13
  17. data/doc/user/Cookbook.md +47 -22
  18. data/doc/user/HPCBatchExecution.md +164 -13
  19. data/doc/user/ManagingRelationships.md +447 -44
  20. data/doc/user/ProcessingTabularData.md +265 -23
  21. data/doc/user/RunningParallelWork.md +98 -28
  22. data/doc/user/UsingTheCLI.md +428 -0
  23. data/doc/user/WorkingWithEntities.md +61 -9
  24. data/lib/scout/entity.rb +4 -2
  25. data/lib/scout/tsv/excel.rb +334 -0
  26. data/lib/scout/tsv/parser.rb +1 -1
  27. data/lib/scout/tsv.rb +1 -0
  28. data/lib/scout/workflow/deployment/orchestrator/workload.rb +1 -1
  29. data/lib/scout/workflow/documentation.rb +6 -5
  30. data/lib/scout/workflow/entity.rb +10 -1
  31. data/lib/scout/workflow/live.rb +41 -0
  32. data/lib/scout/workflow/step/config.rb +1 -1
  33. data/lib/scout/workflow/step/info.rb +18 -3
  34. data/lib/scout/workflow/step/load.rb +2 -2
  35. data/lib/scout/workflow/step/status.rb +12 -4
  36. data/lib/scout/workflow/step.rb +4 -3
  37. data/lib/scout/workflow/task/inputs.rb +2 -1
  38. data/lib/scout/workflow/task.rb +3 -2
  39. data/lib/scout/workflow.rb +12 -6
  40. data/research/association-kb-probes.md +472 -0
  41. data/research/cli-probes.md +315 -0
  42. data/research/concurrency-probes.md +210 -0
  43. data/research/deployment-hpc-probes.md +230 -0
  44. data/research/entity-probes.md +362 -0
  45. data/research/persistence-probes.md +348 -0
  46. data/research/repo-map.md +31 -11
  47. data/research/tsv-probes.md +512 -0
  48. data/research/workflow-engine-probes.md +350 -0
  49. data/scout-gear.gemspec +39 -3
  50. data/scout_commands/tsv/assemble_pdf_table +95 -0
  51. data/scout_commands/tsv/attach +67 -0
  52. data/scout_commands/tsv/change_id +83 -0
  53. data/scout_commands/tsv/collapse +46 -0
  54. data/scout_commands/tsv/get +133 -0
  55. data/scout_commands/tsv/head +56 -0
  56. data/scout_commands/tsv/info +100 -0
  57. data/scout_commands/tsv/json +76 -0
  58. data/scout_commands/tsv/keys +68 -0
  59. data/scout_commands/tsv/query +77 -0
  60. data/scout_commands/tsv/read +84 -0
  61. data/scout_commands/tsv/read_excel +50 -0
  62. data/scout_commands/tsv/select +74 -0
  63. data/scout_commands/tsv/slice +72 -0
  64. data/scout_commands/tsv/sort +81 -0
  65. data/scout_commands/tsv/subset +75 -0
  66. data/scout_commands/tsv/transpose +70 -0
  67. data/scout_commands/tsv/uncollapse +62 -0
  68. data/scout_commands/tsv/unzip +73 -0
  69. data/scout_commands/tsv/values +73 -0
  70. data/scout_commands/tsv/view +80 -0
  71. data/scout_commands/tsv/write_excel +59 -0
  72. data/scout_commands/tsv/zip +72 -0
  73. data/scout_commands/workflow/prov +1 -1
  74. data/scout_commands/workflow/task +10 -3
  75. data/test/scout/tsv/test_excel.rb +107 -0
  76. data/test/scout/tsv/test_parser.rb +1 -1
  77. data/test/test_helper.rb +1 -1
  78. metadata +38 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe07bdd3b559ffe28000fae5ab12c55269eb0232070c48fef03c377b3d1156b4
4
- data.tar.gz: 290bd6f2236c3ea4f010a830f293a919d03ab3ad653f51cab243a85fc88ced13
3
+ metadata.gz: 3104e4171e5a3ed9b2ceef2db6f2626c521f3c5f814578a49c4be106c3144718
4
+ data.tar.gz: 15e9b62b79d81e0b1b1267cc9204bb41c01f6dd71475278ae590b7ad985be7ab
5
5
  SHA512:
6
- metadata.gz: 195a8e0cee67c6a0b6b5246105641c05bec0049e6402b98d9b188bfa2538cbf47e080f530493f1d75b1b124f1a6f158d6f7032b84a58c6ebcd4407d7b03016f4
7
- data.tar.gz: '08f34721a7f4a23648d39409cb805087ea91fb3242ba563d73fa3b895fd1a6a49f4666ee1a33220fd62e377eb9296dd407592dfc04c98932b3430c74e6c6cf2b'
6
+ metadata.gz: 63c9ece71d736aa725ab7d88c287484df0a69a30ee30c1527b7f94f598ddd849e39798c223085111ecf4e256d8cb0422c334f797c2a778a4d97c53708cca1b92
7
+ data.tar.gz: a19646c05453f8d54e95efead75a1cd344e3b629c4d5652ad5c33334c090cd44cfeb8a14ed248895d8ff7ed251f69f438b24d0421296df86190d6f0c2ef92eae
data/.vimproject CHANGED
@@ -5,38 +5,11 @@ scout-gear=/$PWD filter="*.rb *.yaml" {
5
5
  test=test{
6
6
  kb.rb
7
7
  }
8
-
9
- purge
10
-
11
- update_workflow_doc
12
-
13
- job_chains
14
-
15
-
16
- intro
17
- dev
18
-
19
- semaphore
20
-
21
- deploy
22
-
23
-
24
- debug
25
- document.rb
26
- pipes
27
- test_doc
28
- doc=doc{
29
- documenter.rb
8
+ documentation=documentation{
9
+ from_ags
10
+ main
30
11
  }
31
-
32
- documentation
33
-
34
- README_doc
35
-
36
- documentation_fix
37
- doc_learning
38
-
39
- doc_learning_chat_analyst
12
+ tsv_commands
40
13
  }
41
14
  bin=bin filter="*"{
42
15
  scout
@@ -100,6 +73,7 @@ scout-gear=/$PWD filter="*.rb *.yaml" {
100
73
  trace.rb
101
74
  }
102
75
  entity.rb
76
+ live.rb
103
77
  }
104
78
  work_queue.rb
105
79
  work_queue=work_queue{
@@ -203,6 +177,31 @@ scout-gear=/$PWD filter="*.rb *.yaml" {
203
177
  doc
204
178
  update
205
179
  template
180
+ tsv=tsv{
181
+ assemble_pdf_table
182
+ attach
183
+ change_id
184
+ collapse
185
+ get
186
+ head
187
+ info
188
+ json
189
+ keys
190
+ query
191
+ read
192
+ read_excel
193
+ select
194
+ slice
195
+ sort
196
+ subset
197
+ transpose
198
+ uncollapse
199
+ unzip
200
+ values
201
+ view
202
+ write_excel
203
+ zip
204
+ }
206
205
  kb=kb{
207
206
  config
208
207
  entities
data/README.md CHANGED
@@ -49,8 +49,9 @@ From this one idea follow the properties that make workflows tractable at scale:
49
49
  - **Provenance** — what ran, when, and with what inputs is tracked and
50
50
  inspectable on every job.
51
51
  - **Orchestration** — jobs run under resource rules (multiple
52
- processes, bounded by semaphores) and can be deployed to HPC
53
- schedulers (SLURM, PBS, LSF) or containers (Singularity).
52
+ processes, gated by the local executor's resource bookkeeping) and
53
+ can be deployed to HPC schedulers (SLURM, PBS, LSF) or containers
54
+ (Singularity).
54
55
 
55
56
  See [Building Workflows](doc/user/BuildingWorkflows.md) and the
56
57
  [Workflow Engine](doc/developer/WorkflowEngine.md) internals.
@@ -69,7 +70,7 @@ resources (WorkQueue/Semaphore).
69
70
  | TSV | typed tabular data, streaming, parallel traversal, persistence, indexing |
70
71
  | Entity / Association / KnowledgeBase | typed identifiers, properties, relationship indices, traversal queries |
71
72
  | Persist | transparent caching of expensive computation |
72
- | WorkQueue / Semaphore | multi-process parallelism bounded by resources |
73
+ | WorkQueue / Semaphore | multi-process parallelism; ScoutSemaphore provides cross-process locking; the local executor gates resource limits |
73
74
 
74
75
  This coherence is anchored in three design principles shared across the
75
76
  codebase:
@@ -136,6 +137,8 @@ The entry point for all documentation is
136
137
  SLURM, PBS, or LSF clusters.
137
138
  - [Caching Data](doc/user/CachingData.md) — persist results to avoid
138
139
  redundant computation.
140
+ - [Using the CLI](doc/user/UsingTheCLI.md) — the `scout` executable:
141
+ dispatch, options, help, exit codes.
139
142
  - [Cookbook](doc/user/Cookbook.md) — practical recipes combining
140
143
  multiple subsystems.
141
144
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 10.13.1
1
+ 10.13.2