mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
build: EvaluateInEngine262 tool
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user