[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111788":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":12,"contributorsCount":12,"subscribersCount":12,"size":12,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":12,"forks30d":12,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":9,"pushedAt":33,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":12,"starSnapshotCount":12,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},111788,"Avril","Avril-Exoplanet\u002FAvril","Avril-Exoplanet","AI-guided, evidence-preserving exoplanet candidate discovery for public TESS data.",null,"Python",445,0,69,6,196,371,22,82,"Apache License 2.0",false,"main",[23,24,25,26,27,28,29,30,31,32],"astronomy","cuda","exoplanet","lightcurve","macos","open-science","python","swiftui","tess","transit","2026-11-05 15:03:35","2026-11-23 20:21:00","# Avril Exoplanet Workstation\n\n**AI-Guided Exoplanet Candidate Discovery System**\n\n*Exoplanet discovery for everyone.*\n\n[![Status: Research Preview](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstatus-research_preview-c93646)](docs\u002FSCIENTIFIC_CONTRACT.md)\n[![Native macOS](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FmacOS-15%2B-17394d?logo=apple&logoColor=white)](Package.swift)\n[![Swift 6.1](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSwift-6.1-f05138?logo=swift&logoColor=white)](Package.swift)\n[![Python 3.11–3.13](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPython-3.11%E2%80%933.13-2f6f9f?logo=python&logoColor=white)](Engine\u002Fpyproject.toml)\n[![License: Apache-2.0](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache--2.0-4e6d7c)](LICENSE)\n\n[English](README.md) · [简体中文](README_zh.md)\n\n[Research overview](docs\u002FRESEARCH_OVERVIEW.md) ·\n[Architecture](docs\u002FARCHITECTURE.md) ·\n[Planetary Census Gap AI](docs\u002FTARGET_PRIOR.md) ·\n[Validation](docs\u002FVALIDATION.md) ·\n[Scientific contract](docs\u002FSCIENTIFIC_CONTRACT.md) ·\n[Quick start](#quick-start-on-macos)\n\n![Avril — evidence-preserving exoplanet discovery](docs\u002Fassets\u002Favril-hero.png)\n\nWe hope that no soul looking up at the stars will be forgotten by time.\n\nAvril is a locally running, AI-guided planet-search system. It identifies the\ntargets most worthy of deeper inspection from large-scale public stellar data,\nautomatically analyzes TESS observations, finds overlooked planetary signals,\nand reviews every transit candidate through a complete and reproducible chain\nof evidence.\n\nThe system consists of two connected core components:\n\n### 1. Planetary Census Gap AI\n\nPlanetary Census Gap AI uses stellar temperature, radius, mass, surface\ngravity, metallicity, color, and other physical properties to estimate a\nconservative distribution of observable planet counts.\n\nThe model then compares this expected distribution with the number of planets\nalready recorded in catalogs, identifying stellar systems whose current\nplanetary census may be incomplete.\n\nIf a star is physically similar to known multi-planet systems but currently has\nonly one—or no—recorded planet, it may exhibit a larger Planetary Census Gap\nand receive higher search priority.\n\nIt helps Avril decide which stars should receive limited computing resources\nfirst.\n\n### 2. Automated Transit Search Engine\n\nFor these prioritized targets, Avril jointly analyzes light curves across\nmultiple sectors, observing years, and timescales.\n\nThe search includes multi-scale detrending, BLS, optional TLS, individual-event\nsearch, exact period refitting, cross-sector evidence comparison, gap-boundary\ndiagnostics, red-noise tests, harmonic analysis, physical vetting, and optional\npixel-level source localization.\n\nThe system searches for transit signals that may have been missed by existing\ncatalogs and automated pipelines, while retaining every candidate's period,\nevents, diagnostics, rejection reasons, and complete run record.\n\nTogether, the two components focus the limited computing resources of a\npersonal Mac\u002FiPhone on the stars most worth re-examining, while preserving all\nevidence required for independent scientific review.\n\nAvril aims to make rigorous exoplanet-candidate discovery no longer the sole\ndomain of a small number of large teams and specialized pipelines.\n\nWith public observations, transparent AI models, and reproducible search tools,\nstudents, researchers, educators, astronomy enthusiasts, and everyone curious\nabout unknown worlds can begin a genuine scientific search on their own\ncomputer—and may discover a planetary candidate that has not been noticed\nbefore.\n\n> **Among billions of stars, one world may be waiting for you to find it.** 亿万星辰之中，也许有一个世界，正等待被你发现。\n\n## Technical overview\n\nTransit searches usually optimize a single detection statistic. Avril instead optimizes the integrity of the full evidence trail:\n\n- every base peak and locked ephemeris remains in the audit ledger;\n- catalog truth is attached only after blind search and ranking;\n- harmonic relationships require supported event-time evidence;\n- candidates dominated by gaps or incomplete windows are explicitly downgraded;\n- two- and three-event signals remain available for manual review;\n- CPU and CUDA backends use the same grids, gates, and thresholds;\n- pixel localization is optional follow-up and is off by default;\n- FITS data, run records, and exported reports remain on the local machine.\n\n## System overview\n\n![Avril exoplanet discovery architecture](docs\u002Fassets\u002Favril-discovery-architecture.png)\n\n*Figure 1. End-to-end Avril discovery architecture, from the frozen\nstellar-state prior and public TESS acquisition to multi-view search,\nevidence-based vetting, and an immutable science ledger.*\n\nThe public workflow has four layers:\n\n1. **Target intelligence** ranks finite compute using frozen stellar-state priors and transparent TESS opportunity features.\n2. **Data acquisition** selects one preferred official SPOC\u002FTESS-SPOC light curve per sector or performs label-free raw-FFI self-photometry.\n3. **Avril Core** runs complete-grid discovery, deterministic cross-sector voting, exact refits, event\u002Fgap checks, physical diagnostics, and exact phase-null trials.\n4. **Science review** preserves immutable discovery rank, publishes a separate science rank, and exports the complete candidate ledger and receipts.\n\nRead the [architecture and scientific contract](docs\u002FARCHITECTURE.md) before changing the search path.\n\n## Planetary Census Gap AI\n\n![Planetary Census Gap AI architecture](docs\u002Fassets\u002Fplanetary-census-gap-ai.png)\n\n*Figure 2. Leakage-controlled Planetary Census Gap AI. Frozen stellar-state\nmodels estimate conservative catalog yield; transparent TESS opportunity\nfeatures route targets without entering the transit statistic.*\n\nThe bundled queue contains 1,000 TESS targets. Its stellar prior was trained on a frozen, high-reliability Kepler DR25 catalog using only effective temperature, surface gravity, metallicity, stellar mass, stellar radius, and J−K color. KOI\u002FTCE counts, known planet counts, brightness, noise, observing duration, and all TESS light-curve evidence were excluded from the stellar prior.\n\nFive-fold validation is split at the **star** level, so every planet around one\nstar remains in the same fold.\n\n### Main Planetary Census Gap AI results\n\n| Frozen model view | ROC AUC | Average precision | Top-decile lift |\n|---|---:|---:|---:|\n| Ordinal catalog-yield prior | 0.7616 | 0.0681 | **4.40×** |\n| Confirmed-clean prior | **0.7862** | 0.0642 | **4.82×** |\n| Occurrence-grid reference | — | — | **3.77×** |\n\n![Frozen Planetary Census Gap AI validation](docs\u002Fassets\u002Fplanetary-census-gap-validation.png)\n\n*Figure 3. Reproducible plots rendered directly from the frozen public model\nmetadata. Lift measures catalog-host enrichment and is not a calibrated planet\nprobability.*\n\nTop-decile lift measures how strongly known high-reliability Kepler hosts are\nenriched among the highest-ranked 10%. These are out-of-fold measurements on\nfrozen Kepler labels—not calibrated TESS planet probabilities and not a transit\ndetection benchmark.\n\nThe full model card, hashes, label definition, domain-shift warning, and discovery-lane design are documented in [Target Prior](docs\u002FTARGET_PRIOR.md).\n\n![Frozen TESS discovery queue scientific atlas](docs\u002Fassets\u002Ftess-discovery-queue-atlas.png)\n\n*Figure 4. The frozen 1,000-target queue before light-curve download. Census\ngap, approximate TESS detectability, discovery lane, and observing coverage are\nkept as distinct, auditable quantities.*\n\n## Avril Core\n\n![Avril Core multi-view transit discovery and vetting](docs\u002Fassets\u002Favril-core-vetting.png)\n\n*Figure 5. Avril Core preserves parallel detrending and discovery views,\nunifies supported candidates without keeping only the first peak, and passes\neach locked ephemeris through a physical-evidence funnel. CPU and CUDA change\nexecution speed, not scientific decisions.*\n\nThe discovery score ranks candidates for review; it is not a planet\nprobability. A promoted candidate remains a candidate until independent\nastrophysical validation.\n\n## Validation snapshot\n\n| Layer | Release-candidate check | Result |\n|---|---|---:|\n| Python public interface | `pytest -q Engine\u002Favril` | 24 passed |\n| Scientific-core regression | documented deterministic CPU suite | 93 passed |\n| Python static analysis | Ruff over public engine and bridge | Pass |\n| Native workstation | Swift release build | Pass, zero warnings |\n| Local bridge | Health response and frozen target catalog | Ready, 1,000 targets |\n| macOS source-build bundle | Strict deep code-signature verification | Pass |\n| Repository audit | Paths, credentials, caches, generated science files | Pass |\n\nThese checks verify packaging and declared invariants; they do not establish\npopulation-level completeness or false-positive calibration. Exact commands,\nscope, and remaining publication-grade evaluation work are recorded in\n[Validation](docs\u002FVALIDATION.md).\n\n## Repository map\n\n| Path | Purpose |\n|---|---|\n| `Sources\u002FAvrilNova\u002F` | Native SwiftUI\u002FAppKit workstation, scientific plots, 3D mission context, task queue, run records, and PDF export |\n| `Engine\u002F` | Avril V3 command-line engine, CPU\u002FCUDA kernels, target queue, tests, and reproducibility documents |\n| `Resources\u002F` | Redistributable mission imagery used by the native application |\n| `Vendor\u002F` | Pinned native binary dependency used by the application |\n| `VendorLicenses\u002F` | Exact licenses for vendored components |\n| `docs\u002F` | Scientific contract, model card, architecture, data policy, and release process |\n| `scripts\u002F` | Engine bootstrap, native build, development launch, icon generation, and release audit |\n\nThe macOS interface is native. It does not embed HTML or a WebView.\n\n## Quick start on macOS\n\nRequirements:\n\n- macOS 15 or newer;\n- Xcode command-line tools with Swift 6.1;\n- Python 3.11, 3.12, or 3.13;\n- internet access only when downloading public TESS products.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FAvril-Exoplanet\u002FAvril.git\ncd avril\n\n# Create the local Python science environment.\n.\u002Fscripts\u002Fbootstrap_engine.sh scout\n\n# Build the native .app from this checkout.\nAVRIL_NOVA_SKIP_RUNTIME=1 .\u002Fscripts\u002Fbuild_app.sh\n\n# Launch the app against the local engine environment.\n.\u002Fscripts\u002Frun_dev_app.sh\n```\n\nThe default source build is intentionally not notarized. A public binary release must embed a relocatable Python runtime, pass the release audit, and be signed and notarized; see [Releasing](docs\u002FRELEASING.md).\n\n## Command-line engine\n\nThe same scientific engine is available without the desktop application:\n\n```bash\nsource .venv\u002Fbin\u002Factivate\navril doctor --backend cpu\n\n# Preferred official light curves; no post-search pixel download.\navril run \"TOI-786\" --source spoc --pixels none --backend cpu\n\n# Automatic SPOC-first acquisition with optional follow-up localization.\navril run \"TIC 375059587\" --source auto --pixels followup --backend auto\n```\n\nFor frozen-input runs:\n\n```bash\navril manifest \"TIC 375059587\" --output manifests\u002Ftic-375059587.json\navril run manifests\u002Ftic-375059587.json --backend auto\n```\n\nLarge data should be placed explicitly with `AVRIL_DATA_DIR`. When it is unset, Avril uses the native application-data location for the current operating system.\n\n## Scientific status\n\nAvril V3 is a **research preview**. Known-system regressions and deterministic unit tests verify important invariants, but they are not population-level completeness or false-positive calibration. Before publishing survey-level claims, use a new TIC-disjoint sealed split, injection\u002Frecovery in real TESS noise, and negative controls covering binaries, rotation, red noise, instrument periods, phase shifts, gaps, and inverted light curves.\n\nSee:\n\n- [Scientific Contract](docs\u002FSCIENTIFIC_CONTRACT.md)\n- [Research Overview](docs\u002FRESEARCH_OVERVIEW.md)\n- [Architecture](docs\u002FARCHITECTURE.md)\n- [Target Prior Model Card](docs\u002FTARGET_PRIOR.md)\n- [Validation Record](docs\u002FVALIDATION.md)\n- [Data and Privacy](docs\u002FDATA_AND_PRIVACY.md)\n- [Engine Reproducibility](Engine\u002Fdocs\u002FREPRODUCIBILITY.md)\n- [Failure Modes](Engine\u002Fdocs\u002FPITFALLS.md)\n\n## Contributing\n\nScientific-path changes require deterministic tests, a public regression target, and evidence that candidate count and locked ephemerides are preserved. Performance changes must disclose any computation removed. Read [CONTRIBUTING.md](CONTRIBUTING.md) before opening a pull request.\n\nSecurity issues involving untrusted FITS\u002FJSON parsing or the loopback bridge should follow [SECURITY.md](SECURITY.md).\n\n## Citation and license\n\nAvril is licensed under [Apache License 2.0](LICENSE). If Avril contributes to research, cite the software release using [CITATION.cff](CITATION.cff) and acknowledge the upstream TESS\u002FMAST data products used in the analysis.\n\n```bibtex\n@software{avril2026,\n  title   = {Avril: Evidence-Preserving Transit-Candidate Search},\n  author  = {{Avril contributors}},\n  year    = {2026},\n  version = {3.0.0},\n  url     = {https:\u002F\u002Fgithub.com\u002FAvril-Exoplanet\u002FAvril}\n}\n```\n\nThird-party code and image provenance are recorded in [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md). NASA, Adobe, Apple, JHU, NJU, and other institutions do not endorse this software unless a separate written statement says otherwise.\n","Avril 是一个面向公众 TESS 数据的、本地运行的系外行星候选体智能发现系统。它结合物理先验驱动的‘行星普查缺口AI’与证据可追溯的自动化凌星搜索引擎，实现目标优先级排序、多尺度光变曲线分析、跨扇区信号验证及完整证据链留存。系统支持 macOS 原生部署，强调开放科学与可复现性，适用于天文爱好者、教育场景及专业研究者开展轻量级系外行星再分析与新候选体挖掘。",2,"2026-11-24 04:41:45","CREATED_QUERY"]