terminalhire 0.3.3 → 0.4.0

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.
@@ -144,11 +144,11 @@ var init_graph_data = __esm({
144
144
  { id: "spark", parents: ["data-engineering"], synonyms: ["apache-spark"] },
145
145
  { id: "airflow", parents: ["data-engineering"], synonyms: ["apache-airflow"] },
146
146
  { id: "dbt", parents: ["data-engineering"] },
147
- { id: "ml", synonyms: ["machine-learning"], related: [{ to: "pytorch", w: 0.5 }, { to: "tensorflow", w: 0.5 }, { to: "scikit-learn", w: 0.5 }] },
147
+ { id: "ml", synonyms: ["machine-learning"], related: [{ to: "pytorch", w: 0.5 }, { to: "tensorflow", w: 0.5 }, { to: "scikit-learn", w: 0.5 }, { to: "data-engineering", w: 0.4 }] },
148
148
  { id: "llm", parents: ["ml"], synonyms: ["llms", "genai", "generative-ai"], related: [{ to: "langchain", w: 0.5 }, { to: "rag", w: 0.55 }, { to: "openai", w: 0.45 }, { to: "anthropic", w: 0.45 }] },
149
149
  { id: "pytorch", parents: ["ml"], synonyms: ["torch"], related: [{ to: "tensorflow", w: 0.5 }] },
150
150
  { id: "tensorflow", parents: ["ml"], synonyms: ["keras", "tf-keras"] },
151
- { id: "pandas", parents: ["python"], related: [{ to: "numpy", w: 0.6 }] },
151
+ { id: "pandas", parents: ["python"], related: [{ to: "numpy", w: 0.6 }, { to: "data-engineering", w: 0.45 }, { to: "spark", w: 0.4 }] },
152
152
  { id: "numpy", parents: ["python"] },
153
153
  { id: "scikit-learn", parents: ["ml"], synonyms: ["sklearn"] },
154
154
  { id: "jupyter", parents: ["python"] },
@@ -323,6 +323,46 @@ var init_types2 = __esm({
323
323
  }
324
324
  });
325
325
 
326
+ // ../../packages/core/src/vocab/extract.ts
327
+ var SOFT_DOMAIN, SYNONYM_ONLY;
328
+ var init_extract = __esm({
329
+ "../../packages/core/src/vocab/extract.ts"() {
330
+ "use strict";
331
+ init_vocab();
332
+ SOFT_DOMAIN = /* @__PURE__ */ new Set([
333
+ "frontend",
334
+ "backend",
335
+ "devops",
336
+ "security",
337
+ "payments",
338
+ "billing",
339
+ "microservices",
340
+ "caching",
341
+ "search",
342
+ "observability",
343
+ "monitoring",
344
+ "testing",
345
+ "accessibility",
346
+ "seo",
347
+ "performance",
348
+ "realtime",
349
+ "authentication",
350
+ "api-design"
351
+ ]);
352
+ SYNONYM_ONLY = /* @__PURE__ */ new Set(["performance", "security", "seo"]);
353
+ for (const id of SYNONYM_ONLY) {
354
+ if (!SOFT_DOMAIN.has(id)) throw new Error(`extract: SYNONYM_ONLY "${id}" not in SOFT_DOMAIN`);
355
+ }
356
+ }
357
+ });
358
+
359
+ // ../../packages/core/src/vocab/idf-background.ts
360
+ var init_idf_background = __esm({
361
+ "../../packages/core/src/vocab/idf-background.ts"() {
362
+ "use strict";
363
+ }
364
+ });
365
+
326
366
  // ../../packages/core/src/vocab/index.ts
327
367
  function normalize(tokens) {
328
368
  const result = /* @__PURE__ */ new Set();
@@ -346,6 +386,8 @@ var init_vocab = __esm({
346
386
  init_types2();
347
387
  init_closure();
348
388
  init_graph_data();
389
+ init_extract();
390
+ init_idf_background();
349
391
  GRAPH = buildGraph(VOCAB_NODES);
350
392
  VOCABULARY = [...GRAPH.ids];
351
393
  SYNONYMS = Object.fromEntries(GRAPH.synonyms);
@@ -360,11 +402,20 @@ var init_vocabulary = __esm({
360
402
  }
361
403
  });
362
404
 
405
+ // ../../packages/core/src/github.ts
406
+ var init_github = __esm({
407
+ "../../packages/core/src/github.ts"() {
408
+ "use strict";
409
+ init_vocabulary();
410
+ }
411
+ });
412
+
363
413
  // ../../packages/core/src/matcher.ts
364
414
  var init_matcher = __esm({
365
415
  "../../packages/core/src/matcher.ts"() {
366
416
  "use strict";
367
417
  init_vocabulary();
418
+ init_github();
368
419
  }
369
420
  });
370
421
 
@@ -594,14 +645,6 @@ var init_indexer = __esm({
594
645
  }
595
646
  });
596
647
 
597
- // ../../packages/core/src/github.ts
598
- var init_github = __esm({
599
- "../../packages/core/src/github.ts"() {
600
- "use strict";
601
- init_vocabulary();
602
- }
603
- });
604
-
605
648
  // ../../packages/core/src/index.ts
606
649
  var init_src = __esm({
607
650
  "../../packages/core/src/index.ts"() {