In addition, heritability, what claims can be inferred from its measures, and the meaning of those claims in discussions like in this thread are also a tricky concept when investigated from a philosophical standpoint[0][1], and some measures (and of course proposed solutions) have been controversial among sociobiologists, evolutionary biologists, and philosophers alike.
[0] https://plato.stanford.edu/entries/heredity/#PhilIssuArisTwi...
[1] https://mitpress.mit.edu/books/beyond-versus