feat(quant): add --scan-quant-harvest CLI flag to classify_technocapital_singularity.py (v2.0.8)
This commit is contained in:
1 parent
dcc2470eac
commit
1b7b845314
1 file changed
+14
-1
@@ -3183,6 +3183,13 @@ def main() -> int:
|
|||||||
action="store_true",
|
action="store_true",
|
||||||
help="Build and synchronize the multi-folder, alphabetically organized PDF Encyclopedia in /workspace/technocapital-singularity-zoology/encyclopedia/.",
|
help="Build and synchronize the multi-folder, alphabetically organized PDF Encyclopedia in /workspace/technocapital-singularity-zoology/encyclopedia/.",
|
||||||
)
|
)
|
||||||
|
ap.add_argument(
|
||||||
|
"--scan-quant-harvest",
|
||||||
|
nargs="?",
|
||||||
|
const="AUTO",
|
||||||
|
default=None,
|
||||||
|
help="Run or scan periodic quantitative financial telemetry harvest (financial-aq-harvest-latest.json) for Scope 1-3 contingent locks.",
|
||||||
|
)
|
||||||
ap.add_argument("--out", default=None, help="Optional JSON output file path.")
|
ap.add_argument("--out", default=None, help="Optional JSON output file path.")
|
||||||
args = ap.parse_args()
|
args = ap.parse_args()
|
||||||
|
|
||||||
@@ -3210,7 +3217,13 @@ def main() -> int:
|
|||||||
report = analyze_terms(processed_terms, workdir=args.workdir)
|
report = analyze_terms(processed_terms, workdir=args.workdir)
|
||||||
report["quant_mode"] = args.quant_mode
|
report["quant_mode"] = args.quant_mode
|
||||||
|
|
||||||
if args.add_glossary_term:
|
if args.scan_quant_harvest is not None:
|
||||||
|
from hyperstitionstud_io.quant.collector import build_financial_quant_harvest
|
||||||
|
|
||||||
|
snap = None if args.scan_quant_harvest == "AUTO" else args.scan_quant_harvest
|
||||||
|
q_payload = build_financial_quant_harvest(harvest_mode="us-closing-bell", snapshot_path=snap)
|
||||||
|
out_str = json.dumps(q_payload, indent=2, ensure_ascii=False)
|
||||||
|
elif args.add_glossary_term:
|
||||||
t_name, t_cat, t_def = args.add_glossary_term
|
t_name, t_cat, t_def = args.add_glossary_term
|
||||||
gl_payload = sync_glossary(
|
gl_payload = sync_glossary(
|
||||||
memetic_registry_path=args.memetic_registry,
|
memetic_registry_path=args.memetic_registry,
|
||||||
|
|||||||
Reference in new issue
Block a user