@thanh01.pmt/research-kit 1.2.3 → 1.2.4
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.
- package/dist/{chunk-P6RHBJY2.js → chunk-GK5KI5PB.js} +14 -11
- package/dist/chunk-GK5KI5PB.js.map +1 -0
- package/dist/index.cjs +12 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/pipeline/index.cjs +12 -9
- package/dist/pipeline/index.cjs.map +1 -1
- package/dist/pipeline/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-P6RHBJY2.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -4,8 +4,8 @@ import { StemResourceResearcher } from './chunk-YICMTZS5.js';
|
|
|
4
4
|
export { GitHubCurriculumClient, NasaMediaClient, OpenverseClient, StemResourceResearcher } from './chunk-YICMTZS5.js';
|
|
5
5
|
import { ClaimVerifier } from './chunk-2XIEWCUE.js';
|
|
6
6
|
export { ClaimVerifier } from './chunk-2XIEWCUE.js';
|
|
7
|
-
import { HarvestPipeline, CampaignPlanner, TechnicalGroundingEngine } from './chunk-
|
|
8
|
-
export { CampaignPlanner, HarvestPipeline, ReferencePackBuilder, TechnicalGroundingEngine, normalizeUrlForDedup } from './chunk-
|
|
7
|
+
import { HarvestPipeline, CampaignPlanner, TechnicalGroundingEngine } from './chunk-GK5KI5PB.js';
|
|
8
|
+
export { CampaignPlanner, HarvestPipeline, ReferencePackBuilder, TechnicalGroundingEngine, normalizeUrlForDedup } from './chunk-GK5KI5PB.js';
|
|
9
9
|
import { LiteratureReviewSynthesizer, mapTopicToCS2023 } from './chunk-SDDZFFL6.js';
|
|
10
10
|
export { CS2023_KNOWLEDGE_AREAS, CSTA_K12_STRANDS, CitationManager, LiteratureReviewSynthesizer, mapTopicToCS2023 } from './chunk-SDDZFFL6.js';
|
|
11
11
|
import { MultiSourceSearchEngine, PedagogicalTermExtractor, classifyTechnicalDomain, HealthAuditor } from './chunk-SAHBBO3U.js';
|
package/dist/pipeline/index.cjs
CHANGED
|
@@ -2821,22 +2821,25 @@ var TechnicalGroundingEngine = class {
|
|
|
2821
2821
|
preservedKeyExcerpts.push(...s.keyExcerpts);
|
|
2822
2822
|
}
|
|
2823
2823
|
}
|
|
2824
|
-
const defaultExemplars =
|
|
2824
|
+
const defaultExemplars = [
|
|
2825
2825
|
{
|
|
2826
|
-
title: scrapedSnippets[0]
|
|
2827
|
-
description: scrapedSnippets[0]
|
|
2826
|
+
title: scrapedSnippets[0]?.title || `${topic} Hands-on Foundation Project`,
|
|
2827
|
+
description: scrapedSnippets[0]?.excerpt ? scrapedSnippets[0].excerpt.slice(0, 220) : `Verified practical implementation integrating ${hardware || "core principles"} and ${software || "standard development tools"}.`,
|
|
2828
2828
|
targetAudience: `Students aged ${ageBand[0]}-${ageBand[1]}`,
|
|
2829
|
-
sourceUrl: scrapedSnippets[0]
|
|
2829
|
+
sourceUrl: scrapedSnippets[0]?.url,
|
|
2830
2830
|
hardwareRequirements: hardware ? [hardware] : void 0,
|
|
2831
2831
|
softwareRequirements: software ? [software] : void 0
|
|
2832
2832
|
}
|
|
2833
|
-
]
|
|
2834
|
-
const defaultBottlenecks =
|
|
2835
|
-
"Power supply decoupling and current
|
|
2833
|
+
];
|
|
2834
|
+
const defaultBottlenecks = domain === "hardware" || Boolean(hardware) ? [
|
|
2835
|
+
"Power supply decoupling and current surge when powering sensors or actuators.",
|
|
2836
2836
|
"Logic level shifting and hardware pin mapping conflicts."
|
|
2837
|
+
] : domain === "academic" ? [
|
|
2838
|
+
"Cognitive load pacing and abstract concept grounding with physical analogies."
|
|
2837
2839
|
] : [
|
|
2838
|
-
"SDK/runtime version compatibility and local environment dependencies."
|
|
2839
|
-
|
|
2840
|
+
"SDK/runtime version compatibility and local environment dependencies.",
|
|
2841
|
+
"Syntax confusion between asynchronous event handling and blocking calls."
|
|
2842
|
+
];
|
|
2840
2843
|
let factsheet = {
|
|
2841
2844
|
topic,
|
|
2842
2845
|
domain,
|