Added course pipeline: crawl, cache, classify, extract, and CTDL map - #283
Added course pipeline: crawl, cache, classify, extract, and CTDL map#283nsoto-tech wants to merge 8 commits into
Conversation
|
@nsoto-tech Create a top level folder named Under that, have a folder for each stage of the ETL pipeline.
and a Under these folders, you can move the rest of the scripts. There will be multiple such scripts under these folders. You can see existing patterns for command structures here: https://docs.google.com/document/d/1WD0AQAWuY0klJYznBST7-O93mHXSlR-k0LRQQPAqCKU/edit?tab=t.0#heading=h.xr3byxpiy9rz and the code that follows that structure here in Note that the same scripts will be used for both benchmarking as well as actual extractions. So there is no difference between "golden" or non-golden from the script point of view. Creating golden examples is a business scenario that is enabled through the scripts and promoting/copy/pasting files from one folder to another. |
|
@rohit-joy xtra-cli/ is set up as you described: one folder per ETL stage (crawling, downloading, extraction, transformation, scoring) plus lib for shared code. Commands follow the ceops noun-verb form. Same scripts for a live extract and for a pack that later gets copied into a reviewed folder. Golden is that destination after review (pack promote), not a second pipeline. |
|
@nsoto-tech Thanks for the updates. Some questions:
|
| @@ -0,0 +1,69 @@ | |||
| #!/usr/bin/env python3 | |||
There was a problem hiding this comment.
Name the test files with prefix test_.
| @@ -0,0 +1,69 @@ | |||
| #!/usr/bin/env python3 | |||
There was a problem hiding this comment.
Every source file in the src folder must have a corresponding test_ file under tests with the same folder structure.
No description provided.