Dynamically Generating User Meta Field

After some help with a PHP developer, it seems the main code above was close but certain changes were made. Here is the code for those interested. In this code, the custom post type is: Course. Change accordingly if needed for your own use.

function save_educadme_courses_for_user( $user_id ) {

if ( !current_user_can( 'edit_user', $user_id ) ) { return false; }

$args=array('post_type' => 'Course');
$allposts = get_posts( $args );

foreach ( $allposts as $post ) {
update_user_meta( $user_id, $post->post_name, $_POST[$post->post_name] );
}//end of master loop

}           


function educadme_courses_for_user( $user ) {   ?>



<h3> <?php echo $post->post_name; ?> </h3>
<span class="description">   description (what courses have you taken) </span><br>
<table class="form-table">
    <tr>
                <td>
                    <table>                         
        <?php $args=array('post_type' => 'Course');
                    $allposts = get_posts( $args );
                    foreach ( $allposts as $post ) { ?>
        <tr>
        <th style="border-bottom: 1px solid #000;">
        <label for="<?php echo $post->post_name; ?>"><?php echo $post->post_name; ?> (currently: <?php echo esc_attr( get_the_author_meta($post->post_name , $user->ID )); ?>)</label>
        <br>
        <span class="description" style="font-weight:bold;"></span>
        </th>
        <td style="border-bottom: 1px solid #000;">                                      
<input type="radio" name="<?php echo $post->post_name; ?>" value="Did not start" <?php if(esc_attr( get_the_author_meta( $post->post_name , $user->ID ))=='Did not start' || esc_attr( get_the_author_meta( $post->post_name , $user->ID ))==''){ echo 'checked'; } ?> /><label>Did not start</label>
<input type="radio" name="<?php echo $post->post_name; ?>" value="Started" <?php if(esc_attr( get_the_author_meta( $post->post_name , $user->ID ))=='Started'){ echo 'checked'; } ?> /><label>Started</label>
<input type="radio" name="<?php echo $post->post_name; ?>" value="Finished" <?php if(esc_attr( get_the_author_meta( $post->post_name , $user->ID ))=='Finished'){ echo 'checked'; } ?> /><label>Finished</label>
        </td>
        </tr>
                    <?php } ?>
        </table>
            </td>
    </tr>
</table>

<?php }//end of function 


add_action( 'show_user_profile', 'educadme_courses_for_user' );
add_action( 'edit_user_profile', 'educadme_courses_for_user' );
add_action( 'personal_options_update', 'save_educadme_courses_for_user' );
add_action( 'edit_user_profile_update', 'save_educadme_courses_for_user' );

I have done some initial testing with the above code and it seems to work. I hope this helps!