0a9ff16dfc
v3 rewrites the search engine from the ground up: - Intelligent pre-research: resolves X handles, GitHub repos, subreddits, TikTok hashtags, and YouTube channels before searching - GitHub person-mode: PR velocity, top repos by stars, release notes - GitHub project-mode: live star counts, README, releases, top issues - ELI5 mode: plain language synthesis, no jargon - 13+ sources: Reddit, X, YouTube, TikTok, Instagram, HN, Polymarket, GitHub, Threads, Pinterest, Perplexity, Bluesky, Web - Free Reddit comments via public JSON (no API key needed) - Fun judge v2: humor scoring baked into narrative - Cookie consent before browser scanning - 10,000 free ScrapeCreators calls - 1,012 tests Thank you to the community contributors whose issues and PRs shaped v3: @uppinote20 (#143), @zerone0x (#134, #136), @thinkun (#116), @thomasmktong (#124), @fanispoulinakisai-boop (#100), @pejmanjohn (#78), @zl190 (#115), @hnshah (#84, #85, #86) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
28 lines
809 B
Python
28 lines
809 B
Python
import importlib.util
|
|
import unittest
|
|
from pathlib import Path
|
|
|
|
|
|
def load_verify_module():
|
|
path = Path(__file__).resolve().parents[1] / "scripts" / "verify_v3.py"
|
|
spec = importlib.util.spec_from_file_location("verify_v3_module", path)
|
|
module = importlib.util.module_from_spec(spec)
|
|
assert spec and spec.loader
|
|
spec.loader.exec_module(module)
|
|
return module
|
|
|
|
|
|
class VerifyV3Tests(unittest.TestCase):
|
|
def test_parser_defaults(self):
|
|
module = load_verify_module()
|
|
parser = module.build_parser()
|
|
args = parser.parse_args([])
|
|
self.assertEqual(args.baseline, "HEAD~1")
|
|
self.assertEqual(args.candidate, "WORKTREE")
|
|
self.assertFalse(args.skip_eval)
|
|
self.assertFalse(args.skip_latency)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|