vibe coding an orbital mechanics simulation to try out claude code
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cinnaboot
fc447db7f2
refactor: test_extreme_timescales into SCENARIO with 11 sections
- Consolidate 9 TEST_CASEs into 1 SCENARIO with 11 SECTIONs
- Add helper lambdas: propagate_n_periods, compute_energy, compute_period
- Use named tolerance constants for all WithinAbs assertions
- Tighten tolerances based on observed errors (REL_TOL 1e-9→1e-14)
- Convert TOML to 1.0 inline table syntax
- Add precalc script for expected values
- Remove duplicate setup code across test cases
Old test: 348 lines, 9 TEST_CASEs
New test: 330 lines, 1 SCENARIO, 11 SECTIONs
Net: -18 lines, -8 test cases
|
2 months ago |
| .. |
|
test_barkers_equation.cpp
|
Add test refactoring status tracking and first refactored test
|
2 months ago |
|
test_cartesian_to_elements_advanced.cpp
|
refactor: test_cartesian_to_elements_advanced + restore compare_vec3 + document procedure
|
2 months ago |
|
test_cartesian_to_elements_basic.cpp
|
refactor: cartesian_to_elements_basic — SCENARIO pattern, named tolerances, TOML 1.0
|
2 months ago |
|
test_cartesian_to_elements_basic.toml
|
refactor: cartesian_to_elements_basic — SCENARIO pattern, named tolerances, TOML 1.0
|
2 months ago |
|
test_energy.cpp
|
refactor: create test_energy.cpp, move direction test from orbital_period
|
2 months ago |
|
test_energy.toml
|
refactor: rewrite test_orbital_period with SCENARIO/SECTION pattern
|
2 months ago |
|
test_extreme_eccentricity.cpp
|
refactor: test_extreme_eccentricity — single SCENARIO, precalculated values, REL_TOL
|
2 months ago |
|
test_extreme_eccentricity.toml
|
refactor: test_extreme_eccentricity — single SCENARIO, precalculated values, REL_TOL
|
2 months ago |
|
test_extreme_orientation_mixed.cpp
|
refactor: test_extreme_orientation_mixed — single SCENARIO, precalculated values, named tolerances
|
2 months ago |
|
test_extreme_orientation_mixed.toml
|
refactor: test_extreme_orientation_mixed — single SCENARIO, precalculated values, named tolerances
|
2 months ago |
|
test_extreme_timescales.cpp
|
refactor: test_extreme_timescales into SCENARIO with 11 sections
|
2 months ago |
|
test_extreme_timescales.toml
|
refactor: test_extreme_timescales into SCENARIO with 11 sections
|
2 months ago |
|
test_inclined_orbits.cpp
|
add inclined orbit tests and fix orbit tracker
|
2 months ago |
|
test_inclined_orbits.toml
|
add inclined orbit tests and fix orbit tracker
|
2 months ago |
|
test_main.cpp
|
Add Catch2 testing and implement RK4 integration
|
6 months ago |
|
test_maneuvers.cpp
|
tighten test_maneuvers assertions with precalculated values
|
2 months ago |
|
test_maneuvers.toml
|
refactor test_maneuvers: add spacecraft struct to sim_engine, rewrite tests
|
2 months ago |
|
test_orbital_period.cpp
|
refactor: create test_energy.cpp, move direction test from orbital_period
|
2 months ago |
|
test_orbital_period.toml
|
refactor: rewrite test_orbital_period with SCENARIO/SECTION pattern
|
2 months ago |
|
test_parabolic_orbit.cpp
|
refactor: test_parabolic_orbit with SI-unit precalc and tightened tolerances
|
2 months ago |
|
test_parabolic_orbit.toml
|
refactor: test_parabolic_orbit with SI-unit precalc and tightened tolerances
|
2 months ago |
|
test_true_anomaly_roundtrip.cpp
|
document '{}' instead of '{0}' for zero initialization
|
2 months ago |