Open loganzartman opened 6 years ago
Genome mapper conforms to arbitrary schema, with a dummy schema in place for now. Still need to complete #7
See planet science doc on slack for context.
We have a suitable implementation for mapping genomes to genotype values. Currently, we use it to map the genome directly to phenotype values (PlanetDisplay parameters). However, it should instead map the genome to genotype values, and we should create a mechanism to mix genotype values into phenotype values.
We need to create an interface which accepts a planet seed and provides data conforming to the schema created in #7. We could start by creating a dummy class that simply provides default values. This class should then be imported by frontend components that need planet information.
We should consider whether the mechanism by which we generate these traits should be secret. In this case, we might want to import the trait generator instead in a separate Node.js web server. We should avoid forcing the trait generator to depend on our existing project.