build: EvaluateInEngine262 tool

This commit is contained in:
2026-04-08 18:38:58 +05:30
parent 06be8cfd53
commit 30debd2cf9
7 changed files with 253 additions and 8 deletions
+6 -2
View File
@@ -29,6 +29,7 @@ ask262/
│ │ ├── specRetriever.ts # Vector search tool
│ │ ├── sectionRetriever.ts # Section chunk retrieval tool
│ │ ├── graphExplorer.ts # Knowledge graph navigation tool
│ │ ├── evaluateInEngine262.ts # Execute JS and capture spec marks
│ │ └── reranker.ts # Document reranking utility
│ └── setup/ # Data ingestion and graph building
│ ├── ingest.ts # Ingests spec HTML into vector index
@@ -39,8 +40,9 @@ ask262/
│ └── utils/ # Formatting utilities
│ └── test/ # Manual verification tests
│ └── manual/
│ ├── verify-db.ts # Verify database contents
── test-spec-retriever.ts
│ ├── verify-db.ts # Verify database contents
── test-spec-retriever.ts # Test spec retriever tool
│ └── test-evaluate-in-engine262.ts # Test evaluate tool
├── config.json # API keys and endpoints (user-created)
├── spec-built/multipage/ # ECMAScript spec HTML files
├── engine262/src/ # JavaScript engine implementation
@@ -61,6 +63,8 @@ bun run lint:fix # Fix auto-fixable issues
bun run format:fix # Format code with Biome
bun run type-check # TypeScript check (no emit)
bun test # Run all tests
bun run test-evaluate # Test evaluate in engine262 tool
bun run test-spec-retriever "query" # Test spec retriever tool with query
bun run agent "Query" # Run agent with question
```